@desktalk/core 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/frontend/assets/{frontend-BIEc2N7M.js → frontend-BIX1osqf.js} +2 -2
- package/dist/frontend/assets/{frontend-BIEc2N7M.js.map → frontend-BIX1osqf.js.map} +1 -1
- package/dist/frontend/assets/{frontend-BG-YLJqZ.js → frontend-BzdZVdad.js} +2 -2
- package/dist/frontend/assets/{frontend-BG-YLJqZ.js.map → frontend-BzdZVdad.js.map} +1 -1
- package/dist/frontend/assets/{frontend-DHFvbI_u.js → frontend-CNI9ZWUx.js} +2 -2
- package/dist/frontend/assets/{frontend-DHFvbI_u.js.map → frontend-CNI9ZWUx.js.map} +1 -1
- package/dist/frontend/assets/{frontend-BNhxRpOo.js → frontend-CSSNHa7X.js} +2 -2
- package/dist/frontend/assets/{frontend-BNhxRpOo.js.map → frontend-CSSNHa7X.js.map} +1 -1
- package/dist/frontend/assets/{frontend-D9i707Nm.js → frontend-Da6BeHSp.js} +2 -2
- package/dist/frontend/assets/{frontend-D9i707Nm.js.map → frontend-Da6BeHSp.js.map} +1 -1
- package/dist/frontend/assets/{frontend-Dy9eRAQd.js → frontend-f1PcGFgm.js} +67 -25
- package/dist/frontend/assets/frontend-f1PcGFgm.js.map +1 -0
- package/dist/frontend/assets/{frontend-CrQvPdit.js → frontend-zfGj9snS.js} +2 -2
- package/dist/frontend/assets/{frontend-CrQvPdit.js.map → frontend-zfGj9snS.js.map} +1 -1
- package/dist/frontend/assets/{highlighted-body-TPN3WLV5-B8LPaWFP.js → highlighted-body-TPN3WLV5-g134n7tc.js} +2 -2
- package/dist/frontend/assets/{highlighted-body-TPN3WLV5-B8LPaWFP.js.map → highlighted-body-TPN3WLV5-g134n7tc.js.map} +1 -1
- package/dist/frontend/assets/index-AQaNuL08.css +1 -0
- package/dist/frontend/assets/{index-DCZC2uPI.js → index-D4gDxl9-.js} +99 -99
- package/dist/frontend/assets/index-D4gDxl9-.js.map +1 -0
- package/dist/frontend/index.html +2 -2
- package/dist/server/api-routes.d.ts.map +1 -1
- package/dist/server/api-routes.js +88 -7
- package/dist/server/api-routes.js.map +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +3 -0
- package/dist/server/index.js.map +1 -1
- package/dist/services/ai/pi-session-service.d.ts +8 -0
- package/dist/services/ai/pi-session-service.d.ts.map +1 -1
- package/dist/services/ai/pi-session-service.js +17 -1
- package/dist/services/ai/pi-session-service.js.map +1 -1
- package/dist/services/ai/providers.d.ts.map +1 -1
- package/dist/services/ai/providers.js +40 -14
- package/dist/services/ai/providers.js.map +1 -1
- package/package.json +12 -10
- package/dist/frontend/assets/frontend-Dy9eRAQd.js.map +0 -1
- package/dist/frontend/assets/index-BljFdF__.css +0 -1
- package/dist/frontend/assets/index-DCZC2uPI.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{W as iMe,a as nMe,u as T3,e as oMe,A as sMe,b as ek,f as rMe}from"./index-DCZC2uPI.js";var Gq={},aMe=Object.create,PV=Object.defineProperty,lMe=Object.getOwnPropertyDescriptor,OV=Object.getOwnPropertyNames,dMe=Object.getPrototypeOf,cMe=Object.prototype.hasOwnProperty,hMe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),C=(e,t)=>function(){return e&&(t=(0,e[OV(e)[0]])(e=0)),t},FV=(e,t)=>function(){return t||(0,e[OV(e)[0]])((t={exports:{}}).exports,t),t.exports},Ve=(e,t)=>{for(var i in t)PV(e,i,{get:t[i],enumerable:!0})},uMe=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of OV(t))!cMe.call(e,o)&&o!==i&&PV(e,o,{get:()=>t[o],enumerable:!(n=lMe(t,o))||n.enumerable});return e},BV=(e,t,i)=>(i=e!=null?aMe(dMe(e)):{},uMe(!e||!e.__esModule?PV(i,"default",{value:e,enumerable:!0}):i,e));function Ma(e,t=0){return e[e.length-(1+t)]}function gMe(e){if(e.length===0)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function Pi(e,t,i=(n,o)=>n===o){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,o=e.length;n<o;n++)if(!i(e[n],t[n]))return!1;return!0}function mMe(e,t){const i=e.length-1;t<i&&(e[t]=e[i]),e.pop()}function R1(e,t,i){return pMe(e.length,n=>i(e[n],t))}function pMe(e,t){let i=0,n=e-1;for(;i<=n;){const o=(i+n)/2|0,s=t(o);if(s<0)i=o+1;else if(s>0)n=o-1;else return o}return-(i+1)}function N3(e,t,i){if(e=e|0,e>=t.length)throw new TypeError("invalid index");const n=t[Math.floor(t.length*Math.random())],o=[],s=[],r=[];for(const a of t){const l=i(a,n);l<0?o.push(a):l>0?s.push(a):r.push(a)}return e<o.length?N3(e,o,i):e<o.length+r.length?r[0]:N3(e-(o.length+r.length),s,i)}function Yq(e,t){const i=[];let n;for(const o of e.slice(0).sort(t))!n||t(n[0],o)!==0?(n=[o],i.push(n)):n.push(o);return i}function*WV(e,t){let i,n;for(const o of e)n!==void 0&&t(n,o)?i.push(o):(i&&(yield i),i=[o]),n=o;i&&(yield i)}function Ace(e,t){for(let i=0;i<=e.length;i++)t(i===0?void 0:e[i-1],i===e.length?void 0:e[i])}function fMe(e,t){for(let i=0;i<e.length;i++)t(i===0?void 0:e[i-1],e[i],i+1===e.length?void 0:e[i+1])}function Ul(e){return e.filter(t=>!!t)}function Xq(e){let t=0;for(let i=0;i<e.length;i++)e[i]&&(e[t]=e[i],t+=1);e.length=t}function Rce(e){return!Array.isArray(e)||e.length===0}function cs(e){return Array.isArray(e)&&e.length>0}function uu(e,t=i=>i){const i=new Set;return e.filter(n=>{const o=t(n);return i.has(o)?!1:(i.add(o),!0)})}function HV(e,t){return e.length>0?e[0]:t}function Js(e,t){let i=typeof t=="number"?e:0;typeof t=="number"?i=e:(i=0,t=e);const n=[];if(i<=t)for(let o=i;o<t;o++)n.push(o);else for(let o=i;o>t;o--)n.push(o);return n}function uM(e,t,i){const n=e.slice(0,t),o=e.slice(t);return n.concat(i,o)}function mR(e,t){const i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function tk(e,t){const i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function M3(e,t){for(const i of t)e.push(i)}function VV(e){return Array.isArray(e)?e:[e]}function _Me(e,t,i){const n=Pce(e,t),o=e.length,s=i.length;e.length=o+s;for(let r=o-1;r>=n;r--)e[r+s]=e[r];for(let r=0;r<s;r++)e[r+n]=i[r]}function Zq(e,t,i,n){const o=Pce(e,t);let s=e.splice(o,i);return s===void 0&&(s=[]),_Me(e,o,n),s}function Pce(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}function Ds(e,t){return(i,n)=>t(e(i),e(n))}function bMe(...e){return(t,i)=>{for(const n of e){const o=n(t,i);if(!WC.isNeitherLessOrGreaterThan(o))return o}return WC.neitherLessOrGreaterThan}}function Oce(e){return(t,i)=>-e(t,i)}var WC,Xa,Fce,ih,Cv,Bce,He=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/arrays.js"(){(function(e){function t(s){return s<0}e.isLessThan=t;function i(s){return s<=0}e.isLessThanOrEqual=i;function n(s){return s>0}e.isGreaterThan=n;function o(s){return s===0}e.isNeitherLessOrGreaterThan=o,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(WC||(WC={})),Xa=(e,t)=>e-t,Fce=(e,t)=>Xa(e?1:0,t?1:0),ih=class{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}},Cv=class vI{static{this.empty=new vI(t=>{})}constructor(t){this.iterate=t}toArray(){const t=[];return this.iterate(i=>(t.push(i),!0)),t}filter(t){return new vI(i=>this.iterate(n=>t(n)?i(n):!0))}map(t){return new vI(i=>this.iterate(n=>i(t(n))))}findLast(t){let i;return this.iterate(n=>(t(n)&&(i=n),!0)),i}findLastMaxBy(t){let i,n=!0;return this.iterate(o=>((n||WC.isGreaterThan(t(o,i)))&&(n=!1,i=o),!0)),i}},Bce=class A3{constructor(t){this._indexMap=t}static createSortPermutation(t,i){const n=Array.from(t.keys()).sort((o,s)=>i(t[o],t[s]));return new A3(n)}apply(t){return t.map((i,n)=>t[this._indexMap[n]])}inverse(){const t=this._indexMap.slice();for(let i=0;i<this._indexMap.length;i++)t[this._indexMap[i]]=i;return new A3(t)}}}});function or(e){return typeof e=="string"}function qn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function vMe(e){const t=Object.getPrototypeOf(Uint8Array);return typeof e=="object"&&e instanceof t}function Zg(e){return typeof e=="number"&&!isNaN(e)}function Qq(e){return!!e&&typeof e[Symbol.iterator]=="function"}function Wce(e){return e===!0||e===!1}function as(e){return typeof e>"u"}function Xc(e){return!ma(e)}function ma(e){return as(e)||e===null}function At(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function Pg(e){if(ma(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function P1(e){return typeof e=="function"}function wMe(e,t){const i=Math.min(e.length,t.length);for(let n=0;n<i;n++)yMe(e[n],t[n])}function yMe(e,t){if(or(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(P1(t)){try{if(e instanceof t)return}catch{}if(!ma(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}var Rt=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/types.js"(){}});function Vh(e){if(!e||typeof e!="object"||e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([i,n])=>{t[i]=n&&typeof n=="object"?Vh(n):n}),t}function CMe(e){if(!e||typeof e!="object")return e;const t=[e];for(;t.length>0;){const i=t.shift();Object.freeze(i);for(const n in i)if(zV.call(i,n)){const o=i[n];typeof o=="object"&&!Object.isFrozen(o)&&!vMe(o)&&t.push(o)}}return e}function Hce(e,t){return R3(e,t,new Set)}function R3(e,t,i){if(ma(e))return e;const n=t(e);if(typeof n<"u")return n;if(Array.isArray(e)){const o=[];for(const s of e)o.push(R3(s,t,i));return o}if(qn(e)){if(i.has(e))throw new Error("Cannot clone recursive data-structure");i.add(e);const o={};for(const s in e)zV.call(e,s)&&(o[s]=R3(e[s],t,i));return i.delete(e),o}return e}function gM(e,t,i=!0){return qn(e)?(qn(t)&&Object.keys(t).forEach(n=>{n in e?i&&(qn(e[n])&&qn(t[n])?gM(e[n],t[n],i):e[n]=t[n]):e[n]=t[n]}),e):t}function jr(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!="object"||Array.isArray(e)!==Array.isArray(t))return!1;let i,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(!jr(e[i],t[i]))return!1}else{const o=[];for(n in e)o.push(n);o.sort();const s=[];for(n in t)s.push(n);if(s.sort(),!jr(o,s))return!1;for(i=0;i<o.length;i++)if(!jr(e[o[i]],t[o[i]]))return!1}return!0}function xMe(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function P3(e){const t=[];for(const i of xMe(e))typeof e[i]=="function"&&t.push(i);return t}function SMe(e,t){const i=o=>function(){const s=Array.prototype.slice.call(arguments,0);return t(o,s)},n={};for(const o of e)n[o]=i(o);return n}var zV,ur=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/objects.js"(){Rt(),zV=Object.prototype.hasOwnProperty}});function Vce(){return globalThis._VSCODE_NLS_MESSAGES}function UV(){return globalThis._VSCODE_NLS_LANGUAGE}var Jq=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/nls.messages.js"(){}});function O3(e,t){let i;return t.length===0?i=e:i=e.replace(/\{(\d+)\}/g,(n,o)=>{const s=o[0],r=t[s];let a=n;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),Uce&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function m(e,t,...i){return O3(typeof e=="number"?zce(e,t):t,i)}function zce(e,t){const i=Vce()?.[e];if(typeof i!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return i}function Ge(e,t,...i){let n;typeof e=="number"?n=zce(e,t):n=t;const o=O3(n,i);return{value:o,original:t===n?o:O3(t,i)}}var Uce,ee=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/nls.js"(){Jq(),Jq(),Uce=UV()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0}});function jce(){if(!B3){B3=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2,F3=new Uint16Array(e.buffer)[0]===513}return F3}var Hm,sy,ry,ay,pR,ik,nk,fR,ly,dy,_R,eK,mc,pc,na,tK,iK,uo,mt,Zo,Hl,Qg,nK,$ce,jl,jV,rd,qce,oK,$V,sr,F3,B3,W3,Kce,Gce,Yce,Xce,st=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/platform.js"(){if(ee(),Hm="en",sy=!1,ry=!1,ay=!1,pR=!1,ik=!1,nk=!1,fR=!1,ly=void 0,dy=Hm,_R=Hm,eK=void 0,mc=void 0,pc=globalThis,na=void 0,typeof pc.vscode<"u"&&typeof pc.vscode.process<"u"?na=pc.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(na=process),tK=typeof na?.versions?.electron=="string",iK=tK&&na?.type==="renderer",typeof na=="object"){sy=na.platform==="win32",ry=na.platform==="darwin",ay=na.platform==="linux",ay&&na.env.SNAP&&na.env.SNAP_REVISION,na.env.CI||na.env.BUILD_ARTIFACTSTAGINGDIRECTORY,ly=Hm,dy=Hm;const e=na.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);ly=t.userLocale,_R=t.osLocale,dy=t.resolvedLanguage||Hm,eK=t.languagePack?.translationsConfigFile}catch{}pR=!0}else typeof navigator=="object"&&!iK?(mc=navigator.userAgent,sy=mc.indexOf("Windows")>=0,ry=mc.indexOf("Macintosh")>=0,nk=(mc.indexOf("Macintosh")>=0||mc.indexOf("iPad")>=0||mc.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ay=mc.indexOf("Linux")>=0,fR=mc?.indexOf("Mobi")>=0,ik=!0,dy=UV()||Hm,ly=navigator.language.toLowerCase(),_R=ly):console.error("Unable to resolve platform.");uo=sy,mt=ry,Zo=ay,Hl=pR,Qg=ik,nK=ik&&typeof pc.importScripts=="function",$ce=nK?pc.origin:void 0,jl=nk,jV=fR,rd=mc,qce=dy,oK=typeof pc.postMessage=="function"&&!pc.importScripts,$V=(()=>{if(oK){const e=[];pc.addEventListener("message",i=>{if(i.data&&i.data.vscodeScheduleAsyncWork)for(let n=0,o=e.length;n<o;n++){const s=e[n];if(s.id===i.data.vscodeScheduleAsyncWork){e.splice(n,1),s.callback();return}}});let t=0;return i=>{const n=++t;e.push({id:n,callback:i}),pc.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),sr=ry||nk?2:sy?1:3,F3=!0,B3=!1,W3=!!(rd&&rd.indexOf("Chrome")>=0),Kce=!!(rd&&rd.indexOf("Firefox")>=0),Gce=!!(!W3&&rd&&rd.indexOf("Safari")>=0),Yce=!!(rd&&rd.indexOf("Edg/")>=0),Xce=!!(rd&&rd.indexOf("Android")>=0)}}),Ro,mM=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/textModelDefaults.js"(){Ro={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}}}),Ct,As=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/iterator.js"(){(function(e){function t(y){return y&&typeof y=="object"&&typeof y[Symbol.iterator]=="function"}e.is=t;const i=Object.freeze([]);function n(){return i}e.empty=n;function*o(y){yield y}e.single=o;function s(y){return t(y)?y:o(y)}e.wrap=s;function r(y){return y||i}e.from=r;function*a(y){for(let S=y.length-1;S>=0;S--)yield y[S]}e.reverse=a;function l(y){return!y||y[Symbol.iterator]().next().done===!0}e.isEmpty=l;function d(y){return y[Symbol.iterator]().next().value}e.first=d;function c(y,S){let L=0;for(const E of y)if(S(E,L++))return!0;return!1}e.some=c;function h(y,S){for(const L of y)if(S(L))return L}e.find=h;function*u(y,S){for(const L of y)S(L)&&(yield L)}e.filter=u;function*g(y,S){let L=0;for(const E of y)yield S(E,L++)}e.map=g;function*p(y,S){let L=0;for(const E of y)yield*S(E,L++)}e.flatMap=p;function*f(...y){for(const S of y)yield*S}e.concat=f;function _(y,S,L){let E=L;for(const T of y)E=S(E,T);return E}e.reduce=_;function*v(y,S,L=y.length){for(S<0&&(S+=y.length),L<0?L+=y.length:L>y.length&&(L=y.length);S<L;S++)yield y[S]}e.slice=v;function b(y,S=Number.POSITIVE_INFINITY){const L=[];if(S===0)return[L,y];const E=y[Symbol.iterator]();for(let T=0;T<S;T++){const B=E.next();if(B.done)return[L,e.empty()];L.push(B.value)}return[L,{[Symbol.iterator](){return E}}]}e.consume=b;async function w(y){const S=[];for await(const L of y)S.push(L);return Promise.resolve(S)}e.asyncToArray=w})(Ct||(Ct={}))}}),Nn,ls,al=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/linkedList.js"(){Nn=class wI{static{this.Undefined=new wI(void 0)}constructor(t){this.element=t,this.next=wI.Undefined,this.prev=wI.Undefined}},ls=class{constructor(){this._first=Nn.Undefined,this._last=Nn.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Nn.Undefined}clear(){let e=this._first;for(;e!==Nn.Undefined;){const t=e.next;e.prev=Nn.Undefined,e.next=Nn.Undefined,e=t}this._first=Nn.Undefined,this._last=Nn.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new Nn(e);if(this._first===Nn.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Nn.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Nn.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Nn.Undefined&&e.next!==Nn.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Nn.Undefined&&e.next===Nn.Undefined?(this._first=Nn.Undefined,this._last=Nn.Undefined):e.next===Nn.Undefined?(this._last=this._last.prev,this._last.next=Nn.Undefined):e.prev===Nn.Undefined&&(this._first=this._first.next,this._first.prev=Nn.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Nn.Undefined;)yield e.element,e=e.next}}}});function kMe(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const i of F1)e.indexOf(i)>=0||(t+="\\"+i);return t+="\\s]+)",new RegExp(t,"g")}function qV(e){let t=pM;if(e&&e instanceof RegExp)if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}return t.lastIndex=0,t}function O1(e,t,i,n,o){if(t=qV(t),o||(o=Ct.first(H3)),i.length>o.maxLen){let d=e-o.maxLen/2;return d<0?d=0:n+=d,i=i.substring(d,e+o.maxLen/2),O1(e,t,i,n,o)}const s=Date.now(),r=e-1-n;let a=-1,l=null;for(let d=1;!(Date.now()-s>=o.timeBudget);d++){const c=r-o.windowSize*d;t.lastIndex=Math.max(0,c);const h=LMe(t,i,r,a);if(!h&&l||(l=h,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,d}return null}function LMe(e,t,i,n){let o;for(;o=e.exec(t);){const s=o.index||0;if(s<=i&&e.lastIndex>=i)return o;if(n>0&&s>n)return null}return null}var F1,pM,H3,Sw=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js"(){As(),al(),F1="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",pM=kMe(),H3=new ls,H3.unshift({maxLen:1e3,windowSize:15,timeBudget:150})}});function yI(e,t){if(typeof e!="object"||typeof t!="object"||!e||!t)return new xv(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const n=Array.isArray(e)&&Array.isArray(t)&&Pi(e,t);return new xv(t,!n)}let i=!1;for(const n in t)if(t.hasOwnProperty(n)){const o=yI(e[n],t[n]);o.didChange&&(e[n]=o.newValue,i=!0)}return new xv(e,i)}function Ie(e,t){return typeof e>"u"?t:e==="false"?!1:!!e}function bp(e,t,i,n){if(typeof e>"u")return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(i,o),o=Math.min(n,o),o|0)}function EMe(e,t,i,n){if(typeof e>"u")return t;const o=Ba.float(e,t);return Ba.clamp(o,i,n)}function Qi(e,t,i,n){return typeof e!="string"?t:n&&e in n?n[e]:i.indexOf(e)===-1?t:e}function IMe(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}function DMe(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}function TMe(e){switch(e){case"line":return ro.Line;case"block":return ro.Block;case"underline":return ro.Underline;case"line-thin":return ro.LineThin;case"block-outline":return ro.BlockOutline;case"underline-thin":return ro.UnderlineThin}}function NMe(e){return e==="ctrlCmd"?mt?"metaKey":"ctrlKey":"altKey"}function m2(e){const t=e.get(99);return t==="editable"?e.get(92):t!=="on"}function sK(e,t){if(typeof e!="string")return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}function c_(e,t,i){const n=i.indexOf(e);return n===-1?t:i[n]}function de(e){return Up[e.id]=e,e}var kd,KV,V3,vi,xv,h_,Vm,It,mi,Ba,fs,ji,cy,rK,aK,ro,lK,dK,cK,vf,p2,hK,uK,gK,mK,pK,z3,fK,El,_K,bK,vK,wK,yK,CK,xK,SK,kK,LK,EK,IK,DK,TK,NK,Dr,Ss,MK,AK,RK,PK,OK,FK,BK,WK,HK,VK,zK,UK,jK,$K,qK,is,Up,Ol,Sn=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions.js"(){He(),ur(),st(),mM(),Sw(),ee(),kd=8,KV=class{constructor(e){this._values=e}hasChanged(e){return this._values[e]}},V3=class{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}},vi=class{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return yI(e,t)}compute(e,t,i){return i}},xv=class{constructor(e,t){this.newValue=e,this.didChange=t}},h_=class{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return yI(e,t)}validate(e){return this.defaultValue}},Vm=class{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return yI(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}},It=class extends Vm{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return Ie(e,this.defaultValue)}},mi=class Zce extends Vm{static clampedInt(t,i,n,o){return bp(t,i,n,o)}constructor(t,i,n,o,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=n,r.minimum=o,r.maximum=s),super(t,i,n,r),this.minimum=o,this.maximum=s}validate(t){return Zce.clampedInt(t,this.defaultValue,this.minimum,this.maximum)}},Ba=class Qce extends Vm{static clamp(t,i,n){return t<i?i:t>n?n:t}static float(t,i){if(typeof t=="number")return t;if(typeof t>"u")return i;const n=parseFloat(t);return isNaN(n)?i:n}constructor(t,i,n,o,s){typeof s<"u"&&(s.type="number",s.default=n),super(t,i,n,s),this.validationFn=o}validate(t){return this.validationFn(Qce.float(t,this.defaultValue))}},fs=class Jce extends Vm{static string(t,i){return typeof t!="string"?i:t}constructor(t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.default=n),super(t,i,n,o)}validate(t){return Jce.string(t,this.defaultValue)}},ji=class extends Vm{constructor(e,t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return Qi(e,this.defaultValue,this._allowedValues)}},cy=class extends vi{constructor(e,t,i,n,o,s,r=void 0){typeof r<"u"&&(r.type="string",r.enum=o,r.default=n),super(e,t,i,r),this._allowedValues=o,this._convert=s}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}},rK=class extends vi{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}},aK=class extends vi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:Ie(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:Ie(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}},(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(ro||(ro={})),lK=class extends h_{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}},dK=class extends It{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}},cK=class extends vi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:mt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:Ie(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":Qi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":Qi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:Ie(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:Ie(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:Ie(t.loop,this.defaultValue.loop)}}},vf=class gb extends vi{static{this.OFF='"liga" off, "calt" off'}static{this.ON='"liga" on, "calt" on'}constructor(){super(51,"fontLigatures",gb.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(t){return typeof t>"u"?this.defaultValue:typeof t=="string"?t==="false"||t.length===0?gb.OFF:t==="true"?gb.ON:t:t?gb.ON:gb.OFF}},p2=class mb extends vi{static{this.OFF="normal"}static{this.TRANSLATE="translate"}constructor(){super(54,"fontVariations",mb.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(t){return typeof t>"u"?this.defaultValue:typeof t=="string"?t==="false"?mb.OFF:t==="true"?mb.TRANSLATE:t:t?mb.TRANSLATE:mb.OFF}compute(t,i,n){return t.fontInfo.fontVariationSettings}},hK=class extends h_{constructor(){super(50)}compute(e,t,i){return e.fontInfo}},uK=class extends Vm{constructor(){super(52,"fontSize",is.fontSize,{type:"number",minimum:6,maximum:100,default:is.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=Ba.float(e,this.defaultValue);return t===0?is.fontSize:Ba.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}},gK=class pb extends vi{static{this.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"]}static{this.MINIMUM_VALUE=1}static{this.MAXIMUM_VALUE=1e3}constructor(){super(53,"fontWeight",is.fontWeight,{anyOf:[{type:"number",minimum:pb.MINIMUM_VALUE,maximum:pb.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:pb.SUGGESTION_VALUES}],default:is.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(t){return t==="normal"||t==="bold"?t:String(mi.clampedInt(t,is.fontWeight,pb.MINIMUM_VALUE,pb.MAXIMUM_VALUE))}},mK=class extends vi{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:Qi(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??Qi(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??Qi(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??Qi(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??Qi(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??Qi(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??Qi(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:fs.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:fs.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:fs.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:fs.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:fs.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:fs.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}},pK=class extends vi{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),delay:mi.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:Ie(t.sticky,this.defaultValue.sticky),hidingDelay:mi.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:Ie(t.above,this.defaultValue.above)}}},z3=class CI extends h_{constructor(){super(146)}compute(t,i,n){return CI.computeLayout(i,{memory:t.memory,outerWidth:t.outerWidth,outerHeight:t.outerHeight,isDominatedByLongLines:t.isDominatedByLongLines,lineHeight:t.fontInfo.lineHeight,viewLineCount:t.viewLineCount,lineNumbersDigitCount:t.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:t.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:t.fontInfo.maxDigitWidth,pixelRatio:t.pixelRatio,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(t){const i=t.height/t.lineHeight,n=Math.floor(t.paddingTop/t.lineHeight);let o=Math.floor(t.paddingBottom/t.lineHeight);t.scrollBeyondLastLine&&(o=Math.max(o,i-1));const s=(n+t.viewLineCount+o)/(t.pixelRatio*t.height),r=Math.floor(t.viewLineCount/s);return{typicalViewportLineCount:i,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:o,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(t,i){const n=t.outerWidth,o=t.outerHeight,s=t.pixelRatio;if(!t.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*o),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:o};const r=i.stableMinimapLayoutInput,a=r&&t.outerHeight===r.outerHeight&&t.lineHeight===r.lineHeight&&t.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&t.pixelRatio===r.pixelRatio&&t.scrollBeyondLastLine===r.scrollBeyondLastLine&&t.paddingTop===r.paddingTop&&t.paddingBottom===r.paddingBottom&&t.minimap.enabled===r.minimap.enabled&&t.minimap.side===r.minimap.side&&t.minimap.size===r.minimap.size&&t.minimap.showSlider===r.minimap.showSlider&&t.minimap.renderCharacters===r.minimap.renderCharacters&&t.minimap.maxColumn===r.minimap.maxColumn&&t.minimap.scale===r.minimap.scale&&t.verticalScrollbarWidth===r.verticalScrollbarWidth&&t.isViewportWrapping===r.isViewportWrapping,l=t.lineHeight,d=t.typicalHalfwidthCharacterWidth,c=t.scrollBeyondLastLine,h=t.minimap.renderCharacters;let u=s>=2?Math.round(t.minimap.scale*2):t.minimap.scale;const g=t.minimap.maxColumn,p=t.minimap.size,f=t.minimap.side,_=t.verticalScrollbarWidth,v=t.viewLineCount,b=t.remainingWidth,w=t.isViewportWrapping,y=h?2:3;let S=Math.floor(s*o);const L=S/s;let E=!1,T=!1,B=y*u,q=u/s,W=1;if(p==="fill"||p==="fit"){const{typicalViewportLineCount:he,extraLinesBeforeFirstLine:Le,extraLinesBeyondLastLine:qe,desiredRatio:Xe,minimapLineCount:li}=CI.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,height:o,lineHeight:l,pixelRatio:s});if(v/li>1)E=!0,T=!0,u=1,B=1,q=u/s;else{let Ut=!1,on=u+1;if(p==="fit"){const jt=Math.ceil((Le+v+qe)*B);w&&a&&b<=i.stableFitRemainingWidth?(Ut=!0,on=i.stableFitMaxMinimapScale):Ut=jt>S}if(p==="fill"||Ut){E=!0;const jt=u;B=Math.min(l*s,Math.max(1,Math.floor(1/Xe))),w&&a&&b<=i.stableFitRemainingWidth&&(on=i.stableFitMaxMinimapScale),u=Math.min(on,Math.max(1,Math.floor(B/y))),u>jt&&(W=Math.min(2,u/jt)),q=u/s/W,S=Math.ceil(Math.max(he,Le+v+qe)*B),w?(i.stableMinimapLayoutInput=t,i.stableFitRemainingWidth=b,i.stableFitMaxMinimapScale=u):(i.stableMinimapLayoutInput=null,i.stableFitRemainingWidth=0)}}}const ge=Math.floor(g*q),te=Math.min(ge,Math.max(0,Math.floor((b-_-2)*q/(d+q)))+kd);let $=Math.floor(s*te);const X=$/s;$=Math.floor($*W);const ve=h?1:2,fe=f==="left"?0:n-te-_;return{renderMinimap:ve,minimapLeft:fe,minimapWidth:te,minimapHeightIsEditorHeight:E,minimapIsSampling:T,minimapScale:u,minimapLineHeight:B,minimapCanvasInnerWidth:$,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:X,minimapCanvasOuterHeight:L}}static computeLayout(t,i){const n=i.outerWidth|0,o=i.outerHeight|0,s=i.lineHeight|0,r=i.lineNumbersDigitCount|0,a=i.typicalHalfwidthCharacterWidth,l=i.maxDigitWidth,d=i.pixelRatio,c=i.viewLineCount,h=t.get(138),u=h==="inherit"?t.get(137):h,g=u==="inherit"?t.get(133):u,p=t.get(136),f=i.isDominatedByLongLines,_=t.get(57),v=t.get(68).renderType!==0,b=t.get(69),w=t.get(106),y=t.get(84),S=t.get(73),L=t.get(104),E=L.verticalScrollbarSize,T=L.verticalHasArrows,B=L.arrowSize,q=L.horizontalScrollbarSize,W=t.get(43),ge=t.get(111)!=="never";let te=t.get(66);W&&ge&&(te+=16);let $=0;if(v){const wr=Math.max(r,b);$=Math.round(wr*l)}let X=0;_&&(X=s*i.glyphMarginDecorationLaneCount);let ve=0,fe=ve+X,he=fe+$,Le=he+te;const qe=n-X-$-te;let Xe=!1,li=!1,Ut=-1;u==="inherit"&&f?(Xe=!0,li=!0):g==="on"||g==="bounded"?li=!0:g==="wordWrapColumn"&&(Ut=p);const on=CI._computeMinimapLayout({outerWidth:n,outerHeight:o,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:w,paddingTop:y.top,paddingBottom:y.bottom,minimap:S,verticalScrollbarWidth:E,viewLineCount:c,remainingWidth:qe,isViewportWrapping:li},i.memory||new V3);on.renderMinimap!==0&&on.minimapLeft===0&&(ve+=on.minimapWidth,fe+=on.minimapWidth,he+=on.minimapWidth,Le+=on.minimapWidth);const jt=qe-on.minimapWidth,zs=Math.max(1,Math.floor((jt-E-2)/a)),Xi=T?B:0;return li&&(Ut=Math.max(1,zs),g==="bounded"&&(Ut=Math.min(Ut,p))),{width:n,height:o,glyphMarginLeft:ve,glyphMarginWidth:X,glyphMarginDecorationLaneCount:i.glyphMarginDecorationLaneCount,lineNumbersLeft:fe,lineNumbersWidth:$,decorationsLeft:he,decorationsWidth:te,contentLeft:Le,contentWidth:jt,minimap:on,viewportColumn:zs,isWordWrapMinified:Xe,isViewportWrapping:li,wrappingColumn:Ut,verticalScrollbarWidth:E,horizontalScrollbarHeight:q,overviewRuler:{top:Xi,width:E,height:o-2*Xi,right:0}}}},fK=class extends vi{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return Qi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}},(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(El||(El={})),_K=class extends vi{constructor(){const e={enabled:El.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[El.Off,El.OnCode,El.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Qi(e.enabled,this.defaultValue.enabled,[El.Off,El.OnCode,El.On])}}},bK=class extends vi{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),maxLineCount:mi.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Qi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:Ie(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}},vK=class extends vi{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",mt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",mt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:Qi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:mi.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:fs.string(t.fontFamily,this.defaultValue.fontFamily),padding:Ie(t.padding,this.defaultValue.padding)}}},wK=class extends vi{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):mi.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?mi.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}},yK=class extends Ba{constructor(){super(67,"lineHeight",is.lineHeight,e=>Ba.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height.
|
|
1
|
+
import{W as iMe,a as nMe,u as T3,e as oMe,A as sMe,b as ek,f as rMe}from"./index-D4gDxl9-.js";var Gq={},aMe=Object.create,PV=Object.defineProperty,lMe=Object.getOwnPropertyDescriptor,OV=Object.getOwnPropertyNames,dMe=Object.getPrototypeOf,cMe=Object.prototype.hasOwnProperty,hMe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),C=(e,t)=>function(){return e&&(t=(0,e[OV(e)[0]])(e=0)),t},FV=(e,t)=>function(){return t||(0,e[OV(e)[0]])((t={exports:{}}).exports,t),t.exports},Ve=(e,t)=>{for(var i in t)PV(e,i,{get:t[i],enumerable:!0})},uMe=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of OV(t))!cMe.call(e,o)&&o!==i&&PV(e,o,{get:()=>t[o],enumerable:!(n=lMe(t,o))||n.enumerable});return e},BV=(e,t,i)=>(i=e!=null?aMe(dMe(e)):{},uMe(!e||!e.__esModule?PV(i,"default",{value:e,enumerable:!0}):i,e));function Ma(e,t=0){return e[e.length-(1+t)]}function gMe(e){if(e.length===0)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function Pi(e,t,i=(n,o)=>n===o){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,o=e.length;n<o;n++)if(!i(e[n],t[n]))return!1;return!0}function mMe(e,t){const i=e.length-1;t<i&&(e[t]=e[i]),e.pop()}function R1(e,t,i){return pMe(e.length,n=>i(e[n],t))}function pMe(e,t){let i=0,n=e-1;for(;i<=n;){const o=(i+n)/2|0,s=t(o);if(s<0)i=o+1;else if(s>0)n=o-1;else return o}return-(i+1)}function N3(e,t,i){if(e=e|0,e>=t.length)throw new TypeError("invalid index");const n=t[Math.floor(t.length*Math.random())],o=[],s=[],r=[];for(const a of t){const l=i(a,n);l<0?o.push(a):l>0?s.push(a):r.push(a)}return e<o.length?N3(e,o,i):e<o.length+r.length?r[0]:N3(e-(o.length+r.length),s,i)}function Yq(e,t){const i=[];let n;for(const o of e.slice(0).sort(t))!n||t(n[0],o)!==0?(n=[o],i.push(n)):n.push(o);return i}function*WV(e,t){let i,n;for(const o of e)n!==void 0&&t(n,o)?i.push(o):(i&&(yield i),i=[o]),n=o;i&&(yield i)}function Ace(e,t){for(let i=0;i<=e.length;i++)t(i===0?void 0:e[i-1],i===e.length?void 0:e[i])}function fMe(e,t){for(let i=0;i<e.length;i++)t(i===0?void 0:e[i-1],e[i],i+1===e.length?void 0:e[i+1])}function Ul(e){return e.filter(t=>!!t)}function Xq(e){let t=0;for(let i=0;i<e.length;i++)e[i]&&(e[t]=e[i],t+=1);e.length=t}function Rce(e){return!Array.isArray(e)||e.length===0}function cs(e){return Array.isArray(e)&&e.length>0}function uu(e,t=i=>i){const i=new Set;return e.filter(n=>{const o=t(n);return i.has(o)?!1:(i.add(o),!0)})}function HV(e,t){return e.length>0?e[0]:t}function Js(e,t){let i=typeof t=="number"?e:0;typeof t=="number"?i=e:(i=0,t=e);const n=[];if(i<=t)for(let o=i;o<t;o++)n.push(o);else for(let o=i;o>t;o--)n.push(o);return n}function uM(e,t,i){const n=e.slice(0,t),o=e.slice(t);return n.concat(i,o)}function mR(e,t){const i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function tk(e,t){const i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function M3(e,t){for(const i of t)e.push(i)}function VV(e){return Array.isArray(e)?e:[e]}function _Me(e,t,i){const n=Pce(e,t),o=e.length,s=i.length;e.length=o+s;for(let r=o-1;r>=n;r--)e[r+s]=e[r];for(let r=0;r<s;r++)e[r+n]=i[r]}function Zq(e,t,i,n){const o=Pce(e,t);let s=e.splice(o,i);return s===void 0&&(s=[]),_Me(e,o,n),s}function Pce(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}function Ds(e,t){return(i,n)=>t(e(i),e(n))}function bMe(...e){return(t,i)=>{for(const n of e){const o=n(t,i);if(!WC.isNeitherLessOrGreaterThan(o))return o}return WC.neitherLessOrGreaterThan}}function Oce(e){return(t,i)=>-e(t,i)}var WC,Xa,Fce,ih,Cv,Bce,He=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/arrays.js"(){(function(e){function t(s){return s<0}e.isLessThan=t;function i(s){return s<=0}e.isLessThanOrEqual=i;function n(s){return s>0}e.isGreaterThan=n;function o(s){return s===0}e.isNeitherLessOrGreaterThan=o,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(WC||(WC={})),Xa=(e,t)=>e-t,Fce=(e,t)=>Xa(e?1:0,t?1:0),ih=class{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}},Cv=class vI{static{this.empty=new vI(t=>{})}constructor(t){this.iterate=t}toArray(){const t=[];return this.iterate(i=>(t.push(i),!0)),t}filter(t){return new vI(i=>this.iterate(n=>t(n)?i(n):!0))}map(t){return new vI(i=>this.iterate(n=>i(t(n))))}findLast(t){let i;return this.iterate(n=>(t(n)&&(i=n),!0)),i}findLastMaxBy(t){let i,n=!0;return this.iterate(o=>((n||WC.isGreaterThan(t(o,i)))&&(n=!1,i=o),!0)),i}},Bce=class A3{constructor(t){this._indexMap=t}static createSortPermutation(t,i){const n=Array.from(t.keys()).sort((o,s)=>i(t[o],t[s]));return new A3(n)}apply(t){return t.map((i,n)=>t[this._indexMap[n]])}inverse(){const t=this._indexMap.slice();for(let i=0;i<this._indexMap.length;i++)t[this._indexMap[i]]=i;return new A3(t)}}}});function or(e){return typeof e=="string"}function qn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function vMe(e){const t=Object.getPrototypeOf(Uint8Array);return typeof e=="object"&&e instanceof t}function Zg(e){return typeof e=="number"&&!isNaN(e)}function Qq(e){return!!e&&typeof e[Symbol.iterator]=="function"}function Wce(e){return e===!0||e===!1}function as(e){return typeof e>"u"}function Xc(e){return!ma(e)}function ma(e){return as(e)||e===null}function At(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function Pg(e){if(ma(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function P1(e){return typeof e=="function"}function wMe(e,t){const i=Math.min(e.length,t.length);for(let n=0;n<i;n++)yMe(e[n],t[n])}function yMe(e,t){if(or(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(P1(t)){try{if(e instanceof t)return}catch{}if(!ma(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}var Rt=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/types.js"(){}});function Vh(e){if(!e||typeof e!="object"||e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([i,n])=>{t[i]=n&&typeof n=="object"?Vh(n):n}),t}function CMe(e){if(!e||typeof e!="object")return e;const t=[e];for(;t.length>0;){const i=t.shift();Object.freeze(i);for(const n in i)if(zV.call(i,n)){const o=i[n];typeof o=="object"&&!Object.isFrozen(o)&&!vMe(o)&&t.push(o)}}return e}function Hce(e,t){return R3(e,t,new Set)}function R3(e,t,i){if(ma(e))return e;const n=t(e);if(typeof n<"u")return n;if(Array.isArray(e)){const o=[];for(const s of e)o.push(R3(s,t,i));return o}if(qn(e)){if(i.has(e))throw new Error("Cannot clone recursive data-structure");i.add(e);const o={};for(const s in e)zV.call(e,s)&&(o[s]=R3(e[s],t,i));return i.delete(e),o}return e}function gM(e,t,i=!0){return qn(e)?(qn(t)&&Object.keys(t).forEach(n=>{n in e?i&&(qn(e[n])&&qn(t[n])?gM(e[n],t[n],i):e[n]=t[n]):e[n]=t[n]}),e):t}function jr(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!="object"||Array.isArray(e)!==Array.isArray(t))return!1;let i,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(!jr(e[i],t[i]))return!1}else{const o=[];for(n in e)o.push(n);o.sort();const s=[];for(n in t)s.push(n);if(s.sort(),!jr(o,s))return!1;for(i=0;i<o.length;i++)if(!jr(e[o[i]],t[o[i]]))return!1}return!0}function xMe(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function P3(e){const t=[];for(const i of xMe(e))typeof e[i]=="function"&&t.push(i);return t}function SMe(e,t){const i=o=>function(){const s=Array.prototype.slice.call(arguments,0);return t(o,s)},n={};for(const o of e)n[o]=i(o);return n}var zV,ur=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/objects.js"(){Rt(),zV=Object.prototype.hasOwnProperty}});function Vce(){return globalThis._VSCODE_NLS_MESSAGES}function UV(){return globalThis._VSCODE_NLS_LANGUAGE}var Jq=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/nls.messages.js"(){}});function O3(e,t){let i;return t.length===0?i=e:i=e.replace(/\{(\d+)\}/g,(n,o)=>{const s=o[0],r=t[s];let a=n;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),Uce&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function m(e,t,...i){return O3(typeof e=="number"?zce(e,t):t,i)}function zce(e,t){const i=Vce()?.[e];if(typeof i!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return i}function Ge(e,t,...i){let n;typeof e=="number"?n=zce(e,t):n=t;const o=O3(n,i);return{value:o,original:t===n?o:O3(t,i)}}var Uce,ee=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/nls.js"(){Jq(),Jq(),Uce=UV()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0}});function jce(){if(!B3){B3=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2,F3=new Uint16Array(e.buffer)[0]===513}return F3}var Hm,sy,ry,ay,pR,ik,nk,fR,ly,dy,_R,eK,mc,pc,na,tK,iK,uo,mt,Zo,Hl,Qg,nK,$ce,jl,jV,rd,qce,oK,$V,sr,F3,B3,W3,Kce,Gce,Yce,Xce,st=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/platform.js"(){if(ee(),Hm="en",sy=!1,ry=!1,ay=!1,pR=!1,ik=!1,nk=!1,fR=!1,ly=void 0,dy=Hm,_R=Hm,eK=void 0,mc=void 0,pc=globalThis,na=void 0,typeof pc.vscode<"u"&&typeof pc.vscode.process<"u"?na=pc.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(na=process),tK=typeof na?.versions?.electron=="string",iK=tK&&na?.type==="renderer",typeof na=="object"){sy=na.platform==="win32",ry=na.platform==="darwin",ay=na.platform==="linux",ay&&na.env.SNAP&&na.env.SNAP_REVISION,na.env.CI||na.env.BUILD_ARTIFACTSTAGINGDIRECTORY,ly=Hm,dy=Hm;const e=na.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);ly=t.userLocale,_R=t.osLocale,dy=t.resolvedLanguage||Hm,eK=t.languagePack?.translationsConfigFile}catch{}pR=!0}else typeof navigator=="object"&&!iK?(mc=navigator.userAgent,sy=mc.indexOf("Windows")>=0,ry=mc.indexOf("Macintosh")>=0,nk=(mc.indexOf("Macintosh")>=0||mc.indexOf("iPad")>=0||mc.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ay=mc.indexOf("Linux")>=0,fR=mc?.indexOf("Mobi")>=0,ik=!0,dy=UV()||Hm,ly=navigator.language.toLowerCase(),_R=ly):console.error("Unable to resolve platform.");uo=sy,mt=ry,Zo=ay,Hl=pR,Qg=ik,nK=ik&&typeof pc.importScripts=="function",$ce=nK?pc.origin:void 0,jl=nk,jV=fR,rd=mc,qce=dy,oK=typeof pc.postMessage=="function"&&!pc.importScripts,$V=(()=>{if(oK){const e=[];pc.addEventListener("message",i=>{if(i.data&&i.data.vscodeScheduleAsyncWork)for(let n=0,o=e.length;n<o;n++){const s=e[n];if(s.id===i.data.vscodeScheduleAsyncWork){e.splice(n,1),s.callback();return}}});let t=0;return i=>{const n=++t;e.push({id:n,callback:i}),pc.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),sr=ry||nk?2:sy?1:3,F3=!0,B3=!1,W3=!!(rd&&rd.indexOf("Chrome")>=0),Kce=!!(rd&&rd.indexOf("Firefox")>=0),Gce=!!(!W3&&rd&&rd.indexOf("Safari")>=0),Yce=!!(rd&&rd.indexOf("Edg/")>=0),Xce=!!(rd&&rd.indexOf("Android")>=0)}}),Ro,mM=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/textModelDefaults.js"(){Ro={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}}}),Ct,As=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/iterator.js"(){(function(e){function t(y){return y&&typeof y=="object"&&typeof y[Symbol.iterator]=="function"}e.is=t;const i=Object.freeze([]);function n(){return i}e.empty=n;function*o(y){yield y}e.single=o;function s(y){return t(y)?y:o(y)}e.wrap=s;function r(y){return y||i}e.from=r;function*a(y){for(let S=y.length-1;S>=0;S--)yield y[S]}e.reverse=a;function l(y){return!y||y[Symbol.iterator]().next().done===!0}e.isEmpty=l;function d(y){return y[Symbol.iterator]().next().value}e.first=d;function c(y,S){let L=0;for(const E of y)if(S(E,L++))return!0;return!1}e.some=c;function h(y,S){for(const L of y)if(S(L))return L}e.find=h;function*u(y,S){for(const L of y)S(L)&&(yield L)}e.filter=u;function*g(y,S){let L=0;for(const E of y)yield S(E,L++)}e.map=g;function*p(y,S){let L=0;for(const E of y)yield*S(E,L++)}e.flatMap=p;function*f(...y){for(const S of y)yield*S}e.concat=f;function _(y,S,L){let E=L;for(const T of y)E=S(E,T);return E}e.reduce=_;function*v(y,S,L=y.length){for(S<0&&(S+=y.length),L<0?L+=y.length:L>y.length&&(L=y.length);S<L;S++)yield y[S]}e.slice=v;function b(y,S=Number.POSITIVE_INFINITY){const L=[];if(S===0)return[L,y];const E=y[Symbol.iterator]();for(let T=0;T<S;T++){const B=E.next();if(B.done)return[L,e.empty()];L.push(B.value)}return[L,{[Symbol.iterator](){return E}}]}e.consume=b;async function w(y){const S=[];for await(const L of y)S.push(L);return Promise.resolve(S)}e.asyncToArray=w})(Ct||(Ct={}))}}),Nn,ls,al=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/linkedList.js"(){Nn=class wI{static{this.Undefined=new wI(void 0)}constructor(t){this.element=t,this.next=wI.Undefined,this.prev=wI.Undefined}},ls=class{constructor(){this._first=Nn.Undefined,this._last=Nn.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Nn.Undefined}clear(){let e=this._first;for(;e!==Nn.Undefined;){const t=e.next;e.prev=Nn.Undefined,e.next=Nn.Undefined,e=t}this._first=Nn.Undefined,this._last=Nn.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new Nn(e);if(this._first===Nn.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Nn.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Nn.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Nn.Undefined&&e.next!==Nn.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Nn.Undefined&&e.next===Nn.Undefined?(this._first=Nn.Undefined,this._last=Nn.Undefined):e.next===Nn.Undefined?(this._last=this._last.prev,this._last.next=Nn.Undefined):e.prev===Nn.Undefined&&(this._first=this._first.next,this._first.prev=Nn.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Nn.Undefined;)yield e.element,e=e.next}}}});function kMe(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const i of F1)e.indexOf(i)>=0||(t+="\\"+i);return t+="\\s]+)",new RegExp(t,"g")}function qV(e){let t=pM;if(e&&e instanceof RegExp)if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}return t.lastIndex=0,t}function O1(e,t,i,n,o){if(t=qV(t),o||(o=Ct.first(H3)),i.length>o.maxLen){let d=e-o.maxLen/2;return d<0?d=0:n+=d,i=i.substring(d,e+o.maxLen/2),O1(e,t,i,n,o)}const s=Date.now(),r=e-1-n;let a=-1,l=null;for(let d=1;!(Date.now()-s>=o.timeBudget);d++){const c=r-o.windowSize*d;t.lastIndex=Math.max(0,c);const h=LMe(t,i,r,a);if(!h&&l||(l=h,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,d}return null}function LMe(e,t,i,n){let o;for(;o=e.exec(t);){const s=o.index||0;if(s<=i&&e.lastIndex>=i)return o;if(n>0&&s>n)return null}return null}var F1,pM,H3,Sw=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js"(){As(),al(),F1="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",pM=kMe(),H3=new ls,H3.unshift({maxLen:1e3,windowSize:15,timeBudget:150})}});function yI(e,t){if(typeof e!="object"||typeof t!="object"||!e||!t)return new xv(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const n=Array.isArray(e)&&Array.isArray(t)&&Pi(e,t);return new xv(t,!n)}let i=!1;for(const n in t)if(t.hasOwnProperty(n)){const o=yI(e[n],t[n]);o.didChange&&(e[n]=o.newValue,i=!0)}return new xv(e,i)}function Ie(e,t){return typeof e>"u"?t:e==="false"?!1:!!e}function bp(e,t,i,n){if(typeof e>"u")return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(i,o),o=Math.min(n,o),o|0)}function EMe(e,t,i,n){if(typeof e>"u")return t;const o=Ba.float(e,t);return Ba.clamp(o,i,n)}function Qi(e,t,i,n){return typeof e!="string"?t:n&&e in n?n[e]:i.indexOf(e)===-1?t:e}function IMe(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}function DMe(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}function TMe(e){switch(e){case"line":return ro.Line;case"block":return ro.Block;case"underline":return ro.Underline;case"line-thin":return ro.LineThin;case"block-outline":return ro.BlockOutline;case"underline-thin":return ro.UnderlineThin}}function NMe(e){return e==="ctrlCmd"?mt?"metaKey":"ctrlKey":"altKey"}function m2(e){const t=e.get(99);return t==="editable"?e.get(92):t!=="on"}function sK(e,t){if(typeof e!="string")return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}function c_(e,t,i){const n=i.indexOf(e);return n===-1?t:i[n]}function de(e){return Up[e.id]=e,e}var kd,KV,V3,vi,xv,h_,Vm,It,mi,Ba,fs,ji,cy,rK,aK,ro,lK,dK,cK,vf,p2,hK,uK,gK,mK,pK,z3,fK,El,_K,bK,vK,wK,yK,CK,xK,SK,kK,LK,EK,IK,DK,TK,NK,Dr,Ss,MK,AK,RK,PK,OK,FK,BK,WK,HK,VK,zK,UK,jK,$K,qK,is,Up,Ol,Sn=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions.js"(){He(),ur(),st(),mM(),Sw(),ee(),kd=8,KV=class{constructor(e){this._values=e}hasChanged(e){return this._values[e]}},V3=class{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}},vi=class{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return yI(e,t)}compute(e,t,i){return i}},xv=class{constructor(e,t){this.newValue=e,this.didChange=t}},h_=class{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return yI(e,t)}validate(e){return this.defaultValue}},Vm=class{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return yI(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}},It=class extends Vm{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return Ie(e,this.defaultValue)}},mi=class Zce extends Vm{static clampedInt(t,i,n,o){return bp(t,i,n,o)}constructor(t,i,n,o,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=n,r.minimum=o,r.maximum=s),super(t,i,n,r),this.minimum=o,this.maximum=s}validate(t){return Zce.clampedInt(t,this.defaultValue,this.minimum,this.maximum)}},Ba=class Qce extends Vm{static clamp(t,i,n){return t<i?i:t>n?n:t}static float(t,i){if(typeof t=="number")return t;if(typeof t>"u")return i;const n=parseFloat(t);return isNaN(n)?i:n}constructor(t,i,n,o,s){typeof s<"u"&&(s.type="number",s.default=n),super(t,i,n,s),this.validationFn=o}validate(t){return this.validationFn(Qce.float(t,this.defaultValue))}},fs=class Jce extends Vm{static string(t,i){return typeof t!="string"?i:t}constructor(t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.default=n),super(t,i,n,o)}validate(t){return Jce.string(t,this.defaultValue)}},ji=class extends Vm{constructor(e,t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return Qi(e,this.defaultValue,this._allowedValues)}},cy=class extends vi{constructor(e,t,i,n,o,s,r=void 0){typeof r<"u"&&(r.type="string",r.enum=o,r.default=n),super(e,t,i,r),this._allowedValues=o,this._convert=s}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}},rK=class extends vi{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}},aK=class extends vi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:Ie(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:Ie(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}},(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(ro||(ro={})),lK=class extends h_{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}},dK=class extends It{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}},cK=class extends vi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:mt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:Ie(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":Qi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":Qi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:Ie(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:Ie(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:Ie(t.loop,this.defaultValue.loop)}}},vf=class gb extends vi{static{this.OFF='"liga" off, "calt" off'}static{this.ON='"liga" on, "calt" on'}constructor(){super(51,"fontLigatures",gb.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(t){return typeof t>"u"?this.defaultValue:typeof t=="string"?t==="false"||t.length===0?gb.OFF:t==="true"?gb.ON:t:t?gb.ON:gb.OFF}},p2=class mb extends vi{static{this.OFF="normal"}static{this.TRANSLATE="translate"}constructor(){super(54,"fontVariations",mb.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(t){return typeof t>"u"?this.defaultValue:typeof t=="string"?t==="false"?mb.OFF:t==="true"?mb.TRANSLATE:t:t?mb.TRANSLATE:mb.OFF}compute(t,i,n){return t.fontInfo.fontVariationSettings}},hK=class extends h_{constructor(){super(50)}compute(e,t,i){return e.fontInfo}},uK=class extends Vm{constructor(){super(52,"fontSize",is.fontSize,{type:"number",minimum:6,maximum:100,default:is.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=Ba.float(e,this.defaultValue);return t===0?is.fontSize:Ba.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}},gK=class pb extends vi{static{this.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"]}static{this.MINIMUM_VALUE=1}static{this.MAXIMUM_VALUE=1e3}constructor(){super(53,"fontWeight",is.fontWeight,{anyOf:[{type:"number",minimum:pb.MINIMUM_VALUE,maximum:pb.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:pb.SUGGESTION_VALUES}],default:is.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(t){return t==="normal"||t==="bold"?t:String(mi.clampedInt(t,is.fontWeight,pb.MINIMUM_VALUE,pb.MAXIMUM_VALUE))}},mK=class extends vi{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:Qi(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??Qi(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??Qi(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??Qi(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??Qi(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??Qi(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??Qi(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:fs.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:fs.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:fs.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:fs.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:fs.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:fs.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}},pK=class extends vi{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),delay:mi.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:Ie(t.sticky,this.defaultValue.sticky),hidingDelay:mi.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:Ie(t.above,this.defaultValue.above)}}},z3=class CI extends h_{constructor(){super(146)}compute(t,i,n){return CI.computeLayout(i,{memory:t.memory,outerWidth:t.outerWidth,outerHeight:t.outerHeight,isDominatedByLongLines:t.isDominatedByLongLines,lineHeight:t.fontInfo.lineHeight,viewLineCount:t.viewLineCount,lineNumbersDigitCount:t.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:t.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:t.fontInfo.maxDigitWidth,pixelRatio:t.pixelRatio,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(t){const i=t.height/t.lineHeight,n=Math.floor(t.paddingTop/t.lineHeight);let o=Math.floor(t.paddingBottom/t.lineHeight);t.scrollBeyondLastLine&&(o=Math.max(o,i-1));const s=(n+t.viewLineCount+o)/(t.pixelRatio*t.height),r=Math.floor(t.viewLineCount/s);return{typicalViewportLineCount:i,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:o,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(t,i){const n=t.outerWidth,o=t.outerHeight,s=t.pixelRatio;if(!t.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*o),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:o};const r=i.stableMinimapLayoutInput,a=r&&t.outerHeight===r.outerHeight&&t.lineHeight===r.lineHeight&&t.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&t.pixelRatio===r.pixelRatio&&t.scrollBeyondLastLine===r.scrollBeyondLastLine&&t.paddingTop===r.paddingTop&&t.paddingBottom===r.paddingBottom&&t.minimap.enabled===r.minimap.enabled&&t.minimap.side===r.minimap.side&&t.minimap.size===r.minimap.size&&t.minimap.showSlider===r.minimap.showSlider&&t.minimap.renderCharacters===r.minimap.renderCharacters&&t.minimap.maxColumn===r.minimap.maxColumn&&t.minimap.scale===r.minimap.scale&&t.verticalScrollbarWidth===r.verticalScrollbarWidth&&t.isViewportWrapping===r.isViewportWrapping,l=t.lineHeight,d=t.typicalHalfwidthCharacterWidth,c=t.scrollBeyondLastLine,h=t.minimap.renderCharacters;let u=s>=2?Math.round(t.minimap.scale*2):t.minimap.scale;const g=t.minimap.maxColumn,p=t.minimap.size,f=t.minimap.side,_=t.verticalScrollbarWidth,v=t.viewLineCount,b=t.remainingWidth,w=t.isViewportWrapping,y=h?2:3;let S=Math.floor(s*o);const L=S/s;let E=!1,T=!1,B=y*u,q=u/s,W=1;if(p==="fill"||p==="fit"){const{typicalViewportLineCount:he,extraLinesBeforeFirstLine:Le,extraLinesBeyondLastLine:qe,desiredRatio:Xe,minimapLineCount:li}=CI.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,height:o,lineHeight:l,pixelRatio:s});if(v/li>1)E=!0,T=!0,u=1,B=1,q=u/s;else{let Ut=!1,on=u+1;if(p==="fit"){const jt=Math.ceil((Le+v+qe)*B);w&&a&&b<=i.stableFitRemainingWidth?(Ut=!0,on=i.stableFitMaxMinimapScale):Ut=jt>S}if(p==="fill"||Ut){E=!0;const jt=u;B=Math.min(l*s,Math.max(1,Math.floor(1/Xe))),w&&a&&b<=i.stableFitRemainingWidth&&(on=i.stableFitMaxMinimapScale),u=Math.min(on,Math.max(1,Math.floor(B/y))),u>jt&&(W=Math.min(2,u/jt)),q=u/s/W,S=Math.ceil(Math.max(he,Le+v+qe)*B),w?(i.stableMinimapLayoutInput=t,i.stableFitRemainingWidth=b,i.stableFitMaxMinimapScale=u):(i.stableMinimapLayoutInput=null,i.stableFitRemainingWidth=0)}}}const ge=Math.floor(g*q),te=Math.min(ge,Math.max(0,Math.floor((b-_-2)*q/(d+q)))+kd);let $=Math.floor(s*te);const X=$/s;$=Math.floor($*W);const ve=h?1:2,fe=f==="left"?0:n-te-_;return{renderMinimap:ve,minimapLeft:fe,minimapWidth:te,minimapHeightIsEditorHeight:E,minimapIsSampling:T,minimapScale:u,minimapLineHeight:B,minimapCanvasInnerWidth:$,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:X,minimapCanvasOuterHeight:L}}static computeLayout(t,i){const n=i.outerWidth|0,o=i.outerHeight|0,s=i.lineHeight|0,r=i.lineNumbersDigitCount|0,a=i.typicalHalfwidthCharacterWidth,l=i.maxDigitWidth,d=i.pixelRatio,c=i.viewLineCount,h=t.get(138),u=h==="inherit"?t.get(137):h,g=u==="inherit"?t.get(133):u,p=t.get(136),f=i.isDominatedByLongLines,_=t.get(57),v=t.get(68).renderType!==0,b=t.get(69),w=t.get(106),y=t.get(84),S=t.get(73),L=t.get(104),E=L.verticalScrollbarSize,T=L.verticalHasArrows,B=L.arrowSize,q=L.horizontalScrollbarSize,W=t.get(43),ge=t.get(111)!=="never";let te=t.get(66);W&&ge&&(te+=16);let $=0;if(v){const wr=Math.max(r,b);$=Math.round(wr*l)}let X=0;_&&(X=s*i.glyphMarginDecorationLaneCount);let ve=0,fe=ve+X,he=fe+$,Le=he+te;const qe=n-X-$-te;let Xe=!1,li=!1,Ut=-1;u==="inherit"&&f?(Xe=!0,li=!0):g==="on"||g==="bounded"?li=!0:g==="wordWrapColumn"&&(Ut=p);const on=CI._computeMinimapLayout({outerWidth:n,outerHeight:o,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:w,paddingTop:y.top,paddingBottom:y.bottom,minimap:S,verticalScrollbarWidth:E,viewLineCount:c,remainingWidth:qe,isViewportWrapping:li},i.memory||new V3);on.renderMinimap!==0&&on.minimapLeft===0&&(ve+=on.minimapWidth,fe+=on.minimapWidth,he+=on.minimapWidth,Le+=on.minimapWidth);const jt=qe-on.minimapWidth,zs=Math.max(1,Math.floor((jt-E-2)/a)),Xi=T?B:0;return li&&(Ut=Math.max(1,zs),g==="bounded"&&(Ut=Math.min(Ut,p))),{width:n,height:o,glyphMarginLeft:ve,glyphMarginWidth:X,glyphMarginDecorationLaneCount:i.glyphMarginDecorationLaneCount,lineNumbersLeft:fe,lineNumbersWidth:$,decorationsLeft:he,decorationsWidth:te,contentLeft:Le,contentWidth:jt,minimap:on,viewportColumn:zs,isWordWrapMinified:Xe,isViewportWrapping:li,wrappingColumn:Ut,verticalScrollbarWidth:E,horizontalScrollbarHeight:q,overviewRuler:{top:Xi,width:E,height:o-2*Xi,right:0}}}},fK=class extends vi{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return Qi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}},(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(El||(El={})),_K=class extends vi{constructor(){const e={enabled:El.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[El.Off,El.OnCode,El.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Qi(e.enabled,this.defaultValue.enabled,[El.Off,El.OnCode,El.On])}}},bK=class extends vi{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),maxLineCount:mi.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Qi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:Ie(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}},vK=class extends vi{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",mt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",mt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:Qi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:mi.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:fs.string(t.fontFamily,this.defaultValue.fontFamily),padding:Ie(t.padding,this.defaultValue.padding)}}},wK=class extends vi{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):mi.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?mi.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}},yK=class extends Ba{constructor(){super(67,"lineHeight",is.lineHeight,e=>Ba.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height.
|
|
2
2
|
- Use 0 to automatically compute the line height from the font size.
|
|
3
3
|
- Values between 0 and 8 will be used as a multiplier with the font size.
|
|
4
4
|
- Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}},CK=class extends vi{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:m("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:m("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[m("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),m("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),m("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:m("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:m("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:m("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:m("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:m("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:m("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:m("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:m("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:m("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:m("minimap.sectionHeaderLetterSpacing","Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),autohide:Ie(t.autohide,this.defaultValue.autohide),size:Qi(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:Qi(t.side,this.defaultValue.side,["right","left"]),showSlider:Qi(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:Ie(t.renderCharacters,this.defaultValue.renderCharacters),scale:mi.clampedInt(t.scale,1,1,3),maxColumn:mi.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:Ie(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:Ie(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:Ba.clamp(t.sectionHeaderFontSize??this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:Ba.clamp(t.sectionHeaderLetterSpacing??this.defaultValue.sectionHeaderLetterSpacing,0,5)}}},xK=class extends vi{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:mi.clampedInt(t.top,0,0,1e3),bottom:mi.clampedInt(t.bottom,0,0,1e3)}}},SK=class extends vi{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:m("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:m("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),cycle:Ie(t.cycle,this.defaultValue.cycle)}}},kK=class extends h_{constructor(){super(144)}compute(e,t,i){return e.pixelRatio}},LK=class extends vi{constructor(){super(88,"placeholder",void 0)}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e:this.defaultValue}},EK=class extends vi{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[m("on","Quick suggestions show inside the suggest widget"),m("inline","Quick suggestions show as ghost text"),m("off","Quick suggestions are disabled")]}];super(90,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:m("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:m("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:m("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:m("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.","`#editor.suggestOnTriggerCharacters#`")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const l=e?"on":"off";return{comments:l,strings:l,other:l}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,o=["on","inline","off"];let s,r,a;return typeof t=="boolean"?s=t?"on":"off":s=Qi(t,this.defaultValue.other,o),typeof i=="boolean"?r=i?"on":"off":r=Qi(i,this.defaultValue.comments,o),typeof n=="boolean"?a=n?"on":"off":a=Qi(n,this.defaultValue.strings,o),{other:s,comments:r,strings:a}}},IK=class extends vi{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[m("lineNumbers.off","Line numbers are not rendered."),m("lineNumbers.on","Line numbers are rendered as absolute number."),m("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),m("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:m("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}},DK=class extends vi{constructor(){const e=[],t={type:"number",description:m("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(103,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:m("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:m("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:mi.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:mi.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}},TK=class extends vi{constructor(){super(93,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}},NK=class extends vi{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(104,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),m("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),m("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),m("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),m("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:m("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:m("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:m("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:m("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=mi.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=mi.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:mi.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:sK(t.vertical,this.defaultValue.vertical),horizontal:sK(t.horizontal,this.defaultValue.horizontal),useShadows:Ie(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:Ie(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:Ie(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:Ie(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:Ie(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:mi.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:mi.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:Ie(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:Ie(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}},Dr="inUntrustedWorkspace",Ss={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"},MK=class extends vi{constructor(){const e={nonBasicASCII:Dr,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Dr,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,"unicodeHighlight",e,{[Ss.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Dr],default:e.nonBasicASCII,description:m("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Ss.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:m("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Ss.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:m("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Ss.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Dr],default:e.includeComments,description:m("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Ss.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Dr],default:e.includeStrings,description:m("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Ss.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:m("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Ss.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:m("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(jr(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(jr(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new xv(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:c_(t.nonBasicASCII,Dr,[!0,!1,Dr]),invisibleCharacters:Ie(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:Ie(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:c_(t.includeComments,Dr,[!0,!1,Dr]),includeStrings:c_(t.includeStrings,Dr,[!0,!1,Dr]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,o]of Object.entries(e))o===!0&&(i[n]=!0);return i}},AK=class extends vi{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:m("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),m("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),m("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:m("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:m("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),mode:Qi(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:Qi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:Ie(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:Ie(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:fs.string(t.fontFamily,this.defaultValue.fontFamily)}}},RK=class extends vi{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:m("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),m("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),m("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:m("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineEdit.fontFamily","Controls the font family of the inline edit.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),showToolbar:Qi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:fs.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:Ie(t.keepOnBlur,this.defaultValue.keepOnBlur)}}},PK=class extends vi{constructor(){const e={enabled:Ro.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Ro.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:m("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:Ie(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}},OK=class extends vi{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairs.true","Enables bracket pair guides."),m("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),m("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:m("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),m("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),m("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:m("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:m("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:m("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[m("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),m("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),m("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:m("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:c_(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:c_(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:Ie(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:Ie(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:c_(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}},FK=class extends vi{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(119,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[m("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),m("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:m("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:m("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:m("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:m("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[m("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),m("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:m("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:m("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:m("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:m("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:m("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:m("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:m("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:m("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:Qi(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:Ie(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:Ie(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:Ie(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:Ie(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:Qi(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:Ie(t.showIcons,this.defaultValue.showIcons),showStatusBar:Ie(t.showStatusBar,this.defaultValue.showStatusBar),preview:Ie(t.preview,this.defaultValue.preview),previewMode:Qi(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:Ie(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:Ie(t.showMethods,this.defaultValue.showMethods),showFunctions:Ie(t.showFunctions,this.defaultValue.showFunctions),showConstructors:Ie(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:Ie(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:Ie(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:Ie(t.showFields,this.defaultValue.showFields),showVariables:Ie(t.showVariables,this.defaultValue.showVariables),showClasses:Ie(t.showClasses,this.defaultValue.showClasses),showStructs:Ie(t.showStructs,this.defaultValue.showStructs),showInterfaces:Ie(t.showInterfaces,this.defaultValue.showInterfaces),showModules:Ie(t.showModules,this.defaultValue.showModules),showProperties:Ie(t.showProperties,this.defaultValue.showProperties),showEvents:Ie(t.showEvents,this.defaultValue.showEvents),showOperators:Ie(t.showOperators,this.defaultValue.showOperators),showUnits:Ie(t.showUnits,this.defaultValue.showUnits),showValues:Ie(t.showValues,this.defaultValue.showValues),showConstants:Ie(t.showConstants,this.defaultValue.showConstants),showEnums:Ie(t.showEnums,this.defaultValue.showEnums),showEnumMembers:Ie(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:Ie(t.showKeywords,this.defaultValue.showKeywords),showWords:Ie(t.showWords,this.defaultValue.showWords),showColors:Ie(t.showColors,this.defaultValue.showColors),showFiles:Ie(t.showFiles,this.defaultValue.showFiles),showReferences:Ie(t.showReferences,this.defaultValue.showReferences),showFolders:Ie(t.showFolders,this.defaultValue.showFolders),showTypeParameters:Ie(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:Ie(t.showSnippets,this.defaultValue.showSnippets),showUsers:Ie(t.showUsers,this.defaultValue.showUsers),showIssues:Ie(t.showIssues,this.defaultValue.showIssues)}}},BK=class extends vi{constructor(){super(114,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:m("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:m("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:Ie(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:Ie(e.selectSubwords,this.defaultValue.selectSubwords)}}},WK=class extends vi{constructor(){const e=[];super(131,"wordSegmenterLocales",e,{anyOf:[{description:m("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:m("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if(typeof e=="string"&&(e=[e]),Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="string")try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch{}return t}return this.defaultValue}},HK=class extends vi{constructor(){super(139,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[m("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),m("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),m("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),m("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:m("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}},VK=class extends h_{constructor(){super(147)}compute(e,t,i){const n=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}},zK=class extends vi{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:m("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[m("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),m("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),showDropSelector:Qi(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}},UK=class extends vi{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:m("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[m("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),m("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Ie(t.enabled,this.defaultValue.enabled),showPasteSelector:Qi(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}},jK="Consolas, 'Courier New', monospace",$K="Menlo, Monaco, 'Courier New', monospace",qK="'Droid Sans Mono', 'monospace', monospace",is={fontFamily:mt?$K:Zo?qK:jK,fontWeight:"normal",fontSize:mt?12:14,lineHeight:0,letterSpacing:0},Up=[],Ol={acceptSuggestionOnCommitCharacter:de(new It(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:m("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:de(new ji(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",m("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:m("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:de(new rK),accessibilityPageSize:de(new mi(3,"accessibilityPageSize",10,1,1073741824,{description:m("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:de(new fs(4,"ariaLabel",m("editorViewAccessibleLabel","Editor content"))),ariaRequired:de(new It(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:de(new It(8,"screenReaderAnnounceInlineSuggestion",!0,{description:m("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:de(new ji(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),m("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:m("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:de(new ji(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),m("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:m("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:de(new ji(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:de(new ji(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:de(new ji(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),m("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:m("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:de(new cy(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],IMe,{enumDescriptions:[m("editor.autoIndent.none","The editor will not insert indentation automatically."),m("editor.autoIndent.keep","The editor will keep the current line's indentation."),m("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),m("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),m("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:m("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:de(new It(13,"automaticLayout",!1)),autoSurround:de(new ji(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[m("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),m("editor.autoSurround.quotes","Surround with quotes but not brackets."),m("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:m("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:de(new PK),bracketPairGuides:de(new OK),stickyTabStops:de(new It(117,"stickyTabStops",!1,{description:m("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:de(new It(17,"codeLens",!0,{description:m("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:de(new fs(18,"codeLensFontFamily","",{description:m("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:de(new mi(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:m("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:de(new It(20,"colorDecorators",!0,{description:m("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:de(new ji(149,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[m("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),m("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),m("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:m("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:de(new mi(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:m("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:de(new It(22,"columnSelection",!1,{description:m("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:de(new aK),contextmenu:de(new It(24,"contextmenu",!0)),copyWithSyntaxHighlighting:de(new It(25,"copyWithSyntaxHighlighting",!0,{description:m("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:de(new cy(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],DMe,{description:m("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:de(new ji(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[m("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),m("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),m("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:m("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:de(new cy(28,"cursorStyle",ro.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],TMe,{description:m("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:de(new mi(29,"cursorSurroundingLines",0,0,1073741824,{description:m("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:de(new ji(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[m("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),m("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:m("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:de(new mi(31,"cursorWidth",0,0,1073741824,{markdownDescription:m("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:de(new It(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:de(new It(33,"disableMonospaceOptimizations",!1)),domReadOnly:de(new It(34,"domReadOnly",!1)),dragAndDrop:de(new It(35,"dragAndDrop",!0,{description:m("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:de(new dK),dropIntoEditor:de(new zK),stickyScroll:de(new bK),experimentalWhitespaceRendering:de(new ji(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[m("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),m("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),m("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:m("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:de(new fs(39,"extraEditorClassName","")),fastScrollSensitivity:de(new Ba(40,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:m("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:de(new cK),fixedOverflowWidgets:de(new It(42,"fixedOverflowWidgets",!1)),folding:de(new It(43,"folding",!0,{description:m("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:de(new ji(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[m("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),m("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:m("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:de(new It(45,"foldingHighlight",!0,{description:m("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:de(new It(46,"foldingImportsByDefault",!1,{description:m("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:de(new mi(47,"foldingMaximumRegions",5e3,10,65e3,{description:m("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:de(new It(48,"unfoldOnClickAfterEndOfLine",!1,{description:m("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:de(new fs(49,"fontFamily",is.fontFamily,{description:m("fontFamily","Controls the font family.")})),fontInfo:de(new hK),fontLigatures2:de(new vf),fontSize:de(new uK),fontWeight:de(new gK),fontVariations:de(new p2),formatOnPaste:de(new It(55,"formatOnPaste",!1,{description:m("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:de(new It(56,"formatOnType",!1,{description:m("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:de(new It(57,"glyphMargin",!0,{description:m("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:de(new mK),hideCursorInOverviewRuler:de(new It(59,"hideCursorInOverviewRuler",!1,{description:m("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:de(new pK),inDiffEditor:de(new It(61,"inDiffEditor",!1)),letterSpacing:de(new Ba(64,"letterSpacing",is.letterSpacing,e=>Ba.clamp(e,-5,20),{description:m("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:de(new _K),lineDecorationsWidth:de(new wK),lineHeight:de(new yK),lineNumbers:de(new IK),lineNumbersMinChars:de(new mi(69,"lineNumbersMinChars",5,1,300)),linkedEditing:de(new It(70,"linkedEditing",!1,{description:m("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:de(new It(71,"links",!0,{description:m("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:de(new ji(72,"matchBrackets","always",["always","near","never"],{description:m("matchBrackets","Highlight matching brackets.")})),minimap:de(new CK),mouseStyle:de(new ji(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:de(new Ba(75,"mouseWheelScrollSensitivity",1,e=>e===0?1:e,{markdownDescription:m("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:de(new It(76,"mouseWheelZoom",!1,{markdownDescription:mt?m("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):m("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:de(new It(77,"multiCursorMergeOverlapping",!0,{description:m("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:de(new cy(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],NMe,{markdownEnumDescriptions:[m("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),m("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:m({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:de(new ji(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[m("multiCursorPaste.spread","Each cursor pastes a single line of the text."),m("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:m("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:de(new mi(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:m("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:de(new ji(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[m("occurrencesHighlight.off","Does not highlight occurrences."),m("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),m("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:m("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:de(new It(82,"overviewRulerBorder",!0,{description:m("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:de(new mi(83,"overviewRulerLanes",3,0,3)),padding:de(new xK),pasteAs:de(new UK),parameterHints:de(new SK),peekWidgetDefaultFocus:de(new ji(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[m("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),m("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:m("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:de(new LK),definitionLinkOpensInPeek:de(new It(89,"definitionLinkOpensInPeek",!1,{description:m("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:de(new EK),quickSuggestionsDelay:de(new mi(91,"quickSuggestionsDelay",10,0,1073741824,{description:m("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:de(new It(92,"readOnly",!1)),readOnlyMessage:de(new TK),renameOnType:de(new It(94,"renameOnType",!1,{description:m("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:m("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:de(new It(95,"renderControlCharacters",!0,{description:m("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:de(new ji(96,"renderFinalNewline",Zo?"dimmed":"on",["off","on","dimmed"],{description:m("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:de(new ji(97,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",m("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:m("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:de(new It(98,"renderLineHighlightOnlyWhenFocus",!1,{description:m("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:de(new ji(99,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:de(new ji(100,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",m("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),m("renderWhitespace.selection","Render whitespace characters only on selected text."),m("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:m("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:de(new mi(101,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:de(new It(102,"roundedSelection",!0,{description:m("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:de(new DK),scrollbar:de(new NK),scrollBeyondLastColumn:de(new mi(105,"scrollBeyondLastColumn",4,0,1073741824,{description:m("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:de(new It(106,"scrollBeyondLastLine",!0,{description:m("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:de(new It(107,"scrollPredominantAxis",!0,{description:m("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:de(new It(108,"selectionClipboard",!0,{description:m("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Zo})),selectionHighlight:de(new It(109,"selectionHighlight",!0,{description:m("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:de(new It(110,"selectOnLineNumbers",!0)),showFoldingControls:de(new ji(111,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[m("showFoldingControls.always","Always show the folding controls."),m("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),m("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:m("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:de(new It(112,"showUnused",!0,{description:m("showUnused","Controls fading out of unused code.")})),showDeprecated:de(new It(141,"showDeprecated",!0,{description:m("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:de(new vK),snippetSuggestions:de(new ji(113,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[m("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),m("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),m("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),m("snippetSuggestions.none","Do not show snippet suggestions.")],description:m("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:de(new BK),smoothScrolling:de(new It(115,"smoothScrolling",!1,{description:m("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:de(new mi(118,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:de(new FK),inlineSuggest:de(new AK),inlineEdit:de(new RK),inlineCompletionsAccessibilityVerbose:de(new It(150,"inlineCompletionsAccessibilityVerbose",!1,{description:m("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:de(new mi(120,"suggestFontSize",0,0,1e3,{markdownDescription:m("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:de(new mi(121,"suggestLineHeight",0,0,1e3,{markdownDescription:m("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:de(new It(122,"suggestOnTriggerCharacters",!0,{description:m("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:de(new ji(123,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[m("suggestSelection.first","Always select the first suggestion."),m("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),m("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:m("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:de(new ji(124,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[m("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),m("tabCompletion.off","Disable tab completions."),m("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:m("tabCompletion","Enables tab completions.")})),tabIndex:de(new mi(125,"tabIndex",0,-1,1073741824)),unicodeHighlight:de(new MK),unusualLineTerminators:de(new ji(127,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[m("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),m("unusualLineTerminators.off","Unusual line terminators are ignored."),m("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:m("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:de(new It(128,"useShadowDOM",!0)),useTabStops:de(new It(129,"useTabStops",!0,{description:m("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:de(new ji(130,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[m("wordBreak.normal","Use the default line break rule."),m("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:m("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:de(new WK),wordSeparators:de(new fs(132,"wordSeparators",F1,{description:m("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:de(new ji(133,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[m("wordWrap.off","Lines will never wrap."),m("wordWrap.on","Lines will wrap at the viewport width."),m({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),m({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:m({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:de(new fs(134,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:de(new fs(135,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:de(new mi(136,"wordWrapColumn",80,1,1073741824,{markdownDescription:m({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:de(new ji(137,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:de(new ji(138,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:de(new lK),defaultColorDecorators:de(new It(148,"defaultColorDecorators",!1,{markdownDescription:m("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:de(new kK),tabFocusMode:de(new It(145,"tabFocusMode",!1,{markdownDescription:m("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:de(new z3),wrappingInfo:de(new VK),wrappingIndent:de(new HK),wrappingStrategy:de(new fK)}}});function et(e){ll(e)||YV.onUnexpectedError(e)}function dn(e){ll(e)||YV.onUnexpectedExternalError(e)}function KK(e){if(e instanceof Error){const{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:xI.isErrorNoTelemetry(e)}}return e}function ll(e){return e instanceof tl?!0:e instanceof Error&&e.name===B1&&e.message===B1}function MMe(){const e=new Error(B1);return e.name=e.message,e}function Za(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function GV(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}var GK,YV,B1,tl,ehe,xI,Bt,Me=C({"../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/errors.js"(){GK=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?xI.isErrorNoTelemetry(e)?new xI(e.message+`
|
|
@@ -6509,4 +6509,4 @@ ${ile(n)}`;return i}},tq=class tDe extends Oa{constructor(){super(...arguments),
|
|
|
6509
6509
|
}
|
|
6510
6510
|
/*# sourceMappingURL=frontend.css.map */
|
|
6511
6511
|
`,document.head.appendChild(t)})();export{CJe as activate,xJe as deactivate};
|
|
6512
|
-
//# sourceMappingURL=frontend-
|
|
6512
|
+
//# sourceMappingURL=frontend-BzdZVdad.js.map
|