2022-06-03 19:30:11 +02:00
( ( ) => { "use strict" ; var _ _webpack _modules _ _ = { "./node_modules/monaco-editor/esm/vs/base/common/arrays.js" :
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / arrays . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "ArrayQueue": () => (/ * binding * / ArrayQueue),\n/ * harmony export * / "arrayInsert": () => (/ * binding * / arrayInsert),\n/ * harmony export * / "asArray": () => (/ * binding * / asArray),\n/ * harmony export * / "binarySearch": () => (/ * binding * / binarySearch),\n/ * harmony export * / "coalesce": () => (/ * binding * / coalesce),\n/ * harmony export * / "compareBy": () => (/ * binding * / compareBy),\n/ * harmony export * / "distinct": () => (/ * binding * / distinct),\n/ * harmony export * / "equals": () => (/ * binding * / equals),\n/ * harmony export * / "findFirstInSorted": () => (/ * binding * / findFirstInSorted),\n/ * harmony export * / "findLast": () => (/ * binding * / findLast),\n/ * harmony export * / "findLastMaxBy": () => (/ * binding * / findLastMaxBy),\n/ * harmony export * / "findMaxBy": () => (/ * binding * / findMaxBy),\n/ * harmony export * / "findMinBy": () => (/ * binding * / findMinBy),\n/ * harmony export * / "firstOrDefault": () => (/ * binding * / firstOrDefault),\n/ * harmony export * / "flatten": () => (/ * binding * / flatten),\n/ * harmony export * / "groupBy": () => (/ * binding * / groupBy),\n/ * harmony export * / "insertInto": () => (/ * binding * / insertInto),\n/ * harmony export * / "isFalsyOrEmpty": () => (/ * binding * / isFalsyOrEmpty),\n/ * harmony export * / "isNonEmptyArray": () => (/ * binding * / isNonEmptyArray),\n/ * harmony export * / "lastIndex": () => (/ * binding * / lastIndex),\n/ * harmony export * / "numberComparator": () => (/ * binding * / numberComparator),\n/ * harmony export * / "pushToEnd": () => (/ * binding * / pushToEnd),\n/ * harmony export * / "pushToStart": () => (/ * binding * / pushToStart),\n/ * harmony export * / "quickSelect": () => (/ * binding * / quickSelect),\n/ * harmony export * / "range": () => (/ * binding * / range),\n/ * harmony export * / "splice": () => (/ * binding * / splice),\n/ * harmony export * / "tail": () => (/ * binding * / tail),\n/ * harmony export * / "tail2": () => (/ * binding * / tail2)\n/ * harmony export * / });\n/ * * \ n * Returns the last element of an array . \ n * @ param array The array . \ n * @ param n Which element from the end ( default is zero ) . \ n * /\nfunction tail(array, n = 0) {\n return array[array.length - (1 + n)];\n}\nfunction tail2(arr) {\n if (arr.length === 0) {\n throw new Error(\'Invalid tail call\');\n }\n return [arr.slice(0, arr.length - 1), arr[arr.length - 1]];\n}\nfunction equals(one, other, itemEquals = (a, b) => a === b) {\n if (one === other) {\n return true;\n }\n if (!one || !other) {\n return false;\n }\n if (one.length !== other.length) {\n return false;\n }\n for (let i = 0, len = one.length; i < len; i++) {\n if (!itemEquals(one[i], other[i])) {\n return false;\n }\n }\n return true;\n}\nfunction binarySearch(array, key, comparator) {\n let low = 0, high = array.length - 1;\n while (low <= high) {\n const mid = ((low + high) / 2 ) | 0 ; \ n const comp = comparator ( array [ mid ] , key ) ; \ n if ( comp < 0 ) { \ n low = mid + 1 ; \ n } \ n else if ( comp > 0 ) { \ n high = mid - 1 ; \ n } \ n else { \ n return mid ; \ n } \ n } \ n return - ( low + 1 ) ; \ n } \ n /**\n * Takes a sorted array and a function p. The array is sorted in such a way that all elements where p(x) is false\n * are located before all elements where p(x) is true.\n * @returns the least x for which p(x) is true or array.length if no element fullfills the given function.\n */ \ nfunction findFirstInSorted ( array , p ) { \ n let low = 0 , high = array . length ; \ n if ( high === 0 ) { \ n return 0 ; // no children\n }\n while (low < high) {\n const mid = Math.floor((low + high) / 2);\n if (p(array[mid])) {\n high = mid;\n }\n
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / cache . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "LRUCachedComputed": () => (/ * binding * / LRUCachedComputed)\n/ * harmony export * / });\n/ * * \ n * Uses a LRU cache to make a given parametrized function cached . \ n * Caches just the last value . \ n * The key must be JSON serializable . \ n * /\nclass LRUCachedComputed {\n constructor(computeFn) {\n this.computeFn = computeFn;\n this.lastCache = undefined;\n this.lastArgKey = undefined;\n }\n get(arg) {\n const key = JSON.stringify(arg);\n if (this.lastArgKey !== key) {\n this.lastArgKey = key;\n this.lastCache = this.computeFn(arg);\n }\n return this.lastCache;\n }\n}\n\n\n/ / # sourceURL = webpack : //monanco_wpack/./node_modules/monaco-editor/esm/vs/base/common/cache.js?')},"./node_modules/monaco-editor/esm/vs/base/common/cancellation.js":
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / cancellation . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"CancellationToken\": () => (/ * binding * / CancellationToken),\n/ * harmony export * / \"CancellationTokenSource\": () => (/ * binding * / CancellationTokenSource)\n/ * harmony export * / });\n/ * harmony import * / var _event_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / event . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / e v e n t . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n c o n s t s h o r t c u t E v e n t = O b j e c t . f r e e z e ( f u n c t i o n ( c a l l b a c k , c o n t e x t ) { \ n c o n s t h a n d l e = s e t T i m e o u t ( c a l l b a c k . b i n d ( c o n t e x t ) , 0 ) ; \ n r e t u r n { d i s p o s e ( ) { c l e a r T i m e o u t ( h a n d l e ) ; } } ; \ n } ) ; \ n v a r C a n c e l l a t i o n T o k e n ; \ n ( f u n c t i o n ( C a n c e l l a t i o n T o k e n ) { \ n f u n c t i o n i s C a n c e l l a t i o n T o k e n ( t h i n g ) { \ n i f ( t h i n g = = = C a n c e l l a t i o n T o k e n . N o n e | | t h i n g = = = C a n c e l l a t i o n T o k e n . C a n c e l l e d ) { \ n r e t u r n t r u e ; \ n } \ n i f ( t h i n g i n s t a n c e o f M u t a b l e T o k e n ) { \ n r e t u r n t r u e ; \ n } \ n i f ( ! t h i n g | | t y p e o f t h i n g ! = = ' o b j e c t ' ) { \ n r e t u r n f a l s e ; \ n } \ n r e t u r n t y p e o f t h i n g . i s C a n c e l l a t i o n R e q u e s t e d = = = ' b o o l e a n ' \ n & & t y p e o f t h i n g . o n C a n c e l l a t i o n R e q u e s t e d = = = ' f u n c t i o n ' ; \ n } \ n C a n c e l l a t i o n T o k e n . i s C a n c e l l a t i o n T o k e n = i s C a n c e l l a t i o n T o k e n ; \ n C a n c e l l a t i o n T o k e n . N o n e = O b j e c t . f r e e z e ( { \ n i s C a n c e l l a t i o n R e q u e s t e d : f a l s e , \ n o n C a n c e l l a t i o n R e q u e s t e d : _ e v e n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . E v e n t . N o n e \ n } ) ; \ n C a n c e l l a t i o n T o k e n . C a n c e l l e d = O b j e c t . f r e e z e ( { \ n i s C a n c e l l a t i o n R e q u e s t e d : t r u e , \ n o n C a n c e l l a t i o n R e q u e s t e d : s h o r t c u t E v e n t \ n } ) ; \ n } ) ( C a n c e l l a t i o n T o k e n | | ( C a n c e l l a t i o n T o k e n = { } ) ) ; \ n c l a s s M u t a b l e T o k e n { \ n c o n s t r u c t o r ( ) { \ n t h i s . _ i s C a n c e l l e d = f a l s e ; \ n t h i s . _ e m i t t e r = n u l l ; \ n } \ n c a n c e l ( ) { \ n i f ( ! t h i s . _ i s C a n c e l l e d ) { \ n t h i s . _ i s C a n c e l l e d = t r u e ; \ n i f ( t h i s . _ e m i t t e r ) { \ n t h i s . _ e m i t t e r . f i r e ( u n d e f i n e d ) ; \ n t h i s . d i s p o s e ( ) ; \ n } \ n } \ n } \ n g e t i s C a n c e l l a t i o n R e q u e s t e d ( ) { \ n r e t u r n t h i s . _ i s C a n c e l l e d ; \ n } \ n g e t o n C a n c e l l a t i o n R e q u e s t e d ( ) { \ n i f ( t h i s . _ i s C a n c e l l e d ) { \ n r e t u r n s h o r t c u t E v e n t ; \ n } \ n i f ( ! t h i s . _ e m i t t e r ) { \ n t h i s . _ e m i t t e r = n e w _ e v e n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . E m i t t e r ( ) ; \ n } \ n r e t u r n t h i s . _ e m i t t e r . e v e n t ; \ n } \ n d i s p o s e ( ) { \ n i f ( t h i s . _ e m i t t e r ) { \ n t h i s . _ e m i t t e r . d i s p o s e ( ) ; \ n t h i s . _ e m i t t e r = n u l l ; \ n } \ n } \ n } \ n c l a s s C a n c e l l a t i o n T o k e n S o u r c e { \ n c o n s t r u c t o r ( p a r e n t ) { \ n t h i s . _ t o k e n = u n d e f i n e d ; \ n t h i s . _ p a r e n t L i s t e n e r = u n d e f i n e d ; \ n t h i s . _ p a r e n t L i s t e n e r = p a r e n t & & p a r e n t . o n C a n c e l l a t i o n R e q u e s t e d ( t h i s . c a n c e l , t h i s ) ; \ n } \ n g e t t o k e n ( ) { \ n i f ( ! t h i s . _ t o k e n ) { \ n / / b e l a z y a n d c r e a t e t h e t o k e n o n l y w h e n \ n / / a c t u a l l y n e e d e d \ n t h i s . _ t o k e n = n e w M u t a b l e T o k e n ( ) ; \ n } \ n r e t u r n t h i s . _ t o k e n ; \ n } \ n c a n c e l ( ) { \ n i f ( ! t h i s . _ t o k e n ) { \ n / / s a v e a n o b j e c t b y r e t u r n i n g t h e d e f a u l t \ n / / c a n c e l l e d t o k e n w h e n c a n c e l l a t i o n h a p p e n s \ n / / b e f o r e s o m e o n e a s k s f o r t h e t o k e n \ n t h i s . _ t o k e n = C a n c e l l a t i o n T o k e n . C a n c e l l e d ; \ n } \ n e l s e i f ( t h i s . _ t o k e n i n s t a n c e o f M u t a b l e T o k e n ) { \ n / / a c t u a l l y c a n c e l \ n t h i s . _ t o k e n . c a n c e l ( ) ; \ n } \ n } \ n d i s p o s e ( c a n c e l = f a l s e ) { \ n i f ( c a n c e l ) { \ n t h i s . c a n c e l ( ) ; \ n } \ n i f ( t h i s . _ p a r e n t L i s t e n e r ) { \ n t h i s . _ p a r e n t L i s t e n e r . d i s p o s e ( ) ; \ n
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / codicons . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"CSSIcon\": () => (/ * binding * / CSSIcon),\n/ * harmony export * / \"Codicon\": () => (/ * binding * / Codicon),\n/ * harmony export * / \"getCodiconAriaLabel\": () => (/ * binding * / getCodiconAriaLabel)\n/ * harmony export * / });\n/ / Selects all codicon names encapsulated in the ` $ () ` syntax and wraps the \ n // results with spaces so that screen readers can read the text better.\nfunction getCodiconAriaLabel(text) {\n if (!text) {\n return '';\n }\n return text.replace(/\\$\\((.*?)\\)/g, (_match, codiconName) => ` ${codiconName} `).trim();\n}\n/**\n * The Codicon library is a set of default icons that are built-in in VS Code.\n *\n * In the product (outside of base) Codicons should only be used as defaults. In order to have all icons in VS Code\n * themeable, component should define new, UI component specific icons using `iconRegistry.registerIcon`.\n * In that call a Codicon can be named as default.\n */\nclass Codicon {\n constructor(id, definition, description) {\n this.id = id;\n this.definition = definition;\n this.description = description;\n Codicon._allCodicons.push(this);\n }\n get classNames() { return 'codicon codicon-' + this.id; }\n // classNamesArray is useful for migrating to ES6 classlist\n get classNamesArray() { return ['codicon', 'codicon-' + this.id]; }\n get cssSelector() { return '.codicon.codicon-' + this.id; }\n /**\n * @returns Returns all default icons covered by the codicon font. Only to be used by the icon registry in platform.\n */\n static getAll() {\n return Codicon._allCodicons;\n }\n}\n// registry\nCodicon._allCodicons = [];\n// built-in icons, with image name\nCodicon.add = new Codicon('add', { fontCharacter: '\\\\ea60' });\nCodicon.plus = new Codicon('plus', Codicon.add.definition);\nCodicon.gistNew = new Codicon('gist-new', Codicon.add.definition);\nCodicon.repoCreate = new Codicon('repo-create', Codicon.add.definition);\nCodicon.lightbulb = new Codicon('lightbulb', { fontCharacter: '\\\\ea61' });\nCodicon.lightBulb = new Codicon('light-bulb', { fontCharacter: '\\\\ea61' });\nCodicon.repo = new Codicon('repo', { fontCharacter: '\\\\ea62' });\nCodicon.repoDelete = new Codicon('repo-delete', { fontCharacter: '\\\\ea62' });\nCodicon.gistFork = new Codicon('gist-fork', { fontCharacter: '\\\\ea63' });\nCodicon.repoForked = new Codicon('repo-forked', { fontCharacter: '\\\\ea63' });\nCodicon.gitPullRequest = new Codicon('git-pull-request', { fontCharacter: '\\\\ea64' });\nCodicon.gitPullRequestAbandoned = new Codicon('git-pull-request-abandoned', { fontCharacter: '\\\\ea64' });\nCodicon.recordKeys = new Codicon('record-keys', { fontCharacter: '\\\\ea65' });\nCodicon.keyboard = new Codicon('keyboard', { fontCharacter: '\\\\ea65' });\nCodicon.tag = new Codicon('tag', { fontCharacter: '\\\\ea66' });\nCodicon.tagAdd = new Codicon('tag-add', { fontCharacter: '\\\\ea66' });\nCodicon.tagRemove = new Codicon('tag-remove', { fontCharacter: '\\\\ea66' });\nCodicon.person = new Codicon('person', { fontCharacter: '\\\\ea67' });\nCodicon.personFollow = new Codicon('person-follow', { fontCharacter: '\\\\ea67' });\nCodicon.personOutline = new Codicon('person-outline', { fontCharacter: '\\\\ea67' });\nCodicon.personFilled = new Codicon('person-filled', { fontCharacter: '\\\\ea67' });\nCodicon.gitBranch = new Codicon('git-branch', { fontCharacter: '\\\\ea68' });\nCodicon.gitBranchCreate = new Codicon('git-branch-create', { fontCharacter: '\\\\ea68' });\nCodicon.gitBranchDelete = new Codicon('git-branch-delete', { fontCharacter: '\\\\ea68' });\nCodicon.sourceControl = new Codicon('source-control', { fontCharacter: '\\\\ea68' });\nCodicon.mirror = new Codicon('mirror', { fontCharacter: '\\\\ea69' });\nCodicon.mirrorPublic = new Codicon('mirror-public', {
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / diff / diff . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"Debug\": () => (/ * binding * / Debug),\n/ * harmony export * / \"LcsDiff\": () => (/ * binding * / LcsDiff),\n/ * harmony export * / \"MyArray\": () => (/ * binding * / MyArray),\n/ * harmony export * / \"StringDiffSequence\": () => (/ * binding * / StringDiffSequence),\n/ * harmony export * / \"stringDiff\": () => (/ * binding * / stringDiff)\n/ * harmony export * / });\n/ * harmony import * / var _diffChange_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / diffChange . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / d i f f / d i f f C h a n g e . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ h a s h _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / h a s h . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / h a s h . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n c l a s s S t r i n g D i f f S e q u e n c e { \ n c o n s t r u c t o r ( s o u r c e ) { \ n t h i s . s o u r c e = s o u r c e ; \ n } \ n g e t E l e m e n t s ( ) { \ n c o n s t s o u r c e = t h i s . s o u r c e ; \ n c o n s t c h a r a c t e r s = n e w I n t 3 2 A r r a y ( s o u r c e . l e n g t h ) ; \ n f o r ( l e t i = 0 , l e n = s o u r c e . l e n g t h ; i < l e n ; i + + ) { \ n c h a r a c t e r s [ i ] = s o u r c e . c h a r C o d e A t ( i ) ; \ n } \ n r e t u r n c h a r a c t e r s ; \ n } \ n } \ n f u n c t i o n s t r i n g D i f f ( o r i g i n a l , m o d i f i e d , p r e t t y ) { \ n r e t u r n n e w L c s D i f f ( n e w S t r i n g D i f f S e q u e n c e ( o r i g i n a l ) , n e w S t r i n g D i f f S e q u e n c e ( m o d i f i e d ) ) . C o m p u t e D i f f ( p r e t t y ) . c h a n g e s ; \ n } \ n / / \ n / / T h e c o d e b e l o w h a s b e e n p o r t e d f r o m a C # i m p l e m e n t a t i o n i n V S \ n / / \ n c l a s s D e b u g { \ n s t a t i c A s s e r t ( c o n d i t i o n , m e s s a g e ) { \ n i f ( ! c o n d i t i o n ) { \ n t h r o w n e w E r r o r ( m e s s a g e ) ; \ n } \ n } \ n } \ n c l a s s M y A r r a y { \ n / * * \ n * C o p i e s a r a n g e o f e l e m e n t s f r o m a n A r r a y s t a r t i n g a t t h e s p e c i f i e d s o u r c e i n d e x a n d p a s t e s \ n * t h e m t o a n o t h e r A r r a y s t a r t i n g a t t h e s p e c i f i e d d e s t i n a t i o n i n d e x . T h e l e n g t h a n d t h e i n d e x e s \ n * a r e s p e c i f i e d a s 6 4 - b i t i n t e g e r s . \ n * s o u r c e A r r a y : \ n * \ t \ t T h e A r r a y t h a t c o n t a i n s t h e d a t a t o c o p y . \ n * s o u r c e I n d e x : \ n * \ t \ t A 6 4 - b i t i n t e g e r t h a t r e p r e s e n t s t h e i n d e x i n t h e s o u r c e A r r a y a t w h i c h c o p y i n g b e g i n s . \ n * d e s t i n a t i o n A r r a y : \ n * \ t \ t T h e A r r a y t h a t r e c e i v e s t h e d a t a . \ n * d e s t i n a t i o n I n d e x : \ n * \ t \ t A 6 4 - b i t i n t e g e r t h a t r e p r e s e n t s t h e i n d e x i n t h e d e s t i n a t i o n A r r a y a t w h i c h s t o r i n g b e g i n s . \ n * l e n g t h : \ n * \ t \ t A 6 4 - b i t i n t e g e r t h a t r e p r e s e n t s t h e n u m b e r o f e l e m e n t s t o c o p y . \ n * / \ n s t a t i c C o p y ( s o u r c e A r r a y , s o u r c e I n d e x , d e s t i n a t i o n A r r a y , d e s t i n a t i o n I n d e x , l e n g t h ) { \ n f o r ( l e t i = 0 ; i < l e n g t h ; i + + ) { \ n d e s t i n a t i o n A r r a y [ d e s t i n a t i o n I n d e x + i ] = s o u r c e A r r a y [ s o u r c e I n d e x + i ] ; \ n } \ n } \ n s t a t i c C o p y 2 ( s o u r c e A r r a y , s o u r c e I n d e x , d e s t i n a t i o n A r r a y , d e s t i n a t i o n I n d e x , l e n g t h ) { \ n f o r ( l e t i = 0 ; i < l e n g t h ; i + + ) { \ n d e s t i n a t i o n A r r a y [ d e s t i n a t i o n I n d e x + i ] = s o u r c e A r r a y [ s o u r c e I n d e x + i ] ; \ n } \ n } \ n } \ n / * * \ n * A u t i l i t y c l a s s w h i c h h e l p s t o c r e a t e t h e s e t o f D i f f C h a n g e s f r o m \ n * a d i f f e r e n c e o p e r a t i o n . T h i s c l a s s a c c e p t s o r i g i n a l D i f f E l e m e n t s a n d \ n * m o d i f i e d D i f f E l e m e n t s t h a t a r e i n v o l v e d i n a p a r t i c u l a r c h a n g e . T h e \ n * M a r k N e x t C h a n g e ( ) m e t h o d c a n b e c a l l e d t o m a r k t h e s e p a r a t i o n b e t w e e n \ n * d i s t i n c t c h a n g e s . A t t h e e n d , t h e C h a n g e s p r o p e r t y c a n b e c a l l e d t o r e t r i e v e \ n * t h e c o n s t r u c t e d c h a n g e s . \ n * / \ n c l a s s D i f f C h a n g e H e l p e r { \ n / * * \ n * C o n s t r u c t s a n e w D i f f C h a n g e H e l p e r f o r t h e g i v e n D i f f S e q u e n c e s . \ n * / \ n c o n s t r u c t o r ( ) { \ n t h i s . m _ c h a n g e s = [ ] ; \ n t h i s . m _ o r i g i n a l S t a r t = 1 0 7 3 7 4 1 8 2 4 / * M A X _ S A F E _ S M A L L _ I N T E G E R * / ; \ n t h i s . m _ m o d i f i e d S t a r t = 1 0 7 3 7 4 1 8 2 4 / * M A X _ S A F E _ S M A L L _ I N T E G E R * / ; \ n t h i s .
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / diff / diffChange . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "DiffChange": () => (/ * binding * / DiffChange)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\n/ * * \ n * Represents information about a specific difference between two sequences . \ n * /\nclass DiffChange {\n / * * \ n * Constructs a new DiffChange with the given sequence information \ n * and content . \ n * /\n constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\n / / Debug . Assert ( originalLength > 0 || modifiedLength > 0 , "originalLength and modifiedLength cannot both be <= 0" ) ; \ n this . originalStart = originalStart ; \ n this . originalLength = originalLength ; \ n this . modifiedStart = modifiedStart ; \ n this . modifiedLength = modifiedLength ; \ n } \ n /**\n * The end point (exclusive) of the change in the original sequence.\n */ \ n getOriginalEnd ( ) { \ n return this . originalStart + this . originalLength ; \ n } \ n /**\n * The end point (exclusive) of the change in the modified sequence.\n */ \ n getModifiedEnd ( ) { \ n return this . modifiedStart + this . modifiedLength ; \ n } \ n } \ n \ n \ n //# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js?')},"./node_modules/monaco-editor/esm/vs/base/common/errors.js":
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / errors . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "CancellationError": () => (/ * binding * / CancellationError),\n/ * harmony export * / "ErrorHandler": () => (/ * binding * / ErrorHandler),\n/ * harmony export * / "NotSupportedError": () => (/ * binding * / NotSupportedError),\n/ * harmony export * / "canceled": () => (/ * binding * / canceled),\n/ * harmony export * / "errorHandler": () => (/ * binding * / errorHandler),\n/ * harmony export * / "illegalArgument": () => (/ * binding * / illegalArgument),\n/ * harmony export * / "illegalState": () => (/ * binding * / illegalState),\n/ * harmony export * / "isCancellationError": () => (/ * binding * / isCancellationError),\n/ * harmony export * / "onUnexpectedError": () => (/ * binding * / onUnexpectedError),\n/ * harmony export * / "onUnexpectedExternalError": () => (/ * binding * / onUnexpectedExternalError),\n/ * harmony export * / "transformErrorForSerialization": () => (/ * binding * / transformErrorForSerialization)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\n/ / Avoid circular dependency on EventEmitter by implementing a subset of the interface . \ nclass ErrorHandler { \ n constructor ( ) { \ n this . listeners = [ ] ; \ n this . unexpectedErrorHandler = function ( e ) { \ n setTimeout ( ( ) => { \ n if ( e . stack ) { \ n throw new Error ( e . message + \ '\\n\\n\' + e.stack);\n }\n throw e;\n }, 0);\n };\n }\n emit(e) {\n this.listeners.forEach((listener) => {\n listener(e);\n });\n }\n onUnexpectedError(e) {\n this.unexpectedErrorHandler(e);\n this.emit(e);\n }\n // For external errors, we don\'t want the listeners to be called\n onUnexpectedExternalError(e) {\n this.unexpectedErrorHandler(e);\n }\n}\nconst errorHandler = new ErrorHandler();\nfunction onUnexpectedError(e) {\n // ignore errors from cancelled promises\n if (!isCancellationError(e)) {\n errorHandler.onUnexpectedError(e);\n }\n return undefined;\n}\nfunction onUnexpectedExternalError(e) {\n // ignore errors from cancelled promises\n if (!isCancellationError(e)) {\n errorHandler.onUnexpectedExternalError(e);\n }\n return undefined;\n}\nfunction transformErrorForSerialization(error) {\n if (error instanceof Error) {\n let { name, message } = error;\n const stack = error.stacktrace || error.stack;\n return {\n $isError: true,\n name,\n message,\n stack\n };\n }\n // return as is\n return error;\n}\nconst canceledName = \'Canceled\';\n/**\n * Checks if the given error is a promise in canceled state\n */\nfunction isCancellationError(error) {\n if (error instanceof CancellationError) {\n return true;\n }\n return error instanceof Error && error.name === canceledName && error.message === canceledName;\n}\n// !!!IMPORTANT!!!\n// Do NOT change this class because it is also used as an API-type.\nclass CancellationError extends Error {\n constructor() {\n super(canceledName);\n this.name = this.message;\n }\n}\n/**\n * @deprecated use {@link CancellationError `new CancellationError()`} instead\n */\nfunction canceled() {\n const error = new Error(canceledName);\n error.name = error.message;\n return error;\n}\nfunction illegalArgument(name) {\n if (name) {\n return new Error(`Illegal argument: ${name}`);\n }\n else {\n return new Error(\' Illegal
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / event . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "DebounceEmitter": () => (/ * binding * / DebounceEmitter),\n/ * harmony export * / "Emitter": () => (/ * binding * / Emitter),\n/ * harmony export * / "Event": () => (/ * binding * / Event),\n/ * harmony export * / "EventBufferer": () => (/ * binding * / EventBufferer),\n/ * harmony export * / "PauseableEmitter": () => (/ * binding * / PauseableEmitter),\n/ * harmony export * / "Relay": () => (/ * binding * / Relay)\n/ * harmony export * / });\n/ * harmony import * / var _errors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / errors . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / e r r o r s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ l i f e c y c l e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / l i f e c y c l e . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / l i f e c y c l e . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ l i n k e d L i s t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / l i n k e d L i s t . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / l i n k e d L i s t . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ s t o p w a t c h _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / s t o p w a t c h . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t o p w a t c h . j s " ) ; \ n \ n \ n \ n \ n / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n / / U n c o m m e n t t h e n e x t l i n e t o p r i n t w a r n i n g s w h e n e v e r a n e m i t t e r w i t h l i s t e n e r s i s d i s p o s e d . T h a t i s a s i g n o f c o d e s m e l l . \ n / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n l e t _ e n a b l e D i s p o s e W i t h L i s t e n e r W a r n i n g = f a l s e ; \ n / / _ e n a b l e D i s p o s e W i t h L i s t e n e r W a r n i n g = B o o l e a n ( " T R U E " ) ; / / c a u s e s a l i n t e r w a r n i n g s o t h a t i t c a n n o t b e p u s h e d \ n / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n / / U n c o m m e n t t h e n e x t l i n e t o p r i n t w a r n i n g s w h e n e v e r a s n a p s h o t t e d e v e n t i s u s e d r e p e a t e d l y w i t h o u t c l e a n u p . \ n / / S e e h t t p s : / / g i t h u b . c o m / m i c r o s o f t / v s c o d e / i s s u e s / 1 4 2 8 5 1 \ n / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n l e t _ e n a b l e S n a p s h o t P o t e n t i a l L e a k W a r n i n g = f a l s e ; \ n v a r E v e n t ; \ n ( f u n c t i o n ( E v e n t ) { \ n E v e n t . N o n e = ( ) = > _ l i f e c y c l e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . D i s p o s a b l e . N o n e ; \ n f u n c t i o n _ a d d L e a k a g e T r a c e L o g i c ( o p t i o n s ) { \ n i f ( _ e n a b l e S n a p s h o t P o t e n t i a l L e a k W a r n i n g ) { \ n c o n s t { o n L i s t e n e r D i d A d d : o r i g L i s t e n e r D i d A d d } = o p t i o n s ; \ n c o n s t s t a c k = S t a c k t r a c e . c r e a t e ( ) ; \ n l e t c o u n t = 0 ; \ n o p t i o n s . o n L i s t e n e r D i d A d d = ( ) = > { \ n i f ( + + c o u n t = = = 2 ) { \ n c o n s o l e . w a r n ( \ ' s n a p s h o t t e d e m i t t e r L I K E L Y u s e d p u b l i c a n d S H O U L D H A V E B E E N c r e a t e d w i t h D i s p o s a b l e S t o r e . s n a p s h o t t e d h e r e \ ' ) ; \ n s t a c k . p r i n t ( ) ; \ n } \ n o r i g L i s t e n e r D i d A d d = = = n u l l | | o r i g L i s t e n e r D i d A d d = = = v o i d 0 ? v o i d 0 : o r i g L i s t e n e r D i d A d d ( ) ; \ n } ; \ n } \ n } \ n / * * \ n * G i v e n a n e v e n t , r e t u r n s a n o t h e r e v e n t w h i c h o n l y f i r e s o n c e . \ n * / \ n f u n c t i o n o n c e ( e v e n t ) { \ n r e t u r n ( l i s t e n e r , t h i s A r g s = n u l l , d i s p o s a b l e s ) = > { \ n / / w e n e e d t h i s , i n c a s e t h e e v e n t f i r e s d u r i n g t h e l i s t e n e r c a l l \ n l e t d i d F i r e = f a l s e ; \ n l e t r e s u l t ; \ n r e s u l t = e v e n t ( e = > { \ n i f ( d i d F i r e ) { \ n r e t u r n ; \ n } \ n e l s e i f ( r e s u l t ) { \ n r e s u l t . d i s p o s e ( ) ; \ n } \ n e l s e { \ n d i d F i r e = t r u e ; \ n } \ n r e t u r n l i s t e n e r . c a l l ( t h i s A r g s , e ) ; \ n } , n u l l , d i s p o s a b l e s ) ; \ n i f ( d i d F i r e ) { \ n r e s u l t . d i s p o s e ( ) ; \ n } \ n r e t u r n r e s u l t ; \ n } ; \ n } \ n E v e n t . o n c e = o n c e ; \ n / * * \ n * * N O T E * t h a t t h i s
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / functional . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "once": () => (/ * binding * / once)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nfunction once(fn) {\n const _this = this;\n let didCall = false;\n let result;\n return function () {\n if (didCall) {\n return result;\n }\n didCall = true;\n result = fn.apply(_this, arguments);\n return result;\n };\n}\n\n\n/ / # sourceURL = webpack : //monanco_wpack/./node_modules/monaco-editor/esm/vs/base/common/functional.js?')},"./node_modules/monaco-editor/esm/vs/base/common/hash.js":
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / hash . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"StringSHA1\": () => (/ * binding * / StringSHA1),\n/ * harmony export * / \"doHash\": () => (/ * binding * / doHash),\n/ * harmony export * / \"hash\": () => (/ * binding * / hash),\n/ * harmony export * / \"numberHash\": () => (/ * binding * / numberHash),\n/ * harmony export * / \"stringHash\": () => (/ * binding * / stringHash),\n/ * harmony export * / \"toHexString\": () => (/ * binding * / toHexString)\n/ * harmony export * / });\n/ * harmony import * / var _strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / strings . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n / * * \ n * R e t u r n a h a s h v a l u e f o r a n o b j e c t . \ n * / \ n f u n c t i o n h a s h ( o b j ) { \ n r e t u r n d o H a s h ( o b j , 0 ) ; \ n } \ n f u n c t i o n d o H a s h ( o b j , h a s h V a l ) { \ n s w i t c h ( t y p e o f o b j ) { \ n c a s e ' o b j e c t ' : \ n i f ( o b j = = = n u l l ) { \ n r e t u r n n u m b e r H a s h ( 3 4 9 , h a s h V a l ) ; \ n } \ n e l s e i f ( A r r a y . i s A r r a y ( o b j ) ) { \ n r e t u r n a r r a y H a s h ( o b j , h a s h V a l ) ; \ n } \ n r e t u r n o b j e c t H a s h ( o b j , h a s h V a l ) ; \ n c a s e ' s t r i n g ' : \ n r e t u r n s t r i n g H a s h ( o b j , h a s h V a l ) ; \ n c a s e ' b o o l e a n ' : \ n r e t u r n b o o l e a n H a s h ( o b j , h a s h V a l ) ; \ n c a s e ' n u m b e r ' : \ n r e t u r n n u m b e r H a s h ( o b j , h a s h V a l ) ; \ n c a s e ' u n d e f i n e d ' : \ n r e t u r n n u m b e r H a s h ( 9 3 7 , h a s h V a l ) ; \ n d e f a u l t : \ n r e t u r n n u m b e r H a s h ( 6 1 7 , h a s h V a l ) ; \ n } \ n } \ n f u n c t i o n n u m b e r H a s h ( v a l , i n i t i a l H a s h V a l ) { \ n r e t u r n ( ( ( i n i t i a l H a s h V a l < < 5 ) - i n i t i a l H a s h V a l ) + v a l ) | 0 ; / / h a s h V a l * 3 1 + c h , k e e p a s i n t 3 2 \ n } \ n f u n c t i o n b o o l e a n H a s h ( b , i n i t i a l H a s h V a l ) { \ n r e t u r n n u m b e r H a s h ( b ? 4 3 3 : 8 6 3 , i n i t i a l H a s h V a l ) ; \ n } \ n f u n c t i o n s t r i n g H a s h ( s , h a s h V a l ) { \ n h a s h V a l = n u m b e r H a s h ( 1 4 9 4 1 7 , h a s h V a l ) ; \ n f o r ( l e t i = 0 , l e n g t h = s . l e n g t h ; i < l e n g t h ; i + + ) { \ n h a s h V a l = n u m b e r H a s h ( s . c h a r C o d e A t ( i ) , h a s h V a l ) ; \ n } \ n r e t u r n h a s h V a l ; \ n } \ n f u n c t i o n a r r a y H a s h ( a r r , i n i t i a l H a s h V a l ) { \ n i n i t i a l H a s h V a l = n u m b e r H a s h ( 1 0 4 5 7 9 , i n i t i a l H a s h V a l ) ; \ n r e t u r n a r r . r e d u c e ( ( h a s h V a l , i t e m ) = > d o H a s h ( i t e m , h a s h V a l ) , i n i t i a l H a s h V a l ) ; \ n } \ n f u n c t i o n o b j e c t H a s h ( o b j , i n i t i a l H a s h V a l ) { \ n i n i t i a l H a s h V a l = n u m b e r H a s h ( 1 8 1 3 8 7 , i n i t i a l H a s h V a l ) ; \ n r e t u r n O b j e c t . k e y s ( o b j ) . s o r t ( ) . r e d u c e ( ( h a s h V a l , k e y ) = > { \ n h a s h V a l = s t r i n g H a s h ( k e y , h a s h V a l ) ; \ n r e t u r n d o H a s h ( o b j [ k e y ] , h a s h V a l ) ; \ n } , i n i t i a l H a s h V a l ) ; \ n } \ n f u n c t i o n l e f t R o t a t e ( v a l u e , b i t s , t o t a l B i t s = 3 2 ) { \ n / / d e l t a + b i t s = t o t a l B i t s \ n c o n s t d e l t a = t o t a l B i t s - b i t s ; \ n / / A l l o n e s , e x p e c t ` d e l t a ` z e r o s a l i g n e d t o t h e r i g h t \ n c o n s t m a s k = ~ ( ( 1 < < d e l t a ) - 1 ) ; \ n / / J o i n ( v a l u e l e f t - s h i f t e d ` b i t s ` b i t s ) w i t h ( m a s k e d v a l u e r i g h t - s h i f t e d ` d e l t a ` b i t s ) \ n r e t u r n ( ( v a l u e < < b i t s ) | ( ( m a s k & v a l u e ) > > > d e l t a ) ) > > > 0 ; \ n } \ n f u n c t i o n f i l l ( d e s t , i n d e x = 0 , c o u n t = d e s t . b y t e L e n g t h , v a l u e = 0 ) { \ n f o r ( l e t i = 0 ; i < c o u n t ; i + + ) { \ n d e s t [ i n d e x + i ] = v a l u e ; \ n } \ n } \ n f u n c t i o n l e f t P a d ( v a l u e , l e n g t h , c h a r = ' 0 ' ) { \ n w h i l e ( v a l u e . l e n g t h < l e n g t h ) { \ n v a l u e = c h a r + v a l u e ; \ n } \ n r e t u r n v a l u e ; \ n } \ n f u n c t i o n t o H e x S t r i n g ( b u f f e r O r V a l u e , b i t s i z e = 3 2 ) { \ n i f ( b u f f e r O r V a l u e i n s t a n c e o f A r r a y B u f f e r ) { \ n r e t u r n A r r a y . f r o m ( n e w U i n t 8 A r r a y ( b u f f e r O r V a l u e ) ) . m a p ( b = > b . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , ' 0 ' ) ) . j o i n ( ' ' ) ; \ n } \ n r e t u r n l e f t P a d ( ( b u f f e r O r V a l u e > > > 0 ) . t o S t r i n g ( 1 6 ) , b i t s i z e / 4 ) ; \ n } \ n / * * \ n * A S H A 1 i m p l e m e n t a t i o n t h a t w o r k s w i t h s t r i n g s a n d d o e s n o t a l l o c a t e . \ n * / \ n c l a s s S t r i n g S H A 1 { \ n c o n s t r u c t o r ( ) { \ n t h i s . _ h 0 = 0 x 6 7
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / iterator . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"Iterable\": () => (/ * binding * / Iterable)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nvar Iterable;\n(function (Iterable) {\n function is(thing) {\n return thing && typeof thing === 'object' && typeof thing[Symbol.iterator] === 'function';\n }\n Iterable.is = is;\n const _empty = Object.freeze([]);\n function empty() {\n return _empty;\n }\n Iterable.empty = empty;\n function* single(element) {\n yield element;\n }\n Iterable.single = single;\n function from(iterable) {\n return iterable || _empty;\n }\n Iterable.from = from;\n function isEmpty(iterable) {\n return !iterable || iterable[Symbol.iterator]().next().done === true;\n }\n Iterable.isEmpty = isEmpty;\n function first(iterable) {\n return iterable[Symbol.iterator]().next().value;\n }\n Iterable.first = first;\n function some(iterable, predicate) {\n for (const element of iterable) {\n if (predicate(element)) {\n return true;\n }\n }\n return false;\n }\n Iterable.some = some;\n function find(iterable, predicate) {\n for (const element of iterable) {\n if (predicate(element)) {\n return element;\n }\n }\n return undefined;\n }\n Iterable.find = find;\n function* filter(iterable, predicate) {\n for (const element of iterable) {\n if (predicate(element)) {\n yield element;\n }\n }\n }\n Iterable.filter = filter;\n function* map(iterable, fn) {\n let index = 0;\n for (const element of iterable) {\n yield fn(element, index++);\n }\n }\n Iterable.map = map;\n function* concat(...iterables) {\n for (const iterable of iterables) {\n for (const element of iterable) {\n yield element;\n }\n }\n }\n Iterable.concat = concat;\n function* concatNested(iterables) {\n for (const iterable of iterables) {\n for (const element of iterable) {\n yield element;\n }\n }\n }\n Iterable.concatNested = concatNested;\n function reduce(iterable, reducer, initialValue) {\n let value = initialValue;\n for (const element of iterable) {\n value = reducer(value, element);\n }\n return value;\n }\n Iterable.reduce = reduce;\n / * * \ n * Returns an iterable slice of the array , with the same semantics as ` array.slice() ` . \ n * /\n function* slice(arr, from, to = arr.length) {\n if (from < 0) {\n from += arr.length;\n }\n if (to < 0) {\n to += arr.length;\n }\n else if (to > arr.length) {\n to = arr.length;\n }\n for (; from < to; from++) {\n yield arr[from];\n }\n }\n Iterable.slice = slice;\n / * * \ n * Consumes ` atMost ` elements from iterable and returns the consumed elements , \ n * and an iterable for the rest of the elements . \ n * / \ n f u n c t i o n c o n s u m e ( i t e r a b l e , a t M o s t = N u m b e r . P O S I T I V E _ I N F I N I T Y ) { \ n c o n s t c o n s u m e d = [ ] ; \ n i f ( a t M o s t = = = 0 ) { \ n r e t u r n [ c o n s u m e d , i t e r a b l e ] ; \ n } \ n c o n s t i t e r a t o r = i t e r a b l e [ S y m b o l . i t e r a t o r ] ( ) ; \ n f o r ( l e t i = 0 ; i < a t M o s t ; i + + ) { \ n c o n s t n e x t = i t e r a t o r . n e x t ( ) ; \ n i f ( n e x
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / keyCodes . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"EVENT_KEY_CODE_MAP\": () => (/ * binding * / EVENT_KEY_CODE_MAP),\n/ * harmony export * / \"IMMUTABLE_CODE_TO_KEY_CODE\": () => (/ * binding * / IMMUTABLE_CODE_TO_KEY_CODE),\n/ * harmony export * / \"IMMUTABLE_KEY_CODE_TO_CODE\": () => (/ * binding * / IMMUTABLE_KEY_CODE_TO_CODE),\n/ * harmony export * / \"KeyChord\": () => (/ * binding * / KeyChord),\n/ * harmony export * / \"KeyCodeUtils\": () => (/ * binding * / KeyCodeUtils),\n/ * harmony export * / \"NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE\": () => (/ * binding * / NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nclass KeyCodeStrMap {\n constructor() {\n this._keyCodeToStr = [];\n this._strToKeyCode = Object.create(null);\n }\n define(keyCode, str) {\n this._keyCodeToStr[keyCode] = str;\n this._strToKeyCode[str.toLowerCase()] = keyCode;\n }\n keyCodeToStr(keyCode) {\n return this._keyCodeToStr[keyCode];\n }\n strToKeyCode(str) {\n return this._strToKeyCode[str.toLowerCase()] || 0 / * Unknown * /;\n }\n}\nconst uiMap = new KeyCodeStrMap();\nconst userSettingsUSMap = new KeyCodeStrMap();\nconst userSettingsGeneralMap = new KeyCodeStrMap();\nconst EVENT_KEY_CODE_MAP = new Array(230);\nconst NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {};\nconst scanCodeIntToStr = [];\nconst scanCodeStrToInt = Object.create(null);\nconst scanCodeLowerCaseStrToInt = Object.create(null);\n/ * * \ n * - 1 if a ScanCode => KeyCode mapping depends on kb layout . \ n * /\nconst IMMUTABLE_CODE_TO_KEY_CODE = [];\n/ * * \ n * - 1 if a KeyCode => ScanCode mapping depends on kb layout . \ n * /\nconst IMMUTABLE_KEY_CODE_TO_CODE = [];\nfor (let i = 0; i <= 193 / * MAX _VALUE * /; i++) {\n IMMUTABLE_CODE_TO_KEY_CODE[i] = -1 / * DependsOnKbLayout * /;\n}\nfor (let i = 0; i <= 127 / * MAX _VALUE * /; i++) {\n IMMUTABLE_KEY_CODE_TO_CODE[i] = -1 / * DependsOnKbLayout * /;\n}\n(function () {\n / / See https : //msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx\n // See https://github.com/microsoft/node-native-keymap/blob/master/deps/chromium/keyboard_codes_win.h\n const empty = '';\n const mappings = [\n // keyCodeOrd, immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel\n [0, 1, 0 /* None */, 'None', 0 /* Unknown */, 'unknown', 0, 'VK_UNKNOWN', empty, empty],\n [0, 1, 1 /* Hyper */, 'Hyper', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 2 /* Super */, 'Super', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 3 /* Fn */, 'Fn', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 4 /* FnLock */, 'FnLock', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 5 /* Suspend */, 'Suspend', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 6 /* Resume */, 'Resume', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 7 /* Turbo */, 'Turbo', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [0, 1, 8 /* Sleep */, 'Sleep', 0 /* Unknown */, empty, 0, 'VK_SLEEP', empty, empty],\n [0, 1, 9 /* WakeUp */, 'WakeUp', 0 /* Unknown */, empty, 0, empty, empty, empty],\n [31, 0, 10 /* KeyA */, 'KeyA', 31 /* KeyA */, 'A', 65, 'VK_A', empty, empty],\n [32, 0, 11 /* KeyB */, 'KeyB', 32 /* KeyB */, 'B', 66, 'VK_B', empty, empty],\n [33, 0, 12 /* KeyC */, 'KeyC', 33 /* KeyC */, 'C', 67, 'VK_C', empty, empty],\n [34, 0, 13 /*
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / lazy . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "Lazy": () => (/ * binding * / Lazy)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nclass Lazy {\n constructor(executor) {\n this.executor = executor;\n this._didRun = false;\n }\n / * * \ n * Get the wrapped value . \ n * \ n * This will force evaluation of the lazy value if it has not been resolved yet . Lazy values are only \ n * resolved once . ` getValue ` will re - throw exceptions that are hit while resolving the value \ n * /\n getValue() {\n if (!this._didRun) {\n try {\n this._value = this.executor();\n }\n catch (err) {\n this._error = err;\n }\n finally {\n this._didRun = true;\n }\n }\n if (this._error) {\n throw this._error;\n }\n return this._value;\n }\n / * * \ n * Get the wrapped value without forcing evaluation . \ n * /\n get rawValue() { return this._value; }\n}\n\n\n/ / # sourceURL = webpack : //monanco_wpack/./node_modules/monaco-editor/esm/vs/base/common/lazy.js?')},"./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js":
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / lifecycle . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "Disposable": () => (/ * binding * / Disposable),\n/ * harmony export * / "DisposableStore": () => (/ * binding * / DisposableStore),\n/ * harmony export * / "ImmortalReference": () => (/ * binding * / ImmortalReference),\n/ * harmony export * / "MultiDisposeError": () => (/ * binding * / MultiDisposeError),\n/ * harmony export * / "MutableDisposable": () => (/ * binding * / MutableDisposable),\n/ * harmony export * / "SafeDisposable": () => (/ * binding * / SafeDisposable),\n/ * harmony export * / "combinedDisposable": () => (/ * binding * / combinedDisposable),\n/ * harmony export * / "dispose": () => (/ * binding * / dispose),\n/ * harmony export * / "isDisposable": () => (/ * binding * / isDisposable),\n/ * harmony export * / "markAsSingleton": () => (/ * binding * / markAsSingleton),\n/ * harmony export * / "setDisposableTracker": () => (/ * binding * / setDisposableTracker),\n/ * harmony export * / "toDisposable": () => (/ * binding * / toDisposable)\n/ * harmony export * / });\n/ * harmony import * / var _functional_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / functional . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / f u n c t i o n a l . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ i t e r a t o r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / i t e r a t o r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / i t e r a t o r . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n / * * \ n * E n a b l e s l o g g i n g o f p o t e n t i a l l y l e a k e d d i s p o s a b l e s . \ n * \ n * A d i s p o s a b l e i s c o n s i d e r e d l e a k e d i f i t i s n o t d i s p o s e d o r n o t r e g i s t e r e d a s t h e c h i l d o f \ n * a n o t h e r d i s p o s a b l e . T h i s t r a c k i n g i s v e r y s i m p l e a n o n l y w o r k s f o r c l a s s e s t h a t e i t h e r \ n * e x t e n d D i s p o s a b l e o r u s e a D i s p o s a b l e S t o r e . T h i s m e a n s t h e r e a r e a l o t o f f a l s e p o s i t i v e s . \ n * / \ n c o n s t T R A C K _ D I S P O S A B L E S = f a l s e ; \ n l e t d i s p o s a b l e T r a c k e r = n u l l ; \ n f u n c t i o n s e t D i s p o s a b l e T r a c k e r ( t r a c k e r ) { \ n d i s p o s a b l e T r a c k e r = t r a c k e r ; \ n } \ n i f ( T R A C K _ D I S P O S A B L E S ) { \ n c o n s t _ _ i s _ d i s p o s a b l e _ t r a c k e d _ _ = \ ' _ _ i s _ d i s p o s a b l e _ t r a c k e d _ _ \ ' ; \ n s e t D i s p o s a b l e T r a c k e r ( n e w c l a s s { \ n t r a c k D i s p o s a b l e ( x ) { \ n c o n s t s t a c k = n e w E r r o r ( \ ' P o t e n t i a l l y l e a k e d d i s p o s a b l e \ ' ) . s t a c k ; \ n s e t T i m e o u t ( ( ) = > { \ n i f ( ! x [ _ _ i s _ d i s p o s a b l e _ t r a c k e d _ _ ] ) { \ n c o n s o l e . l o g ( s t a c k ) ; \ n } \ n } , 3 0 0 0 ) ; \ n } \ n s e t P a r e n t ( c h i l d , p a r e n t ) { \ n i f ( c h i l d & & c h i l d ! = = D i s p o s a b l e . N o n e ) { \ n t r y { \ n c h i l d [ _ _ i s _ d i s p o s a b l e _ t r a c k e d _ _ ] = t r u e ; \ n } \ n c a t c h ( _ a ) { \ n / / n o o p \ n } \ n } \ n } \ n m a r k A s D i s p o s e d ( d i s p o s a b l e ) { \ n i f ( d i s p o s a b l e & & d i s p o s a b l e ! = = D i s p o s a b l e . N o n e ) { \ n t r y { \ n d i s p o s a b l e [ _ _ i s _ d i s p o s a b l e _ t r a c k e d _ _ ] = t r u e ; \ n } \ n c a t c h ( _ a ) { \ n / / n o o p \ n } \ n } \ n } \ n m a r k A s S i n g l e t o n ( d i s p o s a b l e ) { } \ n } ) ; \ n } \ n f u n c t i o n t r a c k D i s p o s a b l e ( x ) { \ n d i s p o s a b l e T r a c k e r = = = n u l l | | d i s p o s a b l e T r a c k e r = = = v o i d 0 ? v o i d 0 : d i s p o s a b l e T r a c k e r . t r a c k D i s p o s a b l e ( x ) ; \ n r e t u r n x ; \ n } \ n f u n c t i o n m a r k A s D i s p o s e d ( d i s p o s a b l e ) { \ n d i s p o s a b l e T r a c k e r = = = n u l l | | d i s p o s a b l e T r a c k e r = = = v o i d 0 ? v o i d 0 : d i s p o s a b l e T r a c k e r . m a r k A s D i s p o s e d ( d i s p o s a b l e ) ; \ n } \ n f u n c t i o n s e t P a r e n t O f D i s p o s a b l e ( c h i l d , p a r e n t ) { \ n d i s p o s a b l e T r a c k e r = = = n u l l | | d i s p o s a b l e T r a c k e r = = = v o i d 0 ? v o i d 0 : d i s p o s a b l e T r a c k e r . s e t P a r e n t ( c h i l d , p a r e n t ) ; \ n } \ n f u n c t i o n s e t P a r e n t O f D i s p o s a b l e s ( c h i l d r e n , p a
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / linkedList . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "LinkedList": () => (/ * binding * / LinkedList)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nclass Node {\n constructor(element) {\n this.element = element;\n this.next = Node.Undefined;\n this.prev = Node.Undefined;\n }\n}\nNode.Undefined = new Node(undefined);\nclass LinkedList {\n constructor() {\n this._first = Node.Undefined;\n this._last = Node.Undefined;\n this._size = 0;\n }\n get size() {\n return this._size;\n }\n isEmpty() {\n return this._first === Node.Undefined;\n }\n clear() {\n let node = this._first;\n while (node !== Node.Undefined) {\n const next = node.next;\n node.prev = Node.Undefined;\n node.next = Node.Undefined;\n node = next;\n }\n this._first = Node.Undefined;\n this._last = Node.Undefined;\n this._size = 0;\n }\n unshift(element) {\n return this._insert(element, false);\n }\n push(element) {\n return this._insert(element, true);\n }\n _insert(element, atTheEnd) {\n const newNode = new Node(element);\n if (this._first === Node.Undefined) {\n this._first = newNode;\n this._last = newNode;\n }\n else if (atTheEnd) {\n / / push \ n const oldLast = this . _last ; \ n this . _last = newNode ; \ n newNode . prev = oldLast ; \ n oldLast . next = newNode ; \ n } \ n else { \ n // unshift\n const oldFirst = this._first;\n this._first = newNode;\n newNode.next = oldFirst;\n oldFirst.prev = newNode;\n }\n this._size += 1;\n let didRemove = false;\n return () => {\n if (!didRemove) {\n didRemove = true;\n this._remove(newNode);\n }\n };\n }\n shift() {\n if (this._first === Node.Undefined) {\n return undefined;\n }\n else {\n const res = this._first.element;\n this._remove(this._first);\n return res;\n }\n }\n pop() {\n if (this._last === Node.Undefined) {\n return undefined;\n }\n else {\n const res = this._last.element;\n this._remove(this._last);\n return res;\n }\n }\n _remove(node) {\n if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {\n // middle\n const anchor = node.prev;\n anchor.next = node.next;\n node.next.prev = anchor;\n }\n else if (node.prev === Node.Undefined && node.next === Node.Undefined) {\n // only node\n this._first = Node.Undefined;\n this._last = Node.Undefined;\n }\n else if (node.next === Node.Undefined) {\n // last\n this._last = this._last.prev;\n this._last.next = Node.Undefined;\n }\n else if (node.prev === Node.Undefined) {\n // first\n this._first = this._first.next;\n this._first.prev = Node.Undefined;\n }\n // done\n this._size -= 1;\n }\n *[Symbol.iterator]() {\n let node = this._first;\n while (node !== Node.Undefined) {\n yield node.element;\n node = node.next;\n }\n }\n}\n\n\n//# sourceURL=webpack:
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / objects . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"cloneAndChange\": () => (/ * binding * / cloneAndChange),\n/ * harmony export * / \"deepClone\": () => (/ * binding * / deepClone),\n/ * harmony export * / \"deepFreeze\": () => (/ * binding * / deepFreeze),\n/ * harmony export * / \"equals\": () => (/ * binding * / equals),\n/ * harmony export * / \"getOrDefault\": () => (/ * binding * / getOrDefault),\n/ * harmony export * / \"mixin\": () => (/ * binding * / mixin)\n/ * harmony export * / });\n/ * harmony import * / var _types_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / types . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / t y p e s . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n f u n c t i o n d e e p C l o n e ( o b j ) { \ n i f ( ! o b j | | t y p e o f o b j ! = = ' o b j e c t ' ) { \ n r e t u r n o b j ; \ n } \ n i f ( o b j i n s t a n c e o f R e g E x p ) { \ n / / S e e h t t p s : / / g i t h u b . c o m / m i c r o s o f t / T y p e S c r i p t / i s s u e s / 1 0 9 9 0 \ n r e t u r n o b j ; \ n } \ n c o n s t r e s u l t = A r r a y . i s A r r a y ( o b j ) ? [ ] : { } ; \ n O b j e c t . k e y s ( o b j ) . f o r E a c h ( ( k e y ) = > { \ n i f ( o b j [ k e y ] & & t y p e o f o b j [ k e y ] = = = ' o b j e c t ' ) { \ n r e s u l t [ k e y ] = d e e p C l o n e ( o b j [ k e y ] ) ; \ n } \ n e l s e { \ n r e s u l t [ k e y ] = o b j [ k e y ] ; \ n } \ n } ) ; \ n r e t u r n r e s u l t ; \ n } \ n f u n c t i o n d e e p F r e e z e ( o b j ) { \ n i f ( ! o b j | | t y p e o f o b j ! = = ' o b j e c t ' ) { \ n r e t u r n o b j ; \ n } \ n c o n s t s t a c k = [ o b j ] ; \ n w h i l e ( s t a c k . l e n g t h > 0 ) { \ n c o n s t o b j = s t a c k . s h i f t ( ) ; \ n O b j e c t . f r e e z e ( o b j ) ; \ n f o r ( c o n s t k e y i n o b j ) { \ n i f ( _ h a s O w n P r o p e r t y . c a l l ( o b j , k e y ) ) { \ n c o n s t p r o p = o b j [ k e y ] ; \ n i f ( t y p e o f p r o p = = = ' o b j e c t ' & & ! O b j e c t . i s F r o z e n ( p r o p ) ) { \ n s t a c k . p u s h ( p r o p ) ; \ n } \ n } \ n } \ n } \ n r e t u r n o b j ; \ n } \ n c o n s t _ h a s O w n P r o p e r t y = O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y ; \ n f u n c t i o n c l o n e A n d C h a n g e ( o b j , c h a n g e r ) { \ n r e t u r n _ c l o n e A n d C h a n g e ( o b j , c h a n g e r , n e w S e t ( ) ) ; \ n } \ n f u n c t i o n _ c l o n e A n d C h a n g e ( o b j , c h a n g e r , s e e n ) { \ n i f ( ( 0 , _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s U n d e f i n e d O r N u l l ) ( o b j ) ) { \ n r e t u r n o b j ; \ n } \ n c o n s t c h a n g e d = c h a n g e r ( o b j ) ; \ n i f ( t y p e o f c h a n g e d ! = = ' u n d e f i n e d ' ) { \ n r e t u r n c h a n g e d ; \ n } \ n i f ( ( 0 , _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s A r r a y ) ( o b j ) ) { \ n c o n s t r 1 = [ ] ; \ n f o r ( c o n s t e o f o b j ) { \ n r 1 . p u s h ( _ c l o n e A n d C h a n g e ( e , c h a n g e r , s e e n ) ) ; \ n } \ n r e t u r n r 1 ; \ n } \ n i f ( ( 0 , _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s O b j e c t ) ( o b j ) ) { \ n i f ( s e e n . h a s ( o b j ) ) { \ n t h r o w n e w E r r o r ( ' C a n n o t c l o n e r e c u r s i v e d a t a - s t r u c t u r e ' ) ; \ n } \ n s e e n . a d d ( o b j ) ; \ n c o n s t r 2 = { } ; \ n f o r ( l e t i 2 i n o b j ) { \ n i f ( _ h a s O w n P r o p e r t y . c a l l ( o b j , i 2 ) ) { \ n r 2 [ i 2 ] = _ c l o n e A n d C h a n g e ( o b j [ i 2 ] , c h a n g e r , s e e n ) ; \ n } \ n } \ n s e e n . d e l e t e ( o b j ) ; \ n r e t u r n r 2 ; \ n } \ n r e t u r n o b j ; \ n } \ n / * * \ n * C o p i e s a l l p r o p e r t i e s o f s o u r c e i n t o d e s t i n a t i o n . T h e o p t i o n a l p a r a m e t e r \ " o v e r w r i t e \ " a l l o w s t o c o n t r o l \ n * i f e x i s t i n g p r o p e r t i e s o n t h e d e s t i n a t i o n s h o u l d b e o v e r w r i t t e n o r n o t . D e f a u l t s t o t r u e ( o v e r w r i t e ) . \ n * / \ n f u n c t i o n m i x i n ( d e s t i n a t i o n , s o u r c e , o v e r w r i t e = t r u e ) { \ n i f ( ! ( 0 , _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s O b j e c t ) ( d e s t i n a t i o n ) ) { \ n r e t u r n s o u r c e ; \ n } \ n i f ( ( 0 , _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s O b j e c t ) ( s o u r c e ) ) { \ n O b j e c t . k e y s ( s o u r c e ) . f o r E a c h ( k e y = > { \ n i f ( k e y i n d e s t i n a t i o n ) { \ n i f ( o v e r w r i t e ) { \ n i f ( ( 0 , _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s O b j e c t ) ( d e s t i n a t i o n
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / path . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"basename\": () => (/ * binding * / basename),\n/ * harmony export * / \"dirname\": () => (/ * binding * / dirname),\n/ * harmony export * / \"extname\": () => (/ * binding * / extname),\n/ * harmony export * / \"normalize\": () => (/ * binding * / normalize),\n/ * harmony export * / \"posix\": () => (/ * binding * / posix),\n/ * harmony export * / \"relative\": () => (/ * binding * / relative),\n/ * harmony export * / \"resolve\": () => (/ * binding * / resolve),\n/ * harmony export * / \"sep\": () => (/ * binding * / sep),\n/ * harmony export * / \"win32\": () => (/ * binding * / win32)\n/ * harmony export * / });\n/ * harmony import * / var _process_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / process . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p r o c e s s . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n / / N O T E : V S C o d e ' s c o p y o f n o d e j s p a t h l i b r a r y t o b e u s a b l e i n c o m m o n ( n o n - n o d e ) n a m e s p a c e \ n / / C o p i e d f r o m : h t t p s : / / g i t h u b . c o m / n o d e j s / n o d e / b l o b / v 1 4 . 1 6 . 0 / l i b / p a t h . j s \ n / * * \ n * C o p y r i g h t J o y e n t , I n c . a n d o t h e r N o d e c o n t r i b u t o r s . \ n * \ n * P e r m i s s i o n i s h e r e b y g r a n t e d , f r e e o f c h a r g e , t o a n y p e r s o n o b t a i n i n g a \ n * c o p y o f t h i s s o f t w a r e a n d a s s o c i a t e d d o c u m e n t a t i o n f i l e s ( t h e \ n * \ " S o f t w a r e \ " ) , t o d e a l i n t h e S o f t w a r e w i t h o u t r e s t r i c t i o n , i n c l u d i n g \ n * w i t h o u t l i m i t a t i o n t h e r i g h t s t o u s e , c o p y , m o d i f y , m e r g e , p u b l i s h , \ n * d i s t r i b u t e , s u b l i c e n s e , a n d / o r s e l l c o p i e s o f t h e S o f t w a r e , a n d t o p e r m i t \ n * p e r s o n s t o w h o m t h e S o f t w a r e i s f u r n i s h e d t o d o s o , s u b j e c t t o t h e \ n * f o l l o w i n g c o n d i t i o n s : \ n * \ n * T h e a b o v e c o p y r i g h t n o t i c e a n d t h i s p e r m i s s i o n n o t i c e s h a l l b e i n c l u d e d \ n * i n a l l c o p i e s o r s u b s t a n t i a l p o r t i o n s o f t h e S o f t w a r e . \ n * \ n * T H E S O F T W A R E I S P R O V I D E D \ " A S I S \ " , W I T H O U T W A R R A N T Y O F A N Y K I N D , E X P R E S S \ n * O R I M P L I E D , I N C L U D I N G B U T N O T L I M I T E D T O T H E W A R R A N T I E S O F \ n * M E R C H A N T A B I L I T Y , F I T N E S S F O R A P A R T I C U L A R P U R P O S E A N D N O N I N F R I N G E M E N T . I N \ n * N O E V E N T S H A L L T H E A U T H O R S O R C O P Y R I G H T H O L D E R S B E L I A B L E F O R A N Y C L A I M , \ n * D A M A G E S O R O T H E R L I A B I L I T Y , W H E T H E R I N A N A C T I O N O F C O N T R A C T , T O R T O R \ n * O T H E R W I S E , A R I S I N G F R O M , O U T O F O R I N C O N N E C T I O N W I T H T H E S O F T W A R E O R T H E \ n * U S E O R O T H E R D E A L I N G S I N T H E S O F T W A R E . \ n * / \ n \ n c o n s t C H A R _ U P P E R C A S E _ A = 6 5 ; / * A * / \ n c o n s t C H A R _ L O W E R C A S E _ A = 9 7 ; / * a * / \ n c o n s t C H A R _ U P P E R C A S E _ Z = 9 0 ; / * Z * / \ n c o n s t C H A R _ L O W E R C A S E _ Z = 1 2 2 ; / * z * / \ n c o n s t C H A R _ D O T = 4 6 ; / * . * / \ n c o n s t C H A R _ F O R W A R D _ S L A S H = 4 7 ; / * / * / \ n c o n s t C H A R _ B A C K W A R D _ S L A S H = 9 2 ; / * \ \ * / \ n c o n s t C H A R _ C O L O N = 5 8 ; / * : * / \ n c o n s t C H A R _ Q U E S T I O N _ M A R K = 6 3 ; / * ? * / \ n c l a s s E r r o r I n v a l i d A r g T y p e e x t e n d s E r r o r { \ n c o n s t r u c t o r ( n a m e , e x p e c t e d , a c t u a l ) { \ n / / d e t e r m i n e r : ' m u s t b e ' o r ' m u s t n o t b e ' \ n l e t d e t e r m i n e r ; \ n i f ( t y p e o f e x p e c t e d = = = ' s t r i n g ' & & e x p e c t e d . i n d e x O f ( ' n o t ' ) = = = 0 ) { \ n d e t e r m i n e r = ' m u s t n o t b e ' ; \ n e x p e c t e d = e x p e c t e d . r e p l a c e ( / ^ n o t / , ' ' ) ; \ n } \ n e l s e { \ n d e t e r m i n e r = ' m u s t b e ' ; \ n } \ n c o n s t t y p e = n a m e . i n d e x O f ( ' . ' ) ! = = - 1 ? ' p r o p e r t y ' : ' a r g u m e n t ' ; \ n l e t m s g = ` T h e \ " $ { n a m e } \ " $ { t y p e } $ { d e t e r m i n e r } o f t y p e $ { e x p e c t e d } ` ; \ n m s g + = ` . R e c e i v e d t y p e $ { t y p e o f a c t u a l } ` ; \ n s u p e r ( m s g ) ; \ n t h i s . c o d e = ' E R R _ I N V A L I D _ A R G _ T Y P E ' ; \ n } \ n } \ n f u n c t i o n v a l i d a t e S t r i n g ( v a l u e , n a m e ) { \ n i f ( t y p e o f v a l u e ! = = ' s t r i n g ' ) { \ n t h r o w n e w E r r o r I n v a l i d A r g T y p e ( n a m e , ' s t r i n g ' , v a l u e ) ; \ n } \ n } \ n f u n c t i o n i s P a t h S e p a r a t o r ( c o d e ) { \ n r e t u r n c o d e = = = C H A R _ F O R W A R D _ S L A S H | | c o d e = = = C H A R _ B A C K W A R D _ S L A S H ; \ n } \ n f u n c t i o n i s P o s i x P a t h S e p a r a t o r ( c o d e ) { \ n r e t u r n c o d e = =
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / platform . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"OS\": () => (/ * binding * / OS),\n/ * harmony export * / \"globals\": () => (/ * binding * / globals),\n/ * harmony export * / \"isAndroid\": () => (/ * binding * / isAndroid),\n/ * harmony export * / \"isChrome\": () => (/ * binding * / isChrome),\n/ * harmony export * / \"isEdge\": () => (/ * binding * / isEdge),\n/ * harmony export * / \"isFirefox\": () => (/ * binding * / isFirefox),\n/ * harmony export * / \"isIOS\": () => (/ * binding * / isIOS),\n/ * harmony export * / \"isLinux\": () => (/ * binding * / isLinux),\n/ * harmony export * / \"isLittleEndian\": () => (/ * binding * / isLittleEndian),\n/ * harmony export * / \"isMacintosh\": () => (/ * binding * / isMacintosh),\n/ * harmony export * / \"isNative\": () => (/ * binding * / isNative),\n/ * harmony export * / \"isSafari\": () => (/ * binding * / isSafari),\n/ * harmony export * / \"isWeb\": () => (/ * binding * / isWeb),\n/ * harmony export * / \"isWebWorker\": () => (/ * binding * / isWebWorker),\n/ * harmony export * / \"isWindows\": () => (/ * binding * / isWindows),\n/ * harmony export * / \"language\": () => (/ * binding * / language),\n/ * harmony export * / \"setTimeout0\": () => (/ * binding * / setTimeout0),\n/ * harmony export * / \"userAgent\": () => (/ * binding * / userAgent)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nvar _a;\nconst LANGUAGE_DEFAULT = 'en';\nlet _isWindows = false;\nlet _isMacintosh = false;\nlet _isLinux = false;\nlet _isLinuxSnap = false;\nlet _isNative = false;\nlet _isWeb = false;\nlet _isElectron = false;\nlet _isIOS = false;\nlet _isCI = false;\nlet _locale = undefined;\nlet _language = LANGUAGE_DEFAULT;\nlet _translationsConfigFile = undefined;\nlet _userAgent = undefined;\nconst globals = (typeof self === 'object' ? self : typeof __webpack_require__.g === 'object' ? __webpack_require__.g : {});\nlet nodeProcess = undefined;\nif (typeof globals.vscode !== 'undefined' && typeof globals.vscode.process !== 'undefined') {\n / / Native environment ( sandboxed ) \ n nodeProcess = globals . vscode . process ; \ n } \ nelse if ( typeof process !== 'undefined' ) { \ n // Native environment (non-sandboxed)\n nodeProcess = process;\n}\nconst isElectronProcess = typeof ((_a = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _a === void 0 ? void 0 : _a.electron) === 'string';\nconst isElectronRenderer = isElectronProcess && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.type) === 'renderer';\n// Web environment\nif (typeof navigator === 'object' && !isElectronRenderer) {\n _userAgent = navigator.userAgent;\n _isWindows = _userAgent.indexOf('Windows') >= 0;\n _isMacintosh = _userAgent.indexOf('Macintosh') >= 0;\n _isIOS = (_userAgent.indexOf('Macintosh') >= 0 || _userAgent.indexOf('iPad') >= 0 || _userAgent.indexOf('iPhone') >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\n _isLinux = _userAgent.indexOf('Linux') >= 0;\n _isWeb = true;\n _locale = navigator.language;\n _language = _locale;\n}\n// Native environment\nelse if (typeof nodeProcess === 'object') {\n _isWindows = (nodeProcess.platform === 'win32');\n _isMacintosh = (nodeProcess.platform === 'darwin');\n _isLinux = (nodeProcess.platform === 'linux');\n _isLinuxSnap = _isLinux && !!nodeProcess.env['SNAP'] && !!nodeProcess.env['SNAP_REVISION'];\n _isElectron = isElectronProcess;\n _isCI = !!nodeProcess.env['CI'] || !!nodeProcess.env['BUILD_ARTIFACTSTAGINGDIRECTORY'];\n _locale
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / process . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"cwd\": () => (/ * binding * / cwd),\n/ * harmony export * / \"env\": () => (/ * binding * / env),\n/ * harmony export * / \"platform\": () => (/ * binding * / platform)\n/ * harmony export * / });\n/ * harmony import * / var _platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / platform . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p l a t f o r m . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n l e t s a f e P r o c e s s ; \ n / / N a t i v e s a n d b o x e n v i r o n m e n t \ n i f ( t y p e o f _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . g l o b a l s . v s c o d e ! = = ' u n d e f i n e d ' & & t y p e o f _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . g l o b a l s . v s c o d e . p r o c e s s ! = = ' u n d e f i n e d ' ) { \ n c o n s t s a n d b o x P r o c e s s = _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . g l o b a l s . v s c o d e . p r o c e s s ; \ n s a f e P r o c e s s = { \ n g e t p l a t f o r m ( ) { r e t u r n s a n d b o x P r o c e s s . p l a t f o r m ; } , \ n g e t a r c h ( ) { r e t u r n s a n d b o x P r o c e s s . a r c h ; } , \ n g e t e n v ( ) { r e t u r n s a n d b o x P r o c e s s . e n v ; } , \ n c w d ( ) { r e t u r n s a n d b o x P r o c e s s . c w d ( ) ; } \ n } ; \ n } \ n / / N a t i v e n o d e . j s e n v i r o n m e n t \ n e l s e i f ( t y p e o f p r o c e s s ! = = ' u n d e f i n e d ' ) { \ n s a f e P r o c e s s = { \ n g e t p l a t f o r m ( ) { r e t u r n p r o c e s s . p l a t f o r m ; } , \ n g e t a r c h ( ) { r e t u r n p r o c e s s . a r c h ; } , \ n g e t e n v ( ) { r e t u r n p r o c e s s . e n v ; } , \ n c w d ( ) { r e t u r n p r o c e s s . e n v [ ' V S C O D E _ C W D ' ] | | p r o c e s s . c w d ( ) ; } \ n } ; \ n } \ n / / W e b e n v i r o n m e n t \ n e l s e { \ n s a f e P r o c e s s = { \ n / / S u p p o r t e d \ n g e t p l a t f o r m ( ) { r e t u r n _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s W i n d o w s ? ' w i n 3 2 ' : _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . i s M a c i n t o s h ? ' d a r w i n ' : ' l i n u x ' ; } , \ n g e t a r c h ( ) { r e t u r n u n d e f i n e d ; / * a r c h i s u n d e f i n e d i n w e b * / } , \ n / / U n s u p p o r t e d \ n g e t e n v ( ) { r e t u r n { } ; } , \ n c w d ( ) { r e t u r n ' / ' ; } \ n } ; \ n } \ n / * * \ n * P r o v i d e s s a f e a c c e s s t o t h e ` c w d ` p r o p e r t y i n n o d e . j s , s a n d b o x e d o r w e b \ n * e n v i r o n m e n t s . \ n * \ n * N o t e : i n w e b , t h i s p r o p e r t y i s h a r d c o d e d t o b e ` / ` . \ n * / \ n c o n s t c w d = s a f e P r o c e s s . c w d ; \ n / * * \ n * P r o v i d e s s a f e a c c e s s t o t h e ` e n v ` p r o p e r t y i n n o d e . j s , s a n d b o x e d o r w e b \ n * e n v i r o n m e n t s . \ n * \ n * N o t e : i n w e b , t h i s p r o p e r t y i s h a r d c o d e d t o b e ` { } ` . \ n * / \ n c o n s t e n v = s a f e P r o c e s s . e n v ; \ n / * * \ n * P r o v i d e s s a f e a c c e s s t o t h e ` p l a t f o r m ` p r o p e r t y i n n o d e . j s , s a n d b o x e d o r w e b \ n * e n v i r o n m e n t s . \ n * / \ n c o n s t p l a t f o r m = s a f e P r o c e s s . p l a t f o r m ; \ n \ n \ n / / # s o u r c e U R L = w e b p a c k : / / m o n a n c o _ w p a c k / . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p r o c e s s . j s ? " ) } , " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t o p w a t c h . j s " :
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / stopwatch . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "StopWatch": () => (/ * binding * / StopWatch)\n/ * harmony export * / });\n/ * harmony import * / var _platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / platform . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p l a t f o r m . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n c o n s t h a s P e r f o r m a n c e N o w = ( _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . g l o b a l s . p e r f o r m a n c e & & t y p e o f _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . g l o b a l s . p e r f o r m a n c e . n o w = = = \ ' f u n c t i o n \ ' ) ; \ n c l a s s S t o p W a t c h { \ n c o n s t r u c t o r ( h i g h R e s o l u t i o n ) { \ n t h i s . _ h i g h R e s o l u t i o n = h a s P e r f o r m a n c e N o w & & h i g h R e s o l u t i o n ; \ n t h i s . _ s t a r t T i m e = t h i s . _ n o w ( ) ; \ n t h i s . _ s t o p T i m e = - 1 ; \ n } \ n s t a t i c c r e a t e ( h i g h R e s o l u t i o n = t r u e ) { \ n r e t u r n n e w S t o p W a t c h ( h i g h R e s o l u t i o n ) ; \ n } \ n s t o p ( ) { \ n t h i s . _ s t o p T i m e = t h i s . _ n o w ( ) ; \ n } \ n e l a p s e d ( ) { \ n i f ( t h i s . _ s t o p T i m e ! = = - 1 ) { \ n r e t u r n t h i s . _ s t o p T i m e - t h i s . _ s t a r t T i m e ; \ n } \ n r e t u r n t h i s . _ n o w ( ) - t h i s . _ s t a r t T i m e ; \ n } \ n _ n o w ( ) { \ n r e t u r n t h i s . _ h i g h R e s o l u t i o n ? _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . g l o b a l s . p e r f o r m a n c e . n o w ( ) : D a t e . n o w ( ) ; \ n } \ n } \ n \ n \ n / / # s o u r c e U R L = w e b p a c k : / / m o n a n c o _ w p a c k / . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t o p w a t c h . j s ? ' ) } , " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s " :
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / strings . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "AmbiguousCharacters": () => (/ * binding * / AmbiguousCharacters),\n/ * harmony export * / "CodePointIterator": () => (/ * binding * / CodePointIterator),\n/ * harmony export * / "GraphemeIterator": () => (/ * binding * / GraphemeIterator),\n/ * harmony export * / "InvisibleCharacters": () => (/ * binding * / InvisibleCharacters),\n/ * harmony export * / "UNUSUAL_LINE_TERMINATORS": () => (/ * binding * / UNUSUAL_LINE_TERMINATORS),\n/ * harmony export * / "UTF8_BOM_CHARACTER": () => (/ * binding * / UTF8_BOM_CHARACTER),\n/ * harmony export * / "commonPrefixLength": () => (/ * binding * / commonPrefixLength),\n/ * harmony export * / "commonSuffixLength": () => (/ * binding * / commonSuffixLength),\n/ * harmony export * / "compare": () => (/ * binding * / compare),\n/ * harmony export * / "compareIgnoreCase": () => (/ * binding * / compareIgnoreCase),\n/ * harmony export * / "compareSubstring": () => (/ * binding * / compareSubstring),\n/ * harmony export * / "compareSubstringIgnoreCase": () => (/ * binding * / compareSubstringIgnoreCase),\n/ * harmony export * / "computeCodePoint": () => (/ * binding * / computeCodePoint),\n/ * harmony export * / "containsRTL": () => (/ * binding * / containsRTL),\n/ * harmony export * / "containsUnusualLineTerminators": () => (/ * binding * / containsUnusualLineTerminators),\n/ * harmony export * / "containsUppercaseCharacter": () => (/ * binding * / containsUppercaseCharacter),\n/ * harmony export * / "convertSimple2RegExpPattern": () => (/ * binding * / convertSimple2RegExpPattern),\n/ * harmony export * / "createRegExp": () => (/ * binding * / createRegExp),\n/ * harmony export * / "equalsIgnoreCase": () => (/ * binding * / equalsIgnoreCase),\n/ * harmony export * / "escape": () => (/ * binding * / escape),\n/ * harmony export * / "escapeRegExpCharacters": () => (/ * binding * / escapeRegExpCharacters),\n/ * harmony export * / "firstNonWhitespaceIndex": () => (/ * binding * / firstNonWhitespaceIndex),\n/ * harmony export * / "format": () => (/ * binding * / format),\n/ * harmony export * / "getCharContainingOffset": () => (/ * binding * / getCharContainingOffset),\n/ * harmony export * / "getLeadingWhitespace": () => (/ * binding * / getLeadingWhitespace),\n/ * harmony export * / "getLeftDeleteOffset": () => (/ * binding * / getLeftDeleteOffset),\n/ * harmony export * / "getNextCodePoint": () => (/ * binding * / getNextCodePoint),\n/ * harmony export * / "isBasicASCII": () => (/ * binding * / isBasicASCII),\n/ * harmony export * / "isEmojiImprecise": () => (/ * binding * / isEmojiImprecise),\n/ * harmony export * / "isFalsyOrWhitespace": () => (/ * binding * / isFalsyOrWhitespace),\n/ * harmony export * / "isFullWidthCharacter": () => (/ * binding * / isFullWidthCharacter),\n/ * harmony export * / "isHighSurrogate": () => (/ * binding * / isHighSurrogate),\n/ * harmony export * / "isLowSurrogate": () => (/ * binding * / isLowSurrogate),\n/ * harmony export * / "isLowerAsciiLetter": () => (/ * binding * / isLowerAsciiLetter),\n/ * harmony export * / "isUpperAsciiLetter": () => (/ * binding * / isUpperAsciiLetter),\n/ * harmony export * / "lastNonWhitespaceIndex": () => (/ * binding * / lastNonWhitespaceIndex),\n/ * harmony export * / "ltrim": () => (/ * binding * / ltrim),\n/ * harmony export * / "nextCharLength": () => (/ * binding * / nextCharLength),\n/ * harmony export * / "noBreakWhitespace": () => (/ * binding * / noBreakWhitespace),\n/ * harmony export * / "prevCharLength": () => (/ * binding * / prevCharLength),\n/ * harmony export * / "regExpFlags": () => (/ * binding * / regExpFlags),\n/ * harmony export * / "regExpLeadsToEndlessLoop": () => (/ * binding * / regExpLeadsToEndlessLoop),\n/ * harmony export * / "rtrim": () => (/ * binding * / rtrim),\n/ * harmony export * / "singleLetterHash": () => (/ * binding * / singleLetterHash),\n/ * harmony export * / "splitLines": () => (/ * binding
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / types . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "assertIsDefined": () => (/ * binding * / assertIsDefined),\n/ * harmony export * / "assertNever": () => (/ * binding * / assertNever),\n/ * harmony export * / "assertType": () => (/ * binding * / assertType),\n/ * harmony export * / "createProxyObject": () => (/ * binding * / createProxyObject),\n/ * harmony export * / "getAllMethodNames": () => (/ * binding * / getAllMethodNames),\n/ * harmony export * / "getAllPropertyNames": () => (/ * binding * / getAllPropertyNames),\n/ * harmony export * / "isArray": () => (/ * binding * / isArray),\n/ * harmony export * / "isBoolean": () => (/ * binding * / isBoolean),\n/ * harmony export * / "isDefined": () => (/ * binding * / isDefined),\n/ * harmony export * / "isFunction": () => (/ * binding * / isFunction),\n/ * harmony export * / "isIterable": () => (/ * binding * / isIterable),\n/ * harmony export * / "isNumber": () => (/ * binding * / isNumber),\n/ * harmony export * / "isObject": () => (/ * binding * / isObject),\n/ * harmony export * / "isString": () => (/ * binding * / isString),\n/ * harmony export * / "isUndefined": () => (/ * binding * / isUndefined),\n/ * harmony export * / "isUndefinedOrNull": () => (/ * binding * / isUndefinedOrNull),\n/ * harmony export * / "validateConstraint": () => (/ * binding * / validateConstraint),\n/ * harmony export * / "validateConstraints": () => (/ * binding * / validateConstraints),\n/ * harmony export * / "withNullAsUndefined": () => (/ * binding * / withNullAsUndefined)\n/ * harmony export * / });\n/ * * \ n * @ returns whether the provided parameter is a JavaScript Array or not . \ n * /\nfunction isArray(array) {\n return Array.isArray(array);\n}\n/ * * \ n * @ returns whether the provided parameter is a JavaScript String or not . \ n * /\nfunction isString(str) {\n return (typeof str === \'string\');\n}\n/ * * \ n * \ n * @ returns whether the provided parameter is of type ` object ` but * * not * * \ n * \ t ` null ` , an ` array ` , a ` regexp ` , nor a ` date ` . \ n * /\nfunction isObject(obj) {\n / / The method can \ 't do a type cast since there are type (like strings) which\n // are subclasses of any put not positvely matched by the function. Hence type\n // narrowing results in wrong results.\n return typeof obj === \'object\'\n && obj !== null\n && !Array.isArray(obj)\n && !(obj instanceof RegExp)\n && !(obj instanceof Date);\n}\n/**\n * In **contrast** to just checking `typeof` this will return `false` for `NaN`.\n * @returns whether the provided parameter is a JavaScript Number or not.\n */\nfunction isNumber(obj) {\n return (typeof obj === \'number\' && !isNaN(obj));\n}\n/**\n * @returns whether the provided parameter is an Iterable, casting to the given generic\n */\nfunction isIterable(obj) {\n return !!obj && typeof obj[Symbol.iterator] === \'function\';\n}\n/**\n * @returns whether the provided parameter is a JavaScript Boolean or not.\n */\nfunction isBoolean(obj) {\n return (obj === true || obj === false);\n}\n/**\n * @returns whether the provided parameter is undefined.\n */\nfunction isUndefined(obj) {\n return (typeof obj === \'undefined\');\n}\n/**\n * @returns whether the provided parameter is defined.\n */\nfunction isDefined(arg) {\n return !isUndefinedOrNull(arg);\n}\n/**\n * @returns whether the provided parameter is undefined or null.\n */\nfunction isUndefinedOrNull(obj) {\n return (isUndefined(obj) || obj === null);\n}\nfunction assertType(condition, type) {\n if (!condition) {\n throw new Error(type ? `Unexpected type, expected \'${type}\'` : \'Unexpected type\');\n }\n}\n/**\n * Asserts that the argument passed in is neither undefined nor null.\n */\nfunction assertIsDefined(arg) {\n if (isUndefinedOrNull(arg)) {\n throw new Error(\'Assertion Failed: argument is undefined or null\' ) ; \ n } \ n return arg ; \ n } \ n / * * \ n * @ returns wh
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / uint . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "toUint32": () => (/ * binding * / toUint32),\n/ * harmony export * / "toUint8": () => (/ * binding * / toUint8)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nfunction toUint8(v) {\n if (v < 0) {\n return 0;\n }\n if (v > 255 / * MAX _UINT _8 * /) {\n return 255 / * MAX _UINT _8 * /;\n }\n return v | 0;\n}\nfunction toUint32(v) {\n if (v < 0) {\n return 0;\n }\n if (v > 4294967295 / * MAX _UINT _32 * /) {\n return 4294967295 / * MAX _UINT _32 * /;\n }\n return v | 0;\n}\n\n\n/ / # sourceURL = webpack : //monanco_wpack/./node_modules/monaco-editor/esm/vs/base/common/uint.js?')},"./node_modules/monaco-editor/esm/vs/base/common/uri.js":
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / uri . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"URI\": () => (/ * binding * / URI),\n/ * harmony export * / \"uriToFsPath\": () => (/ * binding * / uriToFsPath)\n/ * harmony export * / });\n/ * harmony import * / var _path_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / path . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p a t h . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / p l a t f o r m . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p l a t f o r m . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n c o n s t _ s c h e m e P a t t e r n = / ^ \ \ w [ \ \ w \ \ d + . - ] * $ / ; \ n c o n s t _ s i n g l e S l a s h S t a r t = / ^ \ \ / / ; \ n c o n s t _ d o u b l e S l a s h S t a r t = / ^ \ \ / \ \ / / ; \ n f u n c t i o n _ v a l i d a t e U r i ( r e t , _ s t r i c t ) { \ n / / s c h e m e , m u s t b e s e t \ n i f ( ! r e t . s c h e m e & & _ s t r i c t ) { \ n t h r o w n e w E r r o r ( ` [ U r i E r r o r ] : S c h e m e i s m i s s i n g : { s c h e m e : \ " \ " , a u t h o r i t y : \ " $ { r e t . a u t h o r i t y } \ " , p a t h : \ " $ { r e t . p a t h } \ " , q u e r y : \ " $ { r e t . q u e r y } \ " , f r a g m e n t : \ " $ { r e t . f r a g m e n t } \ " } ` ) ; \ n } \ n / / s c h e m e , h t t p s : / / t o o l s . i e t f . o r g / h t m l / r f c 3 9 8 6 # s e c t i o n - 3 . 1 \ n / / A L P H A * ( A L P H A / D I G I T / \ " + \ " / \ " - \ " / \ " . \ " ) \ n i f ( r e t . s c h e m e & & ! _ s c h e m e P a t t e r n . t e s t ( r e t . s c h e m e ) ) { \ n t h r o w n e w E r r o r ( ' [ U r i E r r o r ] : S c h e m e c o n t a i n s i l l e g a l c h a r a c t e r s . ' ) ; \ n } \ n / / p a t h , h t t p : / / t o o l s . i e t f . o r g / h t m l / r f c 3 9 8 6 # s e c t i o n - 3 . 3 \ n / / I f a U R I c o n t a i n s a n a u t h o r i t y c o m p o n e n t , t h e n t h e p a t h c o m p o n e n t \ n / / m u s t e i t h e r b e e m p t y o r b e g i n w i t h a s l a s h ( \ " / \ " ) c h a r a c t e r . I f a U R I \ n / / d o e s n o t c o n t a i n a n a u t h o r i t y c o m p o n e n t , t h e n t h e p a t h c a n n o t b e g i n \ n / / w i t h t w o s l a s h c h a r a c t e r s ( \ " / / \ " ) . \ n i f ( r e t . p a t h ) { \ n i f ( r e t . a u t h o r i t y ) { \ n i f ( ! _ s i n g l e S l a s h S t a r t . t e s t ( r e t . p a t h ) ) { \ n t h r o w n e w E r r o r ( ' [ U r i E r r o r ] : I f a U R I c o n t a i n s a n a u t h o r i t y c o m p o n e n t , t h e n t h e p a t h c o m p o n e n t m u s t e i t h e r b e e m p t y o r b e g i n w i t h a s l a s h ( \ " / \ " ) c h a r a c t e r ' ) ; \ n } \ n } \ n e l s e { \ n i f ( _ d o u b l e S l a s h S t a r t . t e s t ( r e t . p a t h ) ) { \ n t h r o w n e w E r r o r ( ' [ U r i E r r o r ] : I f a U R I d o e s n o t c o n t a i n a n a u t h o r i t y c o m p o n e n t , t h e n t h e p a t h c a n n o t b e g i n w i t h t w o s l a s h c h a r a c t e r s ( \ " / / \ " ) ' ) ; \ n } \ n } \ n } \ n } \ n / / f o r a w h i l e w e a l l o w e d u r i s * w i t h o u t * s c h e m e s a n d t h i s i s t h e m i g r a t i o n \ n / / f o r t h e m , e . g . a n u r i w i t h o u t s c h e m e a n d w i t h o u t s t r i c t - m o d e w a r n s a n d f a l l s \ n / / b a c k t o t h e f i l e - s c h e m e . t h a t s h o u l d c a u s e t h e l e a s t c a r n a g e a n d s t i l l b e a \ n / / c l e a r w a r n i n g \ n f u n c t i o n _ s c h e m e F i x ( s c h e m e , _ s t r i c t ) { \ n i f ( ! s c h e m e & & ! _ s t r i c t ) { \ n r e t u r n ' f i l e ' ; \ n } \ n r e t u r n s c h e m e ; \ n } \ n / / i m p l e m e n t s a b i t o f h t t p s : / / t o o l s . i e t f . o r g / h t m l / r f c 3 9 8 6 # s e c t i o n - 5 \ n f u n c t i o n _ r e f e r e n c e R e s o l u t i o n ( s c h e m e , p a t h ) { \ n / / t h e s l a s h - c h a r a c t e r i s o u r ' d e f a u l t b a s e ' a s w e d o n ' t \ n / / s u p p o r t c o n s t r u c t i n g U R I s r e l a t i v e t o o t h e r U R I s . T h i s \ n / / a l s o m e a n s t h a t w e a l t e r a n d p o t e n t i a l l y b r e a k p a t h s . \ n / / s e e h t t p s : / / t o o l s . i e t f . o r g / h t m l / r f c 3 9 8 6 # s e c t i o n - 5 . 1 . 4 \ n s w i t c h ( s c h e m e ) { \ n c a s e ' h t t p s ' : \ n c a s e ' h t t p ' : \ n c a s e ' f i l e ' : \ n i f ( ! p a t h ) { \ n p a t h = _ s l a s h ; \ n } \ n e l s e i f ( p a t h [ 0 ] ! = = _ s l a s h ) { \ n p a t h = _ s l a s h + p a t h ; \ n } \ n b r e a k ; \ n } \ n r e t u r n p a t h ; \ n } \ n c o n s t _ e m p t y = ' ' ; \ n c o n s t _ s l a s h = ' / ' ; \ n c o n s t _ r e g e x p = / ^ ( ( [ ^ : / ? # ] + ? ) : ) ? ( \ \ / \ \ / ( [ ^ / ? # ] * ) ) ? ( [ ^ ? # ] * ) ( \ \ ? ( [ ^ # ] * ) ) ? ( # ( . * ) ) ? / ; \ n / * * \ n * U n i f o r m R e s o u r c e I d e n t i f i e r ( U R I ) h t t p : / / t o o l s . i e t f . o r g / h t m l / r f c 3 9 8 6 . \ n * T h i s c l a s s i s a s i m p l e p a r s e r w h i c h c r e a t e s t h e b a s i c c o m p o n e n t p a r t s \ n * ( h t t p : / / t o o l s . i e t f . o r g / h t m l / r f c 3 9 8 6 # s e c t i o n - 3 ) w i t h m i n i m
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / base / common / worker / simpleWorker . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"SimpleWorkerClient\": () => (/ * binding * / SimpleWorkerClient),\n/ * harmony export * / \"SimpleWorkerServer\": () => (/ * binding * / SimpleWorkerServer),\n/ * harmony export * / \"create\": () => (/ * binding * / create),\n/ * harmony export * / \"logOnceWebWorkerWarning\": () => (/ * binding * / logOnceWebWorkerWarning)\n/ * harmony export * / });\n/ * harmony import * / var _errors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / errors . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / e r r o r s . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ e v e n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / e v e n t . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / e v e n t . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ l i f e c y c l e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / l i f e c y c l e . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / l i f e c y c l e . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / p l a t f o r m . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p l a t f o r m . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / t y p e s . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / t y p e s . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ s t r i n g s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 5 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / s t r i n g s . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n \ n \ n \ n \ n c o n s t I N I T I A L I Z E = ' $ i n i t i a l i z e ' ; \ n l e t w e b W o r k e r W a r n i n g L o g g e d = f a l s e ; \ n f u n c t i o n l o g O n c e W e b W o r k e r W a r n i n g ( e r r ) { \ n i f ( ! _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ . i s W e b ) { \ n / / r u n n i n g t e s t s \ n r e t u r n ; \ n } \ n i f ( ! w e b W o r k e r W a r n i n g L o g g e d ) { \ n w e b W o r k e r W a r n i n g L o g g e d = t r u e ; \ n c o n s o l e . w a r n ( ' C o u l d n o t c r e a t e w e b w o r k e r ( s ) . F a l l i n g b a c k t o l o a d i n g w e b w o r k e r c o d e i n m a i n t h r e a d , w h i c h m i g h t c a u s e U I f r e e z e s . P l e a s e s e e h t t p s : / / g i t h u b . c o m / m i c r o s o f t / m o n a c o - e d i t o r # f a q ' ) ; \ n } \ n c o n s o l e . w a r n ( e r r . m e s s a g e ) ; \ n } \ n c l a s s R e q u e s t M e s s a g e { \ n c o n s t r u c t o r ( v s W o r k e r , r e q , m e t h o d , a r g s ) { \ n t h i s . v s W o r k e r = v s W o r k e r ; \ n t h i s . r e q = r e q ; \ n t h i s . m e t h o d = m e t h o d ; \ n t h i s . a r g s = a r g s ; \ n t h i s . t y p e = 0 / * R e q u e s t * / ; \ n } \ n } \ n c l a s s R e p l y M e s s a g e { \ n c o n s t r u c t o r ( v s W o r k e r , s e q , r e s , e r r ) { \ n t h i s . v s W o r k e r = v s W o r k e r ; \ n t h i s . s e q = s e q ; \ n t h i s . r e s = r e s ; \ n t h i s . e r r = e r r ; \ n t h i s . t y p e = 1 / * R e p l y * / ; \ n } \ n } \ n c l a s s S u b s c r i b e E v e n t M e s s a g e { \ n c o n s t r u c t o r ( v s W o r k e r , r e q , e v e n t N a m e , a r g ) { \ n t h i s . v s W o r k e r = v s W o r k e r ; \ n t h i s . r e q = r e q ; \ n t h i s . e v e n t N a m e = e v e n t N a m e ; \ n t h i s . a r g = a r g ; \ n t h i s . t y p e = 2 / * S u b s c r i b e E v e n t * / ; \ n } \ n } \ n c l a s s E v e n t M e s s a g e { \ n c o n s t r u c t o r ( v s W o r k e r , r e q , e v e n t ) { \ n t h i s . v s W o r k e r = v s W o r k e r ; \ n t h i s . r e q = r e q ; \ n t h i s . e v e n t = e v e n t ; \ n t h i s . t y p e = 3 / * E v e n t * / ; \ n } \ n } \ n c l a s s U n s u b s c r i b e E v e n t M e s s a g e { \ n c o n s t r u c t o r ( v s W o r k e r , r e q ) { \ n t h i s . v s W o r k e r = v s W o r k e r ; \ n t h i s . r e q = r e q ; \ n t h i s . t y p e = 4 / * U n s u b s c r i b e E v e n t * / ; \ n } \ n } \ n c l a s s S i m p l e W o r k e r P r o t o c o l { \ n c o n s t r u c t o r ( h a n d l e r ) { \ n t h i s . _ w o r k e r I d = - 1 ; \ n t h i s . _ h a n d l e r = h a n d l e r ; \ n t h i s . _ l a s t S e n t R e q = 0 ; \ n t h i s . _ p e n d i n g R e p l i e s = O b j e c t . c r e a t e ( n u l l ) ; \ n t h i s . _ p e n d i n g E m i t t e r s = n e w M a p ( ) ; \ n t h i s . _ p e n d i n g E v e n t s = n e w M a p ( ) ; \ n } \ n s e t W o r k e r I d ( w o r k e r I d ) { \ n t h i s . _ w o r k e r I d = w o r k e r I d ; \ n } \ n s e n d M e s s a g e ( m e t h o d , a r g s
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / core / characterClassifier . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "CharacterClassifier": () => (/ * binding * / CharacterClassifier),\n/ * harmony export * / "CharacterSet": () => (/ * binding * / CharacterSet)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / uint . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / u i n t . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n / * * \ n * A f a s t c h a r a c t e r c l a s s i f i e r t h a t u s e s a c o m p a c t a r r a y f o r A S C I I v a l u e s . \ n * / \ n c l a s s C h a r a c t e r C l a s s i f i e r { \ n c o n s t r u c t o r ( _ d e f a u l t V a l u e ) { \ n c o n s t d e f a u l t V a l u e = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . t o U i n t 8 ) ( _ d e f a u l t V a l u e ) ; \ n t h i s . _ d e f a u l t V a l u e = d e f a u l t V a l u e ; \ n t h i s . _ a s c i i M a p = C h a r a c t e r C l a s s i f i e r . _ c r e a t e A s c i i M a p ( d e f a u l t V a l u e ) ; \ n t h i s . _ m a p = n e w M a p ( ) ; \ n } \ n s t a t i c _ c r e a t e A s c i i M a p ( d e f a u l t V a l u e ) { \ n c o n s t a s c i i M a p = n e w U i n t 8 A r r a y ( 2 5 6 ) ; \ n f o r ( l e t i = 0 ; i < 2 5 6 ; i + + ) { \ n a s c i i M a p [ i ] = d e f a u l t V a l u e ; \ n } \ n r e t u r n a s c i i M a p ; \ n } \ n s e t ( c h a r C o d e , _ v a l u e ) { \ n c o n s t v a l u e = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . t o U i n t 8 ) ( _ v a l u e ) ; \ n i f ( c h a r C o d e > = 0 & & c h a r C o d e < 2 5 6 ) { \ n t h i s . _ a s c i i M a p [ c h a r C o d e ] = v a l u e ; \ n } \ n e l s e { \ n t h i s . _ m a p . s e t ( c h a r C o d e , v a l u e ) ; \ n } \ n } \ n g e t ( c h a r C o d e ) { \ n i f ( c h a r C o d e > = 0 & & c h a r C o d e < 2 5 6 ) { \ n r e t u r n t h i s . _ a s c i i M a p [ c h a r C o d e ] ; \ n } \ n e l s e { \ n r e t u r n ( t h i s . _ m a p . g e t ( c h a r C o d e ) | | t h i s . _ d e f a u l t V a l u e ) ; \ n } \ n } \ n } \ n c l a s s C h a r a c t e r S e t { \ n c o n s t r u c t o r ( ) { \ n t h i s . _ a c t u a l = n e w C h a r a c t e r C l a s s i f i e r ( 0 / * F a l s e * / ) ; \ n } \ n a d d ( c h a r C o d e ) { \ n t h i s . _ a c t u a l . s e t ( c h a r C o d e , 1 / * T r u e * / ) ; \ n } \ n h a s ( c h a r C o d e ) { \ n r e t u r n ( t h i s . _ a c t u a l . g e t ( c h a r C o d e ) = = = 1 / * T r u e * / ) ; \ n } \ n } \ n \ n \ n / / # s o u r c e U R L = w e b p a c k : / / m o n a n c o _ w p a c k / . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / c h a r a c t e r C l a s s i f i e r . j s ? ' ) } , " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s " :
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / core / position . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"Position\": () => (/ * binding * / Position)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\n/ * * \ n * A position in the editor . \ n * /\nclass Position {\n constructor(lineNumber, column) {\n this.lineNumber = lineNumber;\n this.column = column;\n }\n / * * \ n * Create a new position from this position . \ n * \ n * @ param newLineNumber new line number \ n * @ param newColumn new column \ n * /\n with(newLineNumber = this.lineNumber, newColumn = this.column) {\n if (newLineNumber === this.lineNumber && newColumn === this.column) {\n return this;\n }\n else {\n return new Position(newLineNumber, newColumn);\n }\n }\n / * * \ n * Derive a new position from this position . \ n * \ n * @ param deltaLineNumber line number delta \ n * @ param deltaColumn column delta \ n * /\n delta(deltaLineNumber = 0, deltaColumn = 0) {\n return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\n }\n / * * \ n * Test if this position equals other position \ n * /\n equals(other) {\n return Position.equals(this, other);\n }\n / * * \ n * Test if position ` a ` equals position ` b ` \ n * /\n static equals(a, b) {\n if (!a && !b) {\n return true;\n }\n return (!!a &&\n !!b &&\n a.lineNumber === b.lineNumber &&\n a.column === b.column);\n }\n / * * \ n * Test if this position is before other position . \ n * If the two positions are equal , the result will be false . \ n * /\n isBefore(other) {\n return Position.isBefore(this, other);\n }\n / * * \ n * Test if position ` a ` is before position ` b ` . \ n * If the two positions are equal , the result will be false . \ n * /\n static isBefore(a, b) {\n if (a.lineNumber < b.lineNumber) {\n return true;\n }\n if (b.lineNumber < a.lineNumber) {\n return false;\n }\n return a.column < b.column;\n }\n / * * \ n * Test if this position is before other position . \ n * If the two positions are equal , the result will be true . \ n * /\n isBeforeOrEqual(other) {\n return Position.isBeforeOrEqual(this, other);\n }\n / * * \ n * Test if position ` a ` is before position ` b ` . \ n * If the two positions are equal , the result will be true . \ n * /\n static isBeforeOrEqual(a, b) {\n if (a.lineNumber < b.lineNumber) {\n return true;\n }\n if (b.lineNumber < a.lineNumber) {\n return false;\n }\n return a.column <= b.column;\n }\n / * * \ n * A function that compares positions , useful for sorting \ n * /\n static compare(a, b) {\n const aLineNumber = a.lineNumber | 0;\n const bLineNumber = b.lineNumber | 0;\n if (aLineNumber === bLineNumber) {\n const aColumn = a.column | 0;\n const bColumn = b.column | 0;\n return aColumn - bColumn;\n }\n return aLineNumber - bLineNumber;\n }\n / * * \ n * Clone this position . \ n * /\n clone() {\n return new Position(this.lineNumber, this.column);\n }\n / * * \ n * Convert to a human - readable representation . \ n * /\n toString() {\n return '(' + this.lineNumber + ',' + this.column + ')';\n }\n / / -- - \ n /**\n * Create a `Position` from an `IPosition`.\n */ \ n static lift ( pos )
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / core / range . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"Range\": () => (/ * binding * / Range)\n/ * harmony export * / });\n/ * harmony import * / var _position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / position . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n / * * \ n * A r a n g e i n t h e e d i t o r . ( s t a r t L i n e N u m b e r , s t a r t C o l u m n ) i s < = ( e n d L i n e N u m b e r , e n d C o l u m n ) \ n * / \ n c l a s s R a n g e { \ n c o n s t r u c t o r ( s t a r t L i n e N u m b e r , s t a r t C o l u m n , e n d L i n e N u m b e r , e n d C o l u m n ) { \ n i f ( ( s t a r t L i n e N u m b e r > e n d L i n e N u m b e r ) | | ( s t a r t L i n e N u m b e r = = = e n d L i n e N u m b e r & & s t a r t C o l u m n > e n d C o l u m n ) ) { \ n t h i s . s t a r t L i n e N u m b e r = e n d L i n e N u m b e r ; \ n t h i s . s t a r t C o l u m n = e n d C o l u m n ; \ n t h i s . e n d L i n e N u m b e r = s t a r t L i n e N u m b e r ; \ n t h i s . e n d C o l u m n = s t a r t C o l u m n ; \ n } \ n e l s e { \ n t h i s . s t a r t L i n e N u m b e r = s t a r t L i n e N u m b e r ; \ n t h i s . s t a r t C o l u m n = s t a r t C o l u m n ; \ n t h i s . e n d L i n e N u m b e r = e n d L i n e N u m b e r ; \ n t h i s . e n d C o l u m n = e n d C o l u m n ; \ n } \ n } \ n / * * \ n * T e s t i f t h i s r a n g e i s e m p t y . \ n * / \ n i s E m p t y ( ) { \ n r e t u r n R a n g e . i s E m p t y ( t h i s ) ; \ n } \ n / * * \ n * T e s t i f ` r a n g e ` i s e m p t y . \ n * / \ n s t a t i c i s E m p t y ( r a n g e ) { \ n r e t u r n ( r a n g e . s t a r t L i n e N u m b e r = = = r a n g e . e n d L i n e N u m b e r & & r a n g e . s t a r t C o l u m n = = = r a n g e . e n d C o l u m n ) ; \ n } \ n / * * \ n * T e s t i f p o s i t i o n i s i n t h i s r a n g e . I f t h e p o s i t i o n i s a t t h e e d g e s , w i l l r e t u r n t r u e . \ n * / \ n c o n t a i n s P o s i t i o n ( p o s i t i o n ) { \ n r e t u r n R a n g e . c o n t a i n s P o s i t i o n ( t h i s , p o s i t i o n ) ; \ n } \ n / * * \ n * T e s t i f ` p o s i t i o n ` i s i n ` r a n g e ` . I f t h e p o s i t i o n i s a t t h e e d g e s , w i l l r e t u r n t r u e . \ n * / \ n s t a t i c c o n t a i n s P o s i t i o n ( r a n g e , p o s i t i o n ) { \ n i f ( p o s i t i o n . l i n e N u m b e r < r a n g e . s t a r t L i n e N u m b e r | | p o s i t i o n . l i n e N u m b e r > r a n g e . e n d L i n e N u m b e r ) { \ n r e t u r n f a l s e ; \ n } \ n i f ( p o s i t i o n . l i n e N u m b e r = = = r a n g e . s t a r t L i n e N u m b e r & & p o s i t i o n . c o l u m n < r a n g e . s t a r t C o l u m n ) { \ n r e t u r n f a l s e ; \ n } \ n i f ( p o s i t i o n . l i n e N u m b e r = = = r a n g e . e n d L i n e N u m b e r & & p o s i t i o n . c o l u m n > r a n g e . e n d C o l u m n ) { \ n r e t u r n f a l s e ; \ n } \ n r e t u r n t r u e ; \ n } \ n / * * \ n * T e s t i f ` p o s i t i o n ` i s i n ` r a n g e ` . I f t h e p o s i t i o n i s a t t h e e d g e s , w i l l r e t u r n f a l s e . \ n * @ i n t e r n a l \ n * / \ n s t a t i c s t r i c t C o n t a i n s P o s i t i o n ( r a n g e , p o s i t i o n ) { \ n i f ( p o s i t i o n . l i n e N u m b e r < r a n g e . s t a r t L i n e N u m b e r | | p o s i t i o n . l i n e N u m b e r > r a n g e . e n d L i n e N u m b e r ) { \ n r e t u r n f a l s e ; \ n } \ n i f ( p o s i t i o n . l i n e N u m b e r = = = r a n g e . s t a r t L i n e N u m b e r & & p o s i t i o n . c o l u m n < = r a n g e . s t a r t C o l u m n ) { \ n r e t u r n f a l s e ; \ n } \ n i f ( p o s i t i o n . l i n e N u m b e r = = = r a n g e . e n d L i n e N u m b e r & & p o s i t i o n . c o l u m n > = r a n g e . e n d C o l u m n ) { \ n r e t u r n f a l s e ; \ n } \ n r e t u r n t r u e ; \ n } \ n / * * \ n * T e s t i f r a n g e i s i n t h i s r a n g e . I f t h e r a n g e i s e q u a l t o t h i s r a n g e , w i l l r e t u r n t r u e . \ n * / \ n c o n t a i n s R a n g e ( r a n g e ) { \ n r e t u r n R a n g e . c o n t a i n s R a n g e ( t h i s , r a n g e ) ; \ n } \ n / * * \ n * T e s t i f ` o t h e r R a n g e ` i s i n ` r a n g e ` . I f t h e r a n g e s a r e e q u a l , w i l l r e t u r n t r u e . \ n * / \ n s t a t i c c o n t a i n s R a n g e ( r a n g e , o t h e r R a n g e ) { \ n i f ( o t h e r R a n g e . s t a r t L i n e N u m b e r < r a n g e . s t a r t L i n e N u m b e r | | o t h e r R a n g e . e n d L i n e N u m b e r < r a n g e . s t a r t L i n e N u m b e r ) { \ n r e t u r n f a l s e ; \ n } \ n i f ( o t h e r R a n g e . s t a r t L i n e N u m b e r > r a n g e . e n d L i n e N u m b e r | | o t h e r R a n g e . e n d L i n e N u m b e r > r a n g e . e n d L i n e N u m b e r ) { \ n r e t u r n f a l s e ; \ n } \ n i f ( o t h e r R a n g e . s t a r t L i n e N u m b e r = = = r a n g e . s t a r t L i n e N u m
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / core / selection . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"Selection\": () => (/ * binding * / Selection)\n/ * harmony export * / });\n/ * harmony import * / var _position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / position . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / r a n g e . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / r a n g e . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n / * * \ n * A s e l e c t i o n i n t h e e d i t o r . \ n * T h e s e l e c t i o n i s a r a n g e t h a t h a s a n o r i e n t a t i o n . \ n * / \ n c l a s s S e l e c t i o n e x t e n d s _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . R a n g e { \ n c o n s t r u c t o r ( s e l e c t i o n S t a r t L i n e N u m b e r , s e l e c t i o n S t a r t C o l u m n , p o s i t i o n L i n e N u m b e r , p o s i t i o n C o l u m n ) { \ n s u p e r ( s e l e c t i o n S t a r t L i n e N u m b e r , s e l e c t i o n S t a r t C o l u m n , p o s i t i o n L i n e N u m b e r , p o s i t i o n C o l u m n ) ; \ n t h i s . s e l e c t i o n S t a r t L i n e N u m b e r = s e l e c t i o n S t a r t L i n e N u m b e r ; \ n t h i s . s e l e c t i o n S t a r t C o l u m n = s e l e c t i o n S t a r t C o l u m n ; \ n t h i s . p o s i t i o n L i n e N u m b e r = p o s i t i o n L i n e N u m b e r ; \ n t h i s . p o s i t i o n C o l u m n = p o s i t i o n C o l u m n ; \ n } \ n / * * \ n * T r a n s f o r m t o a h u m a n - r e a d a b l e r e p r e s e n t a t i o n . \ n * / \ n t o S t r i n g ( ) { \ n r e t u r n ' [ ' + t h i s . s e l e c t i o n S t a r t L i n e N u m b e r + ' , ' + t h i s . s e l e c t i o n S t a r t C o l u m n + ' - > ' + t h i s . p o s i t i o n L i n e N u m b e r + ' , ' + t h i s . p o s i t i o n C o l u m n + ' ] ' ; \ n } \ n / * * \ n * T e s t i f e q u a l s o t h e r s e l e c t i o n . \ n * / \ n e q u a l s S e l e c t i o n ( o t h e r ) { \ n r e t u r n ( S e l e c t i o n . s e l e c t i o n s E q u a l ( t h i s , o t h e r ) ) ; \ n } \ n / * * \ n * T e s t i f t h e t w o s e l e c t i o n s a r e e q u a l . \ n * / \ n s t a t i c s e l e c t i o n s E q u a l ( a , b ) { \ n r e t u r n ( a . s e l e c t i o n S t a r t L i n e N u m b e r = = = b . s e l e c t i o n S t a r t L i n e N u m b e r & & \ n a . s e l e c t i o n S t a r t C o l u m n = = = b . s e l e c t i o n S t a r t C o l u m n & & \ n a . p o s i t i o n L i n e N u m b e r = = = b . p o s i t i o n L i n e N u m b e r & & \ n a . p o s i t i o n C o l u m n = = = b . p o s i t i o n C o l u m n ) ; \ n } \ n / * * \ n * G e t d i r e c t i o n s ( L T R o r R T L ) . \ n * / \ n g e t D i r e c t i o n ( ) { \ n i f ( t h i s . s e l e c t i o n S t a r t L i n e N u m b e r = = = t h i s . s t a r t L i n e N u m b e r & & t h i s . s e l e c t i o n S t a r t C o l u m n = = = t h i s . s t a r t C o l u m n ) { \ n r e t u r n 0 / * L T R * / ; \ n } \ n r e t u r n 1 / * R T L * / ; \ n } \ n / * * \ n * C r e a t e a n e w s e l e c t i o n w i t h a d i f f e r e n t ` p o s i t i o n L i n e N u m b e r ` a n d ` p o s i t i o n C o l u m n ` . \ n * / \ n s e t E n d P o s i t i o n ( e n d L i n e N u m b e r , e n d C o l u m n ) { \ n i f ( t h i s . g e t D i r e c t i o n ( ) = = = 0 / * L T R * / ) { \ n r e t u r n n e w S e l e c t i o n ( t h i s . s t a r t L i n e N u m b e r , t h i s . s t a r t C o l u m n , e n d L i n e N u m b e r , e n d C o l u m n ) ; \ n } \ n r e t u r n n e w S e l e c t i o n ( e n d L i n e N u m b e r , e n d C o l u m n , t h i s . s t a r t L i n e N u m b e r , t h i s . s t a r t C o l u m n ) ; \ n } \ n / * * \ n * G e t t h e p o s i t i o n a t ` p o s i t i o n L i n e N u m b e r ` a n d ` p o s i t i o n C o l u m n ` . \ n * / \ n g e t P o s i t i o n ( ) { \ n r e t u r n n e w _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . P o s i t i o n ( t h i s . p o s i t i o n L i n e N u m b e r , t h i s . p o s i t i o n C o l u m n ) ; \ n } \ n / * * \ n * G e t t h e p o s i t i o n a t t h e s t a r t o f t h e s e l e c t i o n . \ n * / \ n g e t S e l e c t i o n S t a r t ( ) { \ n r e t u r n n e w _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . P o s i t i o n ( t h i s . s e l e c t i o n S t a r t L i n e N u m b e r , t h i s . s e l e c t i o n S t a r t C o l u m n ) ; \ n } \ n / * * \ n * C r e a t e a n e w s e l e c t i o n w i t h a d i f f e r e n t ` s e l e c t i o n S t a r t L i n e N u m b e r ` a n d ` s e l e c t i o n S t a r t C o l u m n ` . \ n * / \ n s e t S t a r t P o s i t i o n ( s t a r t L i n e N u m b e r , s t a r t C o l u m n ) { \ n i f ( t h i s . g e t D i r e c t i o n ( ) = = = 0 / * L T R * / ) { \ n r e t u r n n e w S e l e c t i o n ( s t a r t L i n e N u m b e r , s t a r t C o l u m n , t h i s . e n d L i n e N u m b e r , t h i s . e n d C o l u m n ) ; \ n } \ n r e t u r n n e w S e l e c t i o n ( t h i s . e n d L i n e N u m b e r , t h i s . e n d C o l u m n , s t a r t L i n e N u m b e r , s t a r t C o l u m n ) ; \ n } \ n / / - - - - \ n / *
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / core / wordCharacterClassifier . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "WordCharacterClassifier": () => (/ * binding * / WordCharacterClassifier),\n/ * harmony export * / "getMapForWordSeparators": () => (/ * binding * / getMapForWordSeparators)\n/ * harmony export * / });\n/ * harmony import * / var _characterClassifier_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . / characterClassifier . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / c h a r a c t e r C l a s s i f i e r . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n c l a s s W o r d C h a r a c t e r C l a s s i f i e r e x t e n d s _ c h a r a c t e r C l a s s i f i e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . C h a r a c t e r C l a s s i f i e r { \ n c o n s t r u c t o r ( w o r d S e p a r a t o r s ) { \ n s u p e r ( 0 / * R e g u l a r * / ) ; \ n f o r ( l e t i = 0 , l e n = w o r d S e p a r a t o r s . l e n g t h ; i < l e n ; i + + ) { \ n t h i s . s e t ( w o r d S e p a r a t o r s . c h a r C o d e A t ( i ) , 2 / * W o r d S e p a r a t o r * / ) ; \ n } \ n t h i s . s e t ( 3 2 / * S p a c e * / , 1 / * W h i t e s p a c e * / ) ; \ n t h i s . s e t ( 9 / * T a b * / , 1 / * W h i t e s p a c e * / ) ; \ n } \ n } \ n f u n c t i o n o n c e ( c o m p u t e F n ) { \ n c o n s t c a c h e = { } ; / / T O D O @ A l e x u n b o u n d e d c a c h e \ n r e t u r n ( i n p u t ) = > { \ n i f ( ! c a c h e . h a s O w n P r o p e r t y ( i n p u t ) ) { \ n c a c h e [ i n p u t ] = c o m p u t e F n ( i n p u t ) ; \ n } \ n r e t u r n c a c h e [ i n p u t ] ; \ n } ; \ n } \ n c o n s t g e t M a p F o r W o r d S e p a r a t o r s = o n c e ( ( i n p u t ) = > n e w W o r d C h a r a c t e r C l a s s i f i e r ( i n p u t ) ) ; \ n \ n \ n / / # s o u r c e U R L = w e b p a c k : / / m o n a n c o _ w p a c k / . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / w o r d C h a r a c t e r C l a s s i f i e r . j s ? ' ) } , " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / w o r d H e l p e r . j s " :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / core / wordHelper . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"DEFAULT_WORD_REGEXP\": () => (/ * binding * / DEFAULT_WORD_REGEXP),\n/ * harmony export * / \"USUAL_WORD_SEPARATORS\": () => (/ * binding * / USUAL_WORD_SEPARATORS),\n/ * harmony export * / \"ensureValidWordDefinition\": () => (/ * binding * / ensureValidWordDefinition),\n/ * harmony export * / \"getWordAtText\": () => (/ * binding * / getWordAtText)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nconst USUAL_WORD_SEPARATORS = '`~!@#$%^&*()-=+[{]}\\\\|;:\\'\",.<>/ ? ';\n/**\n * Create a word definition regular expression based on default word separators.\n * Optionally provide allowed separators that should be included in words.\n *\n * The default would look like this:\n * /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\' \ \ \ " \ \ , \ \ . \ \ < \ \ > \ \ / \ \ ? \ \ s ] + ) / g \ n * /\nfunction createWordRegExp(allowInWords = '') {\n let source = '(-?\\\\d*\\\\.\\\\d\\\\w*)|([^';\n for (const sep of USUAL_WORD_SEPARATORS) {\n if (allowInWords.indexOf(sep) >= 0) {\n continue;\n }\n source += '\\\\' + sep;\n }\n source += '\\\\s]+)';\n return new RegExp(source, 'g');\n}\n/ / catches numbers ( including floating numbers ) in the first group , and alphanum in the second \ nconst DEFAULT _WORD _REGEXP = createWordRegExp ( ) ; \ nfunction ensureValidWordDefinition ( wordDefinition ) { \ n let result = DEFAULT _WORD _REGEXP ; \ n if ( wordDefinition && ( wordDefinition instanceof RegExp ) ) { \ n if ( ! wordDefinition . global ) { \ n let flags = 'g' ; \ n if ( wordDefinition . ignoreCase ) { \ n flags += 'i' ; \ n } \ n if ( wordDefinition . multiline ) { \ n flags += 'm' ; \ n } \ n if ( wordDefinition . unicode ) { \ n flags += 'u' ; \ n } \ n result = new RegExp ( wordDefinition . source , flags ) ; \ n } \ n else { \ n result = wordDefinition ; \ n } \ n } \ n result . lastIndex = 0 ; \ n return result ; \ n } \ nconst _defaultConfig = { \ n maxLen : 1000 , \ n windowSize : 15 , \ n timeBudget : 150 \ n } ; \ nfunction getWordAtText ( column , wordDefinition , text , textOffset , config = _defaultConfig ) { \ n if ( text . length > config . maxLen ) { \ n // don't throw strings that long at the regexp\n // but use a sub-string in which a word must occur\n let start = column - config.maxLen / 2;\n if (start < 0) {\n start = 0;\n }\n else {\n textOffset += start;\n }\n text = text.substring(start, column + config.maxLen / 2);\n return getWordAtText(column, wordDefinition, text, textOffset, config);\n }\n const t1 = Date.now();\n const pos = column - 1 - textOffset;\n let prevRegexIndex = -1;\n let match = null;\n for (let i = 1;; i++) {\n // check time budget\n if (Date.now() - t1 >= config.timeBudget) {\n break;\n }\n // reset the index at which the regexp should start matching, also know where it\n // should stop so that subsequent search don't repeat previous searches\n const regexIndex = pos - config.windowSize * i;\n wordDefinition.lastIndex = Math.max(0, regexIndex);\n const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex);\n if (!thisMatch && match) {\n // stop: we have something\n break;\n }\n match = thisMatch;\n // stop: searched
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / diff / diffComputer . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "DiffComputer": () => (/ * binding * / DiffComputer)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_diff_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / diff / diff . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / d i f f / d i f f . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ s t r i n g s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / s t r i n g s . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n c o n s t M I N I M U M _ M A T C H I N G _ C H A R A C T E R _ L E N G T H = 3 ; \ n f u n c t i o n c o m p u t e D i f f ( o r i g i n a l S e q u e n c e , m o d i f i e d S e q u e n c e , c o n t i n u e P r o c e s s i n g P r e d i c a t e , p r e t t y ) { \ n c o n s t d i f f A l g o = n e w _ b a s e _ c o m m o n _ d i f f _ d i f f _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . L c s D i f f ( o r i g i n a l S e q u e n c e , m o d i f i e d S e q u e n c e , c o n t i n u e P r o c e s s i n g P r e d i c a t e ) ; \ n r e t u r n d i f f A l g o . C o m p u t e D i f f ( p r e t t y ) ; \ n } \ n c l a s s L i n e S e q u e n c e { \ n c o n s t r u c t o r ( l i n e s ) { \ n c o n s t s t a r t C o l u m n s = [ ] ; \ n c o n s t e n d C o l u m n s = [ ] ; \ n f o r ( l e t i = 0 , l e n g t h = l i n e s . l e n g t h ; i < l e n g t h ; i + + ) { \ n s t a r t C o l u m n s [ i ] = g e t F i r s t N o n B l a n k C o l u m n ( l i n e s [ i ] , 1 ) ; \ n e n d C o l u m n s [ i ] = g e t L a s t N o n B l a n k C o l u m n ( l i n e s [ i ] , 1 ) ; \ n } \ n t h i s . l i n e s = l i n e s ; \ n t h i s . _ s t a r t C o l u m n s = s t a r t C o l u m n s ; \ n t h i s . _ e n d C o l u m n s = e n d C o l u m n s ; \ n } \ n g e t E l e m e n t s ( ) { \ n c o n s t e l e m e n t s = [ ] ; \ n f o r ( l e t i = 0 , l e n = t h i s . l i n e s . l e n g t h ; i < l e n ; i + + ) { \ n e l e m e n t s [ i ] = t h i s . l i n e s [ i ] . s u b s t r i n g ( t h i s . _ s t a r t C o l u m n s [ i ] - 1 , t h i s . _ e n d C o l u m n s [ i ] - 1 ) ; \ n } \ n r e t u r n e l e m e n t s ; \ n } \ n g e t S t r i c t E l e m e n t ( i n d e x ) { \ n r e t u r n t h i s . l i n e s [ i n d e x ] ; \ n } \ n g e t S t a r t L i n e N u m b e r ( i ) { \ n r e t u r n i + 1 ; \ n } \ n g e t E n d L i n e N u m b e r ( i ) { \ n r e t u r n i + 1 ; \ n } \ n c r e a t e C h a r S e q u e n c e ( s h o u l d I g n o r e T r i m W h i t e s p a c e , s t a r t I n d e x , e n d I n d e x ) { \ n c o n s t c h a r C o d e s = [ ] ; \ n c o n s t l i n e N u m b e r s = [ ] ; \ n c o n s t c o l u m n s = [ ] ; \ n l e t l e n = 0 ; \ n f o r ( l e t i n d e x = s t a r t I n d e x ; i n d e x < = e n d I n d e x ; i n d e x + + ) { \ n c o n s t l i n e C o n t e n t = t h i s . l i n e s [ i n d e x ] ; \ n c o n s t s t a r t C o l u m n = ( s h o u l d I g n o r e T r i m W h i t e s p a c e ? t h i s . _ s t a r t C o l u m n s [ i n d e x ] : 1 ) ; \ n c o n s t e n d C o l u m n = ( s h o u l d I g n o r e T r i m W h i t e s p a c e ? t h i s . _ e n d C o l u m n s [ i n d e x ] : l i n e C o n t e n t . l e n g t h + 1 ) ; \ n f o r ( l e t c o l = s t a r t C o l u m n ; c o l < e n d C o l u m n ; c o l + + ) { \ n c h a r C o d e s [ l e n ] = l i n e C o n t e n t . c h a r C o d e A t ( c o l - 1 ) ; \ n l i n e N u m b e r s [ l e n ] = i n d e x + 1 ; \ n c o l u m n s [ l e n ] = c o l ; \ n l e n + + ; \ n } \ n } \ n r e t u r n n e w C h a r S e q u e n c e ( c h a r C o d e s , l i n e N u m b e r s , c o l u m n s ) ; \ n } \ n } \ n c l a s s C h a r S e q u e n c e { \ n c o n s t r u c t o r ( c h a r C o d e s , l i n e N u m b e r s , c o l u m n s ) { \ n t h i s . _ c h a r C o d e s = c h a r C o d e s ; \ n t h i s . _ l i n e N u m b e r s = l i n e N u m b e r s ; \ n t h i s . _ c o l u m n s = c o l u m n s ; \ n } \ n g e t E l e m e n t s ( ) { \ n r e t u r n t h i s . _ c h a r C o d e s ; \ n } \ n g e t S t a r t L i n e N u m b e r ( i ) { \ n r e t u r n t h i s . _ l i n e N u m b e r s [ i ] ; \ n } \ n g e t S t a r t C o l u m n ( i ) { \ n r e t u r n t h i s . _ c o l u m n s [ i ] ; \ n } \ n g e t E n d L i n e N u m b e r ( i ) { \ n r e t u r n t h i s . _ l i n e N u m b e r s [ i ] ; \ n } \ n g e t E n d C o l u m n ( i ) { \ n r e t u r n t h i s . _ c o l u m n s [ i ] + 1 ; \ n } \ n } \ n c l a s s C h a r C h a n g e { \ n c o n s t r u c t o r ( o r i g i n a l S t a r t L i n e N u m b e r , o r i g i n a l S t a r t C o l u m n , o r i g i n a l E n d L i n e N u m b e r , o r i g i n a l E n d C o l u m n , m o d i f i e d S t a r t L i n e N u m b e r , m o d i f i e d S t a r t C o l u m n , m o d i f i e d E n d L i n e N u m b e r , m o d i f i e d E n d C o l u m n ) { \ n t h i s . o r i g i n a l S t a r t L i n e N u m b e r = o r i g i n a l S t a r t L i n e N u m b e r ; \ n t h i s . o r i g i n a l S t a r t C o l u
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / languages . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"Command\": () => (/ * binding * / Command),\n/ * harmony export * / \"CompletionItemKinds\": () => (/ * binding * / CompletionItemKinds),\n/ * harmony export * / \"DocumentHighlightKind\": () => (/ * binding * / DocumentHighlightKind),\n/ * harmony export * / \"EncodedTokenizationResult\": () => (/ * binding * / EncodedTokenizationResult),\n/ * harmony export * / \"FoldingRangeKind\": () => (/ * binding * / FoldingRangeKind),\n/ * harmony export * / \"InlayHintKind\": () => (/ * binding * / InlayHintKind),\n/ * harmony export * / \"InlineCompletionTriggerKind\": () => (/ * binding * / InlineCompletionTriggerKind),\n/ * harmony export * / \"SignatureHelpTriggerKind\": () => (/ * binding * / SignatureHelpTriggerKind),\n/ * harmony export * / \"SymbolKinds\": () => (/ * binding * / SymbolKinds),\n/ * harmony export * / \"Token\": () => (/ * binding * / Token),\n/ * harmony export * / \"TokenMetadata\": () => (/ * binding * / TokenMetadata),\n/ * harmony export * / \"TokenizationRegistry\": () => (/ * binding * / TokenizationRegistry),\n/ * harmony export * / \"TokenizationResult\": () => (/ * binding * / TokenizationResult),\n/ * harmony export * / \"isLocationLink\": () => (/ * binding * / isLocationLink)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_uri_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / base / common / uri . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / u r i . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / c o r e / r a n g e . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / r a n g e . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ t o k e n i z a t i o n R e g i s t r y _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / t o k e n i z a t i o n R e g i s t r y . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / t o k e n i z a t i o n R e g i s t r y . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ c o d i c o n s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / b a s e / c o m m o n / c o d i c o n s . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / c o d i c o n s . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n \ n \ n / * * \ n * @ i n t e r n a l \ n * / \ n c l a s s T o k e n M e t a d a t a { \ n s t a t i c g e t L a n g u a g e I d ( m e t a d a t a ) { \ n r e t u r n ( m e t a d a t a & 2 5 5 / * L A N G U A G E I D _ M A S K * / ) > > > 0 / * L A N G U A G E I D _ O F F S E T * / ; \ n } \ n s t a t i c g e t T o k e n T y p e ( m e t a d a t a ) { \ n r e t u r n ( m e t a d a t a & 7 6 8 / * T O K E N _ T Y P E _ M A S K * / ) > > > 8 / * T O K E N _ T Y P E _ O F F S E T * / ; \ n } \ n s t a t i c g e t F o n t S t y l e ( m e t a d a t a ) { \ n r e t u r n ( m e t a d a t a & 1 5 3 6 0 / * F O N T _ S T Y L E _ M A S K * / ) > > > 1 0 / * F O N T _ S T Y L E _ O F F S E T * / ; \ n } \ n s t a t i c g e t F o r e g r o u n d ( m e t a d a t a ) { \ n r e t u r n ( m e t a d a t a & 8 3 7 2 2 2 4 / * F O R E G R O U N D _ M A S K * / ) > > > 1 4 / * F O R E G R O U N D _ O F F S E T * / ; \ n } \ n s t a t i c g e t B a c k g r o u n d ( m e t a d a t a ) { \ n r e t u r n ( m e t a d a t a & 4 2 8 6 5 7 8 6 8 8 / * B A C K G R O U N D _ M A S K * / ) > > > 2 3 / * B A C K G R O U N D _ O F F S E T * / ; \ n } \ n s t a t i c g e t C l a s s N a m e F r o m M e t a d a t a ( m e t a d a t a ) { \ n c o n s t f o r e g r o u n d = t h i s . g e t F o r e g r o u n d ( m e t a d a t a ) ; \ n l e t c l a s s N a m e = ' m t k ' + f o r e g r o u n d ; \ n c o n s t f o n t S t y l e = t h i s . g e t F o n t S t y l e ( m e t a d a t a ) ; \ n i f ( f o n t S t y l e & 1 / * I t a l i c * / ) { \ n c l a s s N a m e + = ' m t k i ' ; \ n } \ n i f ( f o n t S t y l e & 2 / * B o l d * / ) { \ n c l a s s N a m e + = ' m t k b ' ; \ n } \ n i f ( f o n t S t y l e & 4 / * U n d e r l i n e * / ) { \ n c l a s s N a m e + = ' m t k u ' ; \ n } \ n i f ( f o n t S t y l e & 8 / * S t r i k e t h r o u g h * / ) { \ n c l a s s N a m e + = ' m t k s ' ; \ n } \ n r e t u r n c l a s s N a m e ; \ n } \ n s t a t i c g e t I n l i n e S t y l e F r o m M e t a d a t a ( m e t a d a t a , c o l o r M a p ) { \ n c o n s t f o r e g r o u n d = t h i s . g e t F o r e g r o u n d (
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / languages / linkComputer . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "LinkComputer": () => (/ * binding * / LinkComputer),\n/ * harmony export * / "StateMachine": () => (/ * binding * / StateMachine),\n/ * harmony export * / "Uint8Matrix": () => (/ * binding * / Uint8Matrix),\n/ * harmony export * / "computeLinks": () => (/ * binding * / computeLinks)\n/ * harmony export * / });\n/ * harmony import * / var _core_characterClassifier_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / core / characterClassifier . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / c h a r a c t e r C l a s s i f i e r . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n c l a s s U i n t 8 M a t r i x { \ n c o n s t r u c t o r ( r o w s , c o l s , d e f a u l t V a l u e ) { \ n c o n s t d a t a = n e w U i n t 8 A r r a y ( r o w s * c o l s ) ; \ n f o r ( l e t i = 0 , l e n = r o w s * c o l s ; i < l e n ; i + + ) { \ n d a t a [ i ] = d e f a u l t V a l u e ; \ n } \ n t h i s . _ d a t a = d a t a ; \ n t h i s . r o w s = r o w s ; \ n t h i s . c o l s = c o l s ; \ n } \ n g e t ( r o w , c o l ) { \ n r e t u r n t h i s . _ d a t a [ r o w * t h i s . c o l s + c o l ] ; \ n } \ n s e t ( r o w , c o l , v a l u e ) { \ n t h i s . _ d a t a [ r o w * t h i s . c o l s + c o l ] = v a l u e ; \ n } \ n } \ n c l a s s S t a t e M a c h i n e { \ n c o n s t r u c t o r ( e d g e s ) { \ n l e t m a x C h a r C o d e = 0 ; \ n l e t m a x S t a t e = 0 / * I n v a l i d * / ; \ n f o r ( l e t i = 0 , l e n = e d g e s . l e n g t h ; i < l e n ; i + + ) { \ n c o n s t [ f r o m , c h C o d e , t o ] = e d g e s [ i ] ; \ n i f ( c h C o d e > m a x C h a r C o d e ) { \ n m a x C h a r C o d e = c h C o d e ; \ n } \ n i f ( f r o m > m a x S t a t e ) { \ n m a x S t a t e = f r o m ; \ n } \ n i f ( t o > m a x S t a t e ) { \ n m a x S t a t e = t o ; \ n } \ n } \ n m a x C h a r C o d e + + ; \ n m a x S t a t e + + ; \ n c o n s t s t a t e s = n e w U i n t 8 M a t r i x ( m a x S t a t e , m a x C h a r C o d e , 0 / * I n v a l i d * / ) ; \ n f o r ( l e t i = 0 , l e n = e d g e s . l e n g t h ; i < l e n ; i + + ) { \ n c o n s t [ f r o m , c h C o d e , t o ] = e d g e s [ i ] ; \ n s t a t e s . s e t ( f r o m , c h C o d e , t o ) ; \ n } \ n t h i s . _ s t a t e s = s t a t e s ; \ n t h i s . _ m a x C h a r C o d e = m a x C h a r C o d e ; \ n } \ n n e x t S t a t e ( c u r r e n t S t a t e , c h C o d e ) { \ n i f ( c h C o d e < 0 | | c h C o d e > = t h i s . _ m a x C h a r C o d e ) { \ n r e t u r n 0 / * I n v a l i d * / ; \ n } \ n r e t u r n t h i s . _ s t a t e s . g e t ( c u r r e n t S t a t e , c h C o d e ) ; \ n } \ n } \ n / / S t a t e m a c h i n e f o r h t t p : / / o r h t t p s : / / o r f i l e : / / \ n l e t _ s t a t e M a c h i n e = n u l l ; \ n f u n c t i o n g e t S t a t e M a c h i n e ( ) { \ n i f ( _ s t a t e M a c h i n e = = = n u l l ) { \ n _ s t a t e M a c h i n e = n e w S t a t e M a c h i n e ( [ \ n [ 1 / * S t a r t * / , 1 0 4 / * h * / , 2 / * H * / ] , \ n [ 1 / * S t a r t * / , 7 2 / * H * / , 2 / * H * / ] , \ n [ 1 / * S t a r t * / , 1 0 2 / * f * / , 6 / * F * / ] , \ n [ 1 / * S t a r t * / , 7 0 / * F * / , 6 / * F * / ] , \ n [ 2 / * H * / , 1 1 6 / * t * / , 3 / * H T * / ] , \ n [ 2 / * H * / , 8 4 / * T * / , 3 / * H T * / ] , \ n [ 3 / * H T * / , 1 1 6 / * t * / , 4 / * H T T * / ] , \ n [ 3 / * H T * / , 8 4 / * T * / , 4 / * H T T * / ] , \ n [ 4 / * H T T * / , 1 1 2 / * p * / , 5 / * H T T P * / ] , \ n [ 4 / * H T T * / , 8 0 / * P * / , 5 / * H T T P * / ] , \ n [ 5 / * H T T P * / , 1 1 5 / * s * / , 9 / * B e f o r e C o l o n * / ] , \ n [ 5 / * H T T P * / , 8 3 / * S * / , 9 / * B e f o r e C o l o n * / ] , \ n [ 5 / * H T T P * / , 5 8 / * C o l o n * / , 1 0 / * A f t e r C o l o n * / ] , \ n [ 6 / * F * / , 1 0 5 / * i * / , 7 / * F I * / ] , \ n [ 6 / * F * / , 7 3 / * I * / , 7 / * F I * / ] , \ n [ 7 / * F I * / , 1 0 8 / * l * / , 8 / * F I L * / ] , \ n [ 7 / * F I * / , 7 6 / * L * / , 8 / * F I L * / ] , \ n [ 8 / * F I L * / , 1 0 1 / * e * / , 9 / * B e f o r e C o l o n * / ] , \ n [ 8 / * F I L * / , 6 9 / * E * / , 9 / * B e f o r e C o l o n * / ] , \ n [ 9 / * B e f o r e C o l o n * / , 5 8 / * C o l o n * / , 1 0 / * A f t e r C o l o n * / ] , \ n [ 1 0 / * A f t e r C o l o n * /
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / languages / supports / inplaceReplaceSupport . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"BasicInplaceReplace\": () => (/ * binding * / BasicInplaceReplace)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\nclass BasicInplaceReplace {\n constructor() {\n this._defaultValueSet = [\n ['true', 'false'],\n ['True', 'False'],\n ['Private', 'Public', 'Friend', 'ReadOnly', 'Partial', 'Protected', 'WriteOnly'],\n ['public', 'protected', 'private'],\n ];\n }\n navigateValueSet(range1, text1, range2, text2, up) {\n if (range1 && text1) {\n const result = this.doNavigateValueSet(text1, up);\n if (result) {\n return {\n range: range1,\n value: result\n };\n }\n }\n if (range2 && text2) {\n const result = this.doNavigateValueSet(text2, up);\n if (result) {\n return {\n range: range2,\n value: result\n };\n }\n }\n return null;\n }\n doNavigateValueSet(text, up) {\n const numberResult = this.numberReplace(text, up);\n if (numberResult !== null) {\n return numberResult;\n }\n return this.textReplace(text, up);\n }\n numberReplace(value, up) {\n const precision = Math.pow(10, value.length - (value.lastIndexOf('.') + 1));\n let n1 = Number(value);\n let n2 = parseFloat(value);\n if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\n if (n1 === 0 && !up) {\n return null; / / don 't do negative\n //\t\t\t} else if(n1 === 9 && up) {\n //\t\t\t\treturn null; // don' t insert 10 into a number \ n } \ n else { \ n n1 = Math . floor ( n1 * precision ) ; \ n n1 += up ? precision : - precision ; \ n return String ( n1 / precision ) ; \ n } \ n } \ n return null ; \ n } \ n textReplace ( value , up ) { \ n return this . valueSetsReplace ( this . _defaultValueSet , value , up ) ; \ n } \ n valueSetsReplace ( valueSets , value , up ) { \ n let result = null ; \ n for ( let i = 0 , len = valueSets . length ; result === null && i < len ; i ++ ) { \ n result = this . valueSetReplace ( valueSets [ i ] , value , up ) ; \ n } \ n return result ; \ n } \ n valueSetReplace ( valueSet , value , up ) { \ n let idx = valueSet . indexOf ( value ) ; \ n if ( idx >= 0 ) { \ n idx += up ? + 1 : - 1 ; \ n if ( idx < 0 ) { \ n idx = valueSet . length - 1 ; \ n } \ n else { \ n idx %= valueSet . length ; \ n } \ n return valueSet [ idx ] ; \ n } \ n return null ; \ n } \ n } \ nBasicInplaceReplace . INSTANCE = new BasicInplaceReplace ( ) ; \ n \ n \ n //# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js?")},"./node_modules/monaco-editor/esm/vs/editor/common/model.js":
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / model . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "ApplyEditsResult": () => (/ * binding * / ApplyEditsResult),\n/ * harmony export * / "FindMatch": () => (/ * binding * / FindMatch),\n/ * harmony export * / "InjectedTextCursorStops": () => (/ * binding * / InjectedTextCursorStops),\n/ * harmony export * / "MinimapPosition": () => (/ * binding * / MinimapPosition),\n/ * harmony export * / "OverviewRulerLane": () => (/ * binding * / OverviewRulerLane),\n/ * harmony export * / "SearchData": () => (/ * binding * / SearchData),\n/ * harmony export * / "TextModelResolvedOptions": () => (/ * binding * / TextModelResolvedOptions),\n/ * harmony export * / "ValidAnnotatedEditOperation": () => (/ * binding * / ValidAnnotatedEditOperation),\n/ * harmony export * / "shouldSynchronizeModel": () => (/ * binding * / shouldSynchronizeModel)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_objects_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / base / common / objects . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / o b j e c t s . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n / * * \ n * V e r t i c a l L a n e i n t h e o v e r v i e w r u l e r o f t h e e d i t o r . \ n * / \ n v a r O v e r v i e w R u l e r L a n e ; \ n ( f u n c t i o n ( O v e r v i e w R u l e r L a n e ) { \ n O v e r v i e w R u l e r L a n e [ O v e r v i e w R u l e r L a n e [ " L e f t " ] = 1 ] = " L e f t " ; \ n O v e r v i e w R u l e r L a n e [ O v e r v i e w R u l e r L a n e [ " C e n t e r " ] = 2 ] = " C e n t e r " ; \ n O v e r v i e w R u l e r L a n e [ O v e r v i e w R u l e r L a n e [ " R i g h t " ] = 4 ] = " R i g h t " ; \ n O v e r v i e w R u l e r L a n e [ O v e r v i e w R u l e r L a n e [ " F u l l " ] = 7 ] = " F u l l " ; \ n } ) ( O v e r v i e w R u l e r L a n e | | ( O v e r v i e w R u l e r L a n e = { } ) ) ; \ n / * * \ n * P o s i t i o n i n t h e m i n i m a p t o r e n d e r t h e d e c o r a t i o n . \ n * / \ n v a r M i n i m a p P o s i t i o n ; \ n ( f u n c t i o n ( M i n i m a p P o s i t i o n ) { \ n M i n i m a p P o s i t i o n [ M i n i m a p P o s i t i o n [ " I n l i n e " ] = 1 ] = " I n l i n e " ; \ n M i n i m a p P o s i t i o n [ M i n i m a p P o s i t i o n [ " G u t t e r " ] = 2 ] = " G u t t e r " ; \ n } ) ( M i n i m a p P o s i t i o n | | ( M i n i m a p P o s i t i o n = { } ) ) ; \ n v a r I n j e c t e d T e x t C u r s o r S t o p s ; \ n ( f u n c t i o n ( I n j e c t e d T e x t C u r s o r S t o p s ) { \ n I n j e c t e d T e x t C u r s o r S t o p s [ I n j e c t e d T e x t C u r s o r S t o p s [ " B o t h " ] = 0 ] = " B o t h " ; \ n I n j e c t e d T e x t C u r s o r S t o p s [ I n j e c t e d T e x t C u r s o r S t o p s [ " R i g h t " ] = 1 ] = " R i g h t " ; \ n I n j e c t e d T e x t C u r s o r S t o p s [ I n j e c t e d T e x t C u r s o r S t o p s [ " L e f t " ] = 2 ] = " L e f t " ; \ n I n j e c t e d T e x t C u r s o r S t o p s [ I n j e c t e d T e x t C u r s o r S t o p s [ " N o n e " ] = 3 ] = " N o n e " ; \ n } ) ( I n j e c t e d T e x t C u r s o r S t o p s | | ( I n j e c t e d T e x t C u r s o r S t o p s = { } ) ) ; \ n c l a s s T e x t M o d e l R e s o l v e d O p t i o n s { \ n / * * \ n * @ i n t e r n a l \ n * / \ n c o n s t r u c t o r ( s r c ) { \ n t h i s . _ t e x t M o d e l R e s o l v e d O p t i o n s B r a n d = u n d e f i n e d ; \ n t h i s . t a b S i z e = M a t h . m a x ( 1 , s r c . t a b S i z e | 0 ) ; \ n t h i s . i n d e n t S i z e = s r c . t a b S i z e | 0 ; \ n t h i s . i n s e r t S p a c e s = B o o l e a n ( s r c . i n s e r t S p a c e s ) ; \ n t h i s . d e f a u l t E O L = s r c . d e f a u l t E O L | 0 ; \ n t h i s . t r i m A u t o W h i t e s p a c e = B o o l e a n ( s r c . t r i m A u t o W h i t e s p a c e ) ; \ n t h i s . b r a c k e t P a i r C o l o r i z a t i o n O p t i o n s = s r c . b r a c k e t P a i r C o l o r i z a t i o n O p t i o n s ; \ n } \ n / * * \ n * @ i n t e r n a l \ n * / \ n e q u a l s ( o t h e r ) { \ n r e t u r n ( t h i s . t a b S i z e = = = o t h e r . t a b S i z e \ n & & t h i s . i n d e n t S i z e = = = o t h e r . i n d e n t S i z e \ n & & t h i s . i n s e r t S p a c e s = = = o t h e r . i n s e r t S p a c e s \ n & & t h i s . d e f a u l t E O L = = = o t h e r . d e f a u l t E O L \ n & & t h i s . t r i m A u t o W h i t e s p a c e = = = o t h e r . t r i m A u t o W h i t e s p a c e \ n & & ( 0 , _ b a s e _ c o m m o n _ o b j e c t s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . e q u a l s ) ( t h i s . b r a c k e t P a i r C o l o r i z a t i o n O p t i o n s , o t h e r . b r a c k e t P a i r C o l o r i z a t i o n O p t i o n s ) ) ; \ n } \ n / * * \ n * @ i n t e r n a l \ n * / \ n c r e a t e C h a n g e E v e n t ( n e w O p t s ) { \ n r e t u r n { \ n t a b S i z e : t h i s . t a b S i z e ! = = n e w O p t s . t a b S i z e , \ n i n d e n t S i z e : t h i s . i n d e n t S i z e ! = = n e w O p t s . i n d e n t S i z e , \ n i n s e r t S p a c e s : t h i s . i n s e r t S p a c e s ! = = n e w O p t s . i n s e r t S p a c e s , \ n
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / model / mirrorTextModel . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "MirrorTextModel": () => (/ * binding * / MirrorTextModel)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / strings . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / p o s i t i o n . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ p r e f i x S u m C o m p u t e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / p r e f i x S u m C o m p u t e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / m o d e l / p r e f i x S u m C o m p u t e r . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n \ n c l a s s M i r r o r T e x t M o d e l { \ n c o n s t r u c t o r ( u r i , l i n e s , e o l , v e r s i o n I d ) { \ n t h i s . _ u r i = u r i ; \ n t h i s . _ l i n e s = l i n e s ; \ n t h i s . _ e o l = e o l ; \ n t h i s . _ v e r s i o n I d = v e r s i o n I d ; \ n t h i s . _ l i n e S t a r t s = n u l l ; \ n t h i s . _ c a c h e d T e x t V a l u e = n u l l ; \ n } \ n d i s p o s e ( ) { \ n t h i s . _ l i n e s . l e n g t h = 0 ; \ n } \ n g e t v e r s i o n ( ) { \ n r e t u r n t h i s . _ v e r s i o n I d ; \ n } \ n g e t T e x t ( ) { \ n i f ( t h i s . _ c a c h e d T e x t V a l u e = = = n u l l ) { \ n t h i s . _ c a c h e d T e x t V a l u e = t h i s . _ l i n e s . j o i n ( t h i s . _ e o l ) ; \ n } \ n r e t u r n t h i s . _ c a c h e d T e x t V a l u e ; \ n } \ n o n E v e n t s ( e ) { \ n i f ( e . e o l & & e . e o l ! = = t h i s . _ e o l ) { \ n t h i s . _ e o l = e . e o l ; \ n t h i s . _ l i n e S t a r t s = n u l l ; \ n } \ n / / U p d a t e m y l i n e s \ n c o n s t c h a n g e s = e . c h a n g e s ; \ n f o r ( c o n s t c h a n g e o f c h a n g e s ) { \ n t h i s . _ a c c e p t D e l e t e R a n g e ( c h a n g e . r a n g e ) ; \ n t h i s . _ a c c e p t I n s e r t T e x t ( n e w _ c o r e _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . P o s i t i o n ( c h a n g e . r a n g e . s t a r t L i n e N u m b e r , c h a n g e . r a n g e . s t a r t C o l u m n ) , c h a n g e . t e x t ) ; \ n } \ n t h i s . _ v e r s i o n I d = e . v e r s i o n I d ; \ n t h i s . _ c a c h e d T e x t V a l u e = n u l l ; \ n } \ n _ e n s u r e L i n e S t a r t s ( ) { \ n i f ( ! t h i s . _ l i n e S t a r t s ) { \ n c o n s t e o l L e n g t h = t h i s . _ e o l . l e n g t h ; \ n c o n s t l i n e s L e n g t h = t h i s . _ l i n e s . l e n g t h ; \ n c o n s t l i n e S t a r t V a l u e s = n e w U i n t 3 2 A r r a y ( l i n e s L e n g t h ) ; \ n f o r ( l e t i = 0 ; i < l i n e s L e n g t h ; i + + ) { \ n l i n e S t a r t V a l u e s [ i ] = t h i s . _ l i n e s [ i ] . l e n g t h + e o l L e n g t h ; \ n } \ n t h i s . _ l i n e S t a r t s = n e w _ p r e f i x S u m C o m p u t e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ . P r e f i x S u m C o m p u t e r ( l i n e S t a r t V a l u e s ) ; \ n } \ n } \ n / * * \ n * A l l c h a n g e s t o a l i n e \ ' s t e x t g o t h r o u g h t h i s m e t h o d \ n * / \ n _ s e t L i n e T e x t ( l i n e I n d e x , n e w V a l u e ) { \ n t h i s . _ l i n e s [ l i n e I n d e x ] = n e w V a l u e ; \ n i f ( t h i s . _ l i n e S t a r t s ) { \ n / / u p d a t e p r e f i x s u m \ n t h i s . _ l i n e S t a r t s . s e t V a l u e ( l i n e I n d e x , t h i s . _ l i n e s [ l i n e I n d e x ] . l e n g t h + t h i s . _ e o l . l e n g t h ) ; \ n } \ n } \ n _ a c c e p t D e l e t e R a n g e ( r a n g e ) { \ n i f ( r a n g e . s t a r t L i n e N u m b e r = = = r a n g e . e n d L i n e N u m b e r ) { \ n i f ( r a n g e . s t a r t C o l u m n = = = r a n g e . e n d C o l u m n ) { \ n / / N o t h i n g t o d e l e t e \ n r e t u r n ; \ n } \ n / / D e l e t e t e x t o n t h e a f f e c t e d l i n e \ n t h i s . _ s e t L i n e T e x t ( r a n g e . s t a r t L i n e N u m b e r - 1 , t h i s . _ l i n e s [ r a n g e . s t a r t L i n e N u m b e r - 1 ] . s u b s t r i n g ( 0 , r a n g e . s t a r t C o l u m n - 1 ) \ n + t h i s . _ l i n e s [ r a n g e . s t a r t L i n e N u m b e r - 1 ] . s u b s t r i n g ( r a n g e . e n d C o l u m n - 1 ) ) ; \ n r e t u r n ; \ n } \ n / / T a k e r e m a i n i n g t e x t o n l a s t l i n e a n d a p p e n d i t t o r e m a i n i n g t e x t o n f i r s t l i n e \ n t h i s . _ s e t L i n e T e x t ( r a n g e . s t a r t L i n e N u m b e r - 1 , t h i s . _ l i n e s [ r a n g e . s t a r t L i n e N u m b e r - 1 ] . s u b s t r i n g ( 0 , r a n g e . s t a r t
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / model / prefixSumComputer . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "ConstantTimePrefixSumComputer": () => (/ * binding * / ConstantTimePrefixSumComputer),\n/ * harmony export * / "PrefixSumComputer": () => (/ * binding * / PrefixSumComputer),\n/ * harmony export * / "PrefixSumIndexOfResult": () => (/ * binding * / PrefixSumIndexOfResult)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_arrays_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / arrays . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / a r r a y s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / u i n t . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / u i n t . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n c l a s s P r e f i x S u m C o m p u t e r { \ n c o n s t r u c t o r ( v a l u e s ) { \ n t h i s . v a l u e s = v a l u e s ; \ n t h i s . p r e f i x S u m = n e w U i n t 3 2 A r r a y ( v a l u e s . l e n g t h ) ; \ n t h i s . p r e f i x S u m V a l i d I n d e x = n e w I n t 3 2 A r r a y ( 1 ) ; \ n t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] = - 1 ; \ n } \ n i n s e r t V a l u e s ( i n s e r t I n d e x , i n s e r t V a l u e s ) { \ n i n s e r t I n d e x = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o U i n t 3 2 ) ( i n s e r t I n d e x ) ; \ n c o n s t o l d V a l u e s = t h i s . v a l u e s ; \ n c o n s t o l d P r e f i x S u m = t h i s . p r e f i x S u m ; \ n c o n s t i n s e r t V a l u e s L e n = i n s e r t V a l u e s . l e n g t h ; \ n i f ( i n s e r t V a l u e s L e n = = = 0 ) { \ n r e t u r n f a l s e ; \ n } \ n t h i s . v a l u e s = n e w U i n t 3 2 A r r a y ( o l d V a l u e s . l e n g t h + i n s e r t V a l u e s L e n ) ; \ n t h i s . v a l u e s . s e t ( o l d V a l u e s . s u b a r r a y ( 0 , i n s e r t I n d e x ) , 0 ) ; \ n t h i s . v a l u e s . s e t ( o l d V a l u e s . s u b a r r a y ( i n s e r t I n d e x ) , i n s e r t I n d e x + i n s e r t V a l u e s L e n ) ; \ n t h i s . v a l u e s . s e t ( i n s e r t V a l u e s , i n s e r t I n d e x ) ; \ n i f ( i n s e r t I n d e x - 1 < t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] ) { \ n t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] = i n s e r t I n d e x - 1 ; \ n } \ n t h i s . p r e f i x S u m = n e w U i n t 3 2 A r r a y ( t h i s . v a l u e s . l e n g t h ) ; \ n i f ( t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] > = 0 ) { \ n t h i s . p r e f i x S u m . s e t ( o l d P r e f i x S u m . s u b a r r a y ( 0 , t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] + 1 ) ) ; \ n } \ n r e t u r n t r u e ; \ n } \ n s e t V a l u e ( i n d e x , v a l u e ) { \ n i n d e x = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o U i n t 3 2 ) ( i n d e x ) ; \ n v a l u e = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o U i n t 3 2 ) ( v a l u e ) ; \ n i f ( t h i s . v a l u e s [ i n d e x ] = = = v a l u e ) { \ n r e t u r n f a l s e ; \ n } \ n t h i s . v a l u e s [ i n d e x ] = v a l u e ; \ n i f ( i n d e x - 1 < t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] ) { \ n t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] = i n d e x - 1 ; \ n } \ n r e t u r n t r u e ; \ n } \ n r e m o v e V a l u e s ( s t a r t I n d e x , c o u n t ) { \ n s t a r t I n d e x = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o U i n t 3 2 ) ( s t a r t I n d e x ) ; \ n c o u n t = ( 0 , _ b a s e _ c o m m o n _ u i n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o U i n t 3 2 ) ( c o u n t ) ; \ n c o n s t o l d V a l u e s = t h i s . v a l u e s ; \ n c o n s t o l d P r e f i x S u m = t h i s . p r e f i x S u m ; \ n i f ( s t a r t I n d e x > = o l d V a l u e s . l e n g t h ) { \ n r e t u r n f a l s e ; \ n } \ n c o n s t m a x C o u n t = o l d V a l u e s . l e n g t h - s t a r t I n d e x ; \ n i f ( c o u n t > = m a x C o u n t ) { \ n c o u n t = m a x C o u n t ; \ n } \ n i f ( c o u n t = = = 0 ) { \ n r e t u r n f a l s e ; \ n } \ n t h i s . v a l u e s = n e w U i n t 3 2 A r r a y ( o l d V a l u e s . l e n g t h - c o u n t ) ; \ n t h i s . v a l u e s . s e t ( o l d V a l u e s . s u b a r r a y ( 0 , s t a r t I n d e x ) , 0 ) ; \ n t h i s . v a l u e s . s e t ( o l d V a l u e s . s u b a r r a y ( s t a r t I n d e x + c o u n t ) , s t a r t I n d e x ) ; \ n t h i s . p r e f i x S u m = n e w U i n t 3 2 A r r a y ( t h i s . v a l u e s . l e n g t h ) ; \ n i f ( s t a r t I n d e x - 1 < t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] ) { \ n t h i s . p r e f i x S u m V a l i d I n d e x [ 0 ] = s t a r t I n d e x - 1 ; \ n } \ n
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / model / textModelSearch . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "SearchParams": () => (/ * binding * / SearchParams),\n/ * harmony export * / "Searcher": () => (/ * binding * / Searcher),\n/ * harmony export * / "TextModelSearch": () => (/ * binding * / TextModelSearch),\n/ * harmony export * / "createFindMatch": () => (/ * binding * / createFindMatch),\n/ * harmony export * / "isMultilineRegexSource": () => (/ * binding * / isMultilineRegexSource),\n/ * harmony export * / "isValidMatch": () => (/ * binding * / isValidMatch)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / strings . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ w o r d C h a r a c t e r C l a s s i f i e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / w o r d C h a r a c t e r C l a s s i f i e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / w o r d C h a r a c t e r C l a s s i f i e r . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / p o s i t i o n . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / r a n g e . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / r a n g e . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ m o d e l _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / m o d e l . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / m o d e l . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n \ n \ n \ n c o n s t L I M I T _ F I N D _ C O U N T = 9 9 9 ; \ n c l a s s S e a r c h P a r a m s { \ n c o n s t r u c t o r ( s e a r c h S t r i n g , i s R e g e x , m a t c h C a s e , w o r d S e p a r a t o r s ) { \ n t h i s . s e a r c h S t r i n g = s e a r c h S t r i n g ; \ n t h i s . i s R e g e x = i s R e g e x ; \ n t h i s . m a t c h C a s e = m a t c h C a s e ; \ n t h i s . w o r d S e p a r a t o r s = w o r d S e p a r a t o r s ; \ n } \ n p a r s e S e a r c h R e q u e s t ( ) { \ n i f ( t h i s . s e a r c h S t r i n g = = = \ ' \ ' ) { \ n r e t u r n n u l l ; \ n } \ n / / T r y t o c r e a t e a R e g E x p o u t o f t h e p a r a m s \ n l e t m u l t i l i n e ; \ n i f ( t h i s . i s R e g e x ) { \ n m u l t i l i n e = i s M u l t i l i n e R e g e x S o u r c e ( t h i s . s e a r c h S t r i n g ) ; \ n } \ n e l s e { \ n m u l t i l i n e = ( t h i s . s e a r c h S t r i n g . i n d e x O f ( \ ' \ \ n \ ' ) > = 0 ) ; \ n } \ n l e t r e g e x = n u l l ; \ n t r y { \ n r e g e x = _ b a s e _ c o m m o n _ s t r i n g s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . c r e a t e R e g E x p ( t h i s . s e a r c h S t r i n g , t h i s . i s R e g e x , { \ n m a t c h C a s e : t h i s . m a t c h C a s e , \ n w h o l e W o r d : f a l s e , \ n m u l t i l i n e : m u l t i l i n e , \ n g l o b a l : t r u e , \ n u n i c o d e : t r u e \ n } ) ; \ n } \ n c a t c h ( e r r ) { \ n r e t u r n n u l l ; \ n } \ n i f ( ! r e g e x ) { \ n r e t u r n n u l l ; \ n } \ n l e t c a n U s e S i m p l e S e a r c h = ( ! t h i s . i s R e g e x & & ! m u l t i l i n e ) ; \ n i f ( c a n U s e S i m p l e S e a r c h & & t h i s . s e a r c h S t r i n g . t o L o w e r C a s e ( ) ! = = t h i s . s e a r c h S t r i n g . t o U p p e r C a s e ( ) ) { \ n / / c a s i n g m i g h t m a k e a d i f f e r e n c e \ n c a n U s e S i m p l e S e a r c h = t h i s . m a t c h C a s e ; \ n } \ n r e t u r n n e w _ m o d e l _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ . S e a r c h D a t a ( r e g e x , t h i s . w o r d S e p a r a t o r s ? ( 0 , _ c o r e _ w o r d C h a r a c t e r C l a s s i f i e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . g e t M a p F o r W o r d S e p a r a t o r s ) ( t h i s . w o r d S e p a r a t o r s ) : n u l l , c a n U s e S i m p l e S e a r c h ? t h i s . s e a r c h S t r i n g : n u l l ) ; \ n } \ n } \ n f u n c t i o n i s M u l t i l i n e R e g e x S o u r c e ( s e a r c h S t r i n g ) { \ n i f ( ! s e a r c h S t r i n g | | s e a r c h S t r i n g . l e n g t h = = = 0 ) { \ n r e t u r n f a l s e ; \ n } \ n f o r ( l e t i = 0 , l e n = s e a r c h S t r i n g . l e n g t h ; i < l e n ; i + + ) { \ n c o n s t c h C o d e = s e a r c h S t r i n g . c h a r C o d
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / services / editorBaseApi . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "KeyMod": () => (/ * binding * / KeyMod),\n/ * harmony export * / "createMonacoBaseAPI": () => (/ * binding * / createMonacoBaseAPI)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_cancellation_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / cancellation . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / c a n c e l l a t i o n . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ e v e n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / e v e n t . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / e v e n t . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ k e y C o d e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / k e y C o d e s . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / k e y C o d e s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ u r i _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / u r i . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / u r i . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / p o s i t i o n . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 5 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / r a n g e . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / r a n g e . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ s e l e c t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 6 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / s e l e c t i o n . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / s e l e c t i o n . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ l a n g u a g e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 7 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / l a n g u a g e s . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / l a n g u a g e s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ s t a n d a l o n e _ s t a n d a l o n e E n u m s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 8 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / s t a n d a l o n e / s t a n d a l o n e E n u m s . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / s t a n d a l o n e / s t a n d a l o n e E n u m s . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n c l a s s K e y M o d { \ n s t a t i c c h o r d ( f i r s t P a r t , s e c o n d P a r t ) { \ n r e t u r n ( 0 , _ b a s e _ c o m m o n _ k e y C o d e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ . K e y C h o r d ) ( f i r s t P a r t , s e c o n d P a r t ) ; \ n } \ n } \ n K e y M o d . C t r l C m d = 2 0 4 8 / * C t r l C m d * / ; \ n K e y M o d . S h i f t = 1 0 2 4 / * S h i f t * / ; \ n K e y M o d . A l t = 5 1 2 / * A l t * / ; \ n K e y M o d . W i n C t r l = 2 5 6 / * W i n C t r l * / ; \ n f u n c t i o n c r e a t e M o n a c o B a s e A P I ( ) { \ n r e t u r n { \ n e d i t o r : u n d e f i n e d , \ n l a n g u a g e s : u n d e f i n e d , \ n C a n c e l l a t i o n T o k e n S o u r c e : _ b a s e _ c o m m o n _ c a n c e l l a t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . C a n c e l l a t i o n T o k e n S o u r c e , \ n E m i t t e r : _ b a s e _ c o m m o n _ e v e n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . E m i t t e r , \ n K e y C o d e : _ s t a n d a l o n e _ s t a n d a l o n e E n u m s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 8 _ _ . K e y C o d e , \ n K e y M o d : K e y M o d , \ n P o s i t i o n : _ c o r e _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ . P o s i t i o n , \ n R a n g e : _ c o r e _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 5 _ _ . R a n g e , \ n S e l e c t i o n : _ c o r e _ s e l e c t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 6 _ _ . S e l e c t i o n , \ n S e l e c t i o n D i r e c t i o n : _ s t a n d a l o n e _ s t a n d a l o n e E n u m s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 8 _ _ . S e l e c t i o n D i r e c t i o n , \ n M a r k e r S e v e r i t y : _ s t a n d a l o n e _ s t a n d a l o n e E n u m s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 8 _ _ . M a r k e r S e v e r i t y , \ n M a r k e r T a g : _ s t a n d a l o n e _ s t a n d a l o n e E n u m s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 8 _ _ . M a r k e r T a g , \ n U r i : _ b a s e _ c o m m o n _ u r i _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ . U R I , \ n T o k e n : _ l a n g u a g e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 7 _ _ . T o k e n \ n } ; \ n } \ n \ n \ n / / # s o u r c e U R L = w e b p a c k : / / m o n a n c o _ w p a c k / . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / services / editorSimpleWorker . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "EditorSimpleWorker": () => (/ * binding * / EditorSimpleWorker),\n/ * harmony export * / "MirrorModel": () => (/ * binding * / MirrorModel),\n/ * harmony export * / "create": () => (/ * binding * / create)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_diff_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / . . / base / common / diff / diff . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / d i f f / d i f f . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ p l a t f o r m _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / p l a t f o r m . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / p l a t f o r m . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ u r i _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / u r i . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / u r i . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ p o s i t i o n _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / p o s i t i o n . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / p o s i t i o n . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ r a n g e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / r a n g e . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / r a n g e . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ d i f f _ d i f f C o m p u t e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 5 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / d i f f / d i f f C o m p u t e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / d i f f / d i f f C o m p u t e r . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ m o d e l _ m i r r o r T e x t M o d e l _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 6 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / m o d e l / m i r r o r T e x t M o d e l . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / m o d e l / m i r r o r T e x t M o d e l . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ w o r d H e l p e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 7 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / w o r d H e l p e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / w o r d H e l p e r . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ l a n g u a g e s _ l i n k C o m p u t e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 8 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / l a n g u a g e s / l i n k C o m p u t e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / l a n g u a g e s / l i n k C o m p u t e r . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ l a n g u a g e s _ s u p p o r t s _ i n p l a c e R e p l a c e S u p p o r t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 9 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / l a n g u a g e s / s u p p o r t s / i n p l a c e R e p l a c e S u p p o r t . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / l a n g u a g e s / s u p p o r t s / i n p l a c e R e p l a c e S u p p o r t . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ e d i t o r B a s e A p i _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 0 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / e d i t o r B a s e A p i . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / s e r v i c e s / e d i t o r B a s e A p i . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / t y p e s . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / t y p e s . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ s t o p w a t c h _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / s t o p w a t c h . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t o p w a t c h . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ u n i c o d e T e x t M o d e l H i g h l i g h t e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / u n i c o d e T e x t M o d e l H i g h l i g h t e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / s e r v i c e s / u n i c o d e T e x t M o d e l H i g h l i g h t e r . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n v a r _ _ a w a i t e r = ( u n d e f i n e d & & u n d e f i n e d . _ _ a w a i t e r ) | | f u n c t i o n ( t h i s A r g , _ a r g u m e n t s , P , g e n e r a t o r ) { \ n f u n c t i o n a d o p t ( v a l u e ) { r e t u r n v a l u e i n s t a n c e o f P ? v a l u e : n e w P ( f u n c t i o n ( r e s o l v e ) { r e s o l v e ( v a l u e ) ; } ) ; } \ n r e t u r n n e w ( P | | ( P = P r o m i s e ) ) ( f u n c t i
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / services / unicodeTextModelHighlighter . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / \"UnicodeTextModelHighlighter\": () => (/ * binding * / UnicodeTextModelHighlighter)\n/ * harmony export * / });\n/ * harmony import * / var _core_range_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / core / range . js * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / r a n g e . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ m o d e l _ t e x t M o d e l S e a r c h _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / m o d e l / t e x t M o d e l S e a r c h . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / m o d e l / t e x t M o d e l S e a r c h . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ s t r i n g s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / s t r i n g s . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / s t r i n g s . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ t y p e s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 3 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / . . / b a s e / c o m m o n / t y p e s . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / t y p e s . j s \ " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o r e _ w o r d H e l p e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 4 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / c o r e / w o r d H e l p e r . j s * / \ " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / c o r e / w o r d H e l p e r . j s \ " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n \ n \ n \ n c l a s s U n i c o d e T e x t M o d e l H i g h l i g h t e r { \ n s t a t i c c o m p u t e U n i c o d e H i g h l i g h t s ( m o d e l , o p t i o n s , r a n g e ) { \ n c o n s t s t a r t L i n e = r a n g e ? r a n g e . s t a r t L i n e N u m b e r : 1 ; \ n c o n s t e n d L i n e = r a n g e ? r a n g e . e n d L i n e N u m b e r : m o d e l . g e t L i n e C o u n t ( ) ; \ n c o n s t c o d e P o i n t H i g h l i g h t e r = n e w C o d e P o i n t H i g h l i g h t e r ( o p t i o n s ) ; \ n c o n s t c a n d i d a t e s = c o d e P o i n t H i g h l i g h t e r . g e t C a n d i d a t e C o d e P o i n t s ( ) ; \ n l e t r e g e x ; \ n i f ( c a n d i d a t e s = = = ' a l l N o n B a s i c A s c i i ' ) { \ n r e g e x = n e w R e g E x p ( ' [ ^ \ \ \ \ t \ \ \ \ n \ \ \ \ r \ \ \ \ x 2 0 - \ \ \ \ x 7 E ] ' , ' g ' ) ; \ n } \ n e l s e { \ n r e g e x = n e w R e g E x p ( ` $ { b u i l d R e g E x p C h a r C l a s s E x p r ( A r r a y . f r o m ( c a n d i d a t e s ) ) } ` , ' g ' ) ; \ n } \ n c o n s t s e a r c h e r = n e w _ m o d e l _ t e x t M o d e l S e a r c h _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . S e a r c h e r ( n u l l , r e g e x ) ; \ n c o n s t r a n g e s = [ ] ; \ n l e t h a s M o r e = f a l s e ; \ n l e t m ; \ n l e t a m b i g u o u s C h a r a c t e r C o u n t = 0 ; \ n l e t i n v i s i b l e C h a r a c t e r C o u n t = 0 ; \ n l e t n o n B a s i c A s c i i C h a r a c t e r C o u n t = 0 ; \ n f o r L o o p : f o r ( l e t l i n e N u m b e r = s t a r t L i n e , l i n e C o u n t = e n d L i n e ; l i n e N u m b e r < = l i n e C o u n t ; l i n e N u m b e r + + ) { \ n c o n s t l i n e C o n t e n t = m o d e l . g e t L i n e C o n t e n t ( l i n e N u m b e r ) ; \ n c o n s t l i n e L e n g t h = l i n e C o n t e n t . l e n g t h ; \ n / / R e s e t r e g e x t o s e a r c h f r o m t h e b e g i n n i n g \ n s e a r c h e r . r e s e t ( 0 ) ; \ n d o { \ n m = s e a r c h e r . n e x t ( l i n e C o n t e n t ) ; \ n i f ( m ) { \ n l e t s t a r t I n d e x = m . i n d e x ; \ n l e t e n d I n d e x = m . i n d e x + m [ 0 ] . l e n g t h ; \ n / / E x t e n d r a n g e t o e n t i r e c o d e p o i n t \ n i f ( s t a r t I n d e x > 0 ) { \ n c o n s t c h a r C o d e B e f o r e = l i n e C o n t e n t . c h a r C o d e A t ( s t a r t I n d e x - 1 ) ; \ n i f ( _ b a s e _ c o m m o n _ s t r i n g s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ . i s H i g h S u r r o g a t e ( c h a r C o d e B e f o r e ) ) { \ n s t a r t I n d e x - - ; \ n } \ n } \ n i f ( e n d I n d e x + 1 < l i n e L e n g t h ) { \ n c o n s t c h a r C o d e B e f o r e = l i n e C o n t e n t . c h a r C o d e A t ( e n d I n d e x - 1 ) ; \ n i f ( _ b a s e _ c o m m o n _ s t r i n g s _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 2 _ _ . i s H i g h S u r r o g a t e ( c h a r C o d e B e f o r e ) ) { \ n e n d I n d e x + + ; \ n } \ n } \ n c o n s t s t r = l i n e C o n t e n t . s u b s t r i n g ( s t a r
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / standalone / standaloneEnums . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "AccessibilitySupport": () => (/ * binding * / AccessibilitySupport),\n/ * harmony export * / "CompletionItemInsertTextRule": () => (/ * binding * / CompletionItemInsertTextRule),\n/ * harmony export * / "CompletionItemKind": () => (/ * binding * / CompletionItemKind),\n/ * harmony export * / "CompletionItemTag": () => (/ * binding * / CompletionItemTag),\n/ * harmony export * / "CompletionTriggerKind": () => (/ * binding * / CompletionTriggerKind),\n/ * harmony export * / "ContentWidgetPositionPreference": () => (/ * binding * / ContentWidgetPositionPreference),\n/ * harmony export * / "CursorChangeReason": () => (/ * binding * / CursorChangeReason),\n/ * harmony export * / "DefaultEndOfLine": () => (/ * binding * / DefaultEndOfLine),\n/ * harmony export * / "DocumentHighlightKind": () => (/ * binding * / DocumentHighlightKind),\n/ * harmony export * / "EditorAutoIndentStrategy": () => (/ * binding * / EditorAutoIndentStrategy),\n/ * harmony export * / "EditorOption": () => (/ * binding * / EditorOption),\n/ * harmony export * / "EndOfLinePreference": () => (/ * binding * / EndOfLinePreference),\n/ * harmony export * / "EndOfLineSequence": () => (/ * binding * / EndOfLineSequence),\n/ * harmony export * / "IndentAction": () => (/ * binding * / IndentAction),\n/ * harmony export * / "InjectedTextCursorStops": () => (/ * binding * / InjectedTextCursorStops),\n/ * harmony export * / "InlayHintKind": () => (/ * binding * / InlayHintKind),\n/ * harmony export * / "InlineCompletionTriggerKind": () => (/ * binding * / InlineCompletionTriggerKind),\n/ * harmony export * / "KeyCode": () => (/ * binding * / KeyCode),\n/ * harmony export * / "MarkerSeverity": () => (/ * binding * / MarkerSeverity),\n/ * harmony export * / "MarkerTag": () => (/ * binding * / MarkerTag),\n/ * harmony export * / "MinimapPosition": () => (/ * binding * / MinimapPosition),\n/ * harmony export * / "MouseTargetType": () => (/ * binding * / MouseTargetType),\n/ * harmony export * / "OverlayWidgetPositionPreference": () => (/ * binding * / OverlayWidgetPositionPreference),\n/ * harmony export * / "OverviewRulerLane": () => (/ * binding * / OverviewRulerLane),\n/ * harmony export * / "PositionAffinity": () => (/ * binding * / PositionAffinity),\n/ * harmony export * / "RenderLineNumbersType": () => (/ * binding * / RenderLineNumbersType),\n/ * harmony export * / "RenderMinimap": () => (/ * binding * / RenderMinimap),\n/ * harmony export * / "ScrollType": () => (/ * binding * / ScrollType),\n/ * harmony export * / "ScrollbarVisibility": () => (/ * binding * / ScrollbarVisibility),\n/ * harmony export * / "SelectionDirection": () => (/ * binding * / SelectionDirection),\n/ * harmony export * / "SignatureHelpTriggerKind": () => (/ * binding * / SignatureHelpTriggerKind),\n/ * harmony export * / "SymbolKind": () => (/ * binding * / SymbolKind),\n/ * harmony export * / "SymbolTag": () => (/ * binding * / SymbolTag),\n/ * harmony export * / "TextEditorCursorBlinkingStyle": () => (/ * binding * / TextEditorCursorBlinkingStyle),\n/ * harmony export * / "TextEditorCursorStyle": () => (/ * binding * / TextEditorCursorStyle),\n/ * harmony export * / "TrackedRangeStickiness": () => (/ * binding * / TrackedRangeStickiness),\n/ * harmony export * / "WrappingIndent": () => (/ * binding * / WrappingIndent)\n/ * harmony export * / });\n/ * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - \ n * Copyright ( c ) Microsoft Corporation . All rights reserved . \ n * Licensed under the MIT License . See License . txt in the project root for license information . \ n * -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /\n/ / THIS IS A GENERATED FILE . DO NOT EDIT DIRECTLY . \ nvar AccessibilitySupport ; \ n ( function ( AccessibilitySupport ) { \ n / * * \ n * This should be the browser case where it
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / common / tokenizationRegistry . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "TokenizationRegistry": () => (/ * binding * / TokenizationRegistry)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_event_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / base / common / event . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / e v e n t . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ b a s e _ c o m m o n _ l i f e c y c l e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . . / . . / b a s e / c o m m o n / l i f e c y c l e . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / l i f e c y c l e . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n v a r _ _ a w a i t e r = ( u n d e f i n e d & & u n d e f i n e d . _ _ a w a i t e r ) | | f u n c t i o n ( t h i s A r g , _ a r g u m e n t s , P , g e n e r a t o r ) { \ n f u n c t i o n a d o p t ( v a l u e ) { r e t u r n v a l u e i n s t a n c e o f P ? v a l u e : n e w P ( f u n c t i o n ( r e s o l v e ) { r e s o l v e ( v a l u e ) ; } ) ; } \ n r e t u r n n e w ( P | | ( P = P r o m i s e ) ) ( f u n c t i o n ( r e s o l v e , r e j e c t ) { \ n f u n c t i o n f u l f i l l e d ( v a l u e ) { t r y { s t e p ( g e n e r a t o r . n e x t ( v a l u e ) ) ; } c a t c h ( e ) { r e j e c t ( e ) ; } } \ n f u n c t i o n r e j e c t e d ( v a l u e ) { t r y { s t e p ( g e n e r a t o r [ " t h r o w " ] ( v a l u e ) ) ; } c a t c h ( e ) { r e j e c t ( e ) ; } } \ n f u n c t i o n s t e p ( r e s u l t ) { r e s u l t . d o n e ? r e s o l v e ( r e s u l t . v a l u e ) : a d o p t ( r e s u l t . v a l u e ) . t h e n ( f u l f i l l e d , r e j e c t e d ) ; } \ n s t e p ( ( g e n e r a t o r = g e n e r a t o r . a p p l y ( t h i s A r g , _ a r g u m e n t s | | [ ] ) ) . n e x t ( ) ) ; \ n } ) ; \ n } ; \ n \ n \ n c l a s s T o k e n i z a t i o n R e g i s t r y { \ n c o n s t r u c t o r ( ) { \ n t h i s . _ m a p = n e w M a p ( ) ; \ n t h i s . _ f a c t o r i e s = n e w M a p ( ) ; \ n t h i s . _ o n D i d C h a n g e = n e w _ b a s e _ c o m m o n _ e v e n t _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . E m i t t e r ( ) ; \ n t h i s . o n D i d C h a n g e = t h i s . _ o n D i d C h a n g e . e v e n t ; \ n t h i s . _ c o l o r M a p = n u l l ; \ n } \ n f i r e ( l a n g u a g e s ) { \ n t h i s . _ o n D i d C h a n g e . f i r e ( { \ n c h a n g e d L a n g u a g e s : l a n g u a g e s , \ n c h a n g e d C o l o r M a p : f a l s e \ n } ) ; \ n } \ n r e g i s t e r ( l a n g u a g e , s u p p o r t ) { \ n t h i s . _ m a p . s e t ( l a n g u a g e , s u p p o r t ) ; \ n t h i s . f i r e ( [ l a n g u a g e ] ) ; \ n r e t u r n ( 0 , _ b a s e _ c o m m o n _ l i f e c y c l e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o D i s p o s a b l e ) ( ( ) = > { \ n i f ( t h i s . _ m a p . g e t ( l a n g u a g e ) ! = = s u p p o r t ) { \ n r e t u r n ; \ n } \ n t h i s . _ m a p . d e l e t e ( l a n g u a g e ) ; \ n t h i s . f i r e ( [ l a n g u a g e ] ) ; \ n } ) ; \ n } \ n r e g i s t e r F a c t o r y ( l a n g u a g e I d , f a c t o r y ) { \ n v a r _ a ; \ n ( _ a = t h i s . _ f a c t o r i e s . g e t ( l a n g u a g e I d ) ) = = = n u l l | | _ a = = = v o i d 0 ? v o i d 0 : _ a . d i s p o s e ( ) ; \ n c o n s t m y D a t a = n e w T o k e n i z a t i o n S u p p o r t F a c t o r y D a t a ( t h i s , l a n g u a g e I d , f a c t o r y ) ; \ n t h i s . _ f a c t o r i e s . s e t ( l a n g u a g e I d , m y D a t a ) ; \ n r e t u r n ( 0 , _ b a s e _ c o m m o n _ l i f e c y c l e _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . t o D i s p o s a b l e ) ( ( ) = > { \ n c o n s t v = t h i s . _ f a c t o r i e s . g e t ( l a n g u a g e I d ) ; \ n i f ( ! v | | v ! = = m y D a t a ) { \ n r e t u r n ; \ n } \ n t h i s . _ f a c t o r i e s . d e l e t e ( l a n g u a g e I d ) ; \ n v . d i s p o s e ( ) ; \ n } ) ; \ n } \ n g e t O r C r e a t e ( l a n g u a g e I d ) { \ n r e t u r n _ _ a w a i t e r ( t h i s , v o i d 0 , v o i d 0 , f u n c t i o n * ( ) { \ n / / c h e c k f i r s t i f t h e s u p p o r t i s a l r e a d y s e t \ n c o n s t t o k e n i z a t i o n S u p p o r t = t h i s . g e t ( l a n g u a g e I d ) ; \ n i f ( t o k e n i z a t i o n S u p p o r t ) { \ n r e t u r n t o k e n i z a t i o n S u p p o r t ; \ n } \ n c o n s t f a c t o r y = t h i s . _ f a c t o r i e s . g e t ( l a n g u a g e I d ) ; \ n i f ( ! f a c t o r y | | f a c t o r y . i s R e s o l v e d ) { \ n / / n o f a c t o r y o r f a c t o r y . r e s o l v e a l r e a d y f i n i s h e d \ n r e t u r n n u l l ; \ n } \ n y i e l d f a c t o r y . r e s o l v e ( ) ; \ n r e t u r n t h i s . g e t ( l a n g u a g e I d ) ; \ n } ) ; \ n } \ n g e t ( l a n g u a g e ) { \ n r e t u r n ( t h i s . _ m a p . g e t ( l a n g u a g e ) | | n u l l ) ; \ n } \ n i s R e s o l v e d ( l a n g u a g e I d ) { \ n c o n s t
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / editor / editor . worker . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony export * / __webpack_require__.d(__webpack_exports__, {\n/ * harmony export * / "initialize": () => (/ * binding * / initialize)\n/ * harmony export * / });\n/ * harmony import * / var _base_common_worker_simpleWorker_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / base / common / worker / simpleWorker . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / b a s e / c o m m o n / w o r k e r / s i m p l e W o r k e r . j s " ) ; \ n / * h a r m o n y i m p o r t * / v a r _ c o m m o n _ s e r v i c e s _ e d i t o r S i m p l e W o r k e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ = _ _ w e b p a c k _ r e q u i r e _ _ ( / * ! . / c o m m o n / s e r v i c e s / e d i t o r S i m p l e W o r k e r . j s * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / c o m m o n / s e r v i c e s / e d i t o r S i m p l e W o r k e r . j s " ) ; \ n / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * L i c e n s e d u n d e r t h e M I T L i c e n s e . S e e L i c e n s e . t x t i n t h e p r o j e c t r o o t f o r l i c e n s e i n f o r m a t i o n . \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n \ n l e t i n i t i a l i z e d = f a l s e ; \ n f u n c t i o n i n i t i a l i z e ( f o r e i g n M o d u l e ) { \ n i f ( i n i t i a l i z e d ) { \ n r e t u r n ; \ n } \ n i n i t i a l i z e d = t r u e ; \ n c o n s t s i m p l e W o r k e r = n e w _ b a s e _ c o m m o n _ w o r k e r _ s i m p l e W o r k e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 0 _ _ . S i m p l e W o r k e r S e r v e r ( ( m s g ) = > { \ n s e l f . p o s t M e s s a g e ( m s g ) ; \ n } , ( h o s t ) = > n e w _ c o m m o n _ s e r v i c e s _ e d i t o r S i m p l e W o r k e r _ j s _ _ W E B P A C K _ I M P O R T E D _ M O D U L E _ 1 _ _ . E d i t o r S i m p l e W o r k e r ( h o s t , f o r e i g n M o d u l e ) ) ; \ n s e l f . o n m e s s a g e = ( e ) = > { \ n s i m p l e W o r k e r . o n m e s s a g e ( e . d a t a ) ; \ n } ; \ n } \ n s e l f . o n m e s s a g e = ( e ) = > { \ n / / I g n o r e f i r s t m e s s a g e i n t h i s c a s e a n d i n i t i a l i z e i f n o t y e t i n i t i a l i z e d \ n i f ( ! i n i t i a l i z e d ) { \ n i n i t i a l i z e ( n u l l ) ; \ n } \ n } ; \ n \ n \ n / / # s o u r c e U R L = w e b p a c k : / / m o n a n c o _ w p a c k / . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / e d i t o r . w o r k e r . j s ? ' ) } , " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / l a n g u a g e / c s s / c s s . w o r k e r . j s " :
2021-04-21 11:37:58 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / monaco - editor / esm / vs / language / css / css . worker . js * * * !
2022-06-03 19:30:11 +02:00
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/ * harmony import * / var _editor_editor_worker_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/ * ! . . / . . / editor / editor . worker . js * / " . / n o d e _ m o d u l e s / m o n a c o - e d i t o r / e s m / v s / e d i t o r / e d i t o r . w o r k e r . j s " ) ; \ n / * ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n * C o p y r i g h t ( c ) M i c r o s o f t C o r p o r a t i o n . A l l r i g h t s r e s e r v e d . \ n * V e r s i o n : 0 . 3 3 . 0 ( 4 b 1 a b a d 4 2 7 e 5 8 d b e d c 1 2 1 5 d 9 9 a 0 9 0 2 f f c 8 8 5 f c d 4 ) \ n * R e l e a s e d u n d e r t h e M I T l i c e n s e \ n * h t t p s : / / g i t h u b . c o m / m i c r o s o f t / m o n a c o - e d i t o r / b l o b / m a i n / L I C E N S E . t x t \ n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / \ n \ n / / s r c / l a n g u a g e / c s s / c s s . w o r k e r . t s \ n \ n \ n / / n o d e _ m o d u l e s / v s c o d e - c s s - l a n g u a g e s e r v i c e / l i b / e s m / p a r s e r / c s s S c a n n e r . j s \ n v a r T o k e n T y p e ; \ n ( f u n c t i o n ( T o k e n T y p e 2 ) { \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " I d e n t " ] = 0 ] = " I d e n t " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " A t K e y w o r d " ] = 1 ] = " A t K e y w o r d " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " S t r i n g " ] = 2 ] = " S t r i n g " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " B a d S t r i n g " ] = 3 ] = " B a d S t r i n g " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " U n q u o t e d S t r i n g " ] = 4 ] = " U n q u o t e d S t r i n g " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " H a s h " ] = 5 ] = " H a s h " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " N u m " ] = 6 ] = " N u m " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " P e r c e n t a g e " ] = 7 ] = " P e r c e n t a g e " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " D i m e n s i o n " ] = 8 ] = " D i m e n s i o n " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " U n i c o d e R a n g e " ] = 9 ] = " U n i c o d e R a n g e " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C D O " ] = 1 0 ] = " C D O " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C D C " ] = 1 1 ] = " C D C " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C o l o n " ] = 1 2 ] = " C o l o n " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " S e m i C o l o n " ] = 1 3 ] = " S e m i C o l o n " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C u r l y L " ] = 1 4 ] = " C u r l y L " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C u r l y R " ] = 1 5 ] = " C u r l y R " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " P a r e n t h e s i s L " ] = 1 6 ] = " P a r e n t h e s i s L " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " P a r e n t h e s i s R " ] = 1 7 ] = " P a r e n t h e s i s R " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " B r a c k e t L " ] = 1 8 ] = " B r a c k e t L " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " B r a c k e t R " ] = 1 9 ] = " B r a c k e t R " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " W h i t e s p a c e " ] = 2 0 ] = " W h i t e s p a c e " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " I n c l u d e s " ] = 2 1 ] = " I n c l u d e s " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " D a s h m a t c h " ] = 2 2 ] = " D a s h m a t c h " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " S u b s t r i n g O p e r a t o r " ] = 2 3 ] = " S u b s t r i n g O p e r a t o r " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " P r e f i x O p e r a t o r " ] = 2 4 ] = " P r e f i x O p e r a t o r " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " S u f f i x O p e r a t o r " ] = 2 5 ] = " S u f f i x O p e r a t o r " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " D e l i m " ] = 2 6 ] = " D e l i m " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " E M S " ] = 2 7 ] = " E M S " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " E X S " ] = 2 8 ] = " E X S " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " L e n g t h " ] = 2 9 ] = " L e n g t h " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " A n g l e " ] = 3 0 ] = " A n g l e " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " T i m e " ] = 3 1 ] = " T i m e " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " F r e q " ] = 3 2 ] = " F r e q " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " E x c l a m a t i o n " ] = 3 3 ] = " E x c l a m a t i o n " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " R e s o l u t i o n " ] = 3 4 ] = " R e s o l u t i o n " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C o m m a " ] = 3 5 ] = " C o m m a " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C h a r s e t " ] = 3 6 ] = " C h a r s e t " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " E s c a p e d J a v a S c r i p t " ] = 3 7 ] = " E s c a p e d J a v a S c r i p t " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " B a d E s c a p e d J a v a S c r i p t " ] = 3 8 ] = " B a d E s c a p e d J a v a S c r i p t " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C o m m e n t " ] = 3 9 ] = " C o m m e n t " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " S i n g l e L i n e C o m m e n t " ] = 4 0 ] = " S i n g l e L i n e C o m m e n t " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " E O F " ] = 4 1 ] = " E O F " ; \ n T o k e n T y p e 2 [ T o k e n T y p e 2 [ " C u s t o m T o k e n " ] = 4 2 ] = " C u s t o m T o k e n " ; \ n } ) ( T o k e n T y p e | | ( T o k e n T y p e = { } ) ) ; \ n v a r M u l t i L i n e S t r e a m = f u n c t i o n ( ) { \ n f u n c t i o n M u l t i L i n e S t r e a m 2 ( s o u r c e ) { \ n t h i s . s o u r c e = s o u r c e ; \ n t h i s . l e n = s o u r c e . l e n g t h ; \ n t h i s . p o s i t i o n = 0 ; \ n } \ n M u l t i L i n e S t r e a m 2 . p r o t o t y p e . s u b s t r i n g = f u n c t i o n ( f r o m , t o ) { \ n i f ( t o = = = v o i d 0 ) { \ n t o = t h i s . p o s i t i o n ; \ n } \ n r e t u r n t h i s . s o u r c e . s u b s t r i n g ( f r o m , t o ) ; \ n } ; \ n M u l t i L i n e S t r e a m 2 . p r o t o t y p e . e o s = f u n c t i o n ( ) { \ n r e t u r n t h i s . l e n < = t h i s . p o s i t i o n ; \ n } ; \ n M u l t i L i n e S t r e a m 2 . p r o t o t y p e . p o s = f u n c t i o n ( ) { \ n r e t u r n t h i s . p o s i t i o n ; \ n } ; \ n M u l t i L i n e S t r e a m 2 . p r o t o t y p e . g o B a c k T o = f u n c t i o n ( p o s ) { \ n t h i s . p o s i t i o n = p o s ; \ n } ; \ n M u l t i L i n e S t r e a m 2 . p r o t o t y p e . g o B a c k