modern-monaco 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cache.mjs +3 -3
- package/dist/core.mjs +103 -84
- package/dist/editor-core.mjs +48101 -46108
- package/dist/editor-worker.mjs +308 -441
- package/dist/index.mjs +12 -34
- package/dist/lsp/{language-service.mjs → client.mjs} +16 -9
- package/dist/lsp/css/setup.mjs +9 -9
- package/dist/lsp/css/worker.mjs +81 -69
- package/dist/lsp/html/setup.mjs +11 -11
- package/dist/lsp/html/worker.mjs +94 -86
- package/dist/lsp/index.mjs +20 -0
- package/dist/lsp/json/setup.mjs +8 -8
- package/dist/lsp/json/worker.mjs +696 -89
- package/dist/lsp/typescript/libs.mjs +1 -1
- package/dist/lsp/typescript/setup.mjs +14 -14
- package/dist/lsp/typescript/worker.mjs +45 -30
- package/dist/shiki-wasm.mjs +1 -1
- package/dist/shiki.mjs +43 -25
- package/dist/util.mjs +24 -12
- package/dist/workspace.mjs +22 -29
- package/package.json +13 -10
- package/types/index.d.ts +5 -5
- package/types/monaco.d.ts +147 -122
- package/types/textmate.d.ts +1 -1
- package/types/workspace.d.ts +17 -8
package/dist/editor-worker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/errors.js
|
|
2
2
|
var ErrorHandler = class {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.listeners = [];
|
|
@@ -89,30 +89,7 @@ var BugIndicatingError = class _BugIndicatingError extends Error {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
93
|
-
function createSingleCallFunction(fn, fnDidRunCallback) {
|
|
94
|
-
const _this = this;
|
|
95
|
-
let didCall = false;
|
|
96
|
-
let result;
|
|
97
|
-
return function() {
|
|
98
|
-
if (didCall) {
|
|
99
|
-
return result;
|
|
100
|
-
}
|
|
101
|
-
didCall = true;
|
|
102
|
-
if (fnDidRunCallback) {
|
|
103
|
-
try {
|
|
104
|
-
result = fn.apply(_this, arguments);
|
|
105
|
-
} finally {
|
|
106
|
-
fnDidRunCallback();
|
|
107
|
-
}
|
|
108
|
-
} else {
|
|
109
|
-
result = fn.apply(_this, arguments);
|
|
110
|
-
}
|
|
111
|
-
return result;
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// node_modules/.pnpm/monaco-editor-core@0.53.0/node_modules/monaco-editor-core/esm/vs/base/common/assert.js
|
|
92
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/assert.js
|
|
116
93
|
function assertNever(value, message = "Unreachable") {
|
|
117
94
|
throw new Error(message);
|
|
118
95
|
}
|
|
@@ -142,7 +119,7 @@ function checkAdjacentItems(items, predicate) {
|
|
|
142
119
|
return true;
|
|
143
120
|
}
|
|
144
121
|
|
|
145
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
122
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/types.js
|
|
146
123
|
function isString(str) {
|
|
147
124
|
return typeof str === "string";
|
|
148
125
|
}
|
|
@@ -150,7 +127,7 @@ function isIterable(obj) {
|
|
|
150
127
|
return !!obj && typeof obj[Symbol.iterator] === "function";
|
|
151
128
|
}
|
|
152
129
|
|
|
153
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
130
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/iterator.js
|
|
154
131
|
var Iterable;
|
|
155
132
|
(function(Iterable2) {
|
|
156
133
|
function is(thing) {
|
|
@@ -322,7 +299,7 @@ var Iterable;
|
|
|
322
299
|
Iterable2.asyncToArrayFlat = asyncToArrayFlat;
|
|
323
300
|
})(Iterable || (Iterable = {}));
|
|
324
301
|
|
|
325
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
302
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/lifecycle.js
|
|
326
303
|
var TRACK_DISPOSABLES = false;
|
|
327
304
|
var disposableTracker = null;
|
|
328
305
|
function setDisposableTracker(tracker) {
|
|
@@ -405,14 +382,26 @@ function combinedDisposable(...disposables) {
|
|
|
405
382
|
setParentOfDisposables(disposables, parent);
|
|
406
383
|
return parent;
|
|
407
384
|
}
|
|
385
|
+
var FunctionDisposable = class {
|
|
386
|
+
constructor(fn) {
|
|
387
|
+
this._isDisposed = false;
|
|
388
|
+
this._fn = fn;
|
|
389
|
+
trackDisposable(this);
|
|
390
|
+
}
|
|
391
|
+
dispose() {
|
|
392
|
+
if (this._isDisposed) {
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
if (!this._fn) {
|
|
396
|
+
throw new Error(`Unbound disposable context: Need to use an arrow function to preserve the value of this`);
|
|
397
|
+
}
|
|
398
|
+
this._isDisposed = true;
|
|
399
|
+
markAsDisposed(this);
|
|
400
|
+
this._fn();
|
|
401
|
+
}
|
|
402
|
+
};
|
|
408
403
|
function toDisposable(fn) {
|
|
409
|
-
|
|
410
|
-
dispose: createSingleCallFunction(() => {
|
|
411
|
-
markAsDisposed(self2);
|
|
412
|
-
fn();
|
|
413
|
-
})
|
|
414
|
-
});
|
|
415
|
-
return self2;
|
|
404
|
+
return new FunctionDisposable(fn);
|
|
416
405
|
}
|
|
417
406
|
var DisposableStore = class _DisposableStore {
|
|
418
407
|
static {
|
|
@@ -515,7 +504,7 @@ var Disposable = class {
|
|
|
515
504
|
}
|
|
516
505
|
};
|
|
517
506
|
|
|
518
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
507
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/linkedList.js
|
|
519
508
|
var Node = class _Node {
|
|
520
509
|
static {
|
|
521
510
|
this.Undefined = new _Node(void 0);
|
|
@@ -625,7 +614,7 @@ var LinkedList = class {
|
|
|
625
614
|
}
|
|
626
615
|
};
|
|
627
616
|
|
|
628
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
617
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/stopwatch.js
|
|
629
618
|
var performanceNow = globalThis.performance.now.bind(globalThis.performance);
|
|
630
619
|
var StopWatch = class _StopWatch {
|
|
631
620
|
static create(highResolution) {
|
|
@@ -651,7 +640,7 @@ var StopWatch = class _StopWatch {
|
|
|
651
640
|
}
|
|
652
641
|
};
|
|
653
642
|
|
|
654
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
643
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/event.js
|
|
655
644
|
var _enableDisposeWithListenerWarning = false;
|
|
656
645
|
var _enableSnapshotPotentialLeakWarning = false;
|
|
657
646
|
var Event;
|
|
@@ -1387,7 +1376,7 @@ var EventDeliveryQueuePrivate = class {
|
|
|
1387
1376
|
}
|
|
1388
1377
|
};
|
|
1389
1378
|
|
|
1390
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1379
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/nls.messages.js
|
|
1391
1380
|
function getNLSMessages() {
|
|
1392
1381
|
return globalThis._VSCODE_NLS_MESSAGES;
|
|
1393
1382
|
}
|
|
@@ -1395,7 +1384,7 @@ function getNLSLanguage() {
|
|
|
1395
1384
|
return globalThis._VSCODE_NLS_LANGUAGE;
|
|
1396
1385
|
}
|
|
1397
1386
|
|
|
1398
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1387
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/nls.js
|
|
1399
1388
|
var isPseudo = getNLSLanguage() === "pseudo" || typeof document !== "undefined" && document.location && typeof document.location.hash === "string" && document.location.hash.indexOf("pseudo=true") >= 0;
|
|
1400
1389
|
function _format(message, args) {
|
|
1401
1390
|
let result;
|
|
@@ -1436,7 +1425,7 @@ function lookupMessage(index, fallback) {
|
|
|
1436
1425
|
return message;
|
|
1437
1426
|
}
|
|
1438
1427
|
|
|
1439
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1428
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/platform.js
|
|
1440
1429
|
var LANGUAGE_DEFAULT = "en";
|
|
1441
1430
|
var _isWindows = false;
|
|
1442
1431
|
var _isMacintosh = false;
|
|
@@ -1544,7 +1533,7 @@ var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0));
|
|
|
1544
1533
|
var isEdge = !!(userAgent && userAgent.indexOf("Edg/") >= 0);
|
|
1545
1534
|
var isAndroid = !!(userAgent && userAgent.indexOf("Android") >= 0);
|
|
1546
1535
|
|
|
1547
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1536
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/cache.js
|
|
1548
1537
|
function identity(t) {
|
|
1549
1538
|
return t;
|
|
1550
1539
|
}
|
|
@@ -1570,7 +1559,7 @@ var LRUCachedFunction = class {
|
|
|
1570
1559
|
}
|
|
1571
1560
|
};
|
|
1572
1561
|
|
|
1573
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1562
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/lazy.js
|
|
1574
1563
|
var LazyValueState;
|
|
1575
1564
|
(function(LazyValueState2) {
|
|
1576
1565
|
LazyValueState2[LazyValueState2["Uninitialized"] = 0] = "Uninitialized";
|
|
@@ -1614,7 +1603,7 @@ var Lazy = class {
|
|
|
1614
1603
|
}
|
|
1615
1604
|
};
|
|
1616
1605
|
|
|
1617
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1606
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/strings.js
|
|
1618
1607
|
function escapeRegExpCharacters(value) {
|
|
1619
1608
|
return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&");
|
|
1620
1609
|
}
|
|
@@ -1785,7 +1774,7 @@ var AmbiguousCharacters = class _AmbiguousCharacters {
|
|
|
1785
1774
|
return result;
|
|
1786
1775
|
}
|
|
1787
1776
|
const data = this.ambiguousCharacterData.value;
|
|
1788
|
-
let filteredLocales = locales.filter((l) => !l.startsWith("_") && l
|
|
1777
|
+
let filteredLocales = locales.filter((l) => !l.startsWith("_") && Object.hasOwn(data, l));
|
|
1789
1778
|
if (filteredLocales.length === 0) {
|
|
1790
1779
|
filteredLocales = ["_default"];
|
|
1791
1780
|
}
|
|
@@ -1846,7 +1835,7 @@ var InvisibleCharacters = class _InvisibleCharacters {
|
|
|
1846
1835
|
}
|
|
1847
1836
|
};
|
|
1848
1837
|
|
|
1849
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
1838
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/worker/webWorker.js
|
|
1850
1839
|
var DEFAULT_CHANNEL = "default";
|
|
1851
1840
|
var INITIALIZE = "$initialize";
|
|
1852
1841
|
var RequestMessage = class {
|
|
@@ -1905,7 +1894,7 @@ var WebWorkerProtocol = class {
|
|
|
1905
1894
|
setWorkerId(workerId) {
|
|
1906
1895
|
this._workerId = workerId;
|
|
1907
1896
|
}
|
|
1908
|
-
sendMessage(channel, method, args) {
|
|
1897
|
+
async sendMessage(channel, method, args) {
|
|
1909
1898
|
const req = String(++this._lastSentReq);
|
|
1910
1899
|
return new Promise((resolve2, reject) => {
|
|
1911
1900
|
this._pendingReplies[req] = {
|
|
@@ -1986,10 +1975,11 @@ var WebWorkerProtocol = class {
|
|
|
1986
1975
|
if (replyMessage.err) {
|
|
1987
1976
|
let err = replyMessage.err;
|
|
1988
1977
|
if (replyMessage.err.$isError) {
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1978
|
+
const newErr = new Error();
|
|
1979
|
+
newErr.name = replyMessage.err.name;
|
|
1980
|
+
newErr.message = replyMessage.err.message;
|
|
1981
|
+
newErr.stack = replyMessage.err.stack;
|
|
1982
|
+
err = newErr;
|
|
1993
1983
|
}
|
|
1994
1984
|
reply.reject(err);
|
|
1995
1985
|
return;
|
|
@@ -2034,8 +2024,9 @@ var WebWorkerProtocol = class {
|
|
|
2034
2024
|
const transfer = [];
|
|
2035
2025
|
if (msg.type === 0) {
|
|
2036
2026
|
for (let i = 0; i < msg.args.length; i++) {
|
|
2037
|
-
|
|
2038
|
-
|
|
2027
|
+
const arg = msg.args[i];
|
|
2028
|
+
if (arg instanceof ArrayBuffer) {
|
|
2029
|
+
transfer.push(arg);
|
|
2039
2030
|
}
|
|
2040
2031
|
}
|
|
2041
2032
|
} else if (msg.type === 1) {
|
|
@@ -2076,11 +2067,12 @@ var WebWorkerServer = class {
|
|
|
2076
2067
|
if (!requestHandler) {
|
|
2077
2068
|
return Promise.reject(new Error(`Missing channel ${channel} on worker thread`));
|
|
2078
2069
|
}
|
|
2079
|
-
|
|
2070
|
+
const fn = requestHandler[method];
|
|
2071
|
+
if (typeof fn !== "function") {
|
|
2080
2072
|
return Promise.reject(new Error(`Missing method ${method} on worker thread channel ${channel}`));
|
|
2081
2073
|
}
|
|
2082
2074
|
try {
|
|
2083
|
-
return Promise.resolve(
|
|
2075
|
+
return Promise.resolve(fn.apply(requestHandler, args));
|
|
2084
2076
|
} catch (e) {
|
|
2085
2077
|
return Promise.reject(e);
|
|
2086
2078
|
}
|
|
@@ -2091,7 +2083,11 @@ var WebWorkerServer = class {
|
|
|
2091
2083
|
throw new Error(`Missing channel ${channel} on worker thread`);
|
|
2092
2084
|
}
|
|
2093
2085
|
if (propertyIsDynamicEvent(eventName)) {
|
|
2094
|
-
const
|
|
2086
|
+
const fn = requestHandler[eventName];
|
|
2087
|
+
if (typeof fn !== "function") {
|
|
2088
|
+
throw new Error(`Missing dynamic event ${eventName} on request handler.`);
|
|
2089
|
+
}
|
|
2090
|
+
const event = fn.call(requestHandler, arg);
|
|
2095
2091
|
if (typeof event !== "function") {
|
|
2096
2092
|
throw new Error(`Missing dynamic event ${eventName} on request handler.`);
|
|
2097
2093
|
}
|
|
@@ -2118,7 +2114,7 @@ var WebWorkerServer = class {
|
|
|
2118
2114
|
}
|
|
2119
2115
|
};
|
|
2120
2116
|
|
|
2121
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
2117
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/worker/webWorkerBootstrap.js
|
|
2122
2118
|
var initialized = false;
|
|
2123
2119
|
function initialize(factory) {
|
|
2124
2120
|
if (initialized) {
|
|
@@ -2132,7 +2128,7 @@ function initialize(factory) {
|
|
|
2132
2128
|
return webWorkerServer;
|
|
2133
2129
|
}
|
|
2134
2130
|
|
|
2135
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
2131
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/diff/diffChange.js
|
|
2136
2132
|
var DiffChange = class {
|
|
2137
2133
|
/**
|
|
2138
2134
|
* Constructs a new DiffChange with the given sequence information
|
|
@@ -2158,7 +2154,7 @@ var DiffChange = class {
|
|
|
2158
2154
|
}
|
|
2159
2155
|
};
|
|
2160
2156
|
|
|
2161
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
2157
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/buffer.js
|
|
2162
2158
|
var hasBuffer = typeof Buffer !== "undefined";
|
|
2163
2159
|
var indexOfTable = new Lazy(() => new Uint8Array(256));
|
|
2164
2160
|
var textDecoder;
|
|
@@ -2200,7 +2196,7 @@ function encodeHex({ buffer }) {
|
|
|
2200
2196
|
return result;
|
|
2201
2197
|
}
|
|
2202
2198
|
|
|
2203
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
2199
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/hash.js
|
|
2204
2200
|
function numberHash(val, initialHashVal) {
|
|
2205
2201
|
return (initialHashVal << 5) - initialHashVal + val | 0;
|
|
2206
2202
|
}
|
|
@@ -2390,7 +2386,7 @@ var StringSHA1 = class _StringSHA1 {
|
|
|
2390
2386
|
}
|
|
2391
2387
|
};
|
|
2392
2388
|
|
|
2393
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
2389
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/diff/diff.js
|
|
2394
2390
|
var StringDiffSequence = class {
|
|
2395
2391
|
constructor(source) {
|
|
2396
2392
|
this.source = source;
|
|
@@ -3128,7 +3124,7 @@ var LcsDiff = class _LcsDiff {
|
|
|
3128
3124
|
};
|
|
3129
3125
|
var precomputedEqualityArray = new Uint32Array(65536);
|
|
3130
3126
|
|
|
3131
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
3127
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/position.js
|
|
3132
3128
|
var Position = class _Position {
|
|
3133
3129
|
constructor(lineNumber, column) {
|
|
3134
3130
|
this.lineNumber = lineNumber;
|
|
@@ -3247,7 +3243,7 @@ var Position = class _Position {
|
|
|
3247
3243
|
* Test if `obj` is an `IPosition`.
|
|
3248
3244
|
*/
|
|
3249
3245
|
static isIPosition(obj) {
|
|
3250
|
-
return obj && typeof obj.lineNumber === "number" && typeof obj.column === "number";
|
|
3246
|
+
return !!obj && typeof obj.lineNumber === "number" && typeof obj.column === "number";
|
|
3251
3247
|
}
|
|
3252
3248
|
toJSON() {
|
|
3253
3249
|
return {
|
|
@@ -3257,7 +3253,7 @@ var Position = class _Position {
|
|
|
3257
3253
|
}
|
|
3258
3254
|
};
|
|
3259
3255
|
|
|
3260
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
3256
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/range.js
|
|
3261
3257
|
var Range = class _Range {
|
|
3262
3258
|
constructor(startLineNumber, startColumn, endLineNumber, endColumn) {
|
|
3263
3259
|
if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) {
|
|
@@ -3549,7 +3545,7 @@ var Range = class _Range {
|
|
|
3549
3545
|
* Test if `obj` is an `IRange`.
|
|
3550
3546
|
*/
|
|
3551
3547
|
static isIRange(obj) {
|
|
3552
|
-
return obj && typeof obj.startLineNumber === "number" && typeof obj.startColumn === "number" && typeof obj.endLineNumber === "number" && typeof obj.endColumn === "number";
|
|
3548
|
+
return !!obj && typeof obj.startLineNumber === "number" && typeof obj.startColumn === "number" && typeof obj.endLineNumber === "number" && typeof obj.endColumn === "number";
|
|
3553
3549
|
}
|
|
3554
3550
|
/**
|
|
3555
3551
|
* Test if the two ranges are touching in any way.
|
|
@@ -3643,7 +3639,7 @@ var Range = class _Range {
|
|
|
3643
3639
|
}
|
|
3644
3640
|
};
|
|
3645
3641
|
|
|
3646
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
3642
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/uint.js
|
|
3647
3643
|
function toUint8(v) {
|
|
3648
3644
|
if (v < 0) {
|
|
3649
3645
|
return 0;
|
|
@@ -3663,7 +3659,7 @@ function toUint32(v) {
|
|
|
3663
3659
|
return v | 0;
|
|
3664
3660
|
}
|
|
3665
3661
|
|
|
3666
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
3662
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/characterClassifier.js
|
|
3667
3663
|
var CharacterClassifier = class _CharacterClassifier {
|
|
3668
3664
|
constructor(_defaultValue) {
|
|
3669
3665
|
const defaultValue = toUint8(_defaultValue);
|
|
@@ -3697,7 +3693,7 @@ var CharacterClassifier = class _CharacterClassifier {
|
|
|
3697
3693
|
}
|
|
3698
3694
|
};
|
|
3699
3695
|
|
|
3700
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
3696
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/languages/linkComputer.js
|
|
3701
3697
|
var Uint8Matrix = class {
|
|
3702
3698
|
constructor(rows, cols, defaultValue) {
|
|
3703
3699
|
const data = new Uint8Array(rows * cols);
|
|
@@ -4059,7 +4055,7 @@ function computeLinks(model) {
|
|
|
4059
4055
|
return LinkComputer.computeLinks(model);
|
|
4060
4056
|
}
|
|
4061
4057
|
|
|
4062
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
4058
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js
|
|
4063
4059
|
var BasicInplaceReplace = class _BasicInplaceReplace {
|
|
4064
4060
|
constructor() {
|
|
4065
4061
|
this._defaultValueSet = [
|
|
@@ -4140,7 +4136,7 @@ var BasicInplaceReplace = class _BasicInplaceReplace {
|
|
|
4140
4136
|
}
|
|
4141
4137
|
};
|
|
4142
4138
|
|
|
4143
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
4139
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/cancellation.js
|
|
4144
4140
|
var shortcutEvent = Object.freeze(function(callback, context) {
|
|
4145
4141
|
const handle = setTimeout(callback.bind(context), 0);
|
|
4146
4142
|
return { dispose() {
|
|
@@ -4236,7 +4232,7 @@ var CancellationTokenSource = class {
|
|
|
4236
4232
|
}
|
|
4237
4233
|
};
|
|
4238
4234
|
|
|
4239
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
4235
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/keyCodes.js
|
|
4240
4236
|
var KeyCodeStrMap = class {
|
|
4241
4237
|
constructor() {
|
|
4242
4238
|
this._keyCodeToStr = [];
|
|
@@ -4588,7 +4584,7 @@ function KeyChord(firstPart, secondPart) {
|
|
|
4588
4584
|
return (firstPart | chordPart) >>> 0;
|
|
4589
4585
|
}
|
|
4590
4586
|
|
|
4591
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
4587
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/process.js
|
|
4592
4588
|
var safeProcess;
|
|
4593
4589
|
var vscodeGlobal = globalThis.vscode;
|
|
4594
4590
|
if (typeof vscodeGlobal !== "undefined" && typeof vscodeGlobal.process !== "undefined") {
|
|
@@ -4644,7 +4640,7 @@ var cwd = safeProcess.cwd;
|
|
|
4644
4640
|
var env = safeProcess.env;
|
|
4645
4641
|
var platform = safeProcess.platform;
|
|
4646
4642
|
|
|
4647
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
4643
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/path.js
|
|
4648
4644
|
var CHAR_UPPERCASE_A = 65;
|
|
4649
4645
|
var CHAR_LOWERCASE_A = 97;
|
|
4650
4646
|
var CHAR_UPPERCASE_Z = 90;
|
|
@@ -5738,7 +5734,7 @@ var basename = platformIsWin32 ? win32.basename : posix.basename;
|
|
|
5738
5734
|
var extname = platformIsWin32 ? win32.extname : posix.extname;
|
|
5739
5735
|
var sep = platformIsWin32 ? win32.sep : posix.sep;
|
|
5740
5736
|
|
|
5741
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
5737
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/uri.js
|
|
5742
5738
|
var _schemePattern = /^\w[\w\d+.-]*$/;
|
|
5743
5739
|
var _singleSlashStart = /^\//;
|
|
5744
5740
|
var _doubleSlashStart = /^\/\//;
|
|
@@ -6271,7 +6267,7 @@ function percentDecode(str) {
|
|
|
6271
6267
|
return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));
|
|
6272
6268
|
}
|
|
6273
6269
|
|
|
6274
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
6270
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/selection.js
|
|
6275
6271
|
var Selection = class _Selection extends Range {
|
|
6276
6272
|
constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {
|
|
6277
6273
|
super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);
|
|
@@ -6384,7 +6380,7 @@ var Selection = class _Selection extends Range {
|
|
|
6384
6380
|
* Test if `obj` is an `ISelection`.
|
|
6385
6381
|
*/
|
|
6386
6382
|
static isISelection(obj) {
|
|
6387
|
-
return obj && typeof obj.selectionStartLineNumber === "number" && typeof obj.selectionStartColumn === "number" && typeof obj.positionLineNumber === "number" && typeof obj.positionColumn === "number";
|
|
6383
|
+
return !!obj && typeof obj.selectionStartLineNumber === "number" && typeof obj.selectionStartColumn === "number" && typeof obj.positionLineNumber === "number" && typeof obj.positionColumn === "number";
|
|
6388
6384
|
}
|
|
6389
6385
|
/**
|
|
6390
6386
|
* Create with a direction.
|
|
@@ -6397,7 +6393,7 @@ var Selection = class _Selection extends Range {
|
|
|
6397
6393
|
}
|
|
6398
6394
|
};
|
|
6399
6395
|
|
|
6400
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
6396
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/codiconsUtil.js
|
|
6401
6397
|
var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);
|
|
6402
6398
|
function register(id, fontCharacter) {
|
|
6403
6399
|
if (isString(fontCharacter)) {
|
|
@@ -6411,7 +6407,7 @@ function register(id, fontCharacter) {
|
|
|
6411
6407
|
return { id };
|
|
6412
6408
|
}
|
|
6413
6409
|
|
|
6414
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
6410
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/codiconsLibrary.js
|
|
6415
6411
|
var codiconsLibrary = {
|
|
6416
6412
|
add: register("add", 6e4),
|
|
6417
6413
|
plus: register("plus", 6e4),
|
|
@@ -6435,9 +6431,6 @@ var codiconsLibrary = {
|
|
|
6435
6431
|
personFollow: register("person-follow", 60007),
|
|
6436
6432
|
personOutline: register("person-outline", 60007),
|
|
6437
6433
|
personFilled: register("person-filled", 60007),
|
|
6438
|
-
gitBranch: register("git-branch", 60008),
|
|
6439
|
-
gitBranchCreate: register("git-branch-create", 60008),
|
|
6440
|
-
gitBranchDelete: register("git-branch-delete", 60008),
|
|
6441
6434
|
sourceControl: register("source-control", 60008),
|
|
6442
6435
|
mirror: register("mirror", 60009),
|
|
6443
6436
|
mirrorPublic: register("mirror-public", 60009),
|
|
@@ -6486,7 +6479,6 @@ var codiconsLibrary = {
|
|
|
6486
6479
|
vm: register("vm", 60026),
|
|
6487
6480
|
deviceDesktop: register("device-desktop", 60026),
|
|
6488
6481
|
file: register("file", 60027),
|
|
6489
|
-
fileText: register("file-text", 60027),
|
|
6490
6482
|
more: register("more", 60028),
|
|
6491
6483
|
ellipsis: register("ellipsis", 60028),
|
|
6492
6484
|
kebabHorizontal: register("kebab-horizontal", 60028),
|
|
@@ -7016,10 +7008,39 @@ var codiconsLibrary = {
|
|
|
7016
7008
|
sendToRemoteAgent: register("send-to-remote-agent", 60499),
|
|
7017
7009
|
commentDiscussionSparkle: register("comment-discussion-sparkle", 60500),
|
|
7018
7010
|
chatSparkleWarning: register("chat-sparkle-warning", 60501),
|
|
7019
|
-
chatSparkleError: register("chat-sparkle-error", 60502)
|
|
7011
|
+
chatSparkleError: register("chat-sparkle-error", 60502),
|
|
7012
|
+
collection: register("collection", 60503),
|
|
7013
|
+
newCollection: register("new-collection", 60504),
|
|
7014
|
+
thinking: register("thinking", 60505),
|
|
7015
|
+
build: register("build", 60506),
|
|
7016
|
+
commentDiscussionQuote: register("comment-discussion-quote", 60507),
|
|
7017
|
+
cursor: register("cursor", 60508),
|
|
7018
|
+
eraser: register("eraser", 60509),
|
|
7019
|
+
fileText: register("file-text", 60510),
|
|
7020
|
+
gitLens: register("git-lens", 60511),
|
|
7021
|
+
quotes: register("quotes", 60512),
|
|
7022
|
+
rename: register("rename", 60513),
|
|
7023
|
+
runWithDeps: register("run-with-deps", 60514),
|
|
7024
|
+
debugConnected: register("debug-connected", 60515),
|
|
7025
|
+
strikethrough: register("strikethrough", 60516),
|
|
7026
|
+
openInProduct: register("open-in-product", 60517),
|
|
7027
|
+
indexZero: register("index-zero", 60518),
|
|
7028
|
+
agent: register("agent", 60519),
|
|
7029
|
+
editCode: register("edit-code", 60520),
|
|
7030
|
+
repoSelected: register("repo-selected", 60521),
|
|
7031
|
+
skip: register("skip", 60522),
|
|
7032
|
+
mergeInto: register("merge-into", 60523),
|
|
7033
|
+
gitBranchChanges: register("git-branch-changes", 60524),
|
|
7034
|
+
gitBranchStagedChanges: register("git-branch-staged-changes", 60525),
|
|
7035
|
+
gitBranchConflicts: register("git-branch-conflicts", 60526),
|
|
7036
|
+
gitBranch: register("git-branch", 60527),
|
|
7037
|
+
gitBranchCreate: register("git-branch-create", 60527),
|
|
7038
|
+
gitBranchDelete: register("git-branch-delete", 60527),
|
|
7039
|
+
searchLarge: register("search-large", 60528),
|
|
7040
|
+
terminalGitBash: register("terminal-git-bash", 60529)
|
|
7020
7041
|
};
|
|
7021
7042
|
|
|
7022
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
7043
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/codicons.js
|
|
7023
7044
|
var codiconsDerived = {
|
|
7024
7045
|
dialogError: register("dialog-error", "error"),
|
|
7025
7046
|
dialogWarning: register("dialog-warning", "warning"),
|
|
@@ -7056,7 +7077,7 @@ var Codicon = {
|
|
|
7056
7077
|
...codiconsDerived
|
|
7057
7078
|
};
|
|
7058
7079
|
|
|
7059
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
7080
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/tokenizationRegistry.js
|
|
7060
7081
|
var TokenizationRegistry = class {
|
|
7061
7082
|
constructor() {
|
|
7062
7083
|
this._tokenizationSupports = /* @__PURE__ */ new Map();
|
|
@@ -7173,7 +7194,7 @@ var TokenizationSupportFactoryData = class extends Disposable {
|
|
|
7173
7194
|
}
|
|
7174
7195
|
};
|
|
7175
7196
|
|
|
7176
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
7197
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/languages.js
|
|
7177
7198
|
var Token = class {
|
|
7178
7199
|
constructor(offset, type, language) {
|
|
7179
7200
|
this.offset = offset;
|
|
@@ -7235,63 +7256,63 @@ var CompletionItemKinds;
|
|
|
7235
7256
|
function toLabel(kind) {
|
|
7236
7257
|
switch (kind) {
|
|
7237
7258
|
case 0:
|
|
7238
|
-
return localize(
|
|
7259
|
+
return localize(728, "Method");
|
|
7239
7260
|
case 1:
|
|
7240
|
-
return localize(
|
|
7261
|
+
return localize(729, "Function");
|
|
7241
7262
|
case 2:
|
|
7242
|
-
return localize(
|
|
7263
|
+
return localize(730, "Constructor");
|
|
7243
7264
|
case 3:
|
|
7244
|
-
return localize(
|
|
7265
|
+
return localize(731, "Field");
|
|
7245
7266
|
case 4:
|
|
7246
|
-
return localize(
|
|
7267
|
+
return localize(732, "Variable");
|
|
7247
7268
|
case 5:
|
|
7248
|
-
return localize(
|
|
7269
|
+
return localize(733, "Class");
|
|
7249
7270
|
case 6:
|
|
7250
|
-
return localize(
|
|
7271
|
+
return localize(734, "Struct");
|
|
7251
7272
|
case 7:
|
|
7252
|
-
return localize(
|
|
7273
|
+
return localize(735, "Interface");
|
|
7253
7274
|
case 8:
|
|
7254
|
-
return localize(
|
|
7275
|
+
return localize(736, "Module");
|
|
7255
7276
|
case 9:
|
|
7256
|
-
return localize(
|
|
7277
|
+
return localize(737, "Property");
|
|
7257
7278
|
case 10:
|
|
7258
|
-
return localize(
|
|
7279
|
+
return localize(738, "Event");
|
|
7259
7280
|
case 11:
|
|
7260
|
-
return localize(
|
|
7281
|
+
return localize(739, "Operator");
|
|
7261
7282
|
case 12:
|
|
7262
|
-
return localize(
|
|
7283
|
+
return localize(740, "Unit");
|
|
7263
7284
|
case 13:
|
|
7264
|
-
return localize(
|
|
7285
|
+
return localize(741, "Value");
|
|
7265
7286
|
case 14:
|
|
7266
|
-
return localize(
|
|
7287
|
+
return localize(742, "Constant");
|
|
7267
7288
|
case 15:
|
|
7268
|
-
return localize(
|
|
7289
|
+
return localize(743, "Enum");
|
|
7269
7290
|
case 16:
|
|
7270
|
-
return localize(
|
|
7291
|
+
return localize(744, "Enum Member");
|
|
7271
7292
|
case 17:
|
|
7272
|
-
return localize(
|
|
7293
|
+
return localize(745, "Keyword");
|
|
7273
7294
|
case 18:
|
|
7274
|
-
return localize(
|
|
7295
|
+
return localize(746, "Text");
|
|
7275
7296
|
case 19:
|
|
7276
|
-
return localize(
|
|
7297
|
+
return localize(747, "Color");
|
|
7277
7298
|
case 20:
|
|
7278
|
-
return localize(
|
|
7299
|
+
return localize(748, "File");
|
|
7279
7300
|
case 21:
|
|
7280
|
-
return localize(
|
|
7301
|
+
return localize(749, "Reference");
|
|
7281
7302
|
case 22:
|
|
7282
|
-
return localize(
|
|
7303
|
+
return localize(750, "Custom Color");
|
|
7283
7304
|
case 23:
|
|
7284
|
-
return localize(
|
|
7305
|
+
return localize(751, "Folder");
|
|
7285
7306
|
case 24:
|
|
7286
|
-
return localize(
|
|
7307
|
+
return localize(752, "Type Parameter");
|
|
7287
7308
|
case 25:
|
|
7288
|
-
return localize(
|
|
7309
|
+
return localize(753, "User");
|
|
7289
7310
|
case 26:
|
|
7290
|
-
return localize(
|
|
7311
|
+
return localize(754, "Issue");
|
|
7291
7312
|
case 27:
|
|
7292
|
-
return localize(
|
|
7313
|
+
return localize(755, "Tool");
|
|
7293
7314
|
case 28:
|
|
7294
|
-
return localize(
|
|
7315
|
+
return localize(756, "Snippet");
|
|
7295
7316
|
default:
|
|
7296
7317
|
return "";
|
|
7297
7318
|
}
|
|
@@ -7467,11 +7488,11 @@ var InlineCompletionTriggerKind;
|
|
|
7467
7488
|
InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Automatic"] = 0] = "Automatic";
|
|
7468
7489
|
InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Explicit"] = 1] = "Explicit";
|
|
7469
7490
|
})(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));
|
|
7470
|
-
var
|
|
7471
|
-
(function(
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
})(
|
|
7491
|
+
var InlineCompletionHintStyle;
|
|
7492
|
+
(function(InlineCompletionHintStyle3) {
|
|
7493
|
+
InlineCompletionHintStyle3[InlineCompletionHintStyle3["Code"] = 1] = "Code";
|
|
7494
|
+
InlineCompletionHintStyle3[InlineCompletionHintStyle3["Label"] = 2] = "Label";
|
|
7495
|
+
})(InlineCompletionHintStyle || (InlineCompletionHintStyle = {}));
|
|
7475
7496
|
var InlineCompletionEndOfLifeReasonKind;
|
|
7476
7497
|
(function(InlineCompletionEndOfLifeReasonKind3) {
|
|
7477
7498
|
InlineCompletionEndOfLifeReasonKind3[InlineCompletionEndOfLifeReasonKind3["Accepted"] = 0] = "Accepted";
|
|
@@ -7499,107 +7520,107 @@ var symbolKindNames = {
|
|
|
7499
7520
|
[
|
|
7500
7521
|
17
|
|
7501
7522
|
/* SymbolKind.Array */
|
|
7502
|
-
]: localize(
|
|
7523
|
+
]: localize(757, "array"),
|
|
7503
7524
|
[
|
|
7504
7525
|
16
|
|
7505
7526
|
/* SymbolKind.Boolean */
|
|
7506
|
-
]: localize(
|
|
7527
|
+
]: localize(758, "boolean"),
|
|
7507
7528
|
[
|
|
7508
7529
|
4
|
|
7509
7530
|
/* SymbolKind.Class */
|
|
7510
|
-
]: localize(
|
|
7531
|
+
]: localize(759, "class"),
|
|
7511
7532
|
[
|
|
7512
7533
|
13
|
|
7513
7534
|
/* SymbolKind.Constant */
|
|
7514
|
-
]: localize(
|
|
7535
|
+
]: localize(760, "constant"),
|
|
7515
7536
|
[
|
|
7516
7537
|
8
|
|
7517
7538
|
/* SymbolKind.Constructor */
|
|
7518
|
-
]: localize(
|
|
7539
|
+
]: localize(761, "constructor"),
|
|
7519
7540
|
[
|
|
7520
7541
|
9
|
|
7521
7542
|
/* SymbolKind.Enum */
|
|
7522
|
-
]: localize(
|
|
7543
|
+
]: localize(762, "enumeration"),
|
|
7523
7544
|
[
|
|
7524
7545
|
21
|
|
7525
7546
|
/* SymbolKind.EnumMember */
|
|
7526
|
-
]: localize(
|
|
7547
|
+
]: localize(763, "enumeration member"),
|
|
7527
7548
|
[
|
|
7528
7549
|
23
|
|
7529
7550
|
/* SymbolKind.Event */
|
|
7530
|
-
]: localize(
|
|
7551
|
+
]: localize(764, "event"),
|
|
7531
7552
|
[
|
|
7532
7553
|
7
|
|
7533
7554
|
/* SymbolKind.Field */
|
|
7534
|
-
]: localize(
|
|
7555
|
+
]: localize(765, "field"),
|
|
7535
7556
|
[
|
|
7536
7557
|
0
|
|
7537
7558
|
/* SymbolKind.File */
|
|
7538
|
-
]: localize(
|
|
7559
|
+
]: localize(766, "file"),
|
|
7539
7560
|
[
|
|
7540
7561
|
11
|
|
7541
7562
|
/* SymbolKind.Function */
|
|
7542
|
-
]: localize(
|
|
7563
|
+
]: localize(767, "function"),
|
|
7543
7564
|
[
|
|
7544
7565
|
10
|
|
7545
7566
|
/* SymbolKind.Interface */
|
|
7546
|
-
]: localize(
|
|
7567
|
+
]: localize(768, "interface"),
|
|
7547
7568
|
[
|
|
7548
7569
|
19
|
|
7549
7570
|
/* SymbolKind.Key */
|
|
7550
|
-
]: localize(
|
|
7571
|
+
]: localize(769, "key"),
|
|
7551
7572
|
[
|
|
7552
7573
|
5
|
|
7553
7574
|
/* SymbolKind.Method */
|
|
7554
|
-
]: localize(
|
|
7575
|
+
]: localize(770, "method"),
|
|
7555
7576
|
[
|
|
7556
7577
|
1
|
|
7557
7578
|
/* SymbolKind.Module */
|
|
7558
|
-
]: localize(
|
|
7579
|
+
]: localize(771, "module"),
|
|
7559
7580
|
[
|
|
7560
7581
|
2
|
|
7561
7582
|
/* SymbolKind.Namespace */
|
|
7562
|
-
]: localize(
|
|
7583
|
+
]: localize(772, "namespace"),
|
|
7563
7584
|
[
|
|
7564
7585
|
20
|
|
7565
7586
|
/* SymbolKind.Null */
|
|
7566
|
-
]: localize(
|
|
7587
|
+
]: localize(773, "null"),
|
|
7567
7588
|
[
|
|
7568
7589
|
15
|
|
7569
7590
|
/* SymbolKind.Number */
|
|
7570
|
-
]: localize(
|
|
7591
|
+
]: localize(774, "number"),
|
|
7571
7592
|
[
|
|
7572
7593
|
18
|
|
7573
7594
|
/* SymbolKind.Object */
|
|
7574
|
-
]: localize(
|
|
7595
|
+
]: localize(775, "object"),
|
|
7575
7596
|
[
|
|
7576
7597
|
24
|
|
7577
7598
|
/* SymbolKind.Operator */
|
|
7578
|
-
]: localize(
|
|
7599
|
+
]: localize(776, "operator"),
|
|
7579
7600
|
[
|
|
7580
7601
|
3
|
|
7581
7602
|
/* SymbolKind.Package */
|
|
7582
|
-
]: localize(
|
|
7603
|
+
]: localize(777, "package"),
|
|
7583
7604
|
[
|
|
7584
7605
|
6
|
|
7585
7606
|
/* SymbolKind.Property */
|
|
7586
|
-
]: localize(
|
|
7607
|
+
]: localize(778, "property"),
|
|
7587
7608
|
[
|
|
7588
7609
|
14
|
|
7589
7610
|
/* SymbolKind.String */
|
|
7590
|
-
]: localize(
|
|
7611
|
+
]: localize(779, "string"),
|
|
7591
7612
|
[
|
|
7592
7613
|
22
|
|
7593
7614
|
/* SymbolKind.Struct */
|
|
7594
|
-
]: localize(
|
|
7615
|
+
]: localize(780, "struct"),
|
|
7595
7616
|
[
|
|
7596
7617
|
25
|
|
7597
7618
|
/* SymbolKind.TypeParameter */
|
|
7598
|
-
]: localize(
|
|
7619
|
+
]: localize(781, "type parameter"),
|
|
7599
7620
|
[
|
|
7600
7621
|
12
|
|
7601
7622
|
/* SymbolKind.Variable */
|
|
7602
|
-
]: localize(
|
|
7623
|
+
]: localize(782, "variable")
|
|
7603
7624
|
};
|
|
7604
7625
|
var SymbolKinds;
|
|
7605
7626
|
(function(SymbolKinds2) {
|
|
@@ -7841,7 +7862,7 @@ var InlayHintKind;
|
|
|
7841
7862
|
})(InlayHintKind || (InlayHintKind = {}));
|
|
7842
7863
|
var TokenizationRegistry2 = new TokenizationRegistry();
|
|
7843
7864
|
|
|
7844
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
7865
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/standalone/standaloneEnums.js
|
|
7845
7866
|
var AccessibilitySupport;
|
|
7846
7867
|
(function(AccessibilitySupport2) {
|
|
7847
7868
|
AccessibilitySupport2[AccessibilitySupport2["Unknown"] = 0] = "Unknown";
|
|
@@ -8025,91 +8046,92 @@ var EditorOption;
|
|
|
8025
8046
|
EditorOption2[EditorOption2["mouseWheelZoom"] = 84] = "mouseWheelZoom";
|
|
8026
8047
|
EditorOption2[EditorOption2["multiCursorMergeOverlapping"] = 85] = "multiCursorMergeOverlapping";
|
|
8027
8048
|
EditorOption2[EditorOption2["multiCursorModifier"] = 86] = "multiCursorModifier";
|
|
8028
|
-
EditorOption2[EditorOption2["
|
|
8029
|
-
EditorOption2[EditorOption2["
|
|
8030
|
-
EditorOption2[EditorOption2["
|
|
8031
|
-
EditorOption2[EditorOption2["
|
|
8032
|
-
EditorOption2[EditorOption2["
|
|
8033
|
-
EditorOption2[EditorOption2["
|
|
8034
|
-
EditorOption2[EditorOption2["
|
|
8035
|
-
EditorOption2[EditorOption2["
|
|
8036
|
-
EditorOption2[EditorOption2["
|
|
8037
|
-
EditorOption2[EditorOption2["
|
|
8038
|
-
EditorOption2[EditorOption2["
|
|
8039
|
-
EditorOption2[EditorOption2["
|
|
8040
|
-
EditorOption2[EditorOption2["
|
|
8041
|
-
EditorOption2[EditorOption2["
|
|
8042
|
-
EditorOption2[EditorOption2["
|
|
8043
|
-
EditorOption2[EditorOption2["
|
|
8044
|
-
EditorOption2[EditorOption2["
|
|
8045
|
-
EditorOption2[EditorOption2["
|
|
8046
|
-
EditorOption2[EditorOption2["
|
|
8047
|
-
EditorOption2[EditorOption2["
|
|
8048
|
-
EditorOption2[EditorOption2["
|
|
8049
|
-
EditorOption2[EditorOption2["
|
|
8050
|
-
EditorOption2[EditorOption2["
|
|
8051
|
-
EditorOption2[EditorOption2["
|
|
8052
|
-
EditorOption2[EditorOption2["
|
|
8053
|
-
EditorOption2[EditorOption2["
|
|
8054
|
-
EditorOption2[EditorOption2["
|
|
8055
|
-
EditorOption2[EditorOption2["
|
|
8056
|
-
EditorOption2[EditorOption2["
|
|
8057
|
-
EditorOption2[EditorOption2["
|
|
8058
|
-
EditorOption2[EditorOption2["
|
|
8059
|
-
EditorOption2[EditorOption2["
|
|
8060
|
-
EditorOption2[EditorOption2["
|
|
8061
|
-
EditorOption2[EditorOption2["
|
|
8062
|
-
EditorOption2[EditorOption2["
|
|
8063
|
-
EditorOption2[EditorOption2["
|
|
8064
|
-
EditorOption2[EditorOption2["
|
|
8065
|
-
EditorOption2[EditorOption2["
|
|
8066
|
-
EditorOption2[EditorOption2["
|
|
8067
|
-
EditorOption2[EditorOption2["
|
|
8068
|
-
EditorOption2[EditorOption2["
|
|
8069
|
-
EditorOption2[EditorOption2["
|
|
8070
|
-
EditorOption2[EditorOption2["
|
|
8071
|
-
EditorOption2[EditorOption2["
|
|
8072
|
-
EditorOption2[EditorOption2["
|
|
8073
|
-
EditorOption2[EditorOption2["
|
|
8074
|
-
EditorOption2[EditorOption2["
|
|
8075
|
-
EditorOption2[EditorOption2["
|
|
8076
|
-
EditorOption2[EditorOption2["
|
|
8077
|
-
EditorOption2[EditorOption2["
|
|
8078
|
-
EditorOption2[EditorOption2["
|
|
8079
|
-
EditorOption2[EditorOption2["
|
|
8080
|
-
EditorOption2[EditorOption2["
|
|
8081
|
-
EditorOption2[EditorOption2["
|
|
8082
|
-
EditorOption2[EditorOption2["
|
|
8083
|
-
EditorOption2[EditorOption2["
|
|
8084
|
-
EditorOption2[EditorOption2["
|
|
8085
|
-
EditorOption2[EditorOption2["
|
|
8086
|
-
EditorOption2[EditorOption2["
|
|
8087
|
-
EditorOption2[EditorOption2["
|
|
8088
|
-
EditorOption2[EditorOption2["
|
|
8089
|
-
EditorOption2[EditorOption2["
|
|
8090
|
-
EditorOption2[EditorOption2["
|
|
8091
|
-
EditorOption2[EditorOption2["
|
|
8092
|
-
EditorOption2[EditorOption2["
|
|
8093
|
-
EditorOption2[EditorOption2["
|
|
8094
|
-
EditorOption2[EditorOption2["
|
|
8095
|
-
EditorOption2[EditorOption2["
|
|
8096
|
-
EditorOption2[EditorOption2["
|
|
8097
|
-
EditorOption2[EditorOption2["
|
|
8098
|
-
EditorOption2[EditorOption2["
|
|
8099
|
-
EditorOption2[EditorOption2["
|
|
8100
|
-
EditorOption2[EditorOption2["
|
|
8101
|
-
EditorOption2[EditorOption2["
|
|
8102
|
-
EditorOption2[EditorOption2["
|
|
8103
|
-
EditorOption2[EditorOption2["
|
|
8104
|
-
EditorOption2[EditorOption2["
|
|
8105
|
-
EditorOption2[EditorOption2["
|
|
8106
|
-
EditorOption2[EditorOption2["
|
|
8107
|
-
EditorOption2[EditorOption2["
|
|
8108
|
-
EditorOption2[EditorOption2["
|
|
8109
|
-
EditorOption2[EditorOption2["
|
|
8110
|
-
EditorOption2[EditorOption2["
|
|
8111
|
-
EditorOption2[EditorOption2["
|
|
8112
|
-
EditorOption2[EditorOption2["
|
|
8049
|
+
EditorOption2[EditorOption2["mouseMiddleClickAction"] = 87] = "mouseMiddleClickAction";
|
|
8050
|
+
EditorOption2[EditorOption2["multiCursorPaste"] = 88] = "multiCursorPaste";
|
|
8051
|
+
EditorOption2[EditorOption2["multiCursorLimit"] = 89] = "multiCursorLimit";
|
|
8052
|
+
EditorOption2[EditorOption2["occurrencesHighlight"] = 90] = "occurrencesHighlight";
|
|
8053
|
+
EditorOption2[EditorOption2["occurrencesHighlightDelay"] = 91] = "occurrencesHighlightDelay";
|
|
8054
|
+
EditorOption2[EditorOption2["overtypeCursorStyle"] = 92] = "overtypeCursorStyle";
|
|
8055
|
+
EditorOption2[EditorOption2["overtypeOnPaste"] = 93] = "overtypeOnPaste";
|
|
8056
|
+
EditorOption2[EditorOption2["overviewRulerBorder"] = 94] = "overviewRulerBorder";
|
|
8057
|
+
EditorOption2[EditorOption2["overviewRulerLanes"] = 95] = "overviewRulerLanes";
|
|
8058
|
+
EditorOption2[EditorOption2["padding"] = 96] = "padding";
|
|
8059
|
+
EditorOption2[EditorOption2["pasteAs"] = 97] = "pasteAs";
|
|
8060
|
+
EditorOption2[EditorOption2["parameterHints"] = 98] = "parameterHints";
|
|
8061
|
+
EditorOption2[EditorOption2["peekWidgetDefaultFocus"] = 99] = "peekWidgetDefaultFocus";
|
|
8062
|
+
EditorOption2[EditorOption2["placeholder"] = 100] = "placeholder";
|
|
8063
|
+
EditorOption2[EditorOption2["definitionLinkOpensInPeek"] = 101] = "definitionLinkOpensInPeek";
|
|
8064
|
+
EditorOption2[EditorOption2["quickSuggestions"] = 102] = "quickSuggestions";
|
|
8065
|
+
EditorOption2[EditorOption2["quickSuggestionsDelay"] = 103] = "quickSuggestionsDelay";
|
|
8066
|
+
EditorOption2[EditorOption2["readOnly"] = 104] = "readOnly";
|
|
8067
|
+
EditorOption2[EditorOption2["readOnlyMessage"] = 105] = "readOnlyMessage";
|
|
8068
|
+
EditorOption2[EditorOption2["renameOnType"] = 106] = "renameOnType";
|
|
8069
|
+
EditorOption2[EditorOption2["renderRichScreenReaderContent"] = 107] = "renderRichScreenReaderContent";
|
|
8070
|
+
EditorOption2[EditorOption2["renderControlCharacters"] = 108] = "renderControlCharacters";
|
|
8071
|
+
EditorOption2[EditorOption2["renderFinalNewline"] = 109] = "renderFinalNewline";
|
|
8072
|
+
EditorOption2[EditorOption2["renderLineHighlight"] = 110] = "renderLineHighlight";
|
|
8073
|
+
EditorOption2[EditorOption2["renderLineHighlightOnlyWhenFocus"] = 111] = "renderLineHighlightOnlyWhenFocus";
|
|
8074
|
+
EditorOption2[EditorOption2["renderValidationDecorations"] = 112] = "renderValidationDecorations";
|
|
8075
|
+
EditorOption2[EditorOption2["renderWhitespace"] = 113] = "renderWhitespace";
|
|
8076
|
+
EditorOption2[EditorOption2["revealHorizontalRightPadding"] = 114] = "revealHorizontalRightPadding";
|
|
8077
|
+
EditorOption2[EditorOption2["roundedSelection"] = 115] = "roundedSelection";
|
|
8078
|
+
EditorOption2[EditorOption2["rulers"] = 116] = "rulers";
|
|
8079
|
+
EditorOption2[EditorOption2["scrollbar"] = 117] = "scrollbar";
|
|
8080
|
+
EditorOption2[EditorOption2["scrollBeyondLastColumn"] = 118] = "scrollBeyondLastColumn";
|
|
8081
|
+
EditorOption2[EditorOption2["scrollBeyondLastLine"] = 119] = "scrollBeyondLastLine";
|
|
8082
|
+
EditorOption2[EditorOption2["scrollPredominantAxis"] = 120] = "scrollPredominantAxis";
|
|
8083
|
+
EditorOption2[EditorOption2["selectionClipboard"] = 121] = "selectionClipboard";
|
|
8084
|
+
EditorOption2[EditorOption2["selectionHighlight"] = 122] = "selectionHighlight";
|
|
8085
|
+
EditorOption2[EditorOption2["selectionHighlightMaxLength"] = 123] = "selectionHighlightMaxLength";
|
|
8086
|
+
EditorOption2[EditorOption2["selectionHighlightMultiline"] = 124] = "selectionHighlightMultiline";
|
|
8087
|
+
EditorOption2[EditorOption2["selectOnLineNumbers"] = 125] = "selectOnLineNumbers";
|
|
8088
|
+
EditorOption2[EditorOption2["showFoldingControls"] = 126] = "showFoldingControls";
|
|
8089
|
+
EditorOption2[EditorOption2["showUnused"] = 127] = "showUnused";
|
|
8090
|
+
EditorOption2[EditorOption2["snippetSuggestions"] = 128] = "snippetSuggestions";
|
|
8091
|
+
EditorOption2[EditorOption2["smartSelect"] = 129] = "smartSelect";
|
|
8092
|
+
EditorOption2[EditorOption2["smoothScrolling"] = 130] = "smoothScrolling";
|
|
8093
|
+
EditorOption2[EditorOption2["stickyScroll"] = 131] = "stickyScroll";
|
|
8094
|
+
EditorOption2[EditorOption2["stickyTabStops"] = 132] = "stickyTabStops";
|
|
8095
|
+
EditorOption2[EditorOption2["stopRenderingLineAfter"] = 133] = "stopRenderingLineAfter";
|
|
8096
|
+
EditorOption2[EditorOption2["suggest"] = 134] = "suggest";
|
|
8097
|
+
EditorOption2[EditorOption2["suggestFontSize"] = 135] = "suggestFontSize";
|
|
8098
|
+
EditorOption2[EditorOption2["suggestLineHeight"] = 136] = "suggestLineHeight";
|
|
8099
|
+
EditorOption2[EditorOption2["suggestOnTriggerCharacters"] = 137] = "suggestOnTriggerCharacters";
|
|
8100
|
+
EditorOption2[EditorOption2["suggestSelection"] = 138] = "suggestSelection";
|
|
8101
|
+
EditorOption2[EditorOption2["tabCompletion"] = 139] = "tabCompletion";
|
|
8102
|
+
EditorOption2[EditorOption2["tabIndex"] = 140] = "tabIndex";
|
|
8103
|
+
EditorOption2[EditorOption2["trimWhitespaceOnDelete"] = 141] = "trimWhitespaceOnDelete";
|
|
8104
|
+
EditorOption2[EditorOption2["unicodeHighlighting"] = 142] = "unicodeHighlighting";
|
|
8105
|
+
EditorOption2[EditorOption2["unusualLineTerminators"] = 143] = "unusualLineTerminators";
|
|
8106
|
+
EditorOption2[EditorOption2["useShadowDOM"] = 144] = "useShadowDOM";
|
|
8107
|
+
EditorOption2[EditorOption2["useTabStops"] = 145] = "useTabStops";
|
|
8108
|
+
EditorOption2[EditorOption2["wordBreak"] = 146] = "wordBreak";
|
|
8109
|
+
EditorOption2[EditorOption2["wordSegmenterLocales"] = 147] = "wordSegmenterLocales";
|
|
8110
|
+
EditorOption2[EditorOption2["wordSeparators"] = 148] = "wordSeparators";
|
|
8111
|
+
EditorOption2[EditorOption2["wordWrap"] = 149] = "wordWrap";
|
|
8112
|
+
EditorOption2[EditorOption2["wordWrapBreakAfterCharacters"] = 150] = "wordWrapBreakAfterCharacters";
|
|
8113
|
+
EditorOption2[EditorOption2["wordWrapBreakBeforeCharacters"] = 151] = "wordWrapBreakBeforeCharacters";
|
|
8114
|
+
EditorOption2[EditorOption2["wordWrapColumn"] = 152] = "wordWrapColumn";
|
|
8115
|
+
EditorOption2[EditorOption2["wordWrapOverride1"] = 153] = "wordWrapOverride1";
|
|
8116
|
+
EditorOption2[EditorOption2["wordWrapOverride2"] = 154] = "wordWrapOverride2";
|
|
8117
|
+
EditorOption2[EditorOption2["wrappingIndent"] = 155] = "wrappingIndent";
|
|
8118
|
+
EditorOption2[EditorOption2["wrappingStrategy"] = 156] = "wrappingStrategy";
|
|
8119
|
+
EditorOption2[EditorOption2["showDeprecated"] = 157] = "showDeprecated";
|
|
8120
|
+
EditorOption2[EditorOption2["inertialScroll"] = 158] = "inertialScroll";
|
|
8121
|
+
EditorOption2[EditorOption2["inlayHints"] = 159] = "inlayHints";
|
|
8122
|
+
EditorOption2[EditorOption2["wrapOnEscapedLineFeeds"] = 160] = "wrapOnEscapedLineFeeds";
|
|
8123
|
+
EditorOption2[EditorOption2["effectiveCursorStyle"] = 161] = "effectiveCursorStyle";
|
|
8124
|
+
EditorOption2[EditorOption2["editorClassName"] = 162] = "editorClassName";
|
|
8125
|
+
EditorOption2[EditorOption2["pixelRatio"] = 163] = "pixelRatio";
|
|
8126
|
+
EditorOption2[EditorOption2["tabFocusMode"] = 164] = "tabFocusMode";
|
|
8127
|
+
EditorOption2[EditorOption2["layoutInfo"] = 165] = "layoutInfo";
|
|
8128
|
+
EditorOption2[EditorOption2["wrappingInfo"] = 166] = "wrappingInfo";
|
|
8129
|
+
EditorOption2[EditorOption2["defaultColorDecorators"] = 167] = "defaultColorDecorators";
|
|
8130
|
+
EditorOption2[EditorOption2["colorDecoratorsActivatedOn"] = 168] = "colorDecoratorsActivatedOn";
|
|
8131
|
+
EditorOption2[EditorOption2["inlineCompletionsAccessibilityVerbose"] = 169] = "inlineCompletionsAccessibilityVerbose";
|
|
8132
|
+
EditorOption2[EditorOption2["effectiveEditContext"] = 170] = "effectiveEditContext";
|
|
8133
|
+
EditorOption2[EditorOption2["scrollOnMiddleClick"] = 171] = "scrollOnMiddleClick";
|
|
8134
|
+
EditorOption2[EditorOption2["effectiveAllowVariableFonts"] = 172] = "effectiveAllowVariableFonts";
|
|
8113
8135
|
})(EditorOption || (EditorOption = {}));
|
|
8114
8136
|
var EndOfLinePreference;
|
|
8115
8137
|
(function(EndOfLinePreference2) {
|
|
@@ -8152,17 +8174,17 @@ var InlayHintKind2;
|
|
|
8152
8174
|
InlayHintKind3[InlayHintKind3["Type"] = 1] = "Type";
|
|
8153
8175
|
InlayHintKind3[InlayHintKind3["Parameter"] = 2] = "Parameter";
|
|
8154
8176
|
})(InlayHintKind2 || (InlayHintKind2 = {}));
|
|
8155
|
-
var InlineCompletionDisplayLocationKind2;
|
|
8156
|
-
(function(InlineCompletionDisplayLocationKind3) {
|
|
8157
|
-
InlineCompletionDisplayLocationKind3[InlineCompletionDisplayLocationKind3["Code"] = 1] = "Code";
|
|
8158
|
-
InlineCompletionDisplayLocationKind3[InlineCompletionDisplayLocationKind3["Label"] = 2] = "Label";
|
|
8159
|
-
})(InlineCompletionDisplayLocationKind2 || (InlineCompletionDisplayLocationKind2 = {}));
|
|
8160
8177
|
var InlineCompletionEndOfLifeReasonKind2;
|
|
8161
8178
|
(function(InlineCompletionEndOfLifeReasonKind3) {
|
|
8162
8179
|
InlineCompletionEndOfLifeReasonKind3[InlineCompletionEndOfLifeReasonKind3["Accepted"] = 0] = "Accepted";
|
|
8163
8180
|
InlineCompletionEndOfLifeReasonKind3[InlineCompletionEndOfLifeReasonKind3["Rejected"] = 1] = "Rejected";
|
|
8164
8181
|
InlineCompletionEndOfLifeReasonKind3[InlineCompletionEndOfLifeReasonKind3["Ignored"] = 2] = "Ignored";
|
|
8165
8182
|
})(InlineCompletionEndOfLifeReasonKind2 || (InlineCompletionEndOfLifeReasonKind2 = {}));
|
|
8183
|
+
var InlineCompletionHintStyle2;
|
|
8184
|
+
(function(InlineCompletionHintStyle3) {
|
|
8185
|
+
InlineCompletionHintStyle3[InlineCompletionHintStyle3["Code"] = 1] = "Code";
|
|
8186
|
+
InlineCompletionHintStyle3[InlineCompletionHintStyle3["Label"] = 2] = "Label";
|
|
8187
|
+
})(InlineCompletionHintStyle2 || (InlineCompletionHintStyle2 = {}));
|
|
8166
8188
|
var InlineCompletionTriggerKind2;
|
|
8167
8189
|
(function(InlineCompletionTriggerKind3) {
|
|
8168
8190
|
InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Automatic"] = 0] = "Automatic";
|
|
@@ -8493,7 +8515,7 @@ var WrappingIndent;
|
|
|
8493
8515
|
WrappingIndent2[WrappingIndent2["DeepIndent"] = 3] = "DeepIndent";
|
|
8494
8516
|
})(WrappingIndent || (WrappingIndent = {}));
|
|
8495
8517
|
|
|
8496
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
8518
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/services/editorBaseApi.js
|
|
8497
8519
|
var KeyMod = class {
|
|
8498
8520
|
static {
|
|
8499
8521
|
this.CtrlCmd = 2048;
|
|
@@ -8532,7 +8554,7 @@ function createMonacoBaseAPI() {
|
|
|
8532
8554
|
};
|
|
8533
8555
|
}
|
|
8534
8556
|
|
|
8535
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
8557
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/map.js
|
|
8536
8558
|
var _a;
|
|
8537
8559
|
var _b;
|
|
8538
8560
|
var _c;
|
|
@@ -9075,10 +9097,10 @@ var SetMap = class {
|
|
|
9075
9097
|
}
|
|
9076
9098
|
};
|
|
9077
9099
|
|
|
9078
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9100
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/wordCharacterClassifier.js
|
|
9079
9101
|
var wordClassifierCache = new LRUCache(10);
|
|
9080
9102
|
|
|
9081
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9103
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/model.js
|
|
9082
9104
|
var OverviewRulerLane2;
|
|
9083
9105
|
(function(OverviewRulerLane3) {
|
|
9084
9106
|
OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left";
|
|
@@ -9105,7 +9127,7 @@ var InjectedTextCursorStops2;
|
|
|
9105
9127
|
InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None";
|
|
9106
9128
|
})(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));
|
|
9107
9129
|
|
|
9108
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9130
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/model/textModelSearch.js
|
|
9109
9131
|
function isMultilineRegexSource(searchString) {
|
|
9110
9132
|
if (!searchString || searchString.length === 0) {
|
|
9111
9133
|
return false;
|
|
@@ -9215,7 +9237,7 @@ var Searcher = class {
|
|
|
9215
9237
|
}
|
|
9216
9238
|
};
|
|
9217
9239
|
|
|
9218
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9240
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/wordHelper.js
|
|
9219
9241
|
var USUAL_WORD_SEPARATORS = "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";
|
|
9220
9242
|
function createWordRegExp(allowInWords = "") {
|
|
9221
9243
|
let source = "(-?\\d*\\.\\d\\w*)|([^";
|
|
@@ -9316,7 +9338,7 @@ function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {
|
|
|
9316
9338
|
return null;
|
|
9317
9339
|
}
|
|
9318
9340
|
|
|
9319
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9341
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/services/unicodeTextModelHighlighter.js
|
|
9320
9342
|
var UnicodeTextModelHighlighter = class {
|
|
9321
9343
|
static computeUnicodeHighlights(model, options, range) {
|
|
9322
9344
|
const startLine = range ? range.startLineNumber : 1;
|
|
@@ -9492,7 +9514,7 @@ function isAllowedInvisibleCharacter(character) {
|
|
|
9492
9514
|
return character === " " || character === "\n" || character === " ";
|
|
9493
9515
|
}
|
|
9494
9516
|
|
|
9495
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9517
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/linesDiffComputer.js
|
|
9496
9518
|
var LinesDiff = class {
|
|
9497
9519
|
constructor(changes, moves, hitTimeout) {
|
|
9498
9520
|
this.changes = changes;
|
|
@@ -9507,7 +9529,7 @@ var MovedText = class {
|
|
|
9507
9529
|
}
|
|
9508
9530
|
};
|
|
9509
9531
|
|
|
9510
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9532
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/arrays.js
|
|
9511
9533
|
function equals2(one, other, itemEquals = (a, b) => a === b) {
|
|
9512
9534
|
if (one === other) {
|
|
9513
9535
|
return true;
|
|
@@ -9633,7 +9655,7 @@ var CallbackIterable = class _CallbackIterable {
|
|
|
9633
9655
|
}
|
|
9634
9656
|
};
|
|
9635
9657
|
|
|
9636
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9658
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/ranges/offsetRange.js
|
|
9637
9659
|
var OffsetRange = class _OffsetRange {
|
|
9638
9660
|
static fromTo(start2, endExclusive) {
|
|
9639
9661
|
return new _OffsetRange(start2, endExclusive);
|
|
@@ -9794,7 +9816,7 @@ var OffsetRange = class _OffsetRange {
|
|
|
9794
9816
|
}
|
|
9795
9817
|
};
|
|
9796
9818
|
|
|
9797
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9819
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/arraysFind.js
|
|
9798
9820
|
function findLastMonotonous(array, predicate) {
|
|
9799
9821
|
const idx = findLastIdxMonotonous(array, predicate);
|
|
9800
9822
|
return idx === -1 ? void 0 : array[idx];
|
|
@@ -9858,11 +9880,14 @@ var MonotonousArray = class _MonotonousArray {
|
|
|
9858
9880
|
}
|
|
9859
9881
|
};
|
|
9860
9882
|
|
|
9861
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
9883
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/ranges/lineRange.js
|
|
9862
9884
|
var LineRange = class _LineRange {
|
|
9863
9885
|
static ofLength(startLineNumber, length) {
|
|
9864
9886
|
return new _LineRange(startLineNumber, startLineNumber + length);
|
|
9865
9887
|
}
|
|
9888
|
+
static fromRange(range) {
|
|
9889
|
+
return new _LineRange(range.startLineNumber, range.endLineNumber);
|
|
9890
|
+
}
|
|
9866
9891
|
static fromRangeInclusive(range) {
|
|
9867
9892
|
return new _LineRange(range.startLineNumber, range.endLineNumber + 1);
|
|
9868
9893
|
}
|
|
@@ -10132,7 +10157,7 @@ var LineRangeSet = class _LineRangeSet {
|
|
|
10132
10157
|
}
|
|
10133
10158
|
};
|
|
10134
10159
|
|
|
10135
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
10160
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/text/textLength.js
|
|
10136
10161
|
var TextLength = class _TextLength {
|
|
10137
10162
|
static {
|
|
10138
10163
|
this.zero = new _TextLength(0, 0);
|
|
@@ -10205,7 +10230,7 @@ var TextLength = class _TextLength {
|
|
|
10205
10230
|
}
|
|
10206
10231
|
};
|
|
10207
10232
|
|
|
10208
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
10233
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/text/positionToOffsetImpl.js
|
|
10209
10234
|
var PositionOffsetTransformerBase = class {
|
|
10210
10235
|
getOffsetRange(range) {
|
|
10211
10236
|
return new OffsetRange(this.getOffset(range.getStartPosition()), this.getOffset(range.getEndPosition()));
|
|
@@ -10291,7 +10316,7 @@ var PositionOffsetTransformer = class extends PositionOffsetTransformerBase {
|
|
|
10291
10316
|
}
|
|
10292
10317
|
};
|
|
10293
10318
|
|
|
10294
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
10319
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/text/abstractText.js
|
|
10295
10320
|
var AbstractText = class {
|
|
10296
10321
|
constructor() {
|
|
10297
10322
|
this._transformer = void 0;
|
|
@@ -10353,7 +10378,7 @@ var ArrayText = class extends LineBasedText {
|
|
|
10353
10378
|
}
|
|
10354
10379
|
};
|
|
10355
10380
|
|
|
10356
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
10381
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/core/edits/textEdit.js
|
|
10357
10382
|
var TextReplacement = class _TextReplacement {
|
|
10358
10383
|
static joinReplacements(replacements, initialValue) {
|
|
10359
10384
|
if (replacements.length === 0) {
|
|
@@ -10426,7 +10451,7 @@ var TextReplacement = class _TextReplacement {
|
|
|
10426
10451
|
}
|
|
10427
10452
|
};
|
|
10428
10453
|
|
|
10429
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
10454
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/rangeMapping.js
|
|
10430
10455
|
var LineRangeMapping = class _LineRangeMapping {
|
|
10431
10456
|
static inverse(mapping, originalLineCount, modifiedLineCount) {
|
|
10432
10457
|
const result = [];
|
|
@@ -10608,7 +10633,7 @@ function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) {
|
|
|
10608
10633
|
return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]);
|
|
10609
10634
|
}
|
|
10610
10635
|
|
|
10611
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
10636
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/legacyLinesDiffComputer.js
|
|
10612
10637
|
var MINIMUM_MATCHING_CHARACTER_LENGTH = 3;
|
|
10613
10638
|
var LegacyLinesDiffComputer = class {
|
|
10614
10639
|
computeDiff(originalLines, modifiedLines, options) {
|
|
@@ -11027,7 +11052,7 @@ function createContinueProcessingPredicate(maximumRuntime) {
|
|
|
11027
11052
|
};
|
|
11028
11053
|
}
|
|
11029
11054
|
|
|
11030
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11055
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js
|
|
11031
11056
|
var DiffAlgorithmResult = class _DiffAlgorithmResult {
|
|
11032
11057
|
static trivial(seq1, seq2) {
|
|
11033
11058
|
return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false);
|
|
@@ -11159,7 +11184,7 @@ var DateTimeout = class {
|
|
|
11159
11184
|
}
|
|
11160
11185
|
};
|
|
11161
11186
|
|
|
11162
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11187
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js
|
|
11163
11188
|
var Array2D = class {
|
|
11164
11189
|
constructor(width, height) {
|
|
11165
11190
|
this.width = width;
|
|
@@ -11219,7 +11244,7 @@ var LineRangeFragment = class _LineRangeFragment {
|
|
|
11219
11244
|
}
|
|
11220
11245
|
};
|
|
11221
11246
|
|
|
11222
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11247
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js
|
|
11223
11248
|
var DynamicProgrammingDiffing = class {
|
|
11224
11249
|
compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) {
|
|
11225
11250
|
if (sequence1.length === 0 || sequence2.length === 0) {
|
|
@@ -11295,7 +11320,7 @@ var DynamicProgrammingDiffing = class {
|
|
|
11295
11320
|
}
|
|
11296
11321
|
};
|
|
11297
11322
|
|
|
11298
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11323
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js
|
|
11299
11324
|
var MyersDiffAlgorithm = class {
|
|
11300
11325
|
compute(seq1, seq2, timeout = InfiniteTimeout.instance) {
|
|
11301
11326
|
if (seq1.length === 0 || seq2.length === 0) {
|
|
@@ -11427,7 +11452,7 @@ var FastArrayNegativeIndices = class {
|
|
|
11427
11452
|
}
|
|
11428
11453
|
};
|
|
11429
11454
|
|
|
11430
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11455
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js
|
|
11431
11456
|
var LinesSliceCharSequence = class {
|
|
11432
11457
|
constructor(lines, range, considerWhitespaceChanges) {
|
|
11433
11458
|
this.lines = lines;
|
|
@@ -11630,7 +11655,7 @@ function getCategory(charCode) {
|
|
|
11630
11655
|
}
|
|
11631
11656
|
}
|
|
11632
11657
|
|
|
11633
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11658
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js
|
|
11634
11659
|
function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) {
|
|
11635
11660
|
let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout);
|
|
11636
11661
|
if (!timeout.isValid()) {
|
|
@@ -11856,7 +11881,7 @@ function removeMovesInSameDiff(changes, moves) {
|
|
|
11856
11881
|
return moves;
|
|
11857
11882
|
}
|
|
11858
11883
|
|
|
11859
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
11884
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js
|
|
11860
11885
|
function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) {
|
|
11861
11886
|
let result = sequenceDiffs;
|
|
11862
11887
|
result = joinSequenceDiffsByShifting(sequence1, sequence2, result);
|
|
@@ -12164,7 +12189,7 @@ function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, seque
|
|
|
12164
12189
|
return newDiffs;
|
|
12165
12190
|
}
|
|
12166
12191
|
|
|
12167
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
12192
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js
|
|
12168
12193
|
var LineSequence2 = class {
|
|
12169
12194
|
constructor(trimmedHash, lines) {
|
|
12170
12195
|
this.trimmedHash = trimmedHash;
|
|
@@ -12196,7 +12221,7 @@ function getIndentation(str) {
|
|
|
12196
12221
|
return i;
|
|
12197
12222
|
}
|
|
12198
12223
|
|
|
12199
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
12224
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js
|
|
12200
12225
|
var DefaultLinesDiffComputer = class {
|
|
12201
12226
|
constructor() {
|
|
12202
12227
|
this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing();
|
|
@@ -12375,13 +12400,13 @@ function toLineRangeMapping(sequenceDiff) {
|
|
|
12375
12400
|
return new LineRangeMapping(new LineRange(sequenceDiff.seq1Range.start + 1, sequenceDiff.seq1Range.endExclusive + 1), new LineRange(sequenceDiff.seq2Range.start + 1, sequenceDiff.seq2Range.endExclusive + 1));
|
|
12376
12401
|
}
|
|
12377
12402
|
|
|
12378
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
12403
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/diff/linesDiffComputers.js
|
|
12379
12404
|
var linesDiffComputers = {
|
|
12380
12405
|
getLegacy: () => new LegacyLinesDiffComputer(),
|
|
12381
12406
|
getDefault: () => new DefaultLinesDiffComputer()
|
|
12382
12407
|
};
|
|
12383
12408
|
|
|
12384
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
12409
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/color.js
|
|
12385
12410
|
function roundFloat(number, decimalPoints) {
|
|
12386
12411
|
const decimal = Math.pow(10, decimalPoints);
|
|
12387
12412
|
return Math.round(number * decimal) / decimal;
|
|
@@ -13196,7 +13221,7 @@ var Color = class _Color {
|
|
|
13196
13221
|
})(Format = Color2.Format || (Color2.Format = {}));
|
|
13197
13222
|
})(Color || (Color = {}));
|
|
13198
13223
|
|
|
13199
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13224
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js
|
|
13200
13225
|
function _parseCaptureGroups(captureGroups) {
|
|
13201
13226
|
const values = [];
|
|
13202
13227
|
for (const captureGroup of captureGroups) {
|
|
@@ -13317,7 +13342,7 @@ function computeDefaultDocumentColors(model) {
|
|
|
13317
13342
|
return computeColors(model);
|
|
13318
13343
|
}
|
|
13319
13344
|
|
|
13320
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13345
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/services/findSectionHeaders.js
|
|
13321
13346
|
var trimDashesRegex = /^-+|-+$/g;
|
|
13322
13347
|
var CHUNK_SIZE = 100;
|
|
13323
13348
|
var MAX_SECTION_LINES = 5;
|
|
@@ -13417,10 +13442,10 @@ function getHeaderText(text) {
|
|
|
13417
13442
|
return { text, hasSeparatorLine };
|
|
13418
13443
|
}
|
|
13419
13444
|
|
|
13420
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13445
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/symbols.js
|
|
13421
13446
|
var MicrotaskDelay = Symbol("MicrotaskDelay");
|
|
13422
13447
|
|
|
13423
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13448
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/base/common/async.js
|
|
13424
13449
|
var runWhenGlobalIdle;
|
|
13425
13450
|
var _runWhenIdle;
|
|
13426
13451
|
(function() {
|
|
@@ -13481,6 +13506,9 @@ var DeferredPromise = class {
|
|
|
13481
13506
|
});
|
|
13482
13507
|
}
|
|
13483
13508
|
complete(value) {
|
|
13509
|
+
if (this.isSettled) {
|
|
13510
|
+
return Promise.resolve();
|
|
13511
|
+
}
|
|
13484
13512
|
return new Promise((resolve2) => {
|
|
13485
13513
|
this.completeCallback(value);
|
|
13486
13514
|
this.outcome = { outcome: 0, value };
|
|
@@ -13488,6 +13516,9 @@ var DeferredPromise = class {
|
|
|
13488
13516
|
});
|
|
13489
13517
|
}
|
|
13490
13518
|
error(err) {
|
|
13519
|
+
if (this.isSettled) {
|
|
13520
|
+
return Promise.resolve();
|
|
13521
|
+
}
|
|
13491
13522
|
return new Promise((resolve2) => {
|
|
13492
13523
|
this.errorCallback(err);
|
|
13493
13524
|
this.outcome = { outcome: 1, value: err };
|
|
@@ -13525,171 +13556,6 @@ var Promises;
|
|
|
13525
13556
|
}
|
|
13526
13557
|
Promises2.withAsyncBody = withAsyncBody;
|
|
13527
13558
|
})(Promises || (Promises = {}));
|
|
13528
|
-
var AsyncIterableObject = class _AsyncIterableObject {
|
|
13529
|
-
static fromArray(items) {
|
|
13530
|
-
return new _AsyncIterableObject((writer) => {
|
|
13531
|
-
writer.emitMany(items);
|
|
13532
|
-
});
|
|
13533
|
-
}
|
|
13534
|
-
static fromPromise(promise) {
|
|
13535
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
13536
|
-
emitter.emitMany(await promise);
|
|
13537
|
-
});
|
|
13538
|
-
}
|
|
13539
|
-
static fromPromisesResolveOrder(promises) {
|
|
13540
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
13541
|
-
await Promise.all(promises.map(async (p) => emitter.emitOne(await p)));
|
|
13542
|
-
});
|
|
13543
|
-
}
|
|
13544
|
-
static merge(iterables) {
|
|
13545
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
13546
|
-
await Promise.all(iterables.map(async (iterable) => {
|
|
13547
|
-
for await (const item of iterable) {
|
|
13548
|
-
emitter.emitOne(item);
|
|
13549
|
-
}
|
|
13550
|
-
}));
|
|
13551
|
-
});
|
|
13552
|
-
}
|
|
13553
|
-
static {
|
|
13554
|
-
this.EMPTY = _AsyncIterableObject.fromArray([]);
|
|
13555
|
-
}
|
|
13556
|
-
constructor(executor, onReturn) {
|
|
13557
|
-
this._state = 0;
|
|
13558
|
-
this._results = [];
|
|
13559
|
-
this._error = null;
|
|
13560
|
-
this._onReturn = onReturn;
|
|
13561
|
-
this._onStateChanged = new Emitter();
|
|
13562
|
-
queueMicrotask(async () => {
|
|
13563
|
-
const writer = {
|
|
13564
|
-
emitOne: (item) => this.emitOne(item),
|
|
13565
|
-
emitMany: (items) => this.emitMany(items),
|
|
13566
|
-
reject: (error) => this.reject(error)
|
|
13567
|
-
};
|
|
13568
|
-
try {
|
|
13569
|
-
await Promise.resolve(executor(writer));
|
|
13570
|
-
this.resolve();
|
|
13571
|
-
} catch (err) {
|
|
13572
|
-
this.reject(err);
|
|
13573
|
-
} finally {
|
|
13574
|
-
writer.emitOne = void 0;
|
|
13575
|
-
writer.emitMany = void 0;
|
|
13576
|
-
writer.reject = void 0;
|
|
13577
|
-
}
|
|
13578
|
-
});
|
|
13579
|
-
}
|
|
13580
|
-
[Symbol.asyncIterator]() {
|
|
13581
|
-
let i = 0;
|
|
13582
|
-
return {
|
|
13583
|
-
next: async () => {
|
|
13584
|
-
do {
|
|
13585
|
-
if (this._state === 2) {
|
|
13586
|
-
throw this._error;
|
|
13587
|
-
}
|
|
13588
|
-
if (i < this._results.length) {
|
|
13589
|
-
return { done: false, value: this._results[i++] };
|
|
13590
|
-
}
|
|
13591
|
-
if (this._state === 1) {
|
|
13592
|
-
return { done: true, value: void 0 };
|
|
13593
|
-
}
|
|
13594
|
-
await Event.toPromise(this._onStateChanged.event);
|
|
13595
|
-
} while (true);
|
|
13596
|
-
},
|
|
13597
|
-
return: async () => {
|
|
13598
|
-
this._onReturn?.();
|
|
13599
|
-
return { done: true, value: void 0 };
|
|
13600
|
-
}
|
|
13601
|
-
};
|
|
13602
|
-
}
|
|
13603
|
-
static map(iterable, mapFn) {
|
|
13604
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
13605
|
-
for await (const item of iterable) {
|
|
13606
|
-
emitter.emitOne(mapFn(item));
|
|
13607
|
-
}
|
|
13608
|
-
});
|
|
13609
|
-
}
|
|
13610
|
-
map(mapFn) {
|
|
13611
|
-
return _AsyncIterableObject.map(this, mapFn);
|
|
13612
|
-
}
|
|
13613
|
-
static filter(iterable, filterFn) {
|
|
13614
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
13615
|
-
for await (const item of iterable) {
|
|
13616
|
-
if (filterFn(item)) {
|
|
13617
|
-
emitter.emitOne(item);
|
|
13618
|
-
}
|
|
13619
|
-
}
|
|
13620
|
-
});
|
|
13621
|
-
}
|
|
13622
|
-
filter(filterFn) {
|
|
13623
|
-
return _AsyncIterableObject.filter(this, filterFn);
|
|
13624
|
-
}
|
|
13625
|
-
static coalesce(iterable) {
|
|
13626
|
-
return _AsyncIterableObject.filter(iterable, (item) => !!item);
|
|
13627
|
-
}
|
|
13628
|
-
coalesce() {
|
|
13629
|
-
return _AsyncIterableObject.coalesce(this);
|
|
13630
|
-
}
|
|
13631
|
-
static async toPromise(iterable) {
|
|
13632
|
-
const result = [];
|
|
13633
|
-
for await (const item of iterable) {
|
|
13634
|
-
result.push(item);
|
|
13635
|
-
}
|
|
13636
|
-
return result;
|
|
13637
|
-
}
|
|
13638
|
-
toPromise() {
|
|
13639
|
-
return _AsyncIterableObject.toPromise(this);
|
|
13640
|
-
}
|
|
13641
|
-
/**
|
|
13642
|
-
* The value will be appended at the end.
|
|
13643
|
-
*
|
|
13644
|
-
* **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect.
|
|
13645
|
-
*/
|
|
13646
|
-
emitOne(value) {
|
|
13647
|
-
if (this._state !== 0) {
|
|
13648
|
-
return;
|
|
13649
|
-
}
|
|
13650
|
-
this._results.push(value);
|
|
13651
|
-
this._onStateChanged.fire();
|
|
13652
|
-
}
|
|
13653
|
-
/**
|
|
13654
|
-
* The values will be appended at the end.
|
|
13655
|
-
*
|
|
13656
|
-
* **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect.
|
|
13657
|
-
*/
|
|
13658
|
-
emitMany(values) {
|
|
13659
|
-
if (this._state !== 0) {
|
|
13660
|
-
return;
|
|
13661
|
-
}
|
|
13662
|
-
this._results = this._results.concat(values);
|
|
13663
|
-
this._onStateChanged.fire();
|
|
13664
|
-
}
|
|
13665
|
-
/**
|
|
13666
|
-
* Calling `resolve()` will mark the result array as complete.
|
|
13667
|
-
*
|
|
13668
|
-
* **NOTE** `resolve()` must be called, otherwise all consumers of this iterable will hang indefinitely, similar to a non-resolved promise.
|
|
13669
|
-
* **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect.
|
|
13670
|
-
*/
|
|
13671
|
-
resolve() {
|
|
13672
|
-
if (this._state !== 0) {
|
|
13673
|
-
return;
|
|
13674
|
-
}
|
|
13675
|
-
this._state = 1;
|
|
13676
|
-
this._onStateChanged.fire();
|
|
13677
|
-
}
|
|
13678
|
-
/**
|
|
13679
|
-
* Writing an error will permanently invalidate this iterable.
|
|
13680
|
-
* The current users will receive an error thrown, as will all future users.
|
|
13681
|
-
*
|
|
13682
|
-
* **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect.
|
|
13683
|
-
*/
|
|
13684
|
-
reject(error) {
|
|
13685
|
-
if (this._state !== 0) {
|
|
13686
|
-
return;
|
|
13687
|
-
}
|
|
13688
|
-
this._state = 2;
|
|
13689
|
-
this._error = error;
|
|
13690
|
-
this._onStateChanged.fire();
|
|
13691
|
-
}
|
|
13692
|
-
};
|
|
13693
13559
|
var ProducerConsumer = class {
|
|
13694
13560
|
constructor() {
|
|
13695
13561
|
this._unsatisfiedConsumers = [];
|
|
@@ -13848,7 +13714,7 @@ var AsyncIterableProducer = class _AsyncIterableProducer {
|
|
|
13848
13714
|
};
|
|
13849
13715
|
var AsyncReaderEndOfStream = Symbol("AsyncReaderEndOfStream");
|
|
13850
13716
|
|
|
13851
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13717
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/model/prefixSumComputer.js
|
|
13852
13718
|
var PrefixSumComputer = class {
|
|
13853
13719
|
constructor(values) {
|
|
13854
13720
|
this.values = values;
|
|
@@ -13984,7 +13850,7 @@ var PrefixSumIndexOfResult = class {
|
|
|
13984
13850
|
}
|
|
13985
13851
|
};
|
|
13986
13852
|
|
|
13987
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13853
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/model/mirrorTextModel.js
|
|
13988
13854
|
var MirrorTextModel = class {
|
|
13989
13855
|
constructor(uri, lines, eol, versionId) {
|
|
13990
13856
|
this._uri = uri;
|
|
@@ -14075,7 +13941,7 @@ var MirrorTextModel = class {
|
|
|
14075
13941
|
}
|
|
14076
13942
|
};
|
|
14077
13943
|
|
|
14078
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
13944
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js
|
|
14079
13945
|
var STOP_SYNC_MODEL_DELTA_TIME_MS = 60 * 1e3;
|
|
14080
13946
|
var WorkerTextModelSyncServer = class {
|
|
14081
13947
|
constructor() {
|
|
@@ -14277,10 +14143,11 @@ var MirrorModel = class extends MirrorTextModel {
|
|
|
14277
14143
|
}
|
|
14278
14144
|
};
|
|
14279
14145
|
|
|
14280
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
14146
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/services/editorWebWorker.js
|
|
14281
14147
|
var EditorWorker = class _EditorWorker {
|
|
14282
14148
|
constructor(_foreignModule = null) {
|
|
14283
14149
|
this._foreignModule = _foreignModule;
|
|
14150
|
+
this._requestHandlerBrand = void 0;
|
|
14284
14151
|
this._workerTextModelSyncServer = new WorkerTextModelSyncServer();
|
|
14285
14152
|
}
|
|
14286
14153
|
dispose() {
|
|
@@ -14548,7 +14415,7 @@ if (typeof importScripts === "function") {
|
|
|
14548
14415
|
globalThis.monaco = createMonacoBaseAPI();
|
|
14549
14416
|
}
|
|
14550
14417
|
|
|
14551
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
14418
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/common/services/editorWorkerHost.js
|
|
14552
14419
|
var EditorWorkerHost = class _EditorWorkerHost {
|
|
14553
14420
|
static {
|
|
14554
14421
|
this.CHANNEL_NAME = "editorWorkerHost";
|
|
@@ -14561,7 +14428,7 @@ var EditorWorkerHost = class _EditorWorkerHost {
|
|
|
14561
14428
|
}
|
|
14562
14429
|
};
|
|
14563
14430
|
|
|
14564
|
-
// node_modules/.pnpm/monaco-editor-core@0.
|
|
14431
|
+
// node_modules/.pnpm/monaco-editor-core@0.55.1/node_modules/monaco-editor-core/esm/vs/editor/editor.worker.start.js
|
|
14565
14432
|
function start(createClient) {
|
|
14566
14433
|
let client;
|
|
14567
14434
|
const webWorkerServer = initialize((workerServer) => {
|