st-comp 0.0.244 → 0.0.245

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.
Files changed (46) hide show
  1. package/es/ConfigProvider.cjs +1 -1
  2. package/es/ConfigProvider.js +1 -1
  3. package/es/CustomFunction.cjs +2 -2
  4. package/es/CustomFunction.js +262 -263
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +1 -1
  7. package/es/Kline.cjs +1 -1
  8. package/es/Kline.js +1 -1
  9. package/es/KlineBasic.cjs +1 -1
  10. package/es/KlineBasic.js +1 -1
  11. package/es/KlineNew.cjs +1 -1
  12. package/es/KlineNew.js +1 -1
  13. package/es/KlinePlus.cjs +1 -1
  14. package/es/KlinePlus.js +1 -1
  15. package/es/MonacoEditor.cjs +1 -1
  16. package/es/MonacoEditor.js +3 -3
  17. package/es/Pie.cjs +1 -1
  18. package/es/Pie.js +1 -1
  19. package/es/User.cjs +1 -1
  20. package/es/User.js +1 -1
  21. package/es/VarSelectDialog.cjs +1 -1
  22. package/es/VarSelectDialog.js +2 -2
  23. package/es/VarietyAutoComplete.cjs +1 -1
  24. package/es/VarietyAutoComplete.js +1 -1
  25. package/es/VarietySearch.cjs +20 -20
  26. package/es/VarietySearch.js +2995 -3000
  27. package/es/{VarietySelect-031bf077.cjs → VarietySelect-2fd501da.cjs} +1 -1
  28. package/es/{VarietySelect-ae0c48b2.js → VarietySelect-5a9dd50b.js} +1 -1
  29. package/es/{index-1f939868.cjs → index-2375023e.cjs} +2 -2
  30. package/es/{index-edabe380.js → index-7ed0999e.js} +5487 -5574
  31. package/es/{index-2c456130.cjs → index-8901a38c.cjs} +40 -40
  32. package/es/{index-4b01552e.js → index-ac98a4d8.js} +3 -3
  33. package/es/{python-7ce6f0b1.js → python-a914569a.js} +3 -3
  34. package/es/{python-c8abd4f5.cjs → python-c67c8901.cjs} +1 -1
  35. package/es/style.css +1 -1
  36. package/lib/bundle.js +1 -1
  37. package/lib/bundle.umd.cjs +220 -220
  38. package/lib/{index-200db55b.js → index-ab2ee69a.js} +33080 -33172
  39. package/lib/{python-9540022d.js → python-ca75e11c.js} +1 -1
  40. package/lib/style.css +1 -1
  41. package/package.json +1 -1
  42. package/packages/CustomFunction/index.vue +2 -4
  43. package/packages/VarietySearch/components/CompositeOrder/index.vue +2 -4
  44. package/packages/VarietySearch/components/FactorScreen/index.vue +5 -7
  45. package/packages/VarietySearch/index.vue +4 -6
  46. package/src/pages/VarietySearch/index.vue +7 -2
@@ -1 +1 @@
1
- "use strict";require("./base-ef747d02.cjs");const y=require("./el-autocomplete-b9a3054a.cjs");require("./el-input-172c49f8.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-7ba87e05.cjs");const e=require("vue"),f=require("./index-2c456130.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs");const V={class:"variety-auto-complete"},b={key:0},q={class:"label"},x={__name:"VarietySelect",props:{size:{type:String,default:"default"},placeholder:{type:String,default:"请输入品种名称或代码"},labelShowEnable:{type:Boolean,default:!0},selectClearEnable:{type:Boolean,default:!0}},emits:["select","change"],setup(s,{emit:u}){const d=e.inject("stConfig"),r=u,n=s,c=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:f.V("id"),hotSearchFlag:1},{body:o}=await d.request.post("/common/qt/getFeatureInfosByPage",a),g=o.list.map(({code:i,featureName:h})=>({label:`${i}   ${h}`,value:i}));l(g)}},_=({label:t,value:l})=>{const a=t.split(" ").at(-1);r("select",{name:a,code:l}),n.selectClearEnable&&(c.value="")},m=t=>{r("change",t)};return(t,l)=>{const a=y.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",V,[s.labelShowEnable?(e.openBlock(),e.createElementBlock("span",b,"品种搜索:")):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=o=>c.value=o),clearable:"",size:n.size,placeholder:n.placeholder,"fetch-suggestions":p,onSelect:_,onChange:m},{default:e.withCtx(({item:o})=>[e.createElementVNode("div",q,e.toDisplayString(o.label),1)]),_:1},8,["modelValue","size","placeholder"])])}}},v=S._export_sfc(x,[["__scopeId","data-v-d433c4b8"]]);exports.VarietySelect=v;
1
+ "use strict";require("./base-ef747d02.cjs");const y=require("./el-autocomplete-b9a3054a.cjs");require("./el-input-172c49f8.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-7ba87e05.cjs");const e=require("vue"),f=require("./index-8901a38c.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs");const V={class:"variety-auto-complete"},b={key:0},q={class:"label"},x={__name:"VarietySelect",props:{size:{type:String,default:"default"},placeholder:{type:String,default:"请输入品种名称或代码"},labelShowEnable:{type:Boolean,default:!0},selectClearEnable:{type:Boolean,default:!0}},emits:["select","change"],setup(s,{emit:u}){const d=e.inject("stConfig"),r=u,n=s,c=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:f.V("id"),hotSearchFlag:1},{body:o}=await d.request.post("/common/qt/getFeatureInfosByPage",a),g=o.list.map(({code:i,featureName:h})=>({label:`${i}   ${h}`,value:i}));l(g)}},_=({label:t,value:l})=>{const a=t.split(" ").at(-1);r("select",{name:a,code:l}),n.selectClearEnable&&(c.value="")},m=t=>{r("change",t)};return(t,l)=>{const a=y.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",V,[s.labelShowEnable?(e.openBlock(),e.createElementBlock("span",b,"品种搜索:")):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=o=>c.value=o),clearable:"",size:n.size,placeholder:n.placeholder,"fetch-suggestions":p,onSelect:_,onChange:m},{default:e.withCtx(({item:o})=>[e.createElementVNode("div",q,e.toDisplayString(o.label),1)]),_:1},8,["modelValue","size","placeholder"])])}}},v=S._export_sfc(x,[["__scopeId","data-v-d433c4b8"]]);exports.VarietySelect=v;
@@ -4,7 +4,7 @@ import "./el-input-cae60510.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
5
  import "./el-popper-a38874f4.js";
6
6
  import { inject as S, ref as b, openBlock as i, createElementBlock as p, createCommentVNode as V, createVNode as x, withCtx as v, createElementVNode as C, toDisplayString as E } from "vue";
7
- import { V as z } from "./index-edabe380.js";
7
+ import { V as z } from "./index-7ed0999e.js";
8
8
  import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
9
9
  const w = { class: "variety-auto-complete" }, N = { key: 0 }, k = { class: "label" }, I = {
10
10
  __name: "VarietySelect",
@@ -1,4 +1,4 @@
1
- "use strict";require("./base-ef747d02.cjs");const xA=require("./el-button-68baab7b.cjs");require("./el-tag-789f05d3.cjs");const Ty=require("./el-select-12f6deb7.cjs");require("./el-scrollbar-bc3f790d.cjs");const EA=require("./el-popper-7ba87e05.cjs"),IA=require("./el-input-172c49f8.cjs");require("./el-tooltip-0ea8fbf8.cjs");const X=require("vue"),Ay=require("./index-2c456130.cjs"),My=require("./index-cebc7160.cjs"),NA=require("./VarietySelect-031bf077.cjs"),TA=require("./el-message-a86c0efa.cjs"),AA=require("./_plugin-vue_export-helper-f246444f.cjs"),MA=s=>{if(!s)return[];const e=/\$\{([^}]+)\}/g,t=[];let i;for(;(i=e.exec(s))!==null;)t.push(i[1]);return[...new Set(t)]};function Qn(s,e=0){return s[s.length-(1+e)]}function RA(s){if(s.length===0)throw new Error("Invalid tail call");return[s.slice(0,s.length-1),s[s.length-1]]}function Vi(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function PA(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function OA(s,e,t){return FA(s.length,i=>t(s[i],e))}function FA(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function*lw(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function P2(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function BA(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function O2(s){return s.filter(e=>!!e)}function Ry(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function WA(s){return!Array.isArray(s)||s.length===0}function qp(s){return Array.isArray(s)&&s.length>0}function Ml(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function cw(s,e){return s.length>0?s[0]:e}function on(s,e){let t=typeof e=="number"?s:0;typeof e=="number"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function jp(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function l0(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function qf(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function A1(s,e){for(const t of e)s.push(t)}function VA(s,e,t){const i=F2(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function Py(s,e,t,i){const n=F2(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),VA(s,n,i),o}function F2(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var bu;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(bu||(bu={}));function js(s,e){return(t,i)=>e(s(t),s(i))}function HA(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!bu.isNeitherLessOrGreaterThan(n))return n}return bu.neitherLessOrGreaterThan}}const yl=(s,e)=>s-e,zA=(s,e)=>yl(s?1:0,e?1:0);function UA(s){return(e,t)=>-s(e,t)}class yr{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}}class Ao{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Ao(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Ao(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||bu.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}Ao.empty=new Ao(s=>{});function Rn(s){return typeof s=="string"}function Ys(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function $A(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s=="object"&&s instanceof e}function qh(s){return typeof s=="number"&&!isNaN(s)}function Oy(s){return!!s&&typeof s[Symbol.iterator]=="function"}function B2(s){return s===!0||s===!1}function Gs(s){return typeof s>"u"}function vh(s){return!Un(s)}function Un(s){return Gs(s)||s===null}function ma(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function W2(s){if(Un(s))throw new Error("Assertion Failed: argument is undefined or null");return s}function _m(s){return typeof s=="function"}function KA(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)qA(s[i],e[i])}function qA(s,e){if(Rn(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(_m(e)){try{if(s instanceof e)return}catch{}if(!Un(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function jr(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?jr(i):i}),e}function jA(s){if(!s||typeof s!="object")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(V2.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!$A(n)&&e.push(n)}}return s}const V2=Object.prototype.hasOwnProperty;function H2(s,e){return M1(s,e,new Set)}function M1(s,e,t){if(Un(s))return s;const i=e(s);if(typeof i<"u")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(M1(o,e,t));return n}if(Ys(s)){if(t.has(s))throw new Error("Cannot clone recursive data-structure");t.add(s);const n={};for(const o in s)V2.call(s,o)&&(n[o]=M1(s[o],e,t));return t.delete(s),n}return s}function qn(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!="object"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!qn(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!qn(n,o))return!1;for(t=0;t<n.length;t++)if(!qn(s[n[t]],e[n[t]]))return!1}return!0}function GA(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function hw(s){const e=[];for(const t of GA(s))typeof s[t]=="function"&&e.push(t);return e}function ZA(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}let YA=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function QA(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),YA&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function p(s,e,...t){return QA(e,t)}var c0;const Ec="en";let bm=!1,vm=!1,Ug=!1,z2=!1,dw=!1,uw=!1,U2=!1,jf,h0=Ec,Fy=Ec,XA,Os;const vr=globalThis;let rn;typeof vr.vscode<"u"&&typeof vr.vscode.process<"u"?rn=vr.vscode.process:typeof process<"u"&&(rn=process);const JA=typeof((c0=rn==null?void 0:rn.versions)===null||c0===void 0?void 0:c0.electron)=="string",eM=JA&&(rn==null?void 0:rn.type)==="renderer";if(typeof rn=="object"){bm=rn.platform==="win32",vm=rn.platform==="darwin",Ug=rn.platform==="linux",Ug&&rn.env.SNAP&&rn.env.SNAP_REVISION,rn.env.CI||rn.env.BUILD_ARTIFACTSTAGINGDIRECTORY,jf=Ec,h0=Ec;const s=rn.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s),t=e.availableLanguages["*"];jf=e.locale,Fy=e.osLocale,h0=t||Ec,XA=e._translationsConfigFile}catch{}z2=!0}else typeof navigator=="object"&&!eM?(Os=navigator.userAgent,bm=Os.indexOf("Windows")>=0,vm=Os.indexOf("Macintosh")>=0,uw=(Os.indexOf("Macintosh")>=0||Os.indexOf("iPad")>=0||Os.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ug=Os.indexOf("Linux")>=0,U2=(Os==null?void 0:Os.indexOf("Mobi"))>=0,dw=!0,p({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),jf=Ec,h0=jf,Fy=navigator.language):console.error("Unable to resolve platform.");const Gn=bm,nt=vm,Ln=Ug,jd=z2,jh=dw,tM=dw&&typeof vr.importScripts=="function",iM=tM?vr.origin:void 0,Rl=uw,$2=U2,Oo=Os,nM=typeof vr.postMessage=="function"&&!vr.importScripts,K2=(()=>{if(nM){const s=[];vr.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),vr.postMessage({vscodeScheduleAsyncWork:i},"*")}}return s=>setTimeout(s)})(),Cs=vm||uw?2:bm?1:3;let By=!0,Wy=!1;function sM(){if(!Wy){Wy=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,By=new Uint16Array(s.buffer)[0]===512+1}return By}const q2=!!(Oo&&Oo.indexOf("Chrome")>=0),oM=!!(Oo&&Oo.indexOf("Firefox")>=0),rM=!!(!q2&&Oo&&Oo.indexOf("Safari")>=0),aM=!!(Oo&&Oo.indexOf("Edg/")>=0),lM=!!(Oo&&Oo.indexOf("Android")>=0),$i={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var it;(function(s){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(C){yield C}s.single=n;function o(C){return e(C)?C:n(C)}s.wrap=o;function r(C){return C||t}s.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}s.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}s.isEmpty=l;function c(C){return C[Symbol.iterator]().next().value}s.first=c;function h(C,w){for(const y of C)if(w(y))return!0;return!1}s.some=h;function d(C,w){for(const y of C)if(w(y))return y}s.find=d;function*u(C,w){for(const y of C)w(y)&&(yield y)}s.filter=u;function*f(C,w){let y=0;for(const L of C)yield w(L,y++)}s.map=f;function*g(...C){for(const w of C)yield*w}s.concat=g;function m(C,w,y){let L=y;for(const k of C)L=w(L,k);return L}s.reduce=m;function*_(C,w,y=C.length){for(w<0&&(w+=C.length),y<0?y+=C.length:y>C.length&&(y=C.length);w<y;w++)yield C[w]}s.slice=_;function v(C,w=Number.POSITIVE_INFINITY){const y=[];if(w===0)return[y,C];const L=C[Symbol.iterator]();for(let k=0;k<w;k++){const D=L.next();if(D.done)return[y,s.empty()];y.push(D.value)}return[y,{[Symbol.iterator](){return L}}]}s.consume=v;async function b(C){const w=[];for await(const y of C)w.push(y);return Promise.resolve(w)}s.asyncToArray=b})(it||(it={}));let oi=class R1{constructor(e){this.element=e,this.next=R1.Undefined,this.prev=R1.Undefined}};oi.Undefined=new oi(void 0);class An{constructor(){this._first=oi.Undefined,this._last=oi.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===oi.Undefined}clear(){let e=this._first;for(;e!==oi.Undefined;){const t=e.next;e.prev=oi.Undefined,e.next=oi.Undefined,e=t}this._first=oi.Undefined,this._last=oi.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new oi(e);if(this._first===oi.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!==oi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==oi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==oi.Undefined&&e.next!==oi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===oi.Undefined&&e.next===oi.Undefined?(this._first=oi.Undefined,this._last=oi.Undefined):e.next===oi.Undefined?(this._last=this._last.prev,this._last.next=oi.Undefined):e.prev===oi.Undefined&&(this._first=this._first.next,this._first.prev=oi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==oi.Undefined;)yield e.element,e=e.next}}const j2="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function cM(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of j2)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const fw=cM();function gw(s){let e=fw;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const G2=new An;G2.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function vu(s,e,t,i,n){if(e=gw(e),n||(n=it.first(G2)),t.length>n.maxLen){let c=s-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,s+n.maxLen/2),vu(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-o>=n.timeBudget);c++){const h=r-n.windowSize*c;e.lastIndex=Math.max(0,h);const d=hM(e,t,r,a);if(!d&&l||(l=d,h<=0))break;a=h}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function hM(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const Wr=8;class Z2{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class Y2{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Ft{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return Gp(e,t)}compute(e,t,i){return i}}class Gd{constructor(e,t){this.newValue=e,this.didChange=t}}function Gp(s,e){if(typeof s!="object"||typeof e!="object"||!s||!e)return new Gd(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&Vi(s,e);return new Gd(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=Gp(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new Gd(s,t)}class _f{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return Gp(e,t)}validate(e){return this.defaultValue}}class Gh{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return Gp(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function ce(s,e){return typeof s>"u"?e:s==="false"?!1:!!s}class Ge extends Gh{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return ce(e,this.defaultValue)}}function nl(s,e,t,i){if(typeof s>"u")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class gt extends Gh{static clampedInt(e,t,i,n){return nl(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return gt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function dM(s,e,t,i){if(typeof s>"u")return e;const n=ws.float(s,e);return ws.clamp(n,t,i)}class ws extends Gh{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o<"u"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(ws.float(e,this.defaultValue))}}class an extends Gh{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return an.string(e,this.defaultValue)}}function $t(s,e,t,i){return typeof s!="string"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class Ht extends Gh{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 $t(e,this.defaultValue,this._allowedValues)}}class Gf extends Ft{constructor(e,t,i,n,o,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function uM(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class fM extends Ft{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","Optimize for usage with a Screen Reader."),p("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:p("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}}class gM extends Ft{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("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:ce(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ce(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function mM(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var Ni;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(Ni||(Ni={}));function pM(s){switch(s){case"line":return Ni.Line;case"block":return Ni.Block;case"underline":return Ni.Underline;case"line-thin":return Ni.LineThin;case"block-outline":return Ni.BlockOutline;case"underline-thin":return Ni.UnderlineThin}}class _M extends _f{constructor(){super(141)}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(111)&&n.push("showUnused"),t.get(139)&&n.push("showDeprecated"),n.join(" ")}}class bM extends Ge{constructor(){super(37,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class vM extends Ft{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:p("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:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("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:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:nt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("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:p("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:ce(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":$t(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":$t(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:ce(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ce(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ce(t.loop,this.defaultValue.loop)}}}class es extends Ft{constructor(){super(51,"fontLigatures",es.OFF,{anyOf:[{type:"boolean",description:p("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:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("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(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?es.OFF:e==="true"?es.ON:e:e?es.ON:es.OFF}}es.OFF='"liga" off, "calt" off';es.ON='"liga" on, "calt" on';class Us extends Ft{constructor(){super(54,"fontVariations",Us.OFF,{anyOf:[{type:"boolean",description:p("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:p("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:p("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(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Us.OFF:e==="true"?Us.TRANSLATE:e:e?Us.TRANSLATE:Us.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}Us.OFF="normal";Us.TRANSLATE="translate";class CM extends _f{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class wM extends Gh{constructor(){super(52,"fontSize",jn.fontSize,{type:"number",minimum:6,maximum:100,default:jn.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=ws.float(e,this.defaultValue);return t===0?jn.fontSize:ws.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class wo extends Ft{constructor(){super(53,"fontWeight",jn.fontWeight,{anyOf:[{type:"number",minimum:wo.MINIMUM_VALUE,maximum:wo.MAXIMUM_VALUE,errorMessage:p("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:wo.SUGGESTION_VALUES}],default:jn.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(gt.clampedInt(e,jn.fontWeight,wo.MINIMUM_VALUE,wo.MAXIMUM_VALUE))}}wo.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];wo.MINIMUM_VALUE=1;wo.MAXIMUM_VALUE=1e3;class SM extends Ft{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),p("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:p("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:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:p("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:p("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:p("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:p("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:p("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:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,o,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:$t(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:$t(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:$t(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:$t(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=a.multipleImplementations)!==null&&o!==void 0?o:$t(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:$t(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:an.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:an.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:an.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:an.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:an.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class yM extends Ft{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:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("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:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),delay:gt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ce(t.sticky,this.defaultValue.sticky),hidingDelay:gt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:ce(t.above,this.defaultValue.above)}}}class Yc extends _f{constructor(){super(144)}compute(e,t,i){return Yc.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,h=e.scrollBeyondLastLine,d=e.minimap.renderCharacters;let u=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const f=e.minimap.maxColumn,g=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=d?2:3;let y=Math.floor(o*n);const L=y/o;let k=!1,D=!1,I=w*u,W=u/o,M=1;if(g==="fill"||g==="fit"){const{typicalViewportLineCount:ve,extraLinesBeforeFirstLine:oe,extraLinesBeyondLastLine:Ie,desiredRatio:Ne,minimapLineCount:fe}=Yc.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:h,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(v/fe>1)k=!0,D=!0,u=1,I=1,W=u/o;else{let Wt=!1,re=u+1;if(g==="fit"){const Re=Math.ceil((oe+v+Ie)*I);C&&a&&b<=t.stableFitRemainingWidth?(Wt=!0,re=t.stableFitMaxMinimapScale):Wt=Re>y}if(g==="fill"||Wt){k=!0;const Re=u;I=Math.min(l*o,Math.max(1,Math.floor(1/Ne))),C&&a&&b<=t.stableFitRemainingWidth&&(re=t.stableFitMaxMinimapScale),u=Math.min(re,Math.max(1,Math.floor(I/w))),u>Re&&(M=Math.min(2,u/Re)),W=u/o/M,y=Math.ceil(Math.max(ve,oe+v+Ie)*I),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(f*W),R=Math.min(A,Math.max(0,Math.floor((b-_-2)*W/(c+W)))+Wr);let q=Math.floor(o*R);const j=q/o;q=Math.floor(q*M);const se=d?1:2,ue=m==="left"?0:i-R-_;return{renderMinimap:se,minimapLeft:ue,minimapWidth:R,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:I,minimapCanvasInnerWidth:q,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:j,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,h=t.viewLineCount,d=e.get(136),u=d==="inherit"?e.get(135):d,f=u==="inherit"?e.get(131):u,g=e.get(134),m=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),y=e.get(73),L=e.get(103),k=L.verticalScrollbarSize,D=L.verticalHasArrows,I=L.arrowSize,W=L.horizontalScrollbarSize,M=e.get(43),A=e.get(110)!=="never";let R=e.get(66);M&&A&&(R+=16);let q=0;if(v){const Te=Math.max(r,b);q=Math.round(Te*l)}let j=0;_&&(j=o*t.glyphMarginDecorationLaneCount);let se=0,ue=se+j,ve=ue+q,oe=ve+R;const Ie=i-j-q-R;let Ne=!1,fe=!1,ie=-1;u==="inherit"&&m?(Ne=!0,fe=!0):f==="on"||f==="bounded"?fe=!0:f==="wordWrapColumn"&&(ie=g);const Wt=Yc._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:y,verticalScrollbarWidth:k,viewLineCount:h,remainingWidth:Ie,isViewportWrapping:fe},t.memory||new Y2);Wt.renderMinimap!==0&&Wt.minimapLeft===0&&(se+=Wt.minimapWidth,ue+=Wt.minimapWidth,ve+=Wt.minimapWidth,oe+=Wt.minimapWidth);const re=Ie-Wt.minimapWidth,Re=Math.max(1,Math.floor((re-k-2)/a)),ye=D?I:0;return fe&&(ie=Math.max(1,Re),f==="bounded"&&(ie=Math.min(ie,g))),{width:i,height:n,glyphMarginLeft:se,glyphMarginWidth:j,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:ue,lineNumbersWidth:q,decorationsLeft:ve,decorationsWidth:R,contentLeft:oe,contentWidth:re,minimap:Wt,viewportColumn:Re,isWordWrapMinified:Ne,isViewportWrapping:fe,wrappingColumn:ie,verticalScrollbarWidth:k,horizontalScrollbarHeight:W,overviewRuler:{top:ye,width:k,height:n-2*ye,right:0}}}}class LM extends Ft{constructor(){super(138,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[p("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."),p("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:p("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 $t(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Qo;(function(s){s.Off="off",s.OnCode="onCode",s.On="on"})(Qo||(Qo={}));class kM extends Ft{constructor(){const e={enabled:Qo.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Qo.Off,Qo.OnCode,Qo.On],default:e.enabled,enumDescriptions:[p("editor.lightbulb.enabled.off","Disable the code action menu."),p("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),p("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:p("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:$t(e.enabled,this.defaultValue.enabled,[Qo.Off,Qo.OnCode,Qo.On])}}}class DM extends Ft{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:p("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:p("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:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),maxLineCount:gt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:$t(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:ce(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class xM extends Ft{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(140,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",nt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",nt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("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:p("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:p("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:$t(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:gt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:an.string(t.fontFamily,this.defaultValue.fontFamily),padding:ce(t.padding,this.defaultValue.padding)}}}class EM extends Ft{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):gt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?gt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class IM extends ws{constructor(){super(67,"lineHeight",jn.lineHeight,e=>ws.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height.
1
+ "use strict";require("./base-ef747d02.cjs");const xA=require("./el-button-68baab7b.cjs");require("./el-tag-789f05d3.cjs");const Ty=require("./el-select-12f6deb7.cjs");require("./el-scrollbar-bc3f790d.cjs");const EA=require("./el-popper-7ba87e05.cjs"),IA=require("./el-input-172c49f8.cjs");require("./el-tooltip-0ea8fbf8.cjs");const X=require("vue"),Ay=require("./index-8901a38c.cjs"),My=require("./index-cebc7160.cjs"),NA=require("./VarietySelect-2fd501da.cjs"),TA=require("./el-message-a86c0efa.cjs"),AA=require("./_plugin-vue_export-helper-f246444f.cjs"),MA=s=>{if(!s)return[];const e=/\$\{([^}]+)\}/g,t=[];let i;for(;(i=e.exec(s))!==null;)t.push(i[1]);return[...new Set(t)]};function Qn(s,e=0){return s[s.length-(1+e)]}function RA(s){if(s.length===0)throw new Error("Invalid tail call");return[s.slice(0,s.length-1),s[s.length-1]]}function Vi(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function PA(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function OA(s,e,t){return FA(s.length,i=>t(s[i],e))}function FA(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function*lw(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function P2(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function BA(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function O2(s){return s.filter(e=>!!e)}function Ry(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function WA(s){return!Array.isArray(s)||s.length===0}function qp(s){return Array.isArray(s)&&s.length>0}function Ml(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function cw(s,e){return s.length>0?s[0]:e}function on(s,e){let t=typeof e=="number"?s:0;typeof e=="number"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function jp(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function l0(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function qf(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function A1(s,e){for(const t of e)s.push(t)}function VA(s,e,t){const i=F2(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function Py(s,e,t,i){const n=F2(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),VA(s,n,i),o}function F2(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var bu;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(bu||(bu={}));function js(s,e){return(t,i)=>e(s(t),s(i))}function HA(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!bu.isNeitherLessOrGreaterThan(n))return n}return bu.neitherLessOrGreaterThan}}const yl=(s,e)=>s-e,zA=(s,e)=>yl(s?1:0,e?1:0);function UA(s){return(e,t)=>-s(e,t)}class yr{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}}class Ao{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Ao(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Ao(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||bu.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}Ao.empty=new Ao(s=>{});function Rn(s){return typeof s=="string"}function Ys(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function $A(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s=="object"&&s instanceof e}function qh(s){return typeof s=="number"&&!isNaN(s)}function Oy(s){return!!s&&typeof s[Symbol.iterator]=="function"}function B2(s){return s===!0||s===!1}function Gs(s){return typeof s>"u"}function vh(s){return!Un(s)}function Un(s){return Gs(s)||s===null}function ma(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function W2(s){if(Un(s))throw new Error("Assertion Failed: argument is undefined or null");return s}function _m(s){return typeof s=="function"}function KA(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)qA(s[i],e[i])}function qA(s,e){if(Rn(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(_m(e)){try{if(s instanceof e)return}catch{}if(!Un(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function jr(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?jr(i):i}),e}function jA(s){if(!s||typeof s!="object")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(V2.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!$A(n)&&e.push(n)}}return s}const V2=Object.prototype.hasOwnProperty;function H2(s,e){return M1(s,e,new Set)}function M1(s,e,t){if(Un(s))return s;const i=e(s);if(typeof i<"u")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(M1(o,e,t));return n}if(Ys(s)){if(t.has(s))throw new Error("Cannot clone recursive data-structure");t.add(s);const n={};for(const o in s)V2.call(s,o)&&(n[o]=M1(s[o],e,t));return t.delete(s),n}return s}function qn(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!="object"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!qn(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!qn(n,o))return!1;for(t=0;t<n.length;t++)if(!qn(s[n[t]],e[n[t]]))return!1}return!0}function GA(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function hw(s){const e=[];for(const t of GA(s))typeof s[t]=="function"&&e.push(t);return e}function ZA(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}let YA=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function QA(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),YA&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function p(s,e,...t){return QA(e,t)}var c0;const Ec="en";let bm=!1,vm=!1,Ug=!1,z2=!1,dw=!1,uw=!1,U2=!1,jf,h0=Ec,Fy=Ec,XA,Os;const vr=globalThis;let rn;typeof vr.vscode<"u"&&typeof vr.vscode.process<"u"?rn=vr.vscode.process:typeof process<"u"&&(rn=process);const JA=typeof((c0=rn==null?void 0:rn.versions)===null||c0===void 0?void 0:c0.electron)=="string",eM=JA&&(rn==null?void 0:rn.type)==="renderer";if(typeof rn=="object"){bm=rn.platform==="win32",vm=rn.platform==="darwin",Ug=rn.platform==="linux",Ug&&rn.env.SNAP&&rn.env.SNAP_REVISION,rn.env.CI||rn.env.BUILD_ARTIFACTSTAGINGDIRECTORY,jf=Ec,h0=Ec;const s=rn.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s),t=e.availableLanguages["*"];jf=e.locale,Fy=e.osLocale,h0=t||Ec,XA=e._translationsConfigFile}catch{}z2=!0}else typeof navigator=="object"&&!eM?(Os=navigator.userAgent,bm=Os.indexOf("Windows")>=0,vm=Os.indexOf("Macintosh")>=0,uw=(Os.indexOf("Macintosh")>=0||Os.indexOf("iPad")>=0||Os.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ug=Os.indexOf("Linux")>=0,U2=(Os==null?void 0:Os.indexOf("Mobi"))>=0,dw=!0,p({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),jf=Ec,h0=jf,Fy=navigator.language):console.error("Unable to resolve platform.");const Gn=bm,nt=vm,Ln=Ug,jd=z2,jh=dw,tM=dw&&typeof vr.importScripts=="function",iM=tM?vr.origin:void 0,Rl=uw,$2=U2,Oo=Os,nM=typeof vr.postMessage=="function"&&!vr.importScripts,K2=(()=>{if(nM){const s=[];vr.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),vr.postMessage({vscodeScheduleAsyncWork:i},"*")}}return s=>setTimeout(s)})(),Cs=vm||uw?2:bm?1:3;let By=!0,Wy=!1;function sM(){if(!Wy){Wy=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,By=new Uint16Array(s.buffer)[0]===512+1}return By}const q2=!!(Oo&&Oo.indexOf("Chrome")>=0),oM=!!(Oo&&Oo.indexOf("Firefox")>=0),rM=!!(!q2&&Oo&&Oo.indexOf("Safari")>=0),aM=!!(Oo&&Oo.indexOf("Edg/")>=0),lM=!!(Oo&&Oo.indexOf("Android")>=0),$i={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var it;(function(s){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(C){yield C}s.single=n;function o(C){return e(C)?C:n(C)}s.wrap=o;function r(C){return C||t}s.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}s.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}s.isEmpty=l;function c(C){return C[Symbol.iterator]().next().value}s.first=c;function h(C,w){for(const y of C)if(w(y))return!0;return!1}s.some=h;function d(C,w){for(const y of C)if(w(y))return y}s.find=d;function*u(C,w){for(const y of C)w(y)&&(yield y)}s.filter=u;function*f(C,w){let y=0;for(const L of C)yield w(L,y++)}s.map=f;function*g(...C){for(const w of C)yield*w}s.concat=g;function m(C,w,y){let L=y;for(const k of C)L=w(L,k);return L}s.reduce=m;function*_(C,w,y=C.length){for(w<0&&(w+=C.length),y<0?y+=C.length:y>C.length&&(y=C.length);w<y;w++)yield C[w]}s.slice=_;function v(C,w=Number.POSITIVE_INFINITY){const y=[];if(w===0)return[y,C];const L=C[Symbol.iterator]();for(let k=0;k<w;k++){const D=L.next();if(D.done)return[y,s.empty()];y.push(D.value)}return[y,{[Symbol.iterator](){return L}}]}s.consume=v;async function b(C){const w=[];for await(const y of C)w.push(y);return Promise.resolve(w)}s.asyncToArray=b})(it||(it={}));let oi=class R1{constructor(e){this.element=e,this.next=R1.Undefined,this.prev=R1.Undefined}};oi.Undefined=new oi(void 0);class An{constructor(){this._first=oi.Undefined,this._last=oi.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===oi.Undefined}clear(){let e=this._first;for(;e!==oi.Undefined;){const t=e.next;e.prev=oi.Undefined,e.next=oi.Undefined,e=t}this._first=oi.Undefined,this._last=oi.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new oi(e);if(this._first===oi.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!==oi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==oi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==oi.Undefined&&e.next!==oi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===oi.Undefined&&e.next===oi.Undefined?(this._first=oi.Undefined,this._last=oi.Undefined):e.next===oi.Undefined?(this._last=this._last.prev,this._last.next=oi.Undefined):e.prev===oi.Undefined&&(this._first=this._first.next,this._first.prev=oi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==oi.Undefined;)yield e.element,e=e.next}}const j2="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function cM(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of j2)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const fw=cM();function gw(s){let e=fw;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const G2=new An;G2.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function vu(s,e,t,i,n){if(e=gw(e),n||(n=it.first(G2)),t.length>n.maxLen){let c=s-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,s+n.maxLen/2),vu(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-o>=n.timeBudget);c++){const h=r-n.windowSize*c;e.lastIndex=Math.max(0,h);const d=hM(e,t,r,a);if(!d&&l||(l=d,h<=0))break;a=h}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function hM(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const Wr=8;class Z2{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class Y2{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Ft{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return Gp(e,t)}compute(e,t,i){return i}}class Gd{constructor(e,t){this.newValue=e,this.didChange=t}}function Gp(s,e){if(typeof s!="object"||typeof e!="object"||!s||!e)return new Gd(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&Vi(s,e);return new Gd(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=Gp(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new Gd(s,t)}class _f{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return Gp(e,t)}validate(e){return this.defaultValue}}class Gh{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return Gp(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function ce(s,e){return typeof s>"u"?e:s==="false"?!1:!!s}class Ge extends Gh{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return ce(e,this.defaultValue)}}function nl(s,e,t,i){if(typeof s>"u")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class gt extends Gh{static clampedInt(e,t,i,n){return nl(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return gt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function dM(s,e,t,i){if(typeof s>"u")return e;const n=ws.float(s,e);return ws.clamp(n,t,i)}class ws extends Gh{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o<"u"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(ws.float(e,this.defaultValue))}}class an extends Gh{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return an.string(e,this.defaultValue)}}function $t(s,e,t,i){return typeof s!="string"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class Ht extends Gh{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 $t(e,this.defaultValue,this._allowedValues)}}class Gf extends Ft{constructor(e,t,i,n,o,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function uM(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class fM extends Ft{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","Optimize for usage with a Screen Reader."),p("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:p("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}}class gM extends Ft{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("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:ce(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ce(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function mM(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var Ni;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(Ni||(Ni={}));function pM(s){switch(s){case"line":return Ni.Line;case"block":return Ni.Block;case"underline":return Ni.Underline;case"line-thin":return Ni.LineThin;case"block-outline":return Ni.BlockOutline;case"underline-thin":return Ni.UnderlineThin}}class _M extends _f{constructor(){super(141)}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(111)&&n.push("showUnused"),t.get(139)&&n.push("showDeprecated"),n.join(" ")}}class bM extends Ge{constructor(){super(37,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class vM extends Ft{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:p("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:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("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:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:nt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("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:p("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:ce(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":$t(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":$t(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:ce(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ce(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ce(t.loop,this.defaultValue.loop)}}}class es extends Ft{constructor(){super(51,"fontLigatures",es.OFF,{anyOf:[{type:"boolean",description:p("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:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("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(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?es.OFF:e==="true"?es.ON:e:e?es.ON:es.OFF}}es.OFF='"liga" off, "calt" off';es.ON='"liga" on, "calt" on';class Us extends Ft{constructor(){super(54,"fontVariations",Us.OFF,{anyOf:[{type:"boolean",description:p("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:p("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:p("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(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Us.OFF:e==="true"?Us.TRANSLATE:e:e?Us.TRANSLATE:Us.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}Us.OFF="normal";Us.TRANSLATE="translate";class CM extends _f{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class wM extends Gh{constructor(){super(52,"fontSize",jn.fontSize,{type:"number",minimum:6,maximum:100,default:jn.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=ws.float(e,this.defaultValue);return t===0?jn.fontSize:ws.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class wo extends Ft{constructor(){super(53,"fontWeight",jn.fontWeight,{anyOf:[{type:"number",minimum:wo.MINIMUM_VALUE,maximum:wo.MAXIMUM_VALUE,errorMessage:p("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:wo.SUGGESTION_VALUES}],default:jn.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(gt.clampedInt(e,jn.fontWeight,wo.MINIMUM_VALUE,wo.MAXIMUM_VALUE))}}wo.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];wo.MINIMUM_VALUE=1;wo.MAXIMUM_VALUE=1e3;class SM extends Ft{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),p("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:p("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:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:p("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:p("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:p("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:p("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:p("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:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,o,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:$t(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:$t(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:$t(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:$t(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=a.multipleImplementations)!==null&&o!==void 0?o:$t(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:$t(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:an.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:an.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:an.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:an.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:an.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class yM extends Ft{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:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("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:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),delay:gt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ce(t.sticky,this.defaultValue.sticky),hidingDelay:gt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:ce(t.above,this.defaultValue.above)}}}class Yc extends _f{constructor(){super(144)}compute(e,t,i){return Yc.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,h=e.scrollBeyondLastLine,d=e.minimap.renderCharacters;let u=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const f=e.minimap.maxColumn,g=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=d?2:3;let y=Math.floor(o*n);const L=y/o;let k=!1,D=!1,I=w*u,W=u/o,M=1;if(g==="fill"||g==="fit"){const{typicalViewportLineCount:ve,extraLinesBeforeFirstLine:oe,extraLinesBeyondLastLine:Ie,desiredRatio:Ne,minimapLineCount:fe}=Yc.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:h,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(v/fe>1)k=!0,D=!0,u=1,I=1,W=u/o;else{let Wt=!1,re=u+1;if(g==="fit"){const Re=Math.ceil((oe+v+Ie)*I);C&&a&&b<=t.stableFitRemainingWidth?(Wt=!0,re=t.stableFitMaxMinimapScale):Wt=Re>y}if(g==="fill"||Wt){k=!0;const Re=u;I=Math.min(l*o,Math.max(1,Math.floor(1/Ne))),C&&a&&b<=t.stableFitRemainingWidth&&(re=t.stableFitMaxMinimapScale),u=Math.min(re,Math.max(1,Math.floor(I/w))),u>Re&&(M=Math.min(2,u/Re)),W=u/o/M,y=Math.ceil(Math.max(ve,oe+v+Ie)*I),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(f*W),R=Math.min(A,Math.max(0,Math.floor((b-_-2)*W/(c+W)))+Wr);let q=Math.floor(o*R);const j=q/o;q=Math.floor(q*M);const se=d?1:2,ue=m==="left"?0:i-R-_;return{renderMinimap:se,minimapLeft:ue,minimapWidth:R,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:I,minimapCanvasInnerWidth:q,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:j,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,h=t.viewLineCount,d=e.get(136),u=d==="inherit"?e.get(135):d,f=u==="inherit"?e.get(131):u,g=e.get(134),m=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),y=e.get(73),L=e.get(103),k=L.verticalScrollbarSize,D=L.verticalHasArrows,I=L.arrowSize,W=L.horizontalScrollbarSize,M=e.get(43),A=e.get(110)!=="never";let R=e.get(66);M&&A&&(R+=16);let q=0;if(v){const Te=Math.max(r,b);q=Math.round(Te*l)}let j=0;_&&(j=o*t.glyphMarginDecorationLaneCount);let se=0,ue=se+j,ve=ue+q,oe=ve+R;const Ie=i-j-q-R;let Ne=!1,fe=!1,ie=-1;u==="inherit"&&m?(Ne=!0,fe=!0):f==="on"||f==="bounded"?fe=!0:f==="wordWrapColumn"&&(ie=g);const Wt=Yc._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:y,verticalScrollbarWidth:k,viewLineCount:h,remainingWidth:Ie,isViewportWrapping:fe},t.memory||new Y2);Wt.renderMinimap!==0&&Wt.minimapLeft===0&&(se+=Wt.minimapWidth,ue+=Wt.minimapWidth,ve+=Wt.minimapWidth,oe+=Wt.minimapWidth);const re=Ie-Wt.minimapWidth,Re=Math.max(1,Math.floor((re-k-2)/a)),ye=D?I:0;return fe&&(ie=Math.max(1,Re),f==="bounded"&&(ie=Math.min(ie,g))),{width:i,height:n,glyphMarginLeft:se,glyphMarginWidth:j,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:ue,lineNumbersWidth:q,decorationsLeft:ve,decorationsWidth:R,contentLeft:oe,contentWidth:re,minimap:Wt,viewportColumn:Re,isWordWrapMinified:Ne,isViewportWrapping:fe,wrappingColumn:ie,verticalScrollbarWidth:k,horizontalScrollbarHeight:W,overviewRuler:{top:ye,width:k,height:n-2*ye,right:0}}}}class LM extends Ft{constructor(){super(138,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[p("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."),p("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:p("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 $t(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Qo;(function(s){s.Off="off",s.OnCode="onCode",s.On="on"})(Qo||(Qo={}));class kM extends Ft{constructor(){const e={enabled:Qo.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Qo.Off,Qo.OnCode,Qo.On],default:e.enabled,enumDescriptions:[p("editor.lightbulb.enabled.off","Disable the code action menu."),p("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),p("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:p("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:$t(e.enabled,this.defaultValue.enabled,[Qo.Off,Qo.OnCode,Qo.On])}}}class DM extends Ft{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:p("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:p("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:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),maxLineCount:gt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:$t(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:ce(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class xM extends Ft{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(140,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",nt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",nt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("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:p("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:p("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:$t(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:gt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:an.string(t.fontFamily,this.defaultValue.fontFamily),padding:ce(t.padding,this.defaultValue.padding)}}}class EM extends Ft{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):gt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?gt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class IM extends ws{constructor(){super(67,"lineHeight",jn.lineHeight,e=>ws.clamp(e,0,150),{markdownDescription:p("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}}class NM extends Ft{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:p("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:p("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[p("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),p("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),p("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:p("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:p("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:p("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:p("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:p("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:p("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ce(t.enabled,this.defaultValue.enabled),autohide:ce(t.autohide,this.defaultValue.autohide),size:$t(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:$t(t.side,this.defaultValue.side,["right","left"]),showSlider:$t(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:ce(t.renderCharacters,this.defaultValue.renderCharacters),scale:gt.clampedInt(t.scale,1,1,3),maxColumn:gt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function TM(s){return s==="ctrlCmd"?nt?"metaKey":"ctrlKey":"altKey"}class AM extends Ft{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:p("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:p("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:gt.clampedInt(t.top,0,0,1e3),bottom:gt.clampedInt(t.bottom,0,0,1e3)}}}class MM extends Ft{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),cycle:ce(t.cycle,this.defaultValue.cycle)}}}class RM extends _f{constructor(){super(142)}compute(e,t,i){return e.pixelRatio}}class PM extends Ft{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[p("on","Quick suggestions show inside the suggest widget"),p("inline","Quick suggestions show as ghost text"),p("off","Quick suggestions are disabled")]}];super(89,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:p("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:p("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:p("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:p("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 c=e?"on":"off";return{comments:c,strings:c,other:c}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,o=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=$t(t,this.defaultValue.other,o),typeof i=="boolean"?a=i?"on":"off":a=$t(i,this.defaultValue.comments,o),typeof n=="boolean"?l=n?"on":"off":l=$t(n,this.defaultValue.strings,o),{other:r,comments:a,strings:l}}}class OM extends Ft{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[p("lineNumbers.off","Line numbers are not rendered."),p("lineNumbers.on","Line numbers are rendered as absolute number."),p("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),p("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:p("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}}}function Cm(s){const e=s.get(98);return e==="editable"?s.get(91):e!=="on"}class FM extends Ft{constructor(){const e=[],t={type:"number",description:p("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(102,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:p("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:p("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:gt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:gt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class BM extends Ft{constructor(){super(92,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function Vy(s,e){if(typeof s!="string")return e;switch(s){case"hidden":return 2;case"visible":return 3;default:return 1}}let WM=class extends Ft{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(103,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),p("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),p("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),p("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),p("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:p("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:p("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:p("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:p("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=gt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=gt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:gt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Vy(t.vertical,this.defaultValue.vertical),horizontal:Vy(t.horizontal,this.defaultValue.horizontal),useShadows:ce(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:ce(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:ce(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:ce(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:ce(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:gt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:gt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:ce(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:ce(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const Ms="inUntrustedWorkspace",Za={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"};class VM extends Ft{constructor(){const e={nonBasicASCII:Ms,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Ms,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,"unicodeHighlight",e,{[Za.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Ms],default:e.nonBasicASCII,description:p("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.")},[Za.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:p("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Za.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:p("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.")},[Za.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Ms],default:e.includeComments,description:p("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Za.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Ms],default:e.includeStrings,description:p("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Za.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:p("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Za.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:p("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(qn(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(qn(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new Gd(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:Qc(t.nonBasicASCII,Ms,[!0,!1,Ms]),invisibleCharacters:ce(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:ce(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Qc(t.includeComments,Ms,[!0,!1,Ms]),includeStrings:Qc(t.includeStrings,Ms,[!0,!1,Ms]),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}}class HM extends Ft{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:p("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:[p("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),p("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),p("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:p("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),mode:$t(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:$t(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:ce(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:ce(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:an.string(t.fontFamily,this.defaultValue.fontFamily)}}}class zM extends Ft{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1,backgroundColoring:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:p("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[p("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),p("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),p("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:p("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:p("inlineEdit.fontFamily","Controls the font family of the inline edit.")},"editor.experimentalInlineEdit.backgroundColoring":{type:"boolean",default:e.backgroundColoring,description:p("inlineEdit.backgroundColoring","Controls whether to color the background of inline edits.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ce(t.enabled,this.defaultValue.enabled),showToolbar:$t(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:an.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:ce(t.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:ce(t.backgroundColoring,this.defaultValue.backgroundColoring)}}}class UM extends Ft{constructor(){const e={enabled:$i.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:$i.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("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:p("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:ce(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:ce(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class $M extends Ft{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:[p("editor.guides.bracketPairs.true","Enables bracket pair guides."),p("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),p("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:p("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),p("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),p("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:p("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:p("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:p("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[p("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),p("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),p("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:p("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:Qc(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:Qc(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:ce(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:ce(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Qc(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function Qc(s,e,t){const i=t.indexOf(s);return i===-1?e:t[i]}class KM extends Ft{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(118,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[p("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),p("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:p("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:p("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:p("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:p("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:[p("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),p("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),p("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),p("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:p("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:p("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:p("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:p("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:p("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:p("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:p("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:p("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:p("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:p("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:p("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:$t(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:ce(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:ce(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:ce(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:ce(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:$t(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:ce(t.showIcons,this.defaultValue.showIcons),showStatusBar:ce(t.showStatusBar,this.defaultValue.showStatusBar),preview:ce(t.preview,this.defaultValue.preview),previewMode:$t(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:ce(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:ce(t.showMethods,this.defaultValue.showMethods),showFunctions:ce(t.showFunctions,this.defaultValue.showFunctions),showConstructors:ce(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:ce(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:ce(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:ce(t.showFields,this.defaultValue.showFields),showVariables:ce(t.showVariables,this.defaultValue.showVariables),showClasses:ce(t.showClasses,this.defaultValue.showClasses),showStructs:ce(t.showStructs,this.defaultValue.showStructs),showInterfaces:ce(t.showInterfaces,this.defaultValue.showInterfaces),showModules:ce(t.showModules,this.defaultValue.showModules),showProperties:ce(t.showProperties,this.defaultValue.showProperties),showEvents:ce(t.showEvents,this.defaultValue.showEvents),showOperators:ce(t.showOperators,this.defaultValue.showOperators),showUnits:ce(t.showUnits,this.defaultValue.showUnits),showValues:ce(t.showValues,this.defaultValue.showValues),showConstants:ce(t.showConstants,this.defaultValue.showConstants),showEnums:ce(t.showEnums,this.defaultValue.showEnums),showEnumMembers:ce(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:ce(t.showKeywords,this.defaultValue.showKeywords),showWords:ce(t.showWords,this.defaultValue.showWords),showColors:ce(t.showColors,this.defaultValue.showColors),showFiles:ce(t.showFiles,this.defaultValue.showFiles),showReferences:ce(t.showReferences,this.defaultValue.showReferences),showFolders:ce(t.showFolders,this.defaultValue.showFolders),showTypeParameters:ce(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:ce(t.showSnippets,this.defaultValue.showSnippets),showUsers:ce(t.showUsers,this.defaultValue.showUsers),showIssues:ce(t.showIssues,this.defaultValue.showIssues)}}}class qM extends Ft{constructor(){super(113,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:p("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:p("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:ce(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:ce(e.selectSubwords,this.defaultValue.selectSubwords)}}}class jM extends Ft{constructor(){super(137,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[p("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),p("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),p("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),p("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:p("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}}class GM extends _f{constructor(){super(145)}compute(e,t,i){const n=t.get(144);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class ZM extends Ft{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("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:p("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:[p("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),p("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:ce(t.enabled,this.defaultValue.enabled),showDropSelector:$t(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class YM extends Ft{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:p("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:[p("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),p("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:ce(t.enabled,this.defaultValue.enabled),showPasteSelector:$t(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const QM="Consolas, 'Courier New', monospace",XM="Menlo, Monaco, 'Courier New', monospace",JM="'Droid Sans Mono', 'monospace', monospace",jn={fontFamily:nt?XM:Ln?JM:QM,fontWeight:"normal",fontSize:nt?12:14,lineHeight:0,letterSpacing:0},Ic=[];function Q(s){return Ic[s.id]=s,s}const ql={acceptSuggestionOnCommitCharacter:Q(new Ge(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:p("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:Q(new Ht(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",p("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:p("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:Q(new fM),accessibilityPageSize:Q(new gt(3,"accessibilityPageSize",10,1,1073741824,{description:p("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:Q(new an(4,"ariaLabel",p("editorViewAccessibleLabel","Editor content"))),ariaRequired:Q(new Ge(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:Q(new Ge(8,"screenReaderAnnounceInlineSuggestion",!0,{description:p("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:Q(new Ht(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),p("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:p("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:Q(new Ht(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),p("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:p("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:Q(new Ht(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:Q(new Ht(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:Q(new Ht(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),p("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:p("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:Q(new Gf(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],uM,{enumDescriptions:[p("editor.autoIndent.none","The editor will not insert indentation automatically."),p("editor.autoIndent.keep","The editor will keep the current line's indentation."),p("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),p("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),p("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:p("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:Q(new Ge(13,"automaticLayout",!1)),autoSurround:Q(new Ht(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[p("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),p("editor.autoSurround.quotes","Surround with quotes but not brackets."),p("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:p("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:Q(new UM),bracketPairGuides:Q(new $M),stickyTabStops:Q(new Ge(116,"stickyTabStops",!1,{description:p("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:Q(new Ge(17,"codeLens",!0,{description:p("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:Q(new an(18,"codeLensFontFamily","",{description:p("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:Q(new gt(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:p("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:Q(new Ge(20,"colorDecorators",!0,{description:p("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:Q(new Ht(147,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[p("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),p("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),p("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:p("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:Q(new gt(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:p("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:Q(new Ge(22,"columnSelection",!1,{description:p("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:Q(new gM),contextmenu:Q(new Ge(24,"contextmenu",!0)),copyWithSyntaxHighlighting:Q(new Ge(25,"copyWithSyntaxHighlighting",!0,{description:p("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:Q(new Gf(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],mM,{description:p("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:Q(new Ht(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[p("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),p("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),p("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:p("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:Q(new Gf(28,"cursorStyle",Ni.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],pM,{description:p("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:Q(new gt(29,"cursorSurroundingLines",0,0,1073741824,{description:p("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:Q(new Ht(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[p("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),p("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:p("cursorSurroundingLinesStyle","Controls when `#cursorSurroundingLines#` should be enforced.")})),cursorWidth:Q(new gt(31,"cursorWidth",0,0,1073741824,{markdownDescription:p("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:Q(new Ge(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:Q(new Ge(33,"disableMonospaceOptimizations",!1)),domReadOnly:Q(new Ge(34,"domReadOnly",!1)),dragAndDrop:Q(new Ge(35,"dragAndDrop",!0,{description:p("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:Q(new bM),dropIntoEditor:Q(new ZM),stickyScroll:Q(new DM),experimentalWhitespaceRendering:Q(new Ht(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[p("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),p("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),p("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:p("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:Q(new an(39,"extraEditorClassName","")),fastScrollSensitivity:Q(new ws(40,"fastScrollSensitivity",5,s=>s<=0?5:s,{markdownDescription:p("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:Q(new vM),fixedOverflowWidgets:Q(new Ge(42,"fixedOverflowWidgets",!1)),folding:Q(new Ge(43,"folding",!0,{description:p("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:Q(new Ht(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[p("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),p("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:p("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:Q(new Ge(45,"foldingHighlight",!0,{description:p("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:Q(new Ge(46,"foldingImportsByDefault",!1,{description:p("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:Q(new gt(47,"foldingMaximumRegions",5e3,10,65e3,{description:p("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:Q(new Ge(48,"unfoldOnClickAfterEndOfLine",!1,{description:p("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:Q(new an(49,"fontFamily",jn.fontFamily,{description:p("fontFamily","Controls the font family.")})),fontInfo:Q(new CM),fontLigatures2:Q(new es),fontSize:Q(new wM),fontWeight:Q(new wo),fontVariations:Q(new Us),formatOnPaste:Q(new Ge(55,"formatOnPaste",!1,{description:p("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:Q(new Ge(56,"formatOnType",!1,{description:p("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:Q(new Ge(57,"glyphMargin",!0,{description:p("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:Q(new SM),hideCursorInOverviewRuler:Q(new Ge(59,"hideCursorInOverviewRuler",!1,{description:p("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:Q(new yM),inDiffEditor:Q(new Ge(61,"inDiffEditor",!1)),letterSpacing:Q(new ws(64,"letterSpacing",jn.letterSpacing,s=>ws.clamp(s,-5,20),{description:p("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:Q(new kM),lineDecorationsWidth:Q(new EM),lineHeight:Q(new IM),lineNumbers:Q(new OM),lineNumbersMinChars:Q(new gt(69,"lineNumbersMinChars",5,1,300)),linkedEditing:Q(new Ge(70,"linkedEditing",!1,{description:p("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:Q(new Ge(71,"links",!0,{description:p("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:Q(new Ht(72,"matchBrackets","always",["always","near","never"],{description:p("matchBrackets","Highlight matching brackets.")})),minimap:Q(new NM),mouseStyle:Q(new Ht(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:Q(new ws(75,"mouseWheelScrollSensitivity",1,s=>s===0?1:s,{markdownDescription:p("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:Q(new Ge(76,"mouseWheelZoom",!1,{markdownDescription:nt?p("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):p("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:Q(new Ge(77,"multiCursorMergeOverlapping",!0,{description:p("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:Q(new Gf(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],TM,{markdownEnumDescriptions:[p("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),p("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:p({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:Q(new Ht(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[p("multiCursorPaste.spread","Each cursor pastes a single line of the text."),p("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:p("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:Q(new gt(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:p("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:Q(new Ht(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[p("occurrencesHighlight.off","Does not highlight occurrences."),p("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),p("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:p("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:Q(new Ge(82,"overviewRulerBorder",!0,{description:p("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:Q(new gt(83,"overviewRulerLanes",3,0,3)),padding:Q(new AM),pasteAs:Q(new YM),parameterHints:Q(new MM),peekWidgetDefaultFocus:Q(new Ht(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[p("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),p("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:p("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:Q(new Ge(88,"definitionLinkOpensInPeek",!1,{description:p("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:Q(new PM),quickSuggestionsDelay:Q(new gt(90,"quickSuggestionsDelay",10,0,1073741824,{description:p("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:Q(new Ge(91,"readOnly",!1)),readOnlyMessage:Q(new BM),renameOnType:Q(new Ge(93,"renameOnType",!1,{description:p("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:p("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:Q(new Ge(94,"renderControlCharacters",!0,{description:p("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:Q(new Ht(95,"renderFinalNewline",Ln?"dimmed":"on",["off","on","dimmed"],{description:p("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:Q(new Ht(96,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",p("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:p("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:Q(new Ge(97,"renderLineHighlightOnlyWhenFocus",!1,{description:p("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:Q(new Ht(98,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:Q(new Ht(99,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",p("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),p("renderWhitespace.selection","Render whitespace characters only on selected text."),p("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:p("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:Q(new gt(100,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:Q(new Ge(101,"roundedSelection",!0,{description:p("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:Q(new FM),scrollbar:Q(new WM),scrollBeyondLastColumn:Q(new gt(104,"scrollBeyondLastColumn",4,0,1073741824,{description:p("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:Q(new Ge(105,"scrollBeyondLastLine",!0,{description:p("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:Q(new Ge(106,"scrollPredominantAxis",!0,{description:p("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:Q(new Ge(107,"selectionClipboard",!0,{description:p("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Ln})),selectionHighlight:Q(new Ge(108,"selectionHighlight",!0,{description:p("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:Q(new Ge(109,"selectOnLineNumbers",!0)),showFoldingControls:Q(new Ht(110,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[p("showFoldingControls.always","Always show the folding controls."),p("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),p("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:p("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:Q(new Ge(111,"showUnused",!0,{description:p("showUnused","Controls fading out of unused code.")})),showDeprecated:Q(new Ge(139,"showDeprecated",!0,{description:p("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:Q(new xM),snippetSuggestions:Q(new Ht(112,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[p("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),p("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),p("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),p("snippetSuggestions.none","Do not show snippet suggestions.")],description:p("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:Q(new qM),smoothScrolling:Q(new Ge(114,"smoothScrolling",!1,{description:p("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:Q(new gt(117,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:Q(new KM),inlineSuggest:Q(new HM),inlineEdit:Q(new zM),inlineCompletionsAccessibilityVerbose:Q(new Ge(148,"inlineCompletionsAccessibilityVerbose",!1,{description:p("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:Q(new gt(119,"suggestFontSize",0,0,1e3,{markdownDescription:p("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:Q(new gt(120,"suggestLineHeight",0,0,1e3,{markdownDescription:p("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:Q(new Ge(121,"suggestOnTriggerCharacters",!0,{description:p("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:Q(new Ht(122,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[p("suggestSelection.first","Always select the first suggestion."),p("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),p("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:p("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:Q(new Ht(123,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[p("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),p("tabCompletion.off","Disable tab completions."),p("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:p("tabCompletion","Enables tab completions.")})),tabIndex:Q(new gt(124,"tabIndex",0,-1,1073741824)),unicodeHighlight:Q(new VM),unusualLineTerminators:Q(new Ht(126,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[p("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),p("unusualLineTerminators.off","Unusual line terminators are ignored."),p("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:p("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:Q(new Ge(127,"useShadowDOM",!0)),useTabStops:Q(new Ge(128,"useTabStops",!0,{description:p("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:Q(new Ht(129,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[p("wordBreak.normal","Use the default line break rule."),p("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:p("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:Q(new an(130,"wordSeparators",j2,{description:p("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:Q(new Ht(131,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[p("wordWrap.off","Lines will never wrap."),p("wordWrap.on","Lines will wrap at the viewport width."),p({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),p({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:p({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:Q(new an(132,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:Q(new an(133,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:Q(new gt(134,"wordWrapColumn",80,1,1073741824,{markdownDescription:p({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:Q(new Ht(135,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:Q(new Ht(136,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:Q(new _M),defaultColorDecorators:Q(new Ge(146,"defaultColorDecorators",!1,{markdownDescription:p("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:Q(new RM),tabFocusMode:Q(new Ge(143,"tabFocusMode",!1,{markdownDescription:p("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:Q(new Yc),wrappingInfo:Q(new GM),wrappingIndent:Q(new jM),wrappingStrategy:Q(new LM)};class e4{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?Ch.isErrorNoTelemetry(e)?new Ch(e.message+`
@@ -652,7 +652,7 @@ ${e.toString()}`}}class Pp{constructor(e=new Mf,t=!1,i,n=AK){var o;this._service
652
652
  * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)
653
653
  * Released under the MIT license
654
654
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
655
- *-----------------------------------------------------------------------------*/LA({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Promise.resolve().then(()=>require("./python-c8abd4f5.cjs"))});/*!-----------------------------------------------------------------------------
655
+ *-----------------------------------------------------------------------------*/LA({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Promise.resolve().then(()=>require("./python-c67c8901.cjs"))});/*!-----------------------------------------------------------------------------
656
656
  * Copyright (c) Microsoft Corporation. All rights reserved.
657
657
  * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)
658
658
  * Released under the MIT license