monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251022

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/dev/vs/assets/{css.worker-BdF74HVr.js → css.worker-CNVxDEHL.js} +57 -56
  2. package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CxT_Qhsk.js} +57 -56
  3. package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-BkUmTRjE.js} +57 -56
  4. package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker-DK-97m-d.js} +57 -56
  5. package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-cHRPyRgi.js} +57 -56
  6. package/dev/vs/basic-languages/monaco.contribution.js +18 -18
  7. package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-D2ACZpcd.js} +2 -2
  8. package/dev/vs/editor/editor.main.css +3 -4
  9. package/dev/vs/editor/editor.main.js +6 -6
  10. package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CMtrd0pO.js} +1917 -1944
  11. package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-CnYj74J4.js} +1 -1
  12. package/dev/vs/{handlebars-voSBoDYq.js → handlebars-DExk9yf4.js} +1 -1
  13. package/dev/vs/{html-DgBvMxaw.js → html-Dql17k62.js} +1 -1
  14. package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-CCEnhGm2.js} +2 -2
  15. package/dev/vs/{javascript-B456O1TJ.js → javascript-CqoKoqPi.js} +1 -1
  16. package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-Cz5IbqId.js} +2 -2
  17. package/dev/vs/language/css/monaco.contribution.js +1 -1
  18. package/dev/vs/language/html/monaco.contribution.js +1 -1
  19. package/dev/vs/language/json/monaco.contribution.js +1 -1
  20. package/dev/vs/language/typescript/monaco.contribution.js +1 -1
  21. package/dev/vs/{liquid-DtsObjyU.js → liquid-DxCkw3Wy.js} +1 -1
  22. package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-BQO5gQ_I.js} +1 -1
  23. package/dev/vs/{mdx-CpdAOlbp.js → mdx-DZF1Tct2.js} +1 -1
  24. package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-BIhJP-zM.js} +2 -2
  25. package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-BLcNO6tV.js} +2 -2
  26. package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-Bpf9llGo.js} +2 -2
  27. package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-D1GYx7Ac.js} +2 -2
  28. package/dev/vs/nls.messages.cs.js +2 -2
  29. package/dev/vs/nls.messages.de.js +2 -2
  30. package/dev/vs/nls.messages.es.js +2 -2
  31. package/dev/vs/nls.messages.fr.js +2 -2
  32. package/dev/vs/nls.messages.it.js +2 -2
  33. package/dev/vs/nls.messages.ja.js +2 -2
  34. package/dev/vs/nls.messages.ko.js +2 -2
  35. package/dev/vs/nls.messages.pl.js +2 -2
  36. package/dev/vs/nls.messages.pt-br.js +2 -2
  37. package/dev/vs/nls.messages.ru.js +2 -2
  38. package/dev/vs/nls.messages.tr.js +2 -2
  39. package/dev/vs/nls.messages.zh-cn.js +2 -2
  40. package/dev/vs/nls.messages.zh-tw.js +2 -2
  41. package/dev/vs/{python-Bdcmm8So.js → python-DtVp4js9.js} +1 -1
  42. package/dev/vs/{razor-C2m7Vs0-.js → razor-C3g5CXT6.js} +1 -1
  43. package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-B63tFZWa.js} +2 -2
  44. package/dev/vs/{typescript-BoBnM-0b.js → typescript-YutvBaV7.js} +1 -1
  45. package/dev/vs/{workers-B1DA8fIt.js → workers-D12Uf0L2.js} +1 -1
  46. package/dev/vs/{xml-DmpITxBR.js → xml-D1v3XWzg.js} +1 -1
  47. package/dev/vs/{yaml-Pd4qqIOC.js → yaml-D29Ou18G.js} +1 -1
  48. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  49. package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
  50. package/esm/vs/base/common/codiconsLibrary.js +1 -0
  51. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
  52. package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
  53. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
  54. package/esm/vs/editor/browser/coreCommands.js +3 -3
  55. package/esm/vs/editor/browser/editorExtensions.js +9 -9
  56. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  57. package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
  58. package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
  59. package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
  60. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
  61. package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  62. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
  63. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  64. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
  65. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
  66. package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  67. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  68. package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  69. package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  70. package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  71. package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  72. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  73. package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
  74. package/esm/vs/editor/common/config/editorOptions.js +406 -406
  75. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  76. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  77. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  78. package/esm/vs/editor/common/languages.js +56 -56
  79. package/esm/vs/editor/common/model/editStack.js +1 -1
  80. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  81. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  82. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  83. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  84. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  85. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  86. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  87. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  88. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  89. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  90. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  91. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  92. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  93. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  94. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  95. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  96. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  97. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  98. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  99. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  100. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  101. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  102. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  103. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  104. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  105. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  106. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  107. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  108. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  109. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  110. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  111. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  112. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  113. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  114. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  115. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  116. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  117. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  118. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  119. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  120. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  121. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  122. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  123. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  124. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  125. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  126. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  127. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  128. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  129. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -52
  130. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  131. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  132. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  133. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  134. package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
  135. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  136. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  137. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  138. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  139. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  140. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  141. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  142. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  143. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  144. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  145. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  146. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  147. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  148. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  149. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
  150. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  151. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  152. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  153. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  154. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  155. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  156. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  157. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  158. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  159. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  160. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  161. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  162. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  163. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  164. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  165. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  166. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  167. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  168. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  169. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  170. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  171. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  172. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  173. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  174. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  175. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  176. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  177. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  178. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  179. package/esm/vs/platform/actions/common/menuService.js +2 -2
  180. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  181. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  182. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  183. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  184. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  185. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  186. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  187. package/esm/vs/platform/list/browser/listService.js +27 -27
  188. package/esm/vs/platform/markers/common/markerService.js +2 -2
  189. package/esm/vs/platform/markers/common/markers.js +6 -6
  190. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  191. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  192. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  193. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  194. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  195. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  196. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  197. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  198. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  199. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  200. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  201. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  202. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  203. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  204. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  205. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  206. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  207. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  208. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  209. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  210. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  211. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  212. package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-BHMeXSeR.js} +1 -1
  213. package/min/vs/assets/{editor.worker-BvjSTWxN.js → editor.worker-DTWRgIAS.js} +1 -1
  214. package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-CXhlyGiJ.js} +1 -1
  215. package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DzYjDoHF.js} +1 -1
  216. package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CW5rcuCX.js} +1 -1
  217. package/min/vs/basic-languages/monaco.contribution.js +1 -1
  218. package/min/vs/{cssMode-CvaUVk1W.js → cssMode-1TDQPhHq.js} +1 -1
  219. package/min/vs/editor/editor.main.css +1 -1
  220. package/min/vs/editor/editor.main.js +3 -3
  221. package/min/vs/{editor.api-DGkWFOQA.js → editor.api-wrjhPWGt.js} +123 -123
  222. package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-B8YhwE9w.js} +1 -1
  223. package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-DxIz966T.js} +1 -1
  224. package/min/vs/{html-DAxAlcjQ.js → html-TUDpfuzj.js} +1 -1
  225. package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-BTG6W7ly.js} +1 -1
  226. package/min/vs/{javascript-CmHtjIt-.js → javascript-DjDRFeo7.js} +1 -1
  227. package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-cxGzlpDo.js} +4 -4
  228. package/min/vs/language/css/monaco.contribution.js +1 -1
  229. package/min/vs/language/html/monaco.contribution.js +1 -1
  230. package/min/vs/language/json/monaco.contribution.js +1 -1
  231. package/min/vs/language/typescript/monaco.contribution.js +1 -1
  232. package/min/vs/{liquid-CQBeFlV7.js → liquid-Bsimqao4.js} +1 -1
  233. package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B9vCOFZO.js} +1 -1
  234. package/min/vs/{mdx-BFnE9qyd.js → mdx-DAXjads7.js} +1 -1
  235. package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-B40WJdZo.js} +1 -1
  236. package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-Bck58VVU.js} +1 -1
  237. package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CTUxDbdl.js} +1 -1
  238. package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-Dng4cbIh.js} +1 -1
  239. package/min/vs/nls.messages.cs.js +3 -3
  240. package/min/vs/nls.messages.de.js +3 -3
  241. package/min/vs/nls.messages.es.js +3 -3
  242. package/min/vs/nls.messages.fr.js +3 -3
  243. package/min/vs/nls.messages.it.js +3 -3
  244. package/min/vs/nls.messages.ja.js +3 -3
  245. package/min/vs/nls.messages.ko.js +3 -3
  246. package/min/vs/nls.messages.pl.js +3 -3
  247. package/min/vs/nls.messages.pt-br.js +2 -2
  248. package/min/vs/nls.messages.ru.js +3 -3
  249. package/min/vs/nls.messages.tr.js +3 -3
  250. package/min/vs/nls.messages.zh-cn.js +3 -3
  251. package/min/vs/nls.messages.zh-tw.js +3 -3
  252. package/min/vs/{python-BX875IYK.js → python-k7tPtlws.js} +1 -1
  253. package/min/vs/{razor-BBB6Wn5s.js → razor-9j5Idzae.js} +1 -1
  254. package/min/vs/{tsMode-DYyNPclY.js → tsMode-BDVJ4HNT.js} +5 -5
  255. package/min/vs/{typescript-AvfgkAyn.js → typescript-1Ue-gdOx.js} +1 -1
  256. package/min/vs/{workers-DnTKLxL6.js → workers-jkActJYc.js} +1 -1
  257. package/min/vs/{xml-BVhc_vbm.js → xml-BsAArBP5.js} +1 -1
  258. package/min/vs/{yaml-a9dM1cQx.js → yaml-2dSzUkHA.js} +1 -1
  259. package/package.json +5 -5
@@ -4,7 +4,7 @@
4
4
 
5
5
  `+e.stack):e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const io=new no;function qt(t){ro(t)||io.onUnexpectedError(t)}function Sn(t){if(t instanceof Error){const{name:e,message:n,cause:i}=t,r=t.stacktrace||t.stack;return{$isError:!0,name:e,message:n,stack:r,noTelemetry:nt.isErrorNoTelemetry(t),cause:i?Sn(i):void 0,code:t.code}}return t}const An="Canceled";function ro(t){return t instanceof Ii?!0:t instanceof Error&&t.name===An&&t.message===An}class Ii extends Error{constructor(){super(An),this.name=this.message}}class nt extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof nt)return e;const n=new nt;return n.message=e.message,n.stack=e.stack,n}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}}class le extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,le.prototype)}}function so(t,e="Unreachable"){throw new Error(e)}function ao(t,e="unexpected state"){if(!t)throw typeof e=="string"?new le(`Assertion Failed: ${e}`):e}function Ot(t){if(!t()){debugger;t(),qt(new le("Assertion Failed"))}}function zi(t,e){let n=0;for(;n<t.length-1;){const i=t[n],r=t[n+1];if(!e(i,r))return!1;n++}return!0}function oo(t){return typeof t=="string"}function lo(t){return!!t&&typeof t[Symbol.iterator]=="function"}var Vt;(function(t){function e(b){return!!b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}t.is=e;const n=Object.freeze([]);function i(){return n}t.empty=i;function*r(b){yield b}t.single=r;function s(b){return e(b)?b:r(b)}t.wrap=s;function a(b){return b||n}t.from=a;function*l(b){for(let g=b.length-1;g>=0;g--)yield b[g]}t.reverse=l;function o(b){return!b||b[Symbol.iterator]().next().done===!0}t.isEmpty=o;function u(b){return b[Symbol.iterator]().next().value}t.first=u;function c(b,g){let v=0;for(const N of b)if(g(N,v++))return!0;return!1}t.some=c;function d(b,g){let v=0;for(const N of b)if(!g(N,v++))return!1;return!0}t.every=d;function m(b,g){for(const v of b)if(g(v))return v}t.find=m;function*f(b,g){for(const v of b)g(v)&&(yield v)}t.filter=f;function*w(b,g){let v=0;for(const N of b)yield g(N,v++)}t.map=w;function*p(b,g){let v=0;for(const N of b)yield*g(N,v++)}t.flatMap=p;function*x(...b){for(const g of b)lo(g)?yield*g:yield g}t.concat=x;function T(b,g,v){let N=v;for(const S of b)N=g(N,S);return N}t.reduce=T;function y(b){let g=0;for(const v of b)g++;return g}t.length=y;function*A(b,g,v=b.length){for(g<-b.length&&(g=0),g<0&&(g+=b.length),v<0?v+=b.length:v>b.length&&(v=b.length);g<v;g++)yield b[g]}t.slice=A;function I(b,g=Number.POSITIVE_INFINITY){const v=[];if(g===0)return[v,b];const N=b[Symbol.iterator]();for(let S=0;S<g;S++){const _=N.next();if(_.done)return[v,t.empty()];v.push(_.value)}return[v,{[Symbol.iterator](){return N}}]}t.consume=I;async function H(b){const g=[];for await(const v of b)g.push(v);return g}t.asyncToArray=H;async function P(b){let g=[];for await(const v of b)g=g.concat(v);return g}t.asyncToArrayFlat=P})(Vt||(Vt={}));function sh(t,e){}function Hi(t){if(Vt.is(t)){const e=[];for(const n of t)if(n)try{n.dispose()}catch(i){e.push(i)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}function uo(...t){return jt(()=>Hi(t))}class co{constructor(e){this._isDisposed=!1,this._fn=e}dispose(){if(!this._isDisposed){if(!this._fn)throw new Error("Unbound disposable context: Need to use an arrow function to preserve the value of this");this._isDisposed=!0,this._fn()}}}function jt(t){return new co(t)}const _n=class _n{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Hi(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e||e===Xe.None)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?_n.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}delete(e){if(e){if(e===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(e),e.dispose()}}};_n.DISABLE_DISPOSED_WARNING=!1;let xt=_n;const Mi=class Mi{constructor(){this._store=new xt,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}};Mi.None=Object.freeze({dispose(){}});let Xe=Mi,te=(Be=class{constructor(e){this.element=e,this.next=Be.Undefined,this.prev=Be.Undefined}},Be.Undefined=new Be(void 0),Be);class ho{constructor(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===te.Undefined}clear(){let e=this._first;for(;e!==te.Undefined;){const n=e.next;e.prev=te.Undefined,e.next=te.Undefined,e=n}this._first=te.Undefined,this._last=te.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){const i=new te(e);if(this._first===te.Undefined)this._first=i,this._last=i;else if(n){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==te.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==te.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==te.Undefined&&e.next!==te.Undefined){const n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===te.Undefined&&e.next===te.Undefined?(this._first=te.Undefined,this._last=te.Undefined):e.next===te.Undefined?(this._last=this._last.prev,this._last.next=te.Undefined):e.prev===te.Undefined&&(this._first=this._first.next,this._first.prev=te.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==te.Undefined;)yield e.element,e=e.next}}const mo=globalThis.performance.now.bind(globalThis.performance);class $t{static create(e){return new $t(e)}constructor(e){this._now=e===!1?Date.now:mo,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var Ln;(function(t){t.None=()=>Xe.None;function e(_,L){return m(_,()=>{},0,void 0,!0,void 0,L)}t.defer=e;function n(_){return(L,D=null,k)=>{let R=!1,M;return M=_(W=>{if(!R)return M?M.dispose():R=!0,L.call(D,W)},null,k),R&&M.dispose(),M}}t.once=n;function i(_,L){return t.once(t.filter(_,L))}t.onceIf=i;function r(_,L,D){return c((k,R=null,M)=>_(W=>k.call(R,L(W)),null,M),D)}t.map=r;function s(_,L,D){return c((k,R=null,M)=>_(W=>{L(W),k.call(R,W)},null,M),D)}t.forEach=s;function a(_,L,D){return c((k,R=null,M)=>_(W=>L(W)&&k.call(R,W),null,M),D)}t.filter=a;function l(_){return _}t.signal=l;function o(..._){return(L,D=null,k)=>{const R=uo(..._.map(M=>M(W=>L.call(D,W))));return d(R,k)}}t.any=o;function u(_,L,D,k){let R=D;return r(_,M=>(R=L(R,M),R),k)}t.reduce=u;function c(_,L){let D;const k={onWillAddFirstListener(){D=_(R.fire,R)},onDidRemoveLastListener(){D?.dispose()}},R=new Ce(k);return L?.add(R),R.event}function d(_,L){return L instanceof Array?L.push(_):L&&L.add(_),_}function m(_,L,D=100,k=!1,R=!1,M,W){let F,U,O,Y=0,Z;const xe={leakWarningThreshold:M,onWillAddFirstListener(){F=_(ih=>{Y++,U=L(U,ih),k&&!O&&(Ee.fire(U),U=void 0),Z=()=>{const rh=U;U=void 0,O=void 0,(!k||Y>1)&&Ee.fire(rh),Y=0},typeof D=="number"?(O&&clearTimeout(O),O=setTimeout(Z,D)):O===void 0&&(O=null,queueMicrotask(Z))})},onWillRemoveListener(){R&&Y>0&&Z?.()},onDidRemoveLastListener(){Z=void 0,F.dispose()}},Ee=new Ce(xe);return W?.add(Ee),Ee.event}t.debounce=m;function f(_,L=0,D){return t.debounce(_,(k,R)=>k?(k.push(R),k):[R],L,void 0,!0,void 0,D)}t.accumulate=f;function w(_,L=(k,R)=>k===R,D){let k=!0,R;return a(_,M=>{const W=k||!L(M,R);return k=!1,R=M,W},D)}t.latch=w;function p(_,L,D){return[t.filter(_,L,D),t.filter(_,k=>!L(k),D)]}t.split=p;function x(_,L=!1,D=[],k){let R=D.slice(),M=_(U=>{R?R.push(U):F.fire(U)});k&&k.add(M);const W=()=>{R?.forEach(U=>F.fire(U)),R=null},F=new Ce({onWillAddFirstListener(){M||(M=_(U=>F.fire(U)),k&&k.add(M))},onDidAddFirstListener(){R&&(L?setTimeout(W):W())},onDidRemoveLastListener(){M&&M.dispose(),M=null}});return k&&k.add(F),F.event}t.buffer=x;function T(_,L){return(k,R,M)=>{const W=L(new A);return _(function(F){const U=W.evaluate(F);U!==y&&k.call(R,U)},void 0,M)}}t.chain=T;const y=Symbol("HaltChainable");class A{constructor(){this.steps=[]}map(L){return this.steps.push(L),this}forEach(L){return this.steps.push(D=>(L(D),D)),this}filter(L){return this.steps.push(D=>L(D)?D:y),this}reduce(L,D){let k=D;return this.steps.push(R=>(k=L(k,R),k)),this}latch(L=(D,k)=>D===k){let D=!0,k;return this.steps.push(R=>{const M=D||!L(R,k);return D=!1,k=R,M?R:y}),this}evaluate(L){for(const D of this.steps)if(L=D(L),L===y)break;return L}}function I(_,L,D=k=>k){const k=(...F)=>W.fire(D(...F)),R=()=>_.on(L,k),M=()=>_.removeListener(L,k),W=new Ce({onWillAddFirstListener:R,onDidRemoveLastListener:M});return W.event}t.fromNodeEventEmitter=I;function H(_,L,D=k=>k){const k=(...F)=>W.fire(D(...F)),R=()=>_.addEventListener(L,k),M=()=>_.removeEventListener(L,k),W=new Ce({onWillAddFirstListener:R,onDidRemoveLastListener:M});return W.event}t.fromDOMEventEmitter=H;function P(_,L){let D;const k=new Promise((R,M)=>{const W=n(_)(R,null,L);D=()=>W.dispose()});return k.cancel=D,k}t.toPromise=P;function b(_,L){return _(D=>L.fire(D))}t.forward=b;function g(_,L,D){return L(D),_(k=>L(k))}t.runAndSubscribe=g;class v{constructor(L,D){this._observable=L,this._counter=0,this._hasChanged=!1;const k={onWillAddFirstListener:()=>{L.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{L.removeObserver(this)}};this.emitter=new Ce(k),D&&D.add(this.emitter)}beginUpdate(L){this._counter++}handlePossibleChange(L){}handleChange(L,D){this._hasChanged=!0}endUpdate(L){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function N(_,L){return new v(_,L).emitter.event}t.fromObservable=N;function S(_){return(L,D,k)=>{let R=0,M=!1;const W={beginUpdate(){R++},endUpdate(){R--,R===0&&(_.reportChanges(),M&&(M=!1,L.call(D)))},handlePossibleChange(){},handleChange(){M=!0}};_.addObserver(W),_.reportChanges();const F={dispose(){_.removeObserver(W)}};return k instanceof xt?k.add(F):Array.isArray(k)&&k.push(F),F}}t.fromObservableLight=S})(Ln||(Ln={}));const _t=class _t{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${_t._idPool++}`,_t.all.add(this)}start(e){this._stopWatch=new $t,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}};_t.all=new Set,_t._idPool=0;let En=_t,fo=-1;const vn=class vn{constructor(e,n,i=(vn._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,n){const i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);const r=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;const[s,a]=this.getMostFrequentStack(),l=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`;console.warn(l),console.warn(s);const o=new po(l,s);this._errorHandler(o)}return()=>{const s=this._stacks.get(e.value)||0;this._stacks.set(e.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,n=0;for(const[i,r]of this._stacks)(!e||n<r)&&(e=[i,r],n=r);return e}};vn._idPool=1;let Cn=vn;class Rn{static create(){const e=new Error;return new Rn(e.stack??"")}constructor(e){this.value=e}print(){console.warn(this.value.split(`
6
6
  `).slice(2).join(`
7
- `))}}class po extends Error{constructor(e,n){super(e),this.name="ListenerLeakError",this.stack=n}}class go extends Error{constructor(e,n){super(e),this.name="ListenerRefusalError",this.stack=n}}class Dn{constructor(e){this.value=e}}const bo=2;class Ce{constructor(e){this._size=0,this._options=e,this._leakageMon=this._options?.leakWarningThreshold?new Cn(e?.onListenerError??qt,this._options?.leakWarningThreshold??fo):void 0,this._perfMon=this._options?._profName?new En(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){this._disposed||(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose())}get event(){return this._event??=(e,n,i)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const l=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(l);const o=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],u=new go(`${l}. HINT: Stack shows most frequent listener (${o[1]}-times)`,o[0]);return(this._options?.onListenerError||qt)(u),Xe.None}if(this._disposed)return Xe.None;n&&(e=e.bind(n));const r=new Dn(e);let s;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(r.stack=Rn.create(),s=this._leakageMon.check(r.stack,this._size+1)),this._listeners?this._listeners instanceof Dn?(this._deliveryQueue??=new wo,this._listeners=[this._listeners,r]):this._listeners.push(r):(this._options?.onWillAddFirstListener?.(this),this._listeners=r,this._options?.onDidAddFirstListener?.(this)),this._options?.onDidAddListener?.(this),this._size++;const a=jt(()=>{s?.(),this._removeListener(r)});return i instanceof xt?i.add(a):Array.isArray(i)&&i.push(a),a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}const n=this._listeners,i=n.indexOf(e);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;const r=this._deliveryQueue.current===this;if(this._size*bo<=n.length){let s=0;for(let a=0;a<n.length;a++)n[a]?n[s++]=n[a]:r&&s<this._deliveryQueue.end&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(e,n){if(!e)return;const i=this._options?.onListenerError||qt;if(!i){e.value(n);return}try{e.value(n)}catch(r){i(r)}}_deliverQueue(e){const n=e.current._listeners;for(;e.i<e.end;)this._deliver(n[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof Dn)this._deliver(this._listeners,e);else{const n=this._deliveryQueue;n.enqueue(this,e,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}}class wo{constructor(){this.i=-1,this.end=0}enqueue(e,n,i){this.i=0,this.end=i,this.current=e,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function _o(){return globalThis._VSCODE_NLS_MESSAGES}function Ui(){return globalThis._VSCODE_NLS_LANGUAGE}const vo=Ui()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Pi(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(i,r)=>{const s=r[0],a=e[s];let l=i;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),vo&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function q(t,e,...n){return Pi(typeof t=="number"?yo(t,e):e,n)}function yo(t,e){const n=_o()?.[t];if(typeof n!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${t} !!!`)}return n}const it="en";let Mn=!1,Nn=!1,In=!1,Gt,zn=it,Wi=it,To,Ie;const Je=globalThis;let he;typeof Je.vscode<"u"&&typeof Je.vscode.process<"u"?he=Je.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(he=process);const xo=typeof he?.versions?.electron=="string"&&he?.type==="renderer";if(typeof he=="object"){Mn=he.platform==="win32",Nn=he.platform==="darwin",In=he.platform==="linux",In&&he.env.SNAP&&he.env.SNAP_REVISION,he.env.CI||he.env.BUILD_ARTIFACTSTAGINGDIRECTORY||he.env.GITHUB_WORKSPACE,Gt=it,zn=it;const t=he.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t);Gt=e.userLocale,Wi=e.osLocale,zn=e.resolvedLanguage||it,To=e.languagePack?.translationsConfigFile}catch{}}else typeof navigator=="object"&&!xo?(Ie=navigator.userAgent,Mn=Ie.indexOf("Windows")>=0,Nn=Ie.indexOf("Macintosh")>=0,(Ie.indexOf("Macintosh")>=0||Ie.indexOf("iPad")>=0||Ie.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,In=Ie.indexOf("Linux")>=0,Ie?.indexOf("Mobi")>=0,zn=Ui()||it,Gt=navigator.language.toLowerCase(),Wi=Gt):console.error("Unable to resolve platform.");const kt=Mn,ko=Nn,Re=Ie,So=typeof Je.postMessage=="function"&&!Je.importScripts;(()=>{if(So){const t=[];Je.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=t.length;i<r;i++){const s=t[i];if(s.id===n.data.vscodeScheduleAsyncWork){t.splice(i,1),s.callback();return}}});let e=0;return n=>{const i=++e;t.push({id:i,callback:n}),Je.postMessage({vscodeScheduleAsyncWork:i},"*")}}return t=>setTimeout(t)})();const Ao=!!(Re&&Re.indexOf("Chrome")>=0);Re&&Re.indexOf("Firefox")>=0,!Ao&&Re&&Re.indexOf("Safari")>=0,Re&&Re.indexOf("Edg/")>=0,Re&&Re.indexOf("Android")>=0;function Lo(t){return t}class Eo{constructor(e,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof e=="function"?(this._fn=e,this._computeKey=Lo):(this._fn=n,this._computeKey=e.getCacheKey)}get(e){const n=this._computeKey(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(e)),this.lastCache}}var Qe;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Running=1]="Running",t[t.Completed=2]="Completed"})(Qe||(Qe={}));class Hn{constructor(e){this.executor=e,this._state=Qe.Uninitialized}get value(){if(this._state===Qe.Uninitialized){this._state=Qe.Running;try{this._value=this.executor()}catch(e){this._error=e}finally{this._state=Qe.Completed}}else if(this._state===Qe.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function Co(t){return t.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Ro(t){return t.source==="^"||t.source==="^$"||t.source==="$"||t.source==="^\\s*$"?!1:!!(t.exec("")&&t.lastIndex===0)}function Do(t){return t.split(/\r\n|\r|\n/)}function Mo(t){for(let e=0,n=t.length;e<n;e++){const i=t.charCodeAt(e);if(i!==32&&i!==9)return e}return-1}function No(t,e=t.length-1){for(let n=e;n>=0;n--){const i=t.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function Fi(t){return t>=65&&t<=90}function Io(t,e){const n=Math.min(t.length,e.length);let i;for(i=0;i<n;i++)if(t.charCodeAt(i)!==e.charCodeAt(i))return i;return n}function zo(t,e){const n=Math.min(t.length,e.length);let i;const r=t.length-1,s=e.length-1;for(i=0;i<n;i++)if(t.charCodeAt(r-i)!==e.charCodeAt(s-i))return i;return n}function Un(t){return 55296<=t&&t<=56319}function Ho(t){return 56320<=t&&t<=57343}function Uo(t,e){return(t-55296<<10)+(e-56320)+65536}function Po(t,e,n){const i=t.charCodeAt(n);if(Un(i)&&n+1<e){const r=t.charCodeAt(n+1);if(Ho(r))return Uo(i,r)}return i}const Wo=/^[\t\n\r\x20-\x7E]*$/;function Fo(t){return Wo.test(t)}const Ne=class Ne{static getInstance(e){return Ne.cache.get(Array.from(e))}static getLocales(){return Ne._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}};Ne.ambiguousCharacterData=new Hn(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}')),Ne.cache=new Eo({getCacheKey:JSON.stringify},e=>{function n(c){const d=new Map;for(let m=0;m<c.length;m+=2)d.set(c[m],c[m+1]);return d}function i(c,d){const m=new Map(c);for(const[f,w]of d)m.set(f,w);return m}function r(c,d){if(!c)return d;const m=new Map;for(const[f,w]of c)d.has(f)&&m.set(f,w);return m}const s=Ne.ambiguousCharacterData.value;let a=e.filter(c=>!c.startsWith("_")&&c in s);a.length===0&&(a=["_default"]);let l;for(const c of a){const d=n(s[c]);l=r(l,d)}const o=n(s._common),u=i(o,l);return new Ne(u)}),Ne._locales=new Hn(()=>Object.keys(Ne.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));let St=Ne;const vt=class vt{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static getData(){return this._data||(this._data=new Set([...Object.values(vt.getRawData())].flat())),this._data}static isInvisibleCharacter(e){return vt.getData().has(e)}static get codePoints(){return vt.getData()}};vt._data=void 0;let At=vt;const Pn="default",Bo="$initialize";class qo{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}}class Bi{constructor(e,n,i,r){this.vsWorker=e,this.seq=n,this.res=i,this.err=r,this.type=1}}class Oo{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}}class Vo{constructor(e,n,i){this.vsWorker=e,this.req=n,this.event=i,this.type=3}}class jo{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}}class $o{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}async sendMessage(e,n,i){const r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new qo(this._workerId,r,e,n,i))})}listen(e,n,i){let r=null;const s=new Ce({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new Oo(this._workerId,r,e,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new jo(this._workerId,r)),r=null}});return s.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}createProxyToRemoteChannel(e,n){const i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(Oi(s)?r[s]=a=>this.listen(e,s,a):qi(s)?r[s]=this.listen(e,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await n?.(),this.sendMessage(e,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;if(e.err.$isError){const r=new Error;r.name=e.err.name,r.message=e.err.message,r.stack=e.err.stack,i=r}n.reject(i);return}n.resolve(e.res)}_handleRequestMessage(e){const n=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then(r=>{this._send(new Bi(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=Sn(r.detail)),this._send(new Bi(this._workerId,n,void 0,Sn(r)))})}_handleSubscribeEventMessage(e){const n=e.req,i=this._handler.handleEvent(e.channel,e.eventName,e.arg)(r=>{this._send(new Vo(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){const n=[];if(e.type===0)for(let i=0;i<e.args.length;i++){const r=e.args[i];r instanceof ArrayBuffer&&n.push(r)}else e.type===1&&e.res instanceof ArrayBuffer&&n.push(e.res);this._handler.sendMessage(e,n)}}function qi(t){return t[0]==="o"&&t[1]==="n"&&Fi(t.charCodeAt(2))}function Oi(t){return/^onDynamic/.test(t)&&Fi(t.charCodeAt(9))}class Go{constructor(e,n){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new $o({sendMessage:(i,r)=>{e(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)}),this.requestHandler=n(this)}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n,i){if(e===Pn&&n===Bo)return this.initialize(i[0]);const r=e===Pn?this.requestHandler:this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));const s=r[n];if(typeof s!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${e}`));try{return Promise.resolve(s.apply(r,i))}catch(a){return Promise.reject(a)}}_handleEvent(e,n,i){const r=e===Pn?this.requestHandler:this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on worker thread`);if(Oi(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);const a=s.call(r,i);if(typeof a!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return a}if(qi(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(e){if(!this._remoteChannels.has(e)){const n=this._protocol.createProxyToRemoteChannel(e);this._remoteChannels.set(e,n)}return this._remoteChannels.get(e)}async initialize(e){this._protocol.setWorkerId(e)}}let Vi=!1;function Xo(t){if(Vi)throw new Error("WebWorker already initialized!");Vi=!0;const e=new Go(n=>globalThis.postMessage(n),n=>t(n));return globalThis.onmessage=n=>{e.onmessage(n.data)},e}class qe{constructor(e,n,i,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}new Hn(()=>new Uint8Array(256));function ji(t,e){return(e<<5)-e+t|0}function Jo(t,e){e=ji(149417,e);for(let n=0,i=t.length;n<i;n++)e=ji(t.charCodeAt(n),e);return e}class $i{constructor(e){this.source=e}getElements(){const e=this.source,n=new Int32Array(e.length);for(let i=0,r=e.length;i<r;i++)n[i]=e.charCodeAt(i);return n}}function Qo(t,e,n){return new Oe(new $i(t),new $i(e)).ComputeDiff(n).changes}class rt{static Assert(e,n){if(!e)throw new Error(n)}}class st{static Copy(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}static Copy2(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}}class Gi{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new qe(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Oe{constructor(e,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=n;const[r,s,a]=Oe._getElements(e),[l,o,u]=Oe._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){const n=e.getElements();if(Oe._isStringArray(n)){const i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=Jo(n[r],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(e,n){if(!this.ElementsAreEqual(e,n))return!1;const i=Oe._getStrictElement(this._originalSequence,e),r=Oe._getStrictElement(this._modifiedSequence,n);return i===r}static _getStrictElement(e,n){return typeof e.getStrictElement=="function"?e.getStrictElement(n):null}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[n]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,i,r,s){const a=[!1];let l=this.ComputeDiffRecursive(e,n,i,r,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(e,n,i,r,s){for(s[0]=!1;e<=n&&i<=r&&this.ElementsAreEqual(e,i);)e++,i++;for(;n>=e&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||i>r){let d;return i<=r?(rt.Assert(e===n+1,"originalStart should only be one more than originalEnd"),d=[new qe(e,0,i,r-i+1)]):e<=n?(rt.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new qe(e,n-e+1,i,0)]):(rt.Assert(e===n+1,"originalStart should only be one more than originalEnd"),rt.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const a=[0],l=[0],o=this.ComputeRecursionPoint(e,n,i,r,a,l,s),u=a[0],c=l[0];if(o!==null)return o;if(!s[0]){const d=this.ComputeDiffRecursive(e,u,i,c,s);let m=[];return s[0]?m=[new qe(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:m=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,m)}return[new qe(e,n-e+1,i,r-i+1)]}WALKTRACE(e,n,i,r,s,a,l,o,u,c,d,m,f,w,p,x,T,y){let A=null,I=null,H=new Gi,P=n,b=i,g=f[0]-x[0]-r,v=-1073741824,N=this.m_forwardHistory.length-1;do{const S=g+e;S===P||S<b&&u[S-1]<u[S+1]?(d=u[S+1],w=d-g-r,d<v&&H.MarkNextChange(),v=d,H.AddModifiedElement(d+1,w),g=S+1-e):(d=u[S-1]+1,w=d-g-r,d<v&&H.MarkNextChange(),v=d-1,H.AddOriginalElement(d,w+1),g=S-1-e),N>=0&&(u=this.m_forwardHistory[N],e=u[0],P=1,b=u.length-1)}while(--N>=-1);if(A=H.getReverseChanges(),y[0]){let S=f[0]+1,_=x[0]+1;if(A!==null&&A.length>0){const L=A[A.length-1];S=Math.max(S,L.getOriginalEnd()),_=Math.max(_,L.getModifiedEnd())}I=[new qe(S,m-S+1,_,p-_+1)]}else{H=new Gi,P=a,b=l,g=f[0]-x[0]-o,v=1073741824,N=T?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const S=g+s;S===P||S<b&&c[S-1]>=c[S+1]?(d=c[S+1]-1,w=d-g-o,d>v&&H.MarkNextChange(),v=d+1,H.AddOriginalElement(d+1,w+1),g=S+1-s):(d=c[S-1],w=d-g-o,d>v&&H.MarkNextChange(),v=d,H.AddModifiedElement(d+1,w+1),g=S-1-s),N>=0&&(c=this.m_reverseHistory[N],s=c[0],P=1,b=c.length-1)}while(--N>=-1);I=H.getChanges()}return this.ConcatenateChanges(A,I)}ComputeRecursionPoint(e,n,i,r,s,a,l){let o=0,u=0,c=0,d=0,m=0,f=0;e--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const w=n-e+(r-i),p=w+1,x=new Int32Array(p),T=new Int32Array(p),y=r-i,A=n-e,I=e-i,H=n-r,b=(A-y)%2===0;x[y]=e,T[A]=n,l[0]=!1;for(let g=1;g<=w/2+1;g++){let v=0,N=0;c=this.ClipDiagonalBound(y-g,g,y,p),d=this.ClipDiagonalBound(y+g,g,y,p);for(let _=c;_<=d;_+=2){_===c||_<d&&x[_-1]<x[_+1]?o=x[_+1]:o=x[_-1]+1,u=o-(_-y)-I;const L=o;for(;o<n&&u<r&&this.ElementsAreEqual(o+1,u+1);)o++,u++;if(x[_]=o,o+u>v+N&&(v=o,N=u),!b&&Math.abs(_-A)<=g-1&&o>=T[_])return s[0]=o,a[0]=u,L<=T[_]&&g<=1448?this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l):null}const S=(v-e+(N-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(v,S))return l[0]=!0,s[0]=v,a[0]=N,S>0&&g<=1448?this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l):(e++,i++,[new qe(e,n-e+1,i,r-i+1)]);m=this.ClipDiagonalBound(A-g,g,A,p),f=this.ClipDiagonalBound(A+g,g,A,p);for(let _=m;_<=f;_+=2){_===m||_<f&&T[_-1]>=T[_+1]?o=T[_+1]-1:o=T[_-1],u=o-(_-A)-H;const L=o;for(;o>e&&u>i&&this.ElementsAreEqual(o,u);)o--,u--;if(T[_]=o,b&&Math.abs(_-y)<=g&&o<=x[_])return s[0]=o,a[0]=u,L>=x[_]&&g<=1448?this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l):null}if(g<=1447){let _=new Int32Array(d-c+2);_[0]=y-c+1,st.Copy2(x,c,_,1,d-c+1),this.m_forwardHistory.push(_),_=new Int32Array(f-m+2),_[0]=A-m+1,st.Copy2(T,m,_,1,f-m+1),this.m_reverseHistory.push(_)}}return this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l)}PrettifyChanges(e){for(let n=0;n<e.length;n++){const i=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,s=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){const u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}const o=[null];if(n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],o)){e[n]=o[0],e.splice(n+1,1),n--;continue}}for(let n=e.length-1;n>=0;n--){const i=e[n];let r=0,s=0;if(n>0){const d=e[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const a=i.originalLength>0,l=i.modifiedLength>0;let o=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){const m=i.originalStart-d,f=i.modifiedStart-d;if(m<r||f<s||a&&!this.OriginalElementsAreEqual(m,m+i.originalLength)||l&&!this.ModifiedElementsAreEqual(f,f+i.modifiedLength))break;const p=(m===r&&f===s?5:0)+this._boundaryScore(m,i.originalLength,f,i.modifiedLength);p>u&&(u=p,o=d)}i.originalStart-=o,i.modifiedStart-=o;const c=[null];if(n>0&&this.ChangesOverlap(e[n-1],e[n],c)){e[n-1]=c[0],e.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=e.length;n<i;n++){const r=e[n-1],s=e[n],a=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,o=s.originalStart+s.originalLength,u=o-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,m=d-c;if(a<5&&u<20&&m<20){const f=this._findBetterContiguousSequence(l,u,c,m,a);if(f){const[w,p]=f;(w!==r.originalStart+r.originalLength||p!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=w-r.originalStart,r.modifiedLength=p-r.modifiedStart,s.originalStart=w+a,s.modifiedStart=p+a,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,n,i,r,s){if(n<s||r<s)return null;const a=e+n-s+1,l=i+r-s+1;let o=0,u=0,c=0;for(let d=e;d<a;d++)for(let m=i;m<l;m++){const f=this._contiguousSequenceScore(d,m,s);f>0&&f>o&&(o=f,u=d,c=m)}return o>0?[u,c]:null}_contiguousSequenceScore(e,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(e+s,n+s))return 0;r+=this._originalStringElements[e+s].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const i=e+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const i=e+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,n,i,r){const s=this._OriginalRegionIsBoundary(e,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(e,n){const i=[];if(e.length===0||n.length===0)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],i)){const r=new Array(e.length+n.length-1);return st.Copy(e,0,r,0,e.length-1),r[e.length-1]=i[0],st.Copy(n,1,r,e.length,n.length-1),r}else{const r=new Array(e.length+n.length);return st.Copy(e,0,r,0,e.length),st.Copy(n,0,r,e.length,n.length),r}}ChangesOverlap(e,n,i){if(rt.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),rt.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){const r=e.originalStart;let s=e.originalLength;const a=e.modifiedStart;let l=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-e.modifiedStart),i[0]=new qe(r,s,a,l),!0}else return i[0]=null,!1}ClipDiagonalBound(e,n,i,r){if(e>=0&&e<r)return e;const s=i,a=r-i-1,l=n%2===0;if(e<0){const o=s%2===0;return l===o?0:1}else{const o=a%2===0;return l===o?r-1:r-2}}}let K=class tt{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new tt(e,n)}delta(e=0,n=0){return this.with(Math.max(1,this.lineNumber+e),Math.max(1,this.column+n))}equals(e){return tt.equals(this,e)}static equals(e,n){return!e&&!n?!0:!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return tt.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<n.column}isBeforeOrEqual(e){return tt.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<=n.column}static compare(e,n){const i=e.lineNumber|0,r=n.lineNumber|0;if(i===r){const s=e.column|0,a=n.column|0;return s-a}return i-r}clone(){return new tt(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new tt(e.lineNumber,e.column)}static isIPosition(e){return!!e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}},j=class re{constructor(e,n,i,r){e>i||e===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return re.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return re.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<e.startColumn||n.lineNumber===e.endLineNumber&&n.column>e.endColumn)}static strictContainsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<=e.startColumn||n.lineNumber===e.endLineNumber&&n.column>=e.endColumn)}containsRange(e){return re.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)}strictContainsRange(e){return re.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)}plusRange(e){return re.plusRange(this,e)}static plusRange(e,n){let i,r,s,a;return n.startLineNumber<e.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(i=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===e.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,e.endColumn)):(s=e.endLineNumber,a=e.endColumn),new re(i,r,s,a)}intersectRanges(e){return re.intersectRanges(this,e)}static intersectRanges(e,n){let i=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,a=e.endColumn;const l=n.startLineNumber,o=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=o):i===l&&(r=Math.max(r,o)),s>u?(s=u,a=c):s===u&&(a=Math.min(a,c)),i>s||i===s&&r>a?null:new re(i,r,s,a)}equalsRange(e){return re.equalsRange(this,e)}static equalsRange(e,n){return!e&&!n?!0:!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return re.getEndPosition(this)}static getEndPosition(e){return new K(e.endLineNumber,e.endColumn)}getStartPosition(){return re.getStartPosition(this)}static getStartPosition(e){return new K(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new re(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new re(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return re.collapseToStart(this)}static collapseToStart(e){return new re(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return re.collapseToEnd(this)}static collapseToEnd(e){return new re(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new re(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(e,n=e){return new re(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new re(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return!!e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static areOnlyIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber-1||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn-1||n.endLineNumber<e.startLineNumber-1||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn-1)}static compareRangesUsingStarts(e,n){if(e&&n){const s=e.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const l=e.startColumn|0,o=n.startColumn|0;if(l===o){const u=e.endLineNumber|0,c=n.endLineNumber|0;if(u===c){const d=e.endColumn|0,m=n.endColumn|0;return d-m}return u-c}return l-o}return s-a}return(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}};function Xi(t){return t<0?0:t>255?255:t|0}function at(t){return t<0?0:t>4294967295?4294967295:t|0}class Wn{constructor(e){const n=Xi(e);this._defaultValue=n,this._asciiMap=Wn._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){const n=new Uint8Array(256);return n.fill(e),n}set(e,n){const i=Xi(n);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Yo{constructor(e,n,i){const r=new Uint8Array(e*n);for(let s=0,a=e*n;s<a;s++)r[s]=i;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,i){this._data[e*this.cols+n]=i}}class Zo{constructor(e){let n=0,i=0;for(let s=0,a=e.length;s<a;s++){const[l,o,u]=e[s];o>n&&(n=o),l>i&&(i=l),u>i&&(i=u)}n++,i++;const r=new Yo(i,n,0);for(let s=0,a=e.length;s<a;s++){const[l,o,u]=e[s];r.set(l,o,u)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}}let Fn=null;function Ko(){return Fn===null&&(Fn=new Zo([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Fn}let Lt=null;function el(){if(Lt===null){Lt=new Wn(0);const t=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…|`;for(let n=0;n<t.length;n++)Lt.set(t.charCodeAt(n),1);const e=".,;:";for(let n=0;n<e.length;n++)Lt.set(e.charCodeAt(n),2)}return Lt}class Xt{static _createLink(e,n,i,r,s){let a=s-1;do{const l=n.charCodeAt(a);if(e.get(l)!==2)break;a--}while(a>r);if(r>0){const l=n.charCodeAt(r-1),o=n.charCodeAt(a);(l===40&&o===41||l===91&&o===93||l===123&&o===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(e,n=Ko()){const i=el(),r=[];for(let s=1,a=e.getLineCount();s<=a;s++){const l=e.getLineContent(s),o=l.length;let u=0,c=0,d=0,m=1,f=!1,w=!1,p=!1,x=!1;for(;u<o;){let T=!1;const y=l.charCodeAt(u);if(m===13){let A;switch(y){case 40:f=!0,A=0;break;case 41:A=f?0:1;break;case 91:p=!0,w=!0,A=0;break;case 93:p=!1,A=w?0:1;break;case 123:x=!0,A=0;break;case 125:A=x?0:1;break;case 39:case 34:case 96:d===y?A=1:d===39||d===34||d===96?A=0:A=1;break;case 42:A=d===42?1:0;break;case 32:A=p?0:1;break;default:A=i.get(y)}A===1&&(r.push(Xt._createLink(i,l,s,c,u)),T=!0)}else if(m===12){let A;y===91?(w=!0,A=0):A=i.get(y),A===1?T=!0:m=13}else m=n.nextState(m,y),m===0&&(T=!0);T&&(m=1,f=!1,w=!1,x=!1,c=u+1,d=y),u++}m===13&&r.push(Xt._createLink(i,l,s,c,o))}return r}}function tl(t){return!t||typeof t.getLineCount!="function"||typeof t.getLineContent!="function"?[]:Xt.computeLinks(t)}const yn=class yn{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,n,i,r,s){if(e&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:e,value:a}}if(i&&r){const a=this.doNavigateValueSet(r,s);if(a)return{range:i,value:a}}return null}doNavigateValueSet(e,n){const i=this.numberReplace(e,n);return i!==null?i:this.textReplace(e,n)}numberReplace(e,n){const i=Math.pow(10,e.length-(e.lastIndexOf(".")+1));let r=Number(e);const s=parseFloat(e);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,i){let r=null;for(let s=0,a=e.length;r===null&&s<a;s++)r=this.valueSetReplace(e[s],n,i);return r}valueSetReplace(e,n,i){let r=e.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}};yn.INSTANCE=new yn;let Bn=yn;const Ji=Object.freeze(function(t,e){const n=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(n)}}});var Jt;(function(t){function e(n){return n===t.None||n===t.Cancelled||n instanceof Qt?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ln.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Ji})})(Jt||(Jt={}));class Qt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Ji:(this._emitter||(this._emitter=new Ce),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class nl{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Qt),this._token}cancel(){this._token?this._token instanceof Qt&&this._token.cancel():this._token=Jt.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof Qt&&this._token.dispose():this._token=Jt.None}}class qn{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Yt=new qn,On=new qn,Vn=new qn,il=new Array(230),rl=Object.create(null),sl=Object.create(null);(function(){const e=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],i=[];for(const r of e){const[s,a,l,o,u,c,d,m,f]=r;if(i[a]||(i[a]=!0,rl[l]=a,sl[l.toLowerCase()]=a),!n[o]){if(n[o]=!0,!u)throw new Error(`String representation missing for key code ${o} around scan code ${l}`);Yt.define(o,u),On.define(o,m||u),Vn.define(o,f||m||u)}c&&(il[c]=o)}})();var Qi;(function(t){function e(l){return Yt.keyCodeToStr(l)}t.toString=e;function n(l){return Yt.strToKeyCode(l)}t.fromString=n;function i(l){return On.keyCodeToStr(l)}t.toUserSettingsUS=i;function r(l){return Vn.keyCodeToStr(l)}t.toUserSettingsGeneral=r;function s(l){return On.strToKeyCode(l)||Vn.strToKeyCode(l)}t.fromUserSettings=s;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Yt.keyCodeToStr(l)}t.toElectronAccelerator=a})(Qi||(Qi={}));function al(t,e){const n=(e&65535)<<16>>>0;return(t|n)>>>0}let ot;const jn=globalThis.vscode;if(typeof jn<"u"&&typeof jn.process<"u"){const t=jn.process;ot={get platform(){return t.platform},get arch(){return t.arch},get env(){return t.env},cwd(){return t.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?ot={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:ot={get platform(){return kt?"win32":ko?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Zt=ot.cwd,ol=ot.env,ll=ot.platform,ul=65,cl=97,hl=90,dl=122,Ye=46,ae=47,de=92,ze=58,ml=63;class Yi extends Error{constructor(e,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";const s=e.indexOf(".")!==-1?"property":"argument";let a=`The "${e}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function fl(t,e){if(t===null||typeof t!="object")throw new Yi(e,"Object",t)}function ie(t,e){if(typeof t!="string")throw new Yi(e,"string",t)}const Ve=ll==="win32";function $(t){return t===ae||t===de}function $n(t){return t===ae}function He(t){return t>=ul&&t<=hl||t>=cl&&t<=dl}function Kt(t,e,n,i){let r="",s=0,a=-1,l=0,o=0;for(let u=0;u<=t.length;++u){if(u<t.length)o=t.charCodeAt(u);else{if(i(o))break;o=ae}if(i(o)){if(!(a===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==Ye||r.charCodeAt(r.length-2)!==Ye){if(r.length>2){const c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),a=u,l=0;continue}else if(r.length!==0){r="",s=0,a=u,l=0;continue}}e&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${t.slice(a+1,u)}`:r=t.slice(a+1,u),s=u-a-1;a=u,l=0}else o===Ye&&l!==-1?++l:l=-1}return r}function pl(t){return t?`${t[0]==="."?"":"."}${t}`:""}function Zi(t,e){fl(e,"pathObject");const n=e.dir||e.root,i=e.base||`${e.name||""}${pl(e.ext)}`;return n?n===e.root?`${n}${i}`:`${n}${t}${i}`:i}const ue={resolve(...t){let e="",n="",i=!1;for(let r=t.length-1;r>=-1;r--){let s;if(r>=0){if(s=t[r],ie(s,`paths[${r}]`),s.length===0)continue}else e.length===0?s=Zt():(s=ol[`=${e}`]||Zt(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===de)&&(s=`${e}\\`));const a=s.length;let l=0,o="",u=!1;const c=s.charCodeAt(0);if(a===1)$(c)&&(l=1,u=!0);else if($(c))if(u=!0,$(s.charCodeAt(1))){let d=2,m=d;for(;d<a&&!$(s.charCodeAt(d));)d++;if(d<a&&d!==m){const f=s.slice(m,d);for(m=d;d<a&&$(s.charCodeAt(d));)d++;if(d<a&&d!==m){for(m=d;d<a&&!$(s.charCodeAt(d));)d++;(d===a||d!==m)&&(o=`\\\\${f}\\${s.slice(m,d)}`,l=d)}}}else l=1;else He(c)&&s.charCodeAt(1)===ze&&(o=s.slice(0,2),l=2,a>2&&$(s.charCodeAt(2))&&(u=!0,l=3));if(o.length>0)if(e.length>0){if(o.toLowerCase()!==e.toLowerCase())continue}else e=o;if(i){if(e.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&e.length>0)break}return n=Kt(n,!i,"\\",$),i?`${e}\\${n}`:`${e}${n}`||"."},normalize(t){ie(t,"path");const e=t.length;if(e===0)return".";let n=0,i,r=!1;const s=t.charCodeAt(0);if(e===1)return $n(s)?"\\":t;if($(s))if(r=!0,$(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!$(t.charCodeAt(l));)l++;if(l<e&&l!==o){const u=t.slice(o,l);for(o=l;l<e&&$(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!$(t.charCodeAt(l));)l++;if(l===e)return`\\\\${u}\\${t.slice(o)}\\`;l!==o&&(i=`\\\\${u}\\${t.slice(o,l)}`,n=l)}}}else n=1;else He(s)&&t.charCodeAt(1)===ze&&(i=t.slice(0,2),n=2,e>2&&$(t.charCodeAt(2))&&(r=!0,n=3));let a=n<e?Kt(t.slice(n),!r,"\\",$):"";if(a.length===0&&!r&&(a="."),a.length>0&&$(t.charCodeAt(e-1))&&(a+="\\"),!r&&i===void 0&&t.includes(":")){if(a.length>=2&&He(a.charCodeAt(0))&&a.charCodeAt(1)===ze)return`.\\${a}`;let l=t.indexOf(":");do if(l===e-1||$(t.charCodeAt(l+1)))return`.\\${a}`;while((l=t.indexOf(":",l+1))!==-1)}return i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(t){ie(t,"path");const e=t.length;if(e===0)return!1;const n=t.charCodeAt(0);return $(n)||e>2&&He(n)&&t.charCodeAt(1)===ze&&$(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let e,n;for(let s=0;s<t.length;++s){const a=t[s];ie(a,"path"),a.length>0&&(e===void 0?e=n=a:e+=`\\${a}`)}if(e===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&$(n.charCodeAt(0))){++r;const s=n.length;s>1&&$(n.charCodeAt(1))&&(++r,s>2&&($(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<e.length&&$(e.charCodeAt(r));)r++;r>=2&&(e=`\\${e.slice(r)}`)}return ue.normalize(e)},relative(t,e){if(ie(t,"from"),ie(e,"to"),t===e)return"";const n=ue.resolve(t),i=ue.resolve(e);if(n===i||(t=n.toLowerCase(),e=i.toLowerCase(),t===e))return"";if(n.length!==t.length||i.length!==e.length){const w=n.split("\\"),p=i.split("\\");w[w.length-1]===""&&w.pop(),p[p.length-1]===""&&p.pop();const x=w.length,T=p.length,y=x<T?x:T;let A;for(A=0;A<y&&w[A].toLowerCase()===p[A].toLowerCase();A++);return A===0?i:A===y?T>y?p.slice(A).join("\\"):x>y?"..\\".repeat(x-1-A)+"..":"":"..\\".repeat(x-A)+p.slice(A).join("\\")}let r=0;for(;r<t.length&&t.charCodeAt(r)===de;)r++;let s=t.length;for(;s-1>r&&t.charCodeAt(s-1)===de;)s--;const a=s-r;let l=0;for(;l<e.length&&e.charCodeAt(l)===de;)l++;let o=e.length;for(;o-1>l&&e.charCodeAt(o-1)===de;)o--;const u=o-l,c=a<u?a:u;let d=-1,m=0;for(;m<c;m++){const w=t.charCodeAt(r+m);if(w!==e.charCodeAt(l+m))break;w===de&&(d=m)}if(m!==c){if(d===-1)return i}else{if(u>c){if(e.charCodeAt(l+m)===de)return i.slice(l+m+1);if(m===2)return i.slice(l+m)}a>c&&(t.charCodeAt(r+m)===de?d=m:m===2&&(d=3)),d===-1&&(d=0)}let f="";for(m=r+d+1;m<=s;++m)(m===s||t.charCodeAt(m)===de)&&(f+=f.length===0?"..":"\\..");return l+=d,f.length>0?`${f}${i.slice(l,o)}`:(i.charCodeAt(l)===de&&++l,i.slice(l,o))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;const e=ue.resolve(t);if(e.length<=2)return t;if(e.charCodeAt(0)===de){if(e.charCodeAt(1)===de){const n=e.charCodeAt(2);if(n!==ml&&n!==Ye)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(He(e.charCodeAt(0))&&e.charCodeAt(1)===ze&&e.charCodeAt(2)===de)return`\\\\?\\${e}`;return e},dirname(t){ie(t,"path");const e=t.length;if(e===0)return".";let n=-1,i=0;const r=t.charCodeAt(0);if(e===1)return $(r)?t:".";if($(r)){if(n=i=1,$(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!$(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&$(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!$(t.charCodeAt(l));)l++;if(l===e)return t;l!==o&&(n=i=l+1)}}}}else He(r)&&t.charCodeAt(1)===ze&&(n=e>2&&$(t.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let l=e-1;l>=i;--l)if($(t.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return t.slice(0,s)},basename(t,e){e!==void 0&&ie(e,"suffix"),ie(t,"path");let n=0,i=-1,r=!0,s;if(t.length>=2&&He(t.charCodeAt(0))&&t.charCodeAt(1)===ze&&(n=2),e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=n;--s){const o=t.charCodeAt(s);if($(o)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=n;--s)if($(t.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){ie(t,"path");let e=0,n=-1,i=0,r=-1,s=!0,a=0;t.length>=2&&t.charCodeAt(1)===ze&&He(t.charCodeAt(0))&&(e=i=2);for(let l=t.length-1;l>=e;--l){const o=t.charCodeAt(l);if($(o)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===Ye?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":t.slice(n,r)},format:Zi.bind(null,"\\"),parse(t){ie(t,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;const n=t.length;let i=0,r=t.charCodeAt(0);if(n===1)return $(r)?(e.root=e.dir=t,e):(e.base=e.name=t,e);if($(r)){if(i=1,$(t.charCodeAt(1))){let d=2,m=d;for(;d<n&&!$(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&$(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&!$(t.charCodeAt(d));)d++;d===n?i=d:d!==m&&(i=d+1)}}}}else if(He(r)&&t.charCodeAt(1)===ze){if(n<=2)return e.root=e.dir=t,e;if(i=2,$(t.charCodeAt(2))){if(n===3)return e.root=e.dir=t,e;i=3}}i>0&&(e.root=t.slice(0,i));let s=-1,a=i,l=-1,o=!0,u=t.length-1,c=0;for(;u>=i;--u){if(r=t.charCodeAt(u),$(r)){if(!o){a=u+1;break}continue}l===-1&&(o=!1,l=u+1),r===Ye?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===a+1?e.base=e.name=t.slice(a,l):(e.name=t.slice(a,s),e.base=t.slice(a,l),e.ext=t.slice(s,l))),a>0&&a!==i?e.dir=t.slice(0,a-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},gl=(()=>{if(Ve){const t=/\\/g;return()=>{const e=Zt().replace(t,"/");return e.slice(e.indexOf("/"))}}return()=>Zt()})(),me={resolve(...t){let e="",n=!1;for(let i=t.length-1;i>=0&&!n;i--){const r=t[i];ie(r,`paths[${i}]`),r.length!==0&&(e=`${r}/${e}`,n=r.charCodeAt(0)===ae)}if(!n){const i=gl();e=`${i}/${e}`,n=i.charCodeAt(0)===ae}return e=Kt(e,!n,"/",$n),n?`/${e}`:e.length>0?e:"."},normalize(t){if(ie(t,"path"),t.length===0)return".";const e=t.charCodeAt(0)===ae,n=t.charCodeAt(t.length-1)===ae;return t=Kt(t,!e,"/",$n),t.length===0?e?"/":n?"./":".":(n&&(t+="/"),e?`/${t}`:t)},isAbsolute(t){return ie(t,"path"),t.length>0&&t.charCodeAt(0)===ae},join(...t){if(t.length===0)return".";const e=[];for(let n=0;n<t.length;++n){const i=t[n];ie(i,"path"),i.length>0&&e.push(i)}return e.length===0?".":me.normalize(e.join("/"))},relative(t,e){if(ie(t,"from"),ie(e,"to"),t===e||(t=me.resolve(t),e=me.resolve(e),t===e))return"";const n=1,i=t.length,r=i-n,s=1,a=e.length-s,l=r<a?r:a;let o=-1,u=0;for(;u<l;u++){const d=t.charCodeAt(n+u);if(d!==e.charCodeAt(s+u))break;d===ae&&(o=u)}if(u===l)if(a>l){if(e.charCodeAt(s+u)===ae)return e.slice(s+u+1);if(u===0)return e.slice(s+u)}else r>l&&(t.charCodeAt(n+u)===ae?o=u:u===0&&(o=0));let c="";for(u=n+o+1;u<=i;++u)(u===i||t.charCodeAt(u)===ae)&&(c+=c.length===0?"..":"/..");return`${c}${e.slice(s+o)}`},toNamespacedPath(t){return t},dirname(t){if(ie(t,"path"),t.length===0)return".";const e=t.charCodeAt(0)===ae;let n=-1,i=!0;for(let r=t.length-1;r>=1;--r)if(t.charCodeAt(r)===ae){if(!i){n=r;break}}else i=!1;return n===-1?e?"/":".":e&&n===1?"//":t.slice(0,n)},basename(t,e){e!==void 0&&ie(e,"suffix"),ie(t,"path");let n=0,i=-1,r=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=0;--s){const o=t.charCodeAt(s);if(o===ae){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===ae){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){ie(t,"path");let e=-1,n=0,i=-1,r=!0,s=0;for(let a=t.length-1;a>=0;--a){const l=t[a];if(l==="/"){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),l==="."?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||i===-1||s===0||s===1&&e===i-1&&e===n+1?"":t.slice(e,i)},format:Zi.bind(null,"/"),parse(t){ie(t,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;const n=t.charCodeAt(0)===ae;let i;n?(e.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,o=t.length-1,u=0;for(;o>=i;--o){const c=t.charCodeAt(o);if(c===ae){if(!l){s=o+1;break}continue}a===-1&&(l=!1,a=o+1),c===Ye?r===-1?r=o:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){const c=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?e.base=e.name=t.slice(c,a):(e.name=t.slice(c,r),e.base=t.slice(c,a),e.ext=t.slice(r,a))}return s>0?e.dir=t.slice(0,s-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};me.win32=ue.win32=ue,me.posix=ue.posix=me,Ve?ue.normalize:me.normalize,Ve?ue.resolve:me.resolve,Ve?ue.relative:me.relative,Ve?ue.dirname:me.dirname,Ve?ue.basename:me.basename,Ve?ue.extname:me.extname,Ve?ue.sep:me.sep;const bl=/^\w[\w\d+.-]*$/,wl=/^\//,_l=/^\/\//;function vl(t,e){if(!t.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t.authority}", path: "${t.path}", query: "${t.query}", fragment: "${t.fragment}"}`);if(t.scheme&&!bl.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path){if(t.authority){if(!wl.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(_l.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function yl(t,e){return!t&&!e?"file":t}function Tl(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==ke&&(e=ke+e):e=ke;break}return e}const ee="",ke="/",xl=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Gn=class kn{static isUri(e){return e instanceof kn?!0:!e||typeof e!="object"?!1:typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function"}constructor(e,n,i,r,s,a=!1){typeof e=="object"?(this.scheme=e.scheme||ee,this.authority=e.authority||ee,this.path=e.path||ee,this.query=e.query||ee,this.fragment=e.fragment||ee):(this.scheme=yl(e,a),this.authority=n||ee,this.path=Tl(this.scheme,i||ee),this.query=r||ee,this.fragment=s||ee,vl(this,a))}get fsPath(){return Xn(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=e;return n===void 0?n=this.scheme:n===null&&(n=ee),i===void 0?i=this.authority:i===null&&(i=ee),r===void 0?r=this.path:r===null&&(r=ee),s===void 0?s=this.query:s===null&&(s=ee),a===void 0?a=this.fragment:a===null&&(a=ee),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new lt(n,i,r,s,a)}static parse(e,n=!1){const i=xl.exec(e);return i?new lt(i[2]||ee,en(i[4]||ee),en(i[5]||ee),en(i[7]||ee),en(i[9]||ee),n):new lt(ee,ee,ee,ee,ee)}static file(e){let n=ee;if(kt&&(e=e.replace(/\\/g,ke)),e[0]===ke&&e[1]===ke){const i=e.indexOf(ke,2);i===-1?(n=e.substring(2),e=ke):(n=e.substring(2,i),e=e.substring(i)||ke)}return new lt("file",n,e,ee,ee)}static from(e,n){return new lt(e.scheme,e.authority,e.path,e.query,e.fragment,n)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return kt&&e.scheme==="file"?i=kn.file(ue.join(Xn(e,!0),...n)).path:i=me.join(e.path,...n),e.with({path:i})}toString(e=!1){return Jn(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof kn)return e;{const n=new lt(e);return n._formatted=e.external??null,n._fsPath=e._sep===Ki?e.fsPath??null:null,n}}else return e}};const Ki=kt?1:void 0;class lt extends Gn{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Xn(this,!1)),this._fsPath}toString(e=!1){return e?Jn(this,!0):(this._formatted||(this._formatted=Jn(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Ki),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const er={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function tr(t,e,n){let i,r=-1;for(let s=0;s<t.length;s++){const a=t.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||e&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i!==void 0&&(i+=t.charAt(s));else{i===void 0&&(i=t.substr(0,s));const l=er[a];l!==void 0?(r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(t.substring(r))),i!==void 0?i:t}function kl(t){let e;for(let n=0;n<t.length;n++){const i=t.charCodeAt(n);i===35||i===63?(e===void 0&&(e=t.substr(0,n)),e+=er[i]):e!==void 0&&(e+=t[n])}return e!==void 0?e:t}function Xn(t,e){let n;return t.authority&&t.path.length>1&&t.scheme==="file"?n=`//${t.authority}${t.path}`:t.path.charCodeAt(0)===47&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&t.path.charCodeAt(2)===58?e?n=t.path.substr(1):n=t.path[1].toLowerCase()+t.path.substr(2):n=t.path,kt&&(n=n.replace(/\//g,"\\")),n}function Jn(t,e){const n=e?kl:tr;let i="",{scheme:r,authority:s,path:a,query:l,fragment:o}=t;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=ke,i+=ke),s){let u=s.indexOf("@");if(u!==-1){const c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const u=a.charCodeAt(1);u>=65&&u<=90&&(a=`/${String.fromCharCode(u+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const u=a.charCodeAt(0);u>=65&&u<=90&&(a=`${String.fromCharCode(u+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),o&&(i+="#",i+=e?o:tr(o,!1,!1)),i}function nr(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+nr(t.substr(3)):t}}const ir=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function en(t){return t.match(ir)?t.replace(ir,e=>nr(e)):t}class ge extends j{constructor(e,n,i,r){super(e,n,i,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return ge.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return this.getDirection()===0?new ge(this.startLineNumber,this.startColumn,e,n):new ge(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new K(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new K(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return this.getDirection()===0?new ge(e,n,this.endLineNumber,this.endColumn):new ge(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new ge(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return n===0?new ge(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new ge(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new ge(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!this.selectionsEqual(e[i],n[i]))return!1;return!0}static isISelection(e){return!!e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,n,i,r,s){return s===0?new ge(e,n,i,r):new ge(i,r,e,n)}}const rr=Object.create(null);function h(t,e){if(oo(e)){const n=rr[e];if(n===void 0)throw new Error(`${t} references an unknown codicon: ${e}`);e=n}return rr[t]=e,{id:t}}const Sl={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),gitBranch:h("git-branch",60008),gitBranchCreate:h("git-branch-create",60008),gitBranchDelete:h("git-branch-delete",60008),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468),goToEditingSession:h("go-to-editing-session",60469),editSession:h("edit-session",60470),codeReview:h("code-review",60471),copilotWarning:h("copilot-warning",60472),python:h("python",60473),copilotLarge:h("copilot-large",60474),copilotWarningLarge:h("copilot-warning-large",60475),keyboardTab:h("keyboard-tab",60476),copilotBlocked:h("copilot-blocked",60477),copilotNotConnected:h("copilot-not-connected",60478),flag:h("flag",60479),lightbulbEmpty:h("lightbulb-empty",60480),symbolMethodArrow:h("symbol-method-arrow",60481),copilotUnavailable:h("copilot-unavailable",60482),repoPinned:h("repo-pinned",60483),keyboardTabAbove:h("keyboard-tab-above",60484),keyboardTabBelow:h("keyboard-tab-below",60485),gitPullRequestDone:h("git-pull-request-done",60486),mcp:h("mcp",60487),extensionsLarge:h("extensions-large",60488),layoutPanelDock:h("layout-panel-dock",60489),layoutSidebarLeftDock:h("layout-sidebar-left-dock",60490),layoutSidebarRightDock:h("layout-sidebar-right-dock",60491),copilotInProgress:h("copilot-in-progress",60492),copilotError:h("copilot-error",60493),copilotSuccess:h("copilot-success",60494),chatSparkle:h("chat-sparkle",60495),searchSparkle:h("search-sparkle",60496),editSparkle:h("edit-sparkle",60497),copilotSnooze:h("copilot-snooze",60498),sendToRemoteAgent:h("send-to-remote-agent",60499),commentDiscussionSparkle:h("comment-discussion-sparkle",60500),chatSparkleWarning:h("chat-sparkle-warning",60501),chatSparkleError:h("chat-sparkle-error",60502),collection:h("collection",60503),newCollection:h("new-collection",60504),thinking:h("thinking",60505),build:h("build",60506),commentDiscussionQuote:h("comment-discussion-quote",60507),cursor:h("cursor",60508),eraser:h("eraser",60509),fileText:h("file-text",60510),gitLens:h("git-lens",60511),quotes:h("quotes",60512),rename:h("rename",60513),runWithDeps:h("run-with-deps",60514),debugConnected:h("debug-connected",60515),strikethrough:h("strikethrough",60516),openInProduct:h("open-in-product",60517)},Al={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},B={...Sl,...Al};class Ll{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Ce,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,n){return this._tokenizationSupports.set(e,n),this.handleChange([e]),jt(()=>{this._tokenizationSupports.get(e)===n&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,n){this._factories.get(e)?.dispose();const i=new El(this,e,n);return this._factories.set(e,i),jt(()=>{const r=this._factories.get(e);!r||r!==i||(this._factories.delete(e),r.dispose())})}async getOrCreate(e){const n=this.get(e);if(n)return n;const i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const i=this._factories.get(e);return!!(!i||i.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class El extends Xe{get isResolved(){return this._isResolved}constructor(e,n,i){super(),this._registry=e,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}class Cl{constructor(e,n,i){this.offset=e,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var sr;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(sr||(sr={}));var ar;(function(t){const e=new Map;e.set(0,B.symbolMethod),e.set(1,B.symbolFunction),e.set(2,B.symbolConstructor),e.set(3,B.symbolField),e.set(4,B.symbolVariable),e.set(5,B.symbolClass),e.set(6,B.symbolStruct),e.set(7,B.symbolInterface),e.set(8,B.symbolModule),e.set(9,B.symbolProperty),e.set(10,B.symbolEvent),e.set(11,B.symbolOperator),e.set(12,B.symbolUnit),e.set(13,B.symbolValue),e.set(15,B.symbolEnum),e.set(14,B.symbolConstant),e.set(15,B.symbolEnum),e.set(16,B.symbolEnumMember),e.set(17,B.symbolKeyword),e.set(28,B.symbolSnippet),e.set(18,B.symbolText),e.set(19,B.symbolColor),e.set(20,B.symbolFile),e.set(21,B.symbolReference),e.set(22,B.symbolCustomColor),e.set(23,B.symbolFolder),e.set(24,B.symbolTypeParameter),e.set(25,B.account),e.set(26,B.issues),e.set(27,B.tools);function n(a){let l=e.get(a);return l||(console.info("No codicon found for CompletionItemKind "+a),l=B.symbolProperty),l}t.toIcon=n;function i(a){switch(a){case 0:return q(725,"Method");case 1:return q(726,"Function");case 2:return q(727,"Constructor");case 3:return q(728,"Field");case 4:return q(729,"Variable");case 5:return q(730,"Class");case 6:return q(731,"Struct");case 7:return q(732,"Interface");case 8:return q(733,"Module");case 9:return q(734,"Property");case 10:return q(735,"Event");case 11:return q(736,"Operator");case 12:return q(737,"Unit");case 13:return q(738,"Value");case 14:return q(739,"Constant");case 15:return q(740,"Enum");case 16:return q(741,"Enum Member");case 17:return q(742,"Keyword");case 18:return q(743,"Text");case 19:return q(744,"Color");case 20:return q(745,"File");case 21:return q(746,"Reference");case 22:return q(747,"Custom Color");case 23:return q(748,"Folder");case 24:return q(749,"Type Parameter");case 25:return q(750,"User");case 26:return q(751,"Issue");case 27:return q(752,"Tool");case 28:return q(753,"Snippet");default:return""}}t.toLabel=i;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",28),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),r.set("tool",27);function s(a,l){let o=r.get(a);return typeof o>"u"&&!l&&(o=9),o}t.fromString=s})(ar||(ar={}));var or;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(or||(or={}));var lr;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(lr||(lr={}));var ur;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(ur||(ur={}));var cr;(function(t){t[t.Automatic=0]="Automatic",t[t.PasteAs=1]="PasteAs"})(cr||(cr={}));var hr;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(hr||(hr={}));var dr;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(dr||(dr={})),q(754,"array"),q(755,"boolean"),q(756,"class"),q(757,"constant"),q(758,"constructor"),q(759,"enumeration"),q(760,"enumeration member"),q(761,"event"),q(762,"field"),q(763,"file"),q(764,"function"),q(765,"interface"),q(766,"key"),q(767,"method"),q(768,"module"),q(769,"namespace"),q(770,"null"),q(771,"number"),q(772,"object"),q(773,"operator"),q(774,"package"),q(775,"property"),q(776,"string"),q(777,"struct"),q(778,"type parameter"),q(779,"variable");var mr;(function(t){const e=new Map;e.set(0,B.symbolFile),e.set(1,B.symbolModule),e.set(2,B.symbolNamespace),e.set(3,B.symbolPackage),e.set(4,B.symbolClass),e.set(5,B.symbolMethod),e.set(6,B.symbolProperty),e.set(7,B.symbolField),e.set(8,B.symbolConstructor),e.set(9,B.symbolEnum),e.set(10,B.symbolInterface),e.set(11,B.symbolFunction),e.set(12,B.symbolVariable),e.set(13,B.symbolConstant),e.set(14,B.symbolString),e.set(15,B.symbolNumber),e.set(16,B.symbolBoolean),e.set(17,B.symbolArray),e.set(18,B.symbolObject),e.set(19,B.symbolKey),e.set(20,B.symbolNull),e.set(21,B.symbolEnumMember),e.set(22,B.symbolStruct),e.set(23,B.symbolEvent),e.set(24,B.symbolOperator),e.set(25,B.symbolTypeParameter);function n(s){let a=e.get(s);return a||(console.info("No codicon found for SymbolKind "+s),a=B.symbolProperty),a}t.toIcon=n;const i=new Map;i.set(0,20),i.set(1,8),i.set(2,8),i.set(3,8),i.set(4,5),i.set(5,0),i.set(6,9),i.set(7,3),i.set(8,2),i.set(9,15),i.set(10,7),i.set(11,1),i.set(12,4),i.set(13,14),i.set(14,18),i.set(15,13),i.set(16,13),i.set(17,13),i.set(18,13),i.set(19,17),i.set(20,13),i.set(21,16),i.set(22,6),i.set(23,10),i.set(24,11),i.set(25,24);function r(s){let a=i.get(s);return a===void 0&&(console.info("No completion kind found for SymbolKind "+s),a=20),a}t.toCompletionKind=r})(mr||(mr={}));let oh=(ce=class{static fromValue(e){switch(e){case"comment":return ce.Comment;case"imports":return ce.Imports;case"region":return ce.Region}return new ce(e)}constructor(e){this.value=e}},ce.Comment=new ce("comment"),ce.Imports=new ce("imports"),ce.Region=new ce("region"),ce);var fr;(function(t){t[t.AIGenerated=1]="AIGenerated"})(fr||(fr={}));var pr;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(pr||(pr={}));var gr;(function(t){function e(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}t.is=e})(gr||(gr={}));var br;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(br||(br={})),new Ll;var wr;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(wr||(wr={}));var _r;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(_r||(_r={}));var vr;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(vr||(vr={}));var yr;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Tool=27]="Tool",t[t.Snippet=28]="Snippet"})(yr||(yr={}));var Tr;(function(t){t[t.Deprecated=1]="Deprecated"})(Tr||(Tr={}));var xr;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(xr||(xr={}));var kr;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(kr||(kr={}));var Sr;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(Sr||(Sr={}));var Ar;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Ar||(Ar={}));var Lr;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(Lr||(Lr={}));var Er;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(Er||(Er={}));var Cr;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.allowOverflow=4]="allowOverflow",t[t.allowVariableLineHeights=5]="allowVariableLineHeights",t[t.allowVariableFonts=6]="allowVariableFonts",t[t.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",t[t.ariaLabel=8]="ariaLabel",t[t.ariaRequired=9]="ariaRequired",t[t.autoClosingBrackets=10]="autoClosingBrackets",t[t.autoClosingComments=11]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=13]="autoClosingDelete",t[t.autoClosingOvertype=14]="autoClosingOvertype",t[t.autoClosingQuotes=15]="autoClosingQuotes",t[t.autoIndent=16]="autoIndent",t[t.autoIndentOnPaste=17]="autoIndentOnPaste",t[t.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",t[t.automaticLayout=19]="automaticLayout",t[t.autoSurround=20]="autoSurround",t[t.bracketPairColorization=21]="bracketPairColorization",t[t.guides=22]="guides",t[t.codeLens=23]="codeLens",t[t.codeLensFontFamily=24]="codeLensFontFamily",t[t.codeLensFontSize=25]="codeLensFontSize",t[t.colorDecorators=26]="colorDecorators",t[t.colorDecoratorsLimit=27]="colorDecoratorsLimit",t[t.columnSelection=28]="columnSelection",t[t.comments=29]="comments",t[t.contextmenu=30]="contextmenu",t[t.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",t[t.cursorBlinking=32]="cursorBlinking",t[t.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",t[t.cursorStyle=34]="cursorStyle",t[t.cursorSurroundingLines=35]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",t[t.cursorWidth=37]="cursorWidth",t[t.cursorHeight=38]="cursorHeight",t[t.disableLayerHinting=39]="disableLayerHinting",t[t.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",t[t.domReadOnly=41]="domReadOnly",t[t.dragAndDrop=42]="dragAndDrop",t[t.dropIntoEditor=43]="dropIntoEditor",t[t.editContext=44]="editContext",t[t.emptySelectionClipboard=45]="emptySelectionClipboard",t[t.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",t[t.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",t[t.extraEditorClassName=48]="extraEditorClassName",t[t.fastScrollSensitivity=49]="fastScrollSensitivity",t[t.find=50]="find",t[t.fixedOverflowWidgets=51]="fixedOverflowWidgets",t[t.folding=52]="folding",t[t.foldingStrategy=53]="foldingStrategy",t[t.foldingHighlight=54]="foldingHighlight",t[t.foldingImportsByDefault=55]="foldingImportsByDefault",t[t.foldingMaximumRegions=56]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=58]="fontFamily",t[t.fontInfo=59]="fontInfo",t[t.fontLigatures=60]="fontLigatures",t[t.fontSize=61]="fontSize",t[t.fontWeight=62]="fontWeight",t[t.fontVariations=63]="fontVariations",t[t.formatOnPaste=64]="formatOnPaste",t[t.formatOnType=65]="formatOnType",t[t.glyphMargin=66]="glyphMargin",t[t.gotoLocation=67]="gotoLocation",t[t.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",t[t.hover=69]="hover",t[t.inDiffEditor=70]="inDiffEditor",t[t.inlineSuggest=71]="inlineSuggest",t[t.letterSpacing=72]="letterSpacing",t[t.lightbulb=73]="lightbulb",t[t.lineDecorationsWidth=74]="lineDecorationsWidth",t[t.lineHeight=75]="lineHeight",t[t.lineNumbers=76]="lineNumbers",t[t.lineNumbersMinChars=77]="lineNumbersMinChars",t[t.linkedEditing=78]="linkedEditing",t[t.links=79]="links",t[t.matchBrackets=80]="matchBrackets",t[t.minimap=81]="minimap",t[t.mouseStyle=82]="mouseStyle",t[t.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=84]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",t[t.multiCursorModifier=86]="multiCursorModifier",t[t.mouseMiddleClickAction=87]="mouseMiddleClickAction",t[t.multiCursorPaste=88]="multiCursorPaste",t[t.multiCursorLimit=89]="multiCursorLimit",t[t.occurrencesHighlight=90]="occurrencesHighlight",t[t.occurrencesHighlightDelay=91]="occurrencesHighlightDelay",t[t.overtypeCursorStyle=92]="overtypeCursorStyle",t[t.overtypeOnPaste=93]="overtypeOnPaste",t[t.overviewRulerBorder=94]="overviewRulerBorder",t[t.overviewRulerLanes=95]="overviewRulerLanes",t[t.padding=96]="padding",t[t.pasteAs=97]="pasteAs",t[t.parameterHints=98]="parameterHints",t[t.peekWidgetDefaultFocus=99]="peekWidgetDefaultFocus",t[t.placeholder=100]="placeholder",t[t.definitionLinkOpensInPeek=101]="definitionLinkOpensInPeek",t[t.quickSuggestions=102]="quickSuggestions",t[t.quickSuggestionsDelay=103]="quickSuggestionsDelay",t[t.readOnly=104]="readOnly",t[t.readOnlyMessage=105]="readOnlyMessage",t[t.renameOnType=106]="renameOnType",t[t.renderRichScreenReaderContent=107]="renderRichScreenReaderContent",t[t.renderControlCharacters=108]="renderControlCharacters",t[t.renderFinalNewline=109]="renderFinalNewline",t[t.renderLineHighlight=110]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=111]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=112]="renderValidationDecorations",t[t.renderWhitespace=113]="renderWhitespace",t[t.revealHorizontalRightPadding=114]="revealHorizontalRightPadding",t[t.roundedSelection=115]="roundedSelection",t[t.rulers=116]="rulers",t[t.scrollbar=117]="scrollbar",t[t.scrollBeyondLastColumn=118]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=119]="scrollBeyondLastLine",t[t.scrollPredominantAxis=120]="scrollPredominantAxis",t[t.selectionClipboard=121]="selectionClipboard",t[t.selectionHighlight=122]="selectionHighlight",t[t.selectionHighlightMaxLength=123]="selectionHighlightMaxLength",t[t.selectionHighlightMultiline=124]="selectionHighlightMultiline",t[t.selectOnLineNumbers=125]="selectOnLineNumbers",t[t.showFoldingControls=126]="showFoldingControls",t[t.showUnused=127]="showUnused",t[t.snippetSuggestions=128]="snippetSuggestions",t[t.smartSelect=129]="smartSelect",t[t.smoothScrolling=130]="smoothScrolling",t[t.stickyScroll=131]="stickyScroll",t[t.stickyTabStops=132]="stickyTabStops",t[t.stopRenderingLineAfter=133]="stopRenderingLineAfter",t[t.suggest=134]="suggest",t[t.suggestFontSize=135]="suggestFontSize",t[t.suggestLineHeight=136]="suggestLineHeight",t[t.suggestOnTriggerCharacters=137]="suggestOnTriggerCharacters",t[t.suggestSelection=138]="suggestSelection",t[t.tabCompletion=139]="tabCompletion",t[t.tabIndex=140]="tabIndex",t[t.trimWhitespaceOnDelete=141]="trimWhitespaceOnDelete",t[t.unicodeHighlighting=142]="unicodeHighlighting",t[t.unusualLineTerminators=143]="unusualLineTerminators",t[t.useShadowDOM=144]="useShadowDOM",t[t.useTabStops=145]="useTabStops",t[t.wordBreak=146]="wordBreak",t[t.wordSegmenterLocales=147]="wordSegmenterLocales",t[t.wordSeparators=148]="wordSeparators",t[t.wordWrap=149]="wordWrap",t[t.wordWrapBreakAfterCharacters=150]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=151]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=152]="wordWrapColumn",t[t.wordWrapOverride1=153]="wordWrapOverride1",t[t.wordWrapOverride2=154]="wordWrapOverride2",t[t.wrappingIndent=155]="wrappingIndent",t[t.wrappingStrategy=156]="wrappingStrategy",t[t.showDeprecated=157]="showDeprecated",t[t.inertialScroll=158]="inertialScroll",t[t.inlayHints=159]="inlayHints",t[t.wrapOnEscapedLineFeeds=160]="wrapOnEscapedLineFeeds",t[t.effectiveCursorStyle=161]="effectiveCursorStyle",t[t.editorClassName=162]="editorClassName",t[t.pixelRatio=163]="pixelRatio",t[t.tabFocusMode=164]="tabFocusMode",t[t.layoutInfo=165]="layoutInfo",t[t.wrappingInfo=166]="wrappingInfo",t[t.defaultColorDecorators=167]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=168]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=169]="inlineCompletionsAccessibilityVerbose",t[t.effectiveEditContext=170]="effectiveEditContext",t[t.scrollOnMiddleClick=171]="scrollOnMiddleClick",t[t.effectiveAllowVariableFonts=172]="effectiveAllowVariableFonts"})(Cr||(Cr={}));var Rr;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Rr||(Rr={}));var Dr;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(Dr||(Dr={}));var Mr;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(Mr||(Mr={}));var Nr;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(Nr||(Nr={}));var Ir;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(Ir||(Ir={}));var zr;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(zr||(zr={}));var Hr;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(Hr||(Hr={}));var Ur;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(Ur||(Ur={}));var Pr;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(Pr||(Pr={}));var Wr;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(Wr||(Wr={}));var Qn;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(Qn||(Qn={}));var Yn;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(Yn||(Yn={}));var Zn;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(Zn||(Zn={}));var Fr;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(Fr||(Fr={}));var Br;(function(t){t[t.Normal=1]="Normal",t[t.Underlined=2]="Underlined"})(Br||(Br={}));var qr;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(qr||(qr={}));var Or;(function(t){t[t.AIGenerated=1]="AIGenerated"})(Or||(Or={}));var Vr;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Vr||(Vr={}));var jr;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(jr||(jr={}));var $r;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})($r||($r={}));var Gr;(function(t){t[t.Word=0]="Word",t[t.Line=1]="Line",t[t.Suggest=2]="Suggest"})(Gr||(Gr={}));var Xr;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(Xr||(Xr={}));var Jr;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(Jr||(Jr={}));var Qr;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})(Qr||(Qr={}));var Yr;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(Yr||(Yr={}));var Zr;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(Zr||(Zr={}));var Kn;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(Kn||(Kn={}));var Kr;(function(t){t.Off="off",t.OnCode="onCode",t.On="on"})(Kr||(Kr={}));var es;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(es||(es={}));var ts;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(ts||(ts={}));var ns;(function(t){t[t.Deprecated=1]="Deprecated"})(ns||(ns={}));var is;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(is||(is={}));var rs;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(rs||(rs={}));var ss;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(ss||(ss={}));var as;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(as||(as={}));var os;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(os||(os={}));const yt=class yt{static chord(e,n){return al(e,n)}};yt.CtrlCmd=2048,yt.Shift=1024,yt.Alt=512,yt.WinCtrl=256;let ei=yt;function Rl(){return{editor:void 0,languages:void 0,CancellationTokenSource:nl,Emitter:Ce,KeyCode:Qn,KeyMod:ei,Position:K,Range:j,Selection:ge,SelectionDirection:Kn,MarkerSeverity:Yn,MarkerTag:Zn,Uri:Gn,Token:Cl}}var ls;class Dl{constructor(){this[ls]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,n=0){const i=this._map.get(e);if(i)return n!==0&&this.touch(i,n),i.value}set(e,n,i=0){let r=this._map.get(e);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:e,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){const i=this._state;let r=this._head;for(;r;){if(n?e.bind(n)(r.value,r.key,this):e(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){const e=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){const e=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(ls=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const n=e.next,i=e.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(e===this._head)return;const i=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===2){if(e===this._tail)return;const i=e.next,r=e.previous;e===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((n,i)=>{e.push([i,n])}),e}fromJSON(e){this.clear();for(const[n,i]of e)this.set(n,i)}}class Ml extends Dl{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,n=2){return super.get(e,n)}peek(e){return super.get(e,0)}set(e,n){return super.set(e,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class Nl extends Ml{constructor(e,n=1){super(e,n)}trim(e){this.trimOld(e)}set(e,n){return super.set(e,n),this.checkTrim(),this}}class Il{constructor(){this.map=new Map}add(e,n){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(n)}delete(e,n){const i=this.map.get(e);i&&(i.delete(n),i.size===0&&this.map.delete(e))}forEach(e,n){const i=this.map.get(e);i&&i.forEach(n)}}new Nl(10);var us;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(us||(us={}));var cs;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(cs||(cs={}));var hs;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(hs||(hs={}));var ds;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(ds||(ds={}));function zl(t){if(!t||t.length===0)return!1;for(let e=0,n=t.length;e<n;e++){const i=t.charCodeAt(e);if(i===10)return!0;if(i===92){if(e++,e>=n)break;const r=t.charCodeAt(e);if(r===110||r===114||r===87)return!0}}return!1}function Hl(t,e,n,i,r){if(i===0)return!0;const s=e.charCodeAt(i-1);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=e.charCodeAt(i);if(t.get(a)!==0)return!0}return!1}function Ul(t,e,n,i,r){if(i+r===n)return!0;const s=e.charCodeAt(i+r);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=e.charCodeAt(i+r-1);if(t.get(a)!==0)return!0}return!1}function Pl(t,e,n,i,r){return Hl(t,e,n,i,r)&&Ul(t,e,n,i,r)}class Wl{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const n=e.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(e),!i))return null;const r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){Po(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||Pl(this._wordSeparators,e,n,r,s))return i}while(i);return null}}const Fl="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Bl(t=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const n of Fl)t.indexOf(n)>=0||(e+="\\"+n);return e+="\\s]+)",new RegExp(e,"g")}const ms=Bl();function fs(t){let e=ms;if(t&&t instanceof RegExp)if(t.global)e=t;else{let n="g";t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),e=new RegExp(t.source,n)}return e.lastIndex=0,e}const ps=new ho;ps.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function ti(t,e,n,i,r){if(e=fs(e),r||(r=Vt.first(ps)),n.length>r.maxLen){let u=t-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,t+r.maxLen/2),ti(t,e,n,i,r)}const s=Date.now(),a=t-1-i;let l=-1,o=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){const c=a-r.windowSize*u;e.lastIndex=Math.max(0,c);const d=ql(e,n,a,l);if(!d&&o||(o=d,c<=0))break;l=c}if(o){const u={word:o[0],startColumn:i+1+o.index,endColumn:i+1+o.index+o[0].length};return e.lastIndex=0,u}return null}function ql(t,e,n,i){let r;for(;r=t.exec(e);){const s=r.index||0;if(s<=n&&t.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}class Ol{static computeUnicodeHighlights(e,n,i){const r=i?i.startLineNumber:1,s=i?i.endLineNumber:e.getLineCount(),a=new gs(n),l=a.getCandidateCodePoints();let o;l==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${Vl(Array.from(l))}`,"g");const u=new Wl(null,o),c=[];let d=!1,m,f=0,w=0,p=0;e:for(let x=r,T=s;x<=T;x++){const y=e.getLineContent(x),A=y.length;u.reset(0);do if(m=u.next(y),m){let I=m.index,H=m.index+m[0].length;if(I>0){const v=y.charCodeAt(I-1);Un(v)&&I--}if(H+1<A){const v=y.charCodeAt(H-1);Un(v)&&H++}const P=y.substring(I,H);let b=ti(I+1,ms,y,0);b&&b.endColumn<=I+1&&(b=null);const g=a.shouldHighlightNonBasicASCII(P,b?b.word:null);if(g!==0){if(g===3?f++:g===2?w++:g===1?p++:so(),c.length>=1e3){d=!0;break e}c.push(new j(x,I+1,x,H+1))}}while(m)}return{ranges:c,hasMore:d,ambiguousCharacterCount:f,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(e,n){const i=new gs(n);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=e.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),l=St.getLocales().filter(o=>!St.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function Vl(t,e){return`[${Co(t.map(i=>String.fromCodePoint(i)).join(""))}]`}class gs{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=St.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const n of At.codePoints)bs(String.fromCodePoint(n))||e.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(const n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e,n){const i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(const a of n){const l=a.codePointAt(0),o=Fo(a);r=r||o,!o&&!this.ambiguousCharacters.isAmbiguous(l)&&!At.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!bs(e)&&At.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function bs(t){return t===" "||t===`
7
+ `))}}class po extends Error{constructor(e,n){super(e),this.name="ListenerLeakError",this.stack=n}}class go extends Error{constructor(e,n){super(e),this.name="ListenerRefusalError",this.stack=n}}class Dn{constructor(e){this.value=e}}const bo=2;class Ce{constructor(e){this._size=0,this._options=e,this._leakageMon=this._options?.leakWarningThreshold?new Cn(e?.onListenerError??qt,this._options?.leakWarningThreshold??fo):void 0,this._perfMon=this._options?._profName?new En(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){this._disposed||(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose())}get event(){return this._event??=(e,n,i)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const l=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(l);const o=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],u=new go(`${l}. HINT: Stack shows most frequent listener (${o[1]}-times)`,o[0]);return(this._options?.onListenerError||qt)(u),Xe.None}if(this._disposed)return Xe.None;n&&(e=e.bind(n));const r=new Dn(e);let s;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(r.stack=Rn.create(),s=this._leakageMon.check(r.stack,this._size+1)),this._listeners?this._listeners instanceof Dn?(this._deliveryQueue??=new wo,this._listeners=[this._listeners,r]):this._listeners.push(r):(this._options?.onWillAddFirstListener?.(this),this._listeners=r,this._options?.onDidAddFirstListener?.(this)),this._options?.onDidAddListener?.(this),this._size++;const a=jt(()=>{s?.(),this._removeListener(r)});return i instanceof xt?i.add(a):Array.isArray(i)&&i.push(a),a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}const n=this._listeners,i=n.indexOf(e);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;const r=this._deliveryQueue.current===this;if(this._size*bo<=n.length){let s=0;for(let a=0;a<n.length;a++)n[a]?n[s++]=n[a]:r&&s<this._deliveryQueue.end&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(e,n){if(!e)return;const i=this._options?.onListenerError||qt;if(!i){e.value(n);return}try{e.value(n)}catch(r){i(r)}}_deliverQueue(e){const n=e.current._listeners;for(;e.i<e.end;)this._deliver(n[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof Dn)this._deliver(this._listeners,e);else{const n=this._deliveryQueue;n.enqueue(this,e,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}}class wo{constructor(){this.i=-1,this.end=0}enqueue(e,n,i){this.i=0,this.end=i,this.current=e,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function _o(){return globalThis._VSCODE_NLS_MESSAGES}function Ui(){return globalThis._VSCODE_NLS_LANGUAGE}const vo=Ui()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Pi(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(i,r)=>{const s=r[0],a=e[s];let l=i;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),vo&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function q(t,e,...n){return Pi(typeof t=="number"?yo(t,e):e,n)}function yo(t,e){const n=_o()?.[t];if(typeof n!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${t} !!!`)}return n}const it="en";let Mn=!1,Nn=!1,In=!1,Gt,zn=it,Wi=it,To,Ie;const Je=globalThis;let he;typeof Je.vscode<"u"&&typeof Je.vscode.process<"u"?he=Je.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(he=process);const xo=typeof he?.versions?.electron=="string"&&he?.type==="renderer";if(typeof he=="object"){Mn=he.platform==="win32",Nn=he.platform==="darwin",In=he.platform==="linux",In&&he.env.SNAP&&he.env.SNAP_REVISION,he.env.CI||he.env.BUILD_ARTIFACTSTAGINGDIRECTORY||he.env.GITHUB_WORKSPACE,Gt=it,zn=it;const t=he.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t);Gt=e.userLocale,Wi=e.osLocale,zn=e.resolvedLanguage||it,To=e.languagePack?.translationsConfigFile}catch{}}else typeof navigator=="object"&&!xo?(Ie=navigator.userAgent,Mn=Ie.indexOf("Windows")>=0,Nn=Ie.indexOf("Macintosh")>=0,(Ie.indexOf("Macintosh")>=0||Ie.indexOf("iPad")>=0||Ie.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,In=Ie.indexOf("Linux")>=0,Ie?.indexOf("Mobi")>=0,zn=Ui()||it,Gt=navigator.language.toLowerCase(),Wi=Gt):console.error("Unable to resolve platform.");const kt=Mn,ko=Nn,Re=Ie,So=typeof Je.postMessage=="function"&&!Je.importScripts;(()=>{if(So){const t=[];Je.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=t.length;i<r;i++){const s=t[i];if(s.id===n.data.vscodeScheduleAsyncWork){t.splice(i,1),s.callback();return}}});let e=0;return n=>{const i=++e;t.push({id:i,callback:n}),Je.postMessage({vscodeScheduleAsyncWork:i},"*")}}return t=>setTimeout(t)})();const Ao=!!(Re&&Re.indexOf("Chrome")>=0);Re&&Re.indexOf("Firefox")>=0,!Ao&&Re&&Re.indexOf("Safari")>=0,Re&&Re.indexOf("Edg/")>=0,Re&&Re.indexOf("Android")>=0;function Lo(t){return t}class Eo{constructor(e,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof e=="function"?(this._fn=e,this._computeKey=Lo):(this._fn=n,this._computeKey=e.getCacheKey)}get(e){const n=this._computeKey(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(e)),this.lastCache}}var Qe;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Running=1]="Running",t[t.Completed=2]="Completed"})(Qe||(Qe={}));class Hn{constructor(e){this.executor=e,this._state=Qe.Uninitialized}get value(){if(this._state===Qe.Uninitialized){this._state=Qe.Running;try{this._value=this.executor()}catch(e){this._error=e}finally{this._state=Qe.Completed}}else if(this._state===Qe.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function Co(t){return t.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Ro(t){return t.source==="^"||t.source==="^$"||t.source==="$"||t.source==="^\\s*$"?!1:!!(t.exec("")&&t.lastIndex===0)}function Do(t){return t.split(/\r\n|\r|\n/)}function Mo(t){for(let e=0,n=t.length;e<n;e++){const i=t.charCodeAt(e);if(i!==32&&i!==9)return e}return-1}function No(t,e=t.length-1){for(let n=e;n>=0;n--){const i=t.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function Fi(t){return t>=65&&t<=90}function Io(t,e){const n=Math.min(t.length,e.length);let i;for(i=0;i<n;i++)if(t.charCodeAt(i)!==e.charCodeAt(i))return i;return n}function zo(t,e){const n=Math.min(t.length,e.length);let i;const r=t.length-1,s=e.length-1;for(i=0;i<n;i++)if(t.charCodeAt(r-i)!==e.charCodeAt(s-i))return i;return n}function Un(t){return 55296<=t&&t<=56319}function Ho(t){return 56320<=t&&t<=57343}function Uo(t,e){return(t-55296<<10)+(e-56320)+65536}function Po(t,e,n){const i=t.charCodeAt(n);if(Un(i)&&n+1<e){const r=t.charCodeAt(n+1);if(Ho(r))return Uo(i,r)}return i}const Wo=/^[\t\n\r\x20-\x7E]*$/;function Fo(t){return Wo.test(t)}const Ne=class Ne{static getInstance(e){return Ne.cache.get(Array.from(e))}static getLocales(){return Ne._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}};Ne.ambiguousCharacterData=new Hn(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}')),Ne.cache=new Eo({getCacheKey:JSON.stringify},e=>{function n(c){const d=new Map;for(let m=0;m<c.length;m+=2)d.set(c[m],c[m+1]);return d}function i(c,d){const m=new Map(c);for(const[f,w]of d)m.set(f,w);return m}function r(c,d){if(!c)return d;const m=new Map;for(const[f,w]of c)d.has(f)&&m.set(f,w);return m}const s=Ne.ambiguousCharacterData.value;let a=e.filter(c=>!c.startsWith("_")&&c in s);a.length===0&&(a=["_default"]);let l;for(const c of a){const d=n(s[c]);l=r(l,d)}const o=n(s._common),u=i(o,l);return new Ne(u)}),Ne._locales=new Hn(()=>Object.keys(Ne.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));let St=Ne;const vt=class vt{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static getData(){return this._data||(this._data=new Set([...Object.values(vt.getRawData())].flat())),this._data}static isInvisibleCharacter(e){return vt.getData().has(e)}static get codePoints(){return vt.getData()}};vt._data=void 0;let At=vt;const Pn="default",Bo="$initialize";class qo{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}}class Bi{constructor(e,n,i,r){this.vsWorker=e,this.seq=n,this.res=i,this.err=r,this.type=1}}class Oo{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}}class Vo{constructor(e,n,i){this.vsWorker=e,this.req=n,this.event=i,this.type=3}}class jo{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}}class $o{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}async sendMessage(e,n,i){const r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new qo(this._workerId,r,e,n,i))})}listen(e,n,i){let r=null;const s=new Ce({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new Oo(this._workerId,r,e,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new jo(this._workerId,r)),r=null}});return s.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}createProxyToRemoteChannel(e,n){const i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(Oi(s)?r[s]=a=>this.listen(e,s,a):qi(s)?r[s]=this.listen(e,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await n?.(),this.sendMessage(e,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;if(e.err.$isError){const r=new Error;r.name=e.err.name,r.message=e.err.message,r.stack=e.err.stack,i=r}n.reject(i);return}n.resolve(e.res)}_handleRequestMessage(e){const n=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then(r=>{this._send(new Bi(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=Sn(r.detail)),this._send(new Bi(this._workerId,n,void 0,Sn(r)))})}_handleSubscribeEventMessage(e){const n=e.req,i=this._handler.handleEvent(e.channel,e.eventName,e.arg)(r=>{this._send(new Vo(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){const n=[];if(e.type===0)for(let i=0;i<e.args.length;i++){const r=e.args[i];r instanceof ArrayBuffer&&n.push(r)}else e.type===1&&e.res instanceof ArrayBuffer&&n.push(e.res);this._handler.sendMessage(e,n)}}function qi(t){return t[0]==="o"&&t[1]==="n"&&Fi(t.charCodeAt(2))}function Oi(t){return/^onDynamic/.test(t)&&Fi(t.charCodeAt(9))}class Go{constructor(e,n){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new $o({sendMessage:(i,r)=>{e(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)}),this.requestHandler=n(this)}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n,i){if(e===Pn&&n===Bo)return this.initialize(i[0]);const r=e===Pn?this.requestHandler:this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));const s=r[n];if(typeof s!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${e}`));try{return Promise.resolve(s.apply(r,i))}catch(a){return Promise.reject(a)}}_handleEvent(e,n,i){const r=e===Pn?this.requestHandler:this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on worker thread`);if(Oi(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);const a=s.call(r,i);if(typeof a!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return a}if(qi(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(e){if(!this._remoteChannels.has(e)){const n=this._protocol.createProxyToRemoteChannel(e);this._remoteChannels.set(e,n)}return this._remoteChannels.get(e)}async initialize(e){this._protocol.setWorkerId(e)}}let Vi=!1;function Xo(t){if(Vi)throw new Error("WebWorker already initialized!");Vi=!0;const e=new Go(n=>globalThis.postMessage(n),n=>t(n));return globalThis.onmessage=n=>{e.onmessage(n.data)},e}class qe{constructor(e,n,i,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}new Hn(()=>new Uint8Array(256));function ji(t,e){return(e<<5)-e+t|0}function Jo(t,e){e=ji(149417,e);for(let n=0,i=t.length;n<i;n++)e=ji(t.charCodeAt(n),e);return e}class $i{constructor(e){this.source=e}getElements(){const e=this.source,n=new Int32Array(e.length);for(let i=0,r=e.length;i<r;i++)n[i]=e.charCodeAt(i);return n}}function Qo(t,e,n){return new Oe(new $i(t),new $i(e)).ComputeDiff(n).changes}class rt{static Assert(e,n){if(!e)throw new Error(n)}}class st{static Copy(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}static Copy2(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}}class Gi{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new qe(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Oe{constructor(e,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=n;const[r,s,a]=Oe._getElements(e),[l,o,u]=Oe._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){const n=e.getElements();if(Oe._isStringArray(n)){const i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=Jo(n[r],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(e,n){if(!this.ElementsAreEqual(e,n))return!1;const i=Oe._getStrictElement(this._originalSequence,e),r=Oe._getStrictElement(this._modifiedSequence,n);return i===r}static _getStrictElement(e,n){return typeof e.getStrictElement=="function"?e.getStrictElement(n):null}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[n]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,i,r,s){const a=[!1];let l=this.ComputeDiffRecursive(e,n,i,r,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(e,n,i,r,s){for(s[0]=!1;e<=n&&i<=r&&this.ElementsAreEqual(e,i);)e++,i++;for(;n>=e&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||i>r){let d;return i<=r?(rt.Assert(e===n+1,"originalStart should only be one more than originalEnd"),d=[new qe(e,0,i,r-i+1)]):e<=n?(rt.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new qe(e,n-e+1,i,0)]):(rt.Assert(e===n+1,"originalStart should only be one more than originalEnd"),rt.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const a=[0],l=[0],o=this.ComputeRecursionPoint(e,n,i,r,a,l,s),u=a[0],c=l[0];if(o!==null)return o;if(!s[0]){const d=this.ComputeDiffRecursive(e,u,i,c,s);let m=[];return s[0]?m=[new qe(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:m=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,m)}return[new qe(e,n-e+1,i,r-i+1)]}WALKTRACE(e,n,i,r,s,a,l,o,u,c,d,m,f,w,p,x,T,y){let A=null,I=null,H=new Gi,P=n,b=i,g=f[0]-x[0]-r,v=-1073741824,N=this.m_forwardHistory.length-1;do{const S=g+e;S===P||S<b&&u[S-1]<u[S+1]?(d=u[S+1],w=d-g-r,d<v&&H.MarkNextChange(),v=d,H.AddModifiedElement(d+1,w),g=S+1-e):(d=u[S-1]+1,w=d-g-r,d<v&&H.MarkNextChange(),v=d-1,H.AddOriginalElement(d,w+1),g=S-1-e),N>=0&&(u=this.m_forwardHistory[N],e=u[0],P=1,b=u.length-1)}while(--N>=-1);if(A=H.getReverseChanges(),y[0]){let S=f[0]+1,_=x[0]+1;if(A!==null&&A.length>0){const L=A[A.length-1];S=Math.max(S,L.getOriginalEnd()),_=Math.max(_,L.getModifiedEnd())}I=[new qe(S,m-S+1,_,p-_+1)]}else{H=new Gi,P=a,b=l,g=f[0]-x[0]-o,v=1073741824,N=T?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const S=g+s;S===P||S<b&&c[S-1]>=c[S+1]?(d=c[S+1]-1,w=d-g-o,d>v&&H.MarkNextChange(),v=d+1,H.AddOriginalElement(d+1,w+1),g=S+1-s):(d=c[S-1],w=d-g-o,d>v&&H.MarkNextChange(),v=d,H.AddModifiedElement(d+1,w+1),g=S-1-s),N>=0&&(c=this.m_reverseHistory[N],s=c[0],P=1,b=c.length-1)}while(--N>=-1);I=H.getChanges()}return this.ConcatenateChanges(A,I)}ComputeRecursionPoint(e,n,i,r,s,a,l){let o=0,u=0,c=0,d=0,m=0,f=0;e--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const w=n-e+(r-i),p=w+1,x=new Int32Array(p),T=new Int32Array(p),y=r-i,A=n-e,I=e-i,H=n-r,b=(A-y)%2===0;x[y]=e,T[A]=n,l[0]=!1;for(let g=1;g<=w/2+1;g++){let v=0,N=0;c=this.ClipDiagonalBound(y-g,g,y,p),d=this.ClipDiagonalBound(y+g,g,y,p);for(let _=c;_<=d;_+=2){_===c||_<d&&x[_-1]<x[_+1]?o=x[_+1]:o=x[_-1]+1,u=o-(_-y)-I;const L=o;for(;o<n&&u<r&&this.ElementsAreEqual(o+1,u+1);)o++,u++;if(x[_]=o,o+u>v+N&&(v=o,N=u),!b&&Math.abs(_-A)<=g-1&&o>=T[_])return s[0]=o,a[0]=u,L<=T[_]&&g<=1448?this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l):null}const S=(v-e+(N-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(v,S))return l[0]=!0,s[0]=v,a[0]=N,S>0&&g<=1448?this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l):(e++,i++,[new qe(e,n-e+1,i,r-i+1)]);m=this.ClipDiagonalBound(A-g,g,A,p),f=this.ClipDiagonalBound(A+g,g,A,p);for(let _=m;_<=f;_+=2){_===m||_<f&&T[_-1]>=T[_+1]?o=T[_+1]-1:o=T[_-1],u=o-(_-A)-H;const L=o;for(;o>e&&u>i&&this.ElementsAreEqual(o,u);)o--,u--;if(T[_]=o,b&&Math.abs(_-y)<=g&&o<=x[_])return s[0]=o,a[0]=u,L>=x[_]&&g<=1448?this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l):null}if(g<=1447){let _=new Int32Array(d-c+2);_[0]=y-c+1,st.Copy2(x,c,_,1,d-c+1),this.m_forwardHistory.push(_),_=new Int32Array(f-m+2),_[0]=A-m+1,st.Copy2(T,m,_,1,f-m+1),this.m_reverseHistory.push(_)}}return this.WALKTRACE(y,c,d,I,A,m,f,H,x,T,o,n,s,u,r,a,b,l)}PrettifyChanges(e){for(let n=0;n<e.length;n++){const i=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,s=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){const u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}const o=[null];if(n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],o)){e[n]=o[0],e.splice(n+1,1),n--;continue}}for(let n=e.length-1;n>=0;n--){const i=e[n];let r=0,s=0;if(n>0){const d=e[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const a=i.originalLength>0,l=i.modifiedLength>0;let o=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){const m=i.originalStart-d,f=i.modifiedStart-d;if(m<r||f<s||a&&!this.OriginalElementsAreEqual(m,m+i.originalLength)||l&&!this.ModifiedElementsAreEqual(f,f+i.modifiedLength))break;const p=(m===r&&f===s?5:0)+this._boundaryScore(m,i.originalLength,f,i.modifiedLength);p>u&&(u=p,o=d)}i.originalStart-=o,i.modifiedStart-=o;const c=[null];if(n>0&&this.ChangesOverlap(e[n-1],e[n],c)){e[n-1]=c[0],e.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=e.length;n<i;n++){const r=e[n-1],s=e[n],a=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,o=s.originalStart+s.originalLength,u=o-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,m=d-c;if(a<5&&u<20&&m<20){const f=this._findBetterContiguousSequence(l,u,c,m,a);if(f){const[w,p]=f;(w!==r.originalStart+r.originalLength||p!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=w-r.originalStart,r.modifiedLength=p-r.modifiedStart,s.originalStart=w+a,s.modifiedStart=p+a,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,n,i,r,s){if(n<s||r<s)return null;const a=e+n-s+1,l=i+r-s+1;let o=0,u=0,c=0;for(let d=e;d<a;d++)for(let m=i;m<l;m++){const f=this._contiguousSequenceScore(d,m,s);f>0&&f>o&&(o=f,u=d,c=m)}return o>0?[u,c]:null}_contiguousSequenceScore(e,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(e+s,n+s))return 0;r+=this._originalStringElements[e+s].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const i=e+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const i=e+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,n,i,r){const s=this._OriginalRegionIsBoundary(e,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(e,n){const i=[];if(e.length===0||n.length===0)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],i)){const r=new Array(e.length+n.length-1);return st.Copy(e,0,r,0,e.length-1),r[e.length-1]=i[0],st.Copy(n,1,r,e.length,n.length-1),r}else{const r=new Array(e.length+n.length);return st.Copy(e,0,r,0,e.length),st.Copy(n,0,r,e.length,n.length),r}}ChangesOverlap(e,n,i){if(rt.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),rt.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){const r=e.originalStart;let s=e.originalLength;const a=e.modifiedStart;let l=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-e.modifiedStart),i[0]=new qe(r,s,a,l),!0}else return i[0]=null,!1}ClipDiagonalBound(e,n,i,r){if(e>=0&&e<r)return e;const s=i,a=r-i-1,l=n%2===0;if(e<0){const o=s%2===0;return l===o?0:1}else{const o=a%2===0;return l===o?r-1:r-2}}}let K=class tt{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new tt(e,n)}delta(e=0,n=0){return this.with(Math.max(1,this.lineNumber+e),Math.max(1,this.column+n))}equals(e){return tt.equals(this,e)}static equals(e,n){return!e&&!n?!0:!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return tt.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<n.column}isBeforeOrEqual(e){return tt.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<=n.column}static compare(e,n){const i=e.lineNumber|0,r=n.lineNumber|0;if(i===r){const s=e.column|0,a=n.column|0;return s-a}return i-r}clone(){return new tt(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new tt(e.lineNumber,e.column)}static isIPosition(e){return!!e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}},j=class re{constructor(e,n,i,r){e>i||e===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return re.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return re.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<e.startColumn||n.lineNumber===e.endLineNumber&&n.column>e.endColumn)}static strictContainsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<=e.startColumn||n.lineNumber===e.endLineNumber&&n.column>=e.endColumn)}containsRange(e){return re.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)}strictContainsRange(e){return re.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)}plusRange(e){return re.plusRange(this,e)}static plusRange(e,n){let i,r,s,a;return n.startLineNumber<e.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(i=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===e.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,e.endColumn)):(s=e.endLineNumber,a=e.endColumn),new re(i,r,s,a)}intersectRanges(e){return re.intersectRanges(this,e)}static intersectRanges(e,n){let i=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,a=e.endColumn;const l=n.startLineNumber,o=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=o):i===l&&(r=Math.max(r,o)),s>u?(s=u,a=c):s===u&&(a=Math.min(a,c)),i>s||i===s&&r>a?null:new re(i,r,s,a)}equalsRange(e){return re.equalsRange(this,e)}static equalsRange(e,n){return!e&&!n?!0:!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return re.getEndPosition(this)}static getEndPosition(e){return new K(e.endLineNumber,e.endColumn)}getStartPosition(){return re.getStartPosition(this)}static getStartPosition(e){return new K(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new re(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new re(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return re.collapseToStart(this)}static collapseToStart(e){return new re(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return re.collapseToEnd(this)}static collapseToEnd(e){return new re(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new re(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(e,n=e){return new re(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new re(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return!!e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static areOnlyIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber-1||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn-1||n.endLineNumber<e.startLineNumber-1||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn-1)}static compareRangesUsingStarts(e,n){if(e&&n){const s=e.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const l=e.startColumn|0,o=n.startColumn|0;if(l===o){const u=e.endLineNumber|0,c=n.endLineNumber|0;if(u===c){const d=e.endColumn|0,m=n.endColumn|0;return d-m}return u-c}return l-o}return s-a}return(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}};function Xi(t){return t<0?0:t>255?255:t|0}function at(t){return t<0?0:t>4294967295?4294967295:t|0}class Wn{constructor(e){const n=Xi(e);this._defaultValue=n,this._asciiMap=Wn._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){const n=new Uint8Array(256);return n.fill(e),n}set(e,n){const i=Xi(n);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Yo{constructor(e,n,i){const r=new Uint8Array(e*n);for(let s=0,a=e*n;s<a;s++)r[s]=i;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,i){this._data[e*this.cols+n]=i}}class Zo{constructor(e){let n=0,i=0;for(let s=0,a=e.length;s<a;s++){const[l,o,u]=e[s];o>n&&(n=o),l>i&&(i=l),u>i&&(i=u)}n++,i++;const r=new Yo(i,n,0);for(let s=0,a=e.length;s<a;s++){const[l,o,u]=e[s];r.set(l,o,u)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}}let Fn=null;function Ko(){return Fn===null&&(Fn=new Zo([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Fn}let Lt=null;function el(){if(Lt===null){Lt=new Wn(0);const t=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…|`;for(let n=0;n<t.length;n++)Lt.set(t.charCodeAt(n),1);const e=".,;:";for(let n=0;n<e.length;n++)Lt.set(e.charCodeAt(n),2)}return Lt}class Xt{static _createLink(e,n,i,r,s){let a=s-1;do{const l=n.charCodeAt(a);if(e.get(l)!==2)break;a--}while(a>r);if(r>0){const l=n.charCodeAt(r-1),o=n.charCodeAt(a);(l===40&&o===41||l===91&&o===93||l===123&&o===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(e,n=Ko()){const i=el(),r=[];for(let s=1,a=e.getLineCount();s<=a;s++){const l=e.getLineContent(s),o=l.length;let u=0,c=0,d=0,m=1,f=!1,w=!1,p=!1,x=!1;for(;u<o;){let T=!1;const y=l.charCodeAt(u);if(m===13){let A;switch(y){case 40:f=!0,A=0;break;case 41:A=f?0:1;break;case 91:p=!0,w=!0,A=0;break;case 93:p=!1,A=w?0:1;break;case 123:x=!0,A=0;break;case 125:A=x?0:1;break;case 39:case 34:case 96:d===y?A=1:d===39||d===34||d===96?A=0:A=1;break;case 42:A=d===42?1:0;break;case 32:A=p?0:1;break;default:A=i.get(y)}A===1&&(r.push(Xt._createLink(i,l,s,c,u)),T=!0)}else if(m===12){let A;y===91?(w=!0,A=0):A=i.get(y),A===1?T=!0:m=13}else m=n.nextState(m,y),m===0&&(T=!0);T&&(m=1,f=!1,w=!1,x=!1,c=u+1,d=y),u++}m===13&&r.push(Xt._createLink(i,l,s,c,o))}return r}}function tl(t){return!t||typeof t.getLineCount!="function"||typeof t.getLineContent!="function"?[]:Xt.computeLinks(t)}const yn=class yn{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,n,i,r,s){if(e&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:e,value:a}}if(i&&r){const a=this.doNavigateValueSet(r,s);if(a)return{range:i,value:a}}return null}doNavigateValueSet(e,n){const i=this.numberReplace(e,n);return i!==null?i:this.textReplace(e,n)}numberReplace(e,n){const i=Math.pow(10,e.length-(e.lastIndexOf(".")+1));let r=Number(e);const s=parseFloat(e);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,i){let r=null;for(let s=0,a=e.length;r===null&&s<a;s++)r=this.valueSetReplace(e[s],n,i);return r}valueSetReplace(e,n,i){let r=e.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}};yn.INSTANCE=new yn;let Bn=yn;const Ji=Object.freeze(function(t,e){const n=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(n)}}});var Jt;(function(t){function e(n){return n===t.None||n===t.Cancelled||n instanceof Qt?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ln.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Ji})})(Jt||(Jt={}));class Qt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Ji:(this._emitter||(this._emitter=new Ce),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class nl{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Qt),this._token}cancel(){this._token?this._token instanceof Qt&&this._token.cancel():this._token=Jt.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof Qt&&this._token.dispose():this._token=Jt.None}}class qn{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Yt=new qn,On=new qn,Vn=new qn,il=new Array(230),rl=Object.create(null),sl=Object.create(null);(function(){const e=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],i=[];for(const r of e){const[s,a,l,o,u,c,d,m,f]=r;if(i[a]||(i[a]=!0,rl[l]=a,sl[l.toLowerCase()]=a),!n[o]){if(n[o]=!0,!u)throw new Error(`String representation missing for key code ${o} around scan code ${l}`);Yt.define(o,u),On.define(o,m||u),Vn.define(o,f||m||u)}c&&(il[c]=o)}})();var Qi;(function(t){function e(l){return Yt.keyCodeToStr(l)}t.toString=e;function n(l){return Yt.strToKeyCode(l)}t.fromString=n;function i(l){return On.keyCodeToStr(l)}t.toUserSettingsUS=i;function r(l){return Vn.keyCodeToStr(l)}t.toUserSettingsGeneral=r;function s(l){return On.strToKeyCode(l)||Vn.strToKeyCode(l)}t.fromUserSettings=s;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Yt.keyCodeToStr(l)}t.toElectronAccelerator=a})(Qi||(Qi={}));function al(t,e){const n=(e&65535)<<16>>>0;return(t|n)>>>0}let ot;const jn=globalThis.vscode;if(typeof jn<"u"&&typeof jn.process<"u"){const t=jn.process;ot={get platform(){return t.platform},get arch(){return t.arch},get env(){return t.env},cwd(){return t.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?ot={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:ot={get platform(){return kt?"win32":ko?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Zt=ot.cwd,ol=ot.env,ll=ot.platform,ul=65,cl=97,hl=90,dl=122,Ye=46,ae=47,de=92,ze=58,ml=63;class Yi extends Error{constructor(e,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";const s=e.indexOf(".")!==-1?"property":"argument";let a=`The "${e}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function fl(t,e){if(t===null||typeof t!="object")throw new Yi(e,"Object",t)}function ie(t,e){if(typeof t!="string")throw new Yi(e,"string",t)}const Ve=ll==="win32";function $(t){return t===ae||t===de}function $n(t){return t===ae}function He(t){return t>=ul&&t<=hl||t>=cl&&t<=dl}function Kt(t,e,n,i){let r="",s=0,a=-1,l=0,o=0;for(let u=0;u<=t.length;++u){if(u<t.length)o=t.charCodeAt(u);else{if(i(o))break;o=ae}if(i(o)){if(!(a===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==Ye||r.charCodeAt(r.length-2)!==Ye){if(r.length>2){const c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),a=u,l=0;continue}else if(r.length!==0){r="",s=0,a=u,l=0;continue}}e&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${t.slice(a+1,u)}`:r=t.slice(a+1,u),s=u-a-1;a=u,l=0}else o===Ye&&l!==-1?++l:l=-1}return r}function pl(t){return t?`${t[0]==="."?"":"."}${t}`:""}function Zi(t,e){fl(e,"pathObject");const n=e.dir||e.root,i=e.base||`${e.name||""}${pl(e.ext)}`;return n?n===e.root?`${n}${i}`:`${n}${t}${i}`:i}const ue={resolve(...t){let e="",n="",i=!1;for(let r=t.length-1;r>=-1;r--){let s;if(r>=0){if(s=t[r],ie(s,`paths[${r}]`),s.length===0)continue}else e.length===0?s=Zt():(s=ol[`=${e}`]||Zt(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===de)&&(s=`${e}\\`));const a=s.length;let l=0,o="",u=!1;const c=s.charCodeAt(0);if(a===1)$(c)&&(l=1,u=!0);else if($(c))if(u=!0,$(s.charCodeAt(1))){let d=2,m=d;for(;d<a&&!$(s.charCodeAt(d));)d++;if(d<a&&d!==m){const f=s.slice(m,d);for(m=d;d<a&&$(s.charCodeAt(d));)d++;if(d<a&&d!==m){for(m=d;d<a&&!$(s.charCodeAt(d));)d++;(d===a||d!==m)&&(o=`\\\\${f}\\${s.slice(m,d)}`,l=d)}}}else l=1;else He(c)&&s.charCodeAt(1)===ze&&(o=s.slice(0,2),l=2,a>2&&$(s.charCodeAt(2))&&(u=!0,l=3));if(o.length>0)if(e.length>0){if(o.toLowerCase()!==e.toLowerCase())continue}else e=o;if(i){if(e.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&e.length>0)break}return n=Kt(n,!i,"\\",$),i?`${e}\\${n}`:`${e}${n}`||"."},normalize(t){ie(t,"path");const e=t.length;if(e===0)return".";let n=0,i,r=!1;const s=t.charCodeAt(0);if(e===1)return $n(s)?"\\":t;if($(s))if(r=!0,$(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!$(t.charCodeAt(l));)l++;if(l<e&&l!==o){const u=t.slice(o,l);for(o=l;l<e&&$(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!$(t.charCodeAt(l));)l++;if(l===e)return`\\\\${u}\\${t.slice(o)}\\`;l!==o&&(i=`\\\\${u}\\${t.slice(o,l)}`,n=l)}}}else n=1;else He(s)&&t.charCodeAt(1)===ze&&(i=t.slice(0,2),n=2,e>2&&$(t.charCodeAt(2))&&(r=!0,n=3));let a=n<e?Kt(t.slice(n),!r,"\\",$):"";if(a.length===0&&!r&&(a="."),a.length>0&&$(t.charCodeAt(e-1))&&(a+="\\"),!r&&i===void 0&&t.includes(":")){if(a.length>=2&&He(a.charCodeAt(0))&&a.charCodeAt(1)===ze)return`.\\${a}`;let l=t.indexOf(":");do if(l===e-1||$(t.charCodeAt(l+1)))return`.\\${a}`;while((l=t.indexOf(":",l+1))!==-1)}return i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(t){ie(t,"path");const e=t.length;if(e===0)return!1;const n=t.charCodeAt(0);return $(n)||e>2&&He(n)&&t.charCodeAt(1)===ze&&$(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let e,n;for(let s=0;s<t.length;++s){const a=t[s];ie(a,"path"),a.length>0&&(e===void 0?e=n=a:e+=`\\${a}`)}if(e===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&$(n.charCodeAt(0))){++r;const s=n.length;s>1&&$(n.charCodeAt(1))&&(++r,s>2&&($(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<e.length&&$(e.charCodeAt(r));)r++;r>=2&&(e=`\\${e.slice(r)}`)}return ue.normalize(e)},relative(t,e){if(ie(t,"from"),ie(e,"to"),t===e)return"";const n=ue.resolve(t),i=ue.resolve(e);if(n===i||(t=n.toLowerCase(),e=i.toLowerCase(),t===e))return"";if(n.length!==t.length||i.length!==e.length){const w=n.split("\\"),p=i.split("\\");w[w.length-1]===""&&w.pop(),p[p.length-1]===""&&p.pop();const x=w.length,T=p.length,y=x<T?x:T;let A;for(A=0;A<y&&w[A].toLowerCase()===p[A].toLowerCase();A++);return A===0?i:A===y?T>y?p.slice(A).join("\\"):x>y?"..\\".repeat(x-1-A)+"..":"":"..\\".repeat(x-A)+p.slice(A).join("\\")}let r=0;for(;r<t.length&&t.charCodeAt(r)===de;)r++;let s=t.length;for(;s-1>r&&t.charCodeAt(s-1)===de;)s--;const a=s-r;let l=0;for(;l<e.length&&e.charCodeAt(l)===de;)l++;let o=e.length;for(;o-1>l&&e.charCodeAt(o-1)===de;)o--;const u=o-l,c=a<u?a:u;let d=-1,m=0;for(;m<c;m++){const w=t.charCodeAt(r+m);if(w!==e.charCodeAt(l+m))break;w===de&&(d=m)}if(m!==c){if(d===-1)return i}else{if(u>c){if(e.charCodeAt(l+m)===de)return i.slice(l+m+1);if(m===2)return i.slice(l+m)}a>c&&(t.charCodeAt(r+m)===de?d=m:m===2&&(d=3)),d===-1&&(d=0)}let f="";for(m=r+d+1;m<=s;++m)(m===s||t.charCodeAt(m)===de)&&(f+=f.length===0?"..":"\\..");return l+=d,f.length>0?`${f}${i.slice(l,o)}`:(i.charCodeAt(l)===de&&++l,i.slice(l,o))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;const e=ue.resolve(t);if(e.length<=2)return t;if(e.charCodeAt(0)===de){if(e.charCodeAt(1)===de){const n=e.charCodeAt(2);if(n!==ml&&n!==Ye)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(He(e.charCodeAt(0))&&e.charCodeAt(1)===ze&&e.charCodeAt(2)===de)return`\\\\?\\${e}`;return e},dirname(t){ie(t,"path");const e=t.length;if(e===0)return".";let n=-1,i=0;const r=t.charCodeAt(0);if(e===1)return $(r)?t:".";if($(r)){if(n=i=1,$(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!$(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&$(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!$(t.charCodeAt(l));)l++;if(l===e)return t;l!==o&&(n=i=l+1)}}}}else He(r)&&t.charCodeAt(1)===ze&&(n=e>2&&$(t.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let l=e-1;l>=i;--l)if($(t.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return t.slice(0,s)},basename(t,e){e!==void 0&&ie(e,"suffix"),ie(t,"path");let n=0,i=-1,r=!0,s;if(t.length>=2&&He(t.charCodeAt(0))&&t.charCodeAt(1)===ze&&(n=2),e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=n;--s){const o=t.charCodeAt(s);if($(o)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=n;--s)if($(t.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){ie(t,"path");let e=0,n=-1,i=0,r=-1,s=!0,a=0;t.length>=2&&t.charCodeAt(1)===ze&&He(t.charCodeAt(0))&&(e=i=2);for(let l=t.length-1;l>=e;--l){const o=t.charCodeAt(l);if($(o)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===Ye?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":t.slice(n,r)},format:Zi.bind(null,"\\"),parse(t){ie(t,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;const n=t.length;let i=0,r=t.charCodeAt(0);if(n===1)return $(r)?(e.root=e.dir=t,e):(e.base=e.name=t,e);if($(r)){if(i=1,$(t.charCodeAt(1))){let d=2,m=d;for(;d<n&&!$(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&$(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&!$(t.charCodeAt(d));)d++;d===n?i=d:d!==m&&(i=d+1)}}}}else if(He(r)&&t.charCodeAt(1)===ze){if(n<=2)return e.root=e.dir=t,e;if(i=2,$(t.charCodeAt(2))){if(n===3)return e.root=e.dir=t,e;i=3}}i>0&&(e.root=t.slice(0,i));let s=-1,a=i,l=-1,o=!0,u=t.length-1,c=0;for(;u>=i;--u){if(r=t.charCodeAt(u),$(r)){if(!o){a=u+1;break}continue}l===-1&&(o=!1,l=u+1),r===Ye?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===a+1?e.base=e.name=t.slice(a,l):(e.name=t.slice(a,s),e.base=t.slice(a,l),e.ext=t.slice(s,l))),a>0&&a!==i?e.dir=t.slice(0,a-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},gl=(()=>{if(Ve){const t=/\\/g;return()=>{const e=Zt().replace(t,"/");return e.slice(e.indexOf("/"))}}return()=>Zt()})(),me={resolve(...t){let e="",n=!1;for(let i=t.length-1;i>=0&&!n;i--){const r=t[i];ie(r,`paths[${i}]`),r.length!==0&&(e=`${r}/${e}`,n=r.charCodeAt(0)===ae)}if(!n){const i=gl();e=`${i}/${e}`,n=i.charCodeAt(0)===ae}return e=Kt(e,!n,"/",$n),n?`/${e}`:e.length>0?e:"."},normalize(t){if(ie(t,"path"),t.length===0)return".";const e=t.charCodeAt(0)===ae,n=t.charCodeAt(t.length-1)===ae;return t=Kt(t,!e,"/",$n),t.length===0?e?"/":n?"./":".":(n&&(t+="/"),e?`/${t}`:t)},isAbsolute(t){return ie(t,"path"),t.length>0&&t.charCodeAt(0)===ae},join(...t){if(t.length===0)return".";const e=[];for(let n=0;n<t.length;++n){const i=t[n];ie(i,"path"),i.length>0&&e.push(i)}return e.length===0?".":me.normalize(e.join("/"))},relative(t,e){if(ie(t,"from"),ie(e,"to"),t===e||(t=me.resolve(t),e=me.resolve(e),t===e))return"";const n=1,i=t.length,r=i-n,s=1,a=e.length-s,l=r<a?r:a;let o=-1,u=0;for(;u<l;u++){const d=t.charCodeAt(n+u);if(d!==e.charCodeAt(s+u))break;d===ae&&(o=u)}if(u===l)if(a>l){if(e.charCodeAt(s+u)===ae)return e.slice(s+u+1);if(u===0)return e.slice(s+u)}else r>l&&(t.charCodeAt(n+u)===ae?o=u:u===0&&(o=0));let c="";for(u=n+o+1;u<=i;++u)(u===i||t.charCodeAt(u)===ae)&&(c+=c.length===0?"..":"/..");return`${c}${e.slice(s+o)}`},toNamespacedPath(t){return t},dirname(t){if(ie(t,"path"),t.length===0)return".";const e=t.charCodeAt(0)===ae;let n=-1,i=!0;for(let r=t.length-1;r>=1;--r)if(t.charCodeAt(r)===ae){if(!i){n=r;break}}else i=!1;return n===-1?e?"/":".":e&&n===1?"//":t.slice(0,n)},basename(t,e){e!==void 0&&ie(e,"suffix"),ie(t,"path");let n=0,i=-1,r=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=0;--s){const o=t.charCodeAt(s);if(o===ae){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===ae){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){ie(t,"path");let e=-1,n=0,i=-1,r=!0,s=0;for(let a=t.length-1;a>=0;--a){const l=t[a];if(l==="/"){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),l==="."?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||i===-1||s===0||s===1&&e===i-1&&e===n+1?"":t.slice(e,i)},format:Zi.bind(null,"/"),parse(t){ie(t,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;const n=t.charCodeAt(0)===ae;let i;n?(e.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,o=t.length-1,u=0;for(;o>=i;--o){const c=t.charCodeAt(o);if(c===ae){if(!l){s=o+1;break}continue}a===-1&&(l=!1,a=o+1),c===Ye?r===-1?r=o:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){const c=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?e.base=e.name=t.slice(c,a):(e.name=t.slice(c,r),e.base=t.slice(c,a),e.ext=t.slice(r,a))}return s>0?e.dir=t.slice(0,s-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};me.win32=ue.win32=ue,me.posix=ue.posix=me,Ve?ue.normalize:me.normalize,Ve?ue.resolve:me.resolve,Ve?ue.relative:me.relative,Ve?ue.dirname:me.dirname,Ve?ue.basename:me.basename,Ve?ue.extname:me.extname,Ve?ue.sep:me.sep;const bl=/^\w[\w\d+.-]*$/,wl=/^\//,_l=/^\/\//;function vl(t,e){if(!t.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t.authority}", path: "${t.path}", query: "${t.query}", fragment: "${t.fragment}"}`);if(t.scheme&&!bl.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path){if(t.authority){if(!wl.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(_l.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function yl(t,e){return!t&&!e?"file":t}function Tl(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==ke&&(e=ke+e):e=ke;break}return e}const ee="",ke="/",xl=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Gn=class kn{static isUri(e){return e instanceof kn?!0:!e||typeof e!="object"?!1:typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function"}constructor(e,n,i,r,s,a=!1){typeof e=="object"?(this.scheme=e.scheme||ee,this.authority=e.authority||ee,this.path=e.path||ee,this.query=e.query||ee,this.fragment=e.fragment||ee):(this.scheme=yl(e,a),this.authority=n||ee,this.path=Tl(this.scheme,i||ee),this.query=r||ee,this.fragment=s||ee,vl(this,a))}get fsPath(){return Xn(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=e;return n===void 0?n=this.scheme:n===null&&(n=ee),i===void 0?i=this.authority:i===null&&(i=ee),r===void 0?r=this.path:r===null&&(r=ee),s===void 0?s=this.query:s===null&&(s=ee),a===void 0?a=this.fragment:a===null&&(a=ee),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new lt(n,i,r,s,a)}static parse(e,n=!1){const i=xl.exec(e);return i?new lt(i[2]||ee,en(i[4]||ee),en(i[5]||ee),en(i[7]||ee),en(i[9]||ee),n):new lt(ee,ee,ee,ee,ee)}static file(e){let n=ee;if(kt&&(e=e.replace(/\\/g,ke)),e[0]===ke&&e[1]===ke){const i=e.indexOf(ke,2);i===-1?(n=e.substring(2),e=ke):(n=e.substring(2,i),e=e.substring(i)||ke)}return new lt("file",n,e,ee,ee)}static from(e,n){return new lt(e.scheme,e.authority,e.path,e.query,e.fragment,n)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return kt&&e.scheme==="file"?i=kn.file(ue.join(Xn(e,!0),...n)).path:i=me.join(e.path,...n),e.with({path:i})}toString(e=!1){return Jn(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof kn)return e;{const n=new lt(e);return n._formatted=e.external??null,n._fsPath=e._sep===Ki?e.fsPath??null:null,n}}else return e}};const Ki=kt?1:void 0;class lt extends Gn{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Xn(this,!1)),this._fsPath}toString(e=!1){return e?Jn(this,!0):(this._formatted||(this._formatted=Jn(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Ki),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const er={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function tr(t,e,n){let i,r=-1;for(let s=0;s<t.length;s++){const a=t.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||e&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i!==void 0&&(i+=t.charAt(s));else{i===void 0&&(i=t.substr(0,s));const l=er[a];l!==void 0?(r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(t.substring(r))),i!==void 0?i:t}function kl(t){let e;for(let n=0;n<t.length;n++){const i=t.charCodeAt(n);i===35||i===63?(e===void 0&&(e=t.substr(0,n)),e+=er[i]):e!==void 0&&(e+=t[n])}return e!==void 0?e:t}function Xn(t,e){let n;return t.authority&&t.path.length>1&&t.scheme==="file"?n=`//${t.authority}${t.path}`:t.path.charCodeAt(0)===47&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&t.path.charCodeAt(2)===58?e?n=t.path.substr(1):n=t.path[1].toLowerCase()+t.path.substr(2):n=t.path,kt&&(n=n.replace(/\//g,"\\")),n}function Jn(t,e){const n=e?kl:tr;let i="",{scheme:r,authority:s,path:a,query:l,fragment:o}=t;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=ke,i+=ke),s){let u=s.indexOf("@");if(u!==-1){const c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const u=a.charCodeAt(1);u>=65&&u<=90&&(a=`/${String.fromCharCode(u+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const u=a.charCodeAt(0);u>=65&&u<=90&&(a=`${String.fromCharCode(u+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),o&&(i+="#",i+=e?o:tr(o,!1,!1)),i}function nr(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+nr(t.substr(3)):t}}const ir=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function en(t){return t.match(ir)?t.replace(ir,e=>nr(e)):t}class ge extends j{constructor(e,n,i,r){super(e,n,i,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return ge.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return this.getDirection()===0?new ge(this.startLineNumber,this.startColumn,e,n):new ge(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new K(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new K(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return this.getDirection()===0?new ge(e,n,this.endLineNumber,this.endColumn):new ge(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new ge(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return n===0?new ge(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new ge(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new ge(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!this.selectionsEqual(e[i],n[i]))return!1;return!0}static isISelection(e){return!!e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,n,i,r,s){return s===0?new ge(e,n,i,r):new ge(i,r,e,n)}}const rr=Object.create(null);function h(t,e){if(oo(e)){const n=rr[e];if(n===void 0)throw new Error(`${t} references an unknown codicon: ${e}`);e=n}return rr[t]=e,{id:t}}const Sl={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),gitBranch:h("git-branch",60008),gitBranchCreate:h("git-branch-create",60008),gitBranchDelete:h("git-branch-delete",60008),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468),goToEditingSession:h("go-to-editing-session",60469),editSession:h("edit-session",60470),codeReview:h("code-review",60471),copilotWarning:h("copilot-warning",60472),python:h("python",60473),copilotLarge:h("copilot-large",60474),copilotWarningLarge:h("copilot-warning-large",60475),keyboardTab:h("keyboard-tab",60476),copilotBlocked:h("copilot-blocked",60477),copilotNotConnected:h("copilot-not-connected",60478),flag:h("flag",60479),lightbulbEmpty:h("lightbulb-empty",60480),symbolMethodArrow:h("symbol-method-arrow",60481),copilotUnavailable:h("copilot-unavailable",60482),repoPinned:h("repo-pinned",60483),keyboardTabAbove:h("keyboard-tab-above",60484),keyboardTabBelow:h("keyboard-tab-below",60485),gitPullRequestDone:h("git-pull-request-done",60486),mcp:h("mcp",60487),extensionsLarge:h("extensions-large",60488),layoutPanelDock:h("layout-panel-dock",60489),layoutSidebarLeftDock:h("layout-sidebar-left-dock",60490),layoutSidebarRightDock:h("layout-sidebar-right-dock",60491),copilotInProgress:h("copilot-in-progress",60492),copilotError:h("copilot-error",60493),copilotSuccess:h("copilot-success",60494),chatSparkle:h("chat-sparkle",60495),searchSparkle:h("search-sparkle",60496),editSparkle:h("edit-sparkle",60497),copilotSnooze:h("copilot-snooze",60498),sendToRemoteAgent:h("send-to-remote-agent",60499),commentDiscussionSparkle:h("comment-discussion-sparkle",60500),chatSparkleWarning:h("chat-sparkle-warning",60501),chatSparkleError:h("chat-sparkle-error",60502),collection:h("collection",60503),newCollection:h("new-collection",60504),thinking:h("thinking",60505),build:h("build",60506),commentDiscussionQuote:h("comment-discussion-quote",60507),cursor:h("cursor",60508),eraser:h("eraser",60509),fileText:h("file-text",60510),gitLens:h("git-lens",60511),quotes:h("quotes",60512),rename:h("rename",60513),runWithDeps:h("run-with-deps",60514),debugConnected:h("debug-connected",60515),strikethrough:h("strikethrough",60516),openInProduct:h("open-in-product",60517),indexZero:h("index-zero",60518)},Al={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},B={...Sl,...Al};class Ll{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Ce,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,n){return this._tokenizationSupports.set(e,n),this.handleChange([e]),jt(()=>{this._tokenizationSupports.get(e)===n&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,n){this._factories.get(e)?.dispose();const i=new El(this,e,n);return this._factories.set(e,i),jt(()=>{const r=this._factories.get(e);!r||r!==i||(this._factories.delete(e),r.dispose())})}async getOrCreate(e){const n=this.get(e);if(n)return n;const i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const i=this._factories.get(e);return!!(!i||i.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class El extends Xe{get isResolved(){return this._isResolved}constructor(e,n,i){super(),this._registry=e,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}class Cl{constructor(e,n,i){this.offset=e,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var sr;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(sr||(sr={}));var ar;(function(t){const e=new Map;e.set(0,B.symbolMethod),e.set(1,B.symbolFunction),e.set(2,B.symbolConstructor),e.set(3,B.symbolField),e.set(4,B.symbolVariable),e.set(5,B.symbolClass),e.set(6,B.symbolStruct),e.set(7,B.symbolInterface),e.set(8,B.symbolModule),e.set(9,B.symbolProperty),e.set(10,B.symbolEvent),e.set(11,B.symbolOperator),e.set(12,B.symbolUnit),e.set(13,B.symbolValue),e.set(15,B.symbolEnum),e.set(14,B.symbolConstant),e.set(15,B.symbolEnum),e.set(16,B.symbolEnumMember),e.set(17,B.symbolKeyword),e.set(28,B.symbolSnippet),e.set(18,B.symbolText),e.set(19,B.symbolColor),e.set(20,B.symbolFile),e.set(21,B.symbolReference),e.set(22,B.symbolCustomColor),e.set(23,B.symbolFolder),e.set(24,B.symbolTypeParameter),e.set(25,B.account),e.set(26,B.issues),e.set(27,B.tools);function n(a){let l=e.get(a);return l||(console.info("No codicon found for CompletionItemKind "+a),l=B.symbolProperty),l}t.toIcon=n;function i(a){switch(a){case 0:return q(730,"Method");case 1:return q(731,"Function");case 2:return q(732,"Constructor");case 3:return q(733,"Field");case 4:return q(734,"Variable");case 5:return q(735,"Class");case 6:return q(736,"Struct");case 7:return q(737,"Interface");case 8:return q(738,"Module");case 9:return q(739,"Property");case 10:return q(740,"Event");case 11:return q(741,"Operator");case 12:return q(742,"Unit");case 13:return q(743,"Value");case 14:return q(744,"Constant");case 15:return q(745,"Enum");case 16:return q(746,"Enum Member");case 17:return q(747,"Keyword");case 18:return q(748,"Text");case 19:return q(749,"Color");case 20:return q(750,"File");case 21:return q(751,"Reference");case 22:return q(752,"Custom Color");case 23:return q(753,"Folder");case 24:return q(754,"Type Parameter");case 25:return q(755,"User");case 26:return q(756,"Issue");case 27:return q(757,"Tool");case 28:return q(758,"Snippet");default:return""}}t.toLabel=i;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",28),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),r.set("tool",27);function s(a,l){let o=r.get(a);return typeof o>"u"&&!l&&(o=9),o}t.fromString=s})(ar||(ar={}));var or;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(or||(or={}));var lr;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(lr||(lr={}));var ur;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(ur||(ur={}));var cr;(function(t){t[t.Automatic=0]="Automatic",t[t.PasteAs=1]="PasteAs"})(cr||(cr={}));var hr;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(hr||(hr={}));var dr;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(dr||(dr={})),q(759,"array"),q(760,"boolean"),q(761,"class"),q(762,"constant"),q(763,"constructor"),q(764,"enumeration"),q(765,"enumeration member"),q(766,"event"),q(767,"field"),q(768,"file"),q(769,"function"),q(770,"interface"),q(771,"key"),q(772,"method"),q(773,"module"),q(774,"namespace"),q(775,"null"),q(776,"number"),q(777,"object"),q(778,"operator"),q(779,"package"),q(780,"property"),q(781,"string"),q(782,"struct"),q(783,"type parameter"),q(784,"variable");var mr;(function(t){const e=new Map;e.set(0,B.symbolFile),e.set(1,B.symbolModule),e.set(2,B.symbolNamespace),e.set(3,B.symbolPackage),e.set(4,B.symbolClass),e.set(5,B.symbolMethod),e.set(6,B.symbolProperty),e.set(7,B.symbolField),e.set(8,B.symbolConstructor),e.set(9,B.symbolEnum),e.set(10,B.symbolInterface),e.set(11,B.symbolFunction),e.set(12,B.symbolVariable),e.set(13,B.symbolConstant),e.set(14,B.symbolString),e.set(15,B.symbolNumber),e.set(16,B.symbolBoolean),e.set(17,B.symbolArray),e.set(18,B.symbolObject),e.set(19,B.symbolKey),e.set(20,B.symbolNull),e.set(21,B.symbolEnumMember),e.set(22,B.symbolStruct),e.set(23,B.symbolEvent),e.set(24,B.symbolOperator),e.set(25,B.symbolTypeParameter);function n(s){let a=e.get(s);return a||(console.info("No codicon found for SymbolKind "+s),a=B.symbolProperty),a}t.toIcon=n;const i=new Map;i.set(0,20),i.set(1,8),i.set(2,8),i.set(3,8),i.set(4,5),i.set(5,0),i.set(6,9),i.set(7,3),i.set(8,2),i.set(9,15),i.set(10,7),i.set(11,1),i.set(12,4),i.set(13,14),i.set(14,18),i.set(15,13),i.set(16,13),i.set(17,13),i.set(18,13),i.set(19,17),i.set(20,13),i.set(21,16),i.set(22,6),i.set(23,10),i.set(24,11),i.set(25,24);function r(s){let a=i.get(s);return a===void 0&&(console.info("No completion kind found for SymbolKind "+s),a=20),a}t.toCompletionKind=r})(mr||(mr={}));let oh=(ce=class{static fromValue(e){switch(e){case"comment":return ce.Comment;case"imports":return ce.Imports;case"region":return ce.Region}return new ce(e)}constructor(e){this.value=e}},ce.Comment=new ce("comment"),ce.Imports=new ce("imports"),ce.Region=new ce("region"),ce);var fr;(function(t){t[t.AIGenerated=1]="AIGenerated"})(fr||(fr={}));var pr;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(pr||(pr={}));var gr;(function(t){function e(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}t.is=e})(gr||(gr={}));var br;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(br||(br={})),new Ll;var wr;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(wr||(wr={}));var _r;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(_r||(_r={}));var vr;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(vr||(vr={}));var yr;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Tool=27]="Tool",t[t.Snippet=28]="Snippet"})(yr||(yr={}));var Tr;(function(t){t[t.Deprecated=1]="Deprecated"})(Tr||(Tr={}));var xr;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(xr||(xr={}));var kr;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(kr||(kr={}));var Sr;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(Sr||(Sr={}));var Ar;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Ar||(Ar={}));var Lr;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(Lr||(Lr={}));var Er;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(Er||(Er={}));var Cr;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.allowOverflow=4]="allowOverflow",t[t.allowVariableLineHeights=5]="allowVariableLineHeights",t[t.allowVariableFonts=6]="allowVariableFonts",t[t.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",t[t.ariaLabel=8]="ariaLabel",t[t.ariaRequired=9]="ariaRequired",t[t.autoClosingBrackets=10]="autoClosingBrackets",t[t.autoClosingComments=11]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=13]="autoClosingDelete",t[t.autoClosingOvertype=14]="autoClosingOvertype",t[t.autoClosingQuotes=15]="autoClosingQuotes",t[t.autoIndent=16]="autoIndent",t[t.autoIndentOnPaste=17]="autoIndentOnPaste",t[t.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",t[t.automaticLayout=19]="automaticLayout",t[t.autoSurround=20]="autoSurround",t[t.bracketPairColorization=21]="bracketPairColorization",t[t.guides=22]="guides",t[t.codeLens=23]="codeLens",t[t.codeLensFontFamily=24]="codeLensFontFamily",t[t.codeLensFontSize=25]="codeLensFontSize",t[t.colorDecorators=26]="colorDecorators",t[t.colorDecoratorsLimit=27]="colorDecoratorsLimit",t[t.columnSelection=28]="columnSelection",t[t.comments=29]="comments",t[t.contextmenu=30]="contextmenu",t[t.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",t[t.cursorBlinking=32]="cursorBlinking",t[t.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",t[t.cursorStyle=34]="cursorStyle",t[t.cursorSurroundingLines=35]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",t[t.cursorWidth=37]="cursorWidth",t[t.cursorHeight=38]="cursorHeight",t[t.disableLayerHinting=39]="disableLayerHinting",t[t.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",t[t.domReadOnly=41]="domReadOnly",t[t.dragAndDrop=42]="dragAndDrop",t[t.dropIntoEditor=43]="dropIntoEditor",t[t.editContext=44]="editContext",t[t.emptySelectionClipboard=45]="emptySelectionClipboard",t[t.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",t[t.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",t[t.extraEditorClassName=48]="extraEditorClassName",t[t.fastScrollSensitivity=49]="fastScrollSensitivity",t[t.find=50]="find",t[t.fixedOverflowWidgets=51]="fixedOverflowWidgets",t[t.folding=52]="folding",t[t.foldingStrategy=53]="foldingStrategy",t[t.foldingHighlight=54]="foldingHighlight",t[t.foldingImportsByDefault=55]="foldingImportsByDefault",t[t.foldingMaximumRegions=56]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=58]="fontFamily",t[t.fontInfo=59]="fontInfo",t[t.fontLigatures=60]="fontLigatures",t[t.fontSize=61]="fontSize",t[t.fontWeight=62]="fontWeight",t[t.fontVariations=63]="fontVariations",t[t.formatOnPaste=64]="formatOnPaste",t[t.formatOnType=65]="formatOnType",t[t.glyphMargin=66]="glyphMargin",t[t.gotoLocation=67]="gotoLocation",t[t.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",t[t.hover=69]="hover",t[t.inDiffEditor=70]="inDiffEditor",t[t.inlineSuggest=71]="inlineSuggest",t[t.letterSpacing=72]="letterSpacing",t[t.lightbulb=73]="lightbulb",t[t.lineDecorationsWidth=74]="lineDecorationsWidth",t[t.lineHeight=75]="lineHeight",t[t.lineNumbers=76]="lineNumbers",t[t.lineNumbersMinChars=77]="lineNumbersMinChars",t[t.linkedEditing=78]="linkedEditing",t[t.links=79]="links",t[t.matchBrackets=80]="matchBrackets",t[t.minimap=81]="minimap",t[t.mouseStyle=82]="mouseStyle",t[t.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=84]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",t[t.multiCursorModifier=86]="multiCursorModifier",t[t.mouseMiddleClickAction=87]="mouseMiddleClickAction",t[t.multiCursorPaste=88]="multiCursorPaste",t[t.multiCursorLimit=89]="multiCursorLimit",t[t.occurrencesHighlight=90]="occurrencesHighlight",t[t.occurrencesHighlightDelay=91]="occurrencesHighlightDelay",t[t.overtypeCursorStyle=92]="overtypeCursorStyle",t[t.overtypeOnPaste=93]="overtypeOnPaste",t[t.overviewRulerBorder=94]="overviewRulerBorder",t[t.overviewRulerLanes=95]="overviewRulerLanes",t[t.padding=96]="padding",t[t.pasteAs=97]="pasteAs",t[t.parameterHints=98]="parameterHints",t[t.peekWidgetDefaultFocus=99]="peekWidgetDefaultFocus",t[t.placeholder=100]="placeholder",t[t.definitionLinkOpensInPeek=101]="definitionLinkOpensInPeek",t[t.quickSuggestions=102]="quickSuggestions",t[t.quickSuggestionsDelay=103]="quickSuggestionsDelay",t[t.readOnly=104]="readOnly",t[t.readOnlyMessage=105]="readOnlyMessage",t[t.renameOnType=106]="renameOnType",t[t.renderRichScreenReaderContent=107]="renderRichScreenReaderContent",t[t.renderControlCharacters=108]="renderControlCharacters",t[t.renderFinalNewline=109]="renderFinalNewline",t[t.renderLineHighlight=110]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=111]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=112]="renderValidationDecorations",t[t.renderWhitespace=113]="renderWhitespace",t[t.revealHorizontalRightPadding=114]="revealHorizontalRightPadding",t[t.roundedSelection=115]="roundedSelection",t[t.rulers=116]="rulers",t[t.scrollbar=117]="scrollbar",t[t.scrollBeyondLastColumn=118]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=119]="scrollBeyondLastLine",t[t.scrollPredominantAxis=120]="scrollPredominantAxis",t[t.selectionClipboard=121]="selectionClipboard",t[t.selectionHighlight=122]="selectionHighlight",t[t.selectionHighlightMaxLength=123]="selectionHighlightMaxLength",t[t.selectionHighlightMultiline=124]="selectionHighlightMultiline",t[t.selectOnLineNumbers=125]="selectOnLineNumbers",t[t.showFoldingControls=126]="showFoldingControls",t[t.showUnused=127]="showUnused",t[t.snippetSuggestions=128]="snippetSuggestions",t[t.smartSelect=129]="smartSelect",t[t.smoothScrolling=130]="smoothScrolling",t[t.stickyScroll=131]="stickyScroll",t[t.stickyTabStops=132]="stickyTabStops",t[t.stopRenderingLineAfter=133]="stopRenderingLineAfter",t[t.suggest=134]="suggest",t[t.suggestFontSize=135]="suggestFontSize",t[t.suggestLineHeight=136]="suggestLineHeight",t[t.suggestOnTriggerCharacters=137]="suggestOnTriggerCharacters",t[t.suggestSelection=138]="suggestSelection",t[t.tabCompletion=139]="tabCompletion",t[t.tabIndex=140]="tabIndex",t[t.trimWhitespaceOnDelete=141]="trimWhitespaceOnDelete",t[t.unicodeHighlighting=142]="unicodeHighlighting",t[t.unusualLineTerminators=143]="unusualLineTerminators",t[t.useShadowDOM=144]="useShadowDOM",t[t.useTabStops=145]="useTabStops",t[t.wordBreak=146]="wordBreak",t[t.wordSegmenterLocales=147]="wordSegmenterLocales",t[t.wordSeparators=148]="wordSeparators",t[t.wordWrap=149]="wordWrap",t[t.wordWrapBreakAfterCharacters=150]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=151]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=152]="wordWrapColumn",t[t.wordWrapOverride1=153]="wordWrapOverride1",t[t.wordWrapOverride2=154]="wordWrapOverride2",t[t.wrappingIndent=155]="wrappingIndent",t[t.wrappingStrategy=156]="wrappingStrategy",t[t.showDeprecated=157]="showDeprecated",t[t.inertialScroll=158]="inertialScroll",t[t.inlayHints=159]="inlayHints",t[t.wrapOnEscapedLineFeeds=160]="wrapOnEscapedLineFeeds",t[t.effectiveCursorStyle=161]="effectiveCursorStyle",t[t.editorClassName=162]="editorClassName",t[t.pixelRatio=163]="pixelRatio",t[t.tabFocusMode=164]="tabFocusMode",t[t.layoutInfo=165]="layoutInfo",t[t.wrappingInfo=166]="wrappingInfo",t[t.defaultColorDecorators=167]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=168]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=169]="inlineCompletionsAccessibilityVerbose",t[t.effectiveEditContext=170]="effectiveEditContext",t[t.scrollOnMiddleClick=171]="scrollOnMiddleClick",t[t.effectiveAllowVariableFonts=172]="effectiveAllowVariableFonts"})(Cr||(Cr={}));var Rr;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Rr||(Rr={}));var Dr;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(Dr||(Dr={}));var Mr;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(Mr||(Mr={}));var Nr;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(Nr||(Nr={}));var Ir;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(Ir||(Ir={}));var zr;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(zr||(zr={}));var Hr;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(Hr||(Hr={}));var Ur;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(Ur||(Ur={}));var Pr;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(Pr||(Pr={}));var Wr;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(Wr||(Wr={}));var Qn;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(Qn||(Qn={}));var Yn;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(Yn||(Yn={}));var Zn;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(Zn||(Zn={}));var Fr;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(Fr||(Fr={}));var Br;(function(t){t[t.Normal=1]="Normal",t[t.Underlined=2]="Underlined"})(Br||(Br={}));var qr;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(qr||(qr={}));var Or;(function(t){t[t.AIGenerated=1]="AIGenerated"})(Or||(Or={}));var Vr;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Vr||(Vr={}));var jr;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(jr||(jr={}));var $r;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})($r||($r={}));var Gr;(function(t){t[t.Word=0]="Word",t[t.Line=1]="Line",t[t.Suggest=2]="Suggest"})(Gr||(Gr={}));var Xr;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(Xr||(Xr={}));var Jr;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(Jr||(Jr={}));var Qr;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})(Qr||(Qr={}));var Yr;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(Yr||(Yr={}));var Zr;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(Zr||(Zr={}));var Kn;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(Kn||(Kn={}));var Kr;(function(t){t.Off="off",t.OnCode="onCode",t.On="on"})(Kr||(Kr={}));var es;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(es||(es={}));var ts;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(ts||(ts={}));var ns;(function(t){t[t.Deprecated=1]="Deprecated"})(ns||(ns={}));var is;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(is||(is={}));var rs;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(rs||(rs={}));var ss;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(ss||(ss={}));var as;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(as||(as={}));var os;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(os||(os={}));const yt=class yt{static chord(e,n){return al(e,n)}};yt.CtrlCmd=2048,yt.Shift=1024,yt.Alt=512,yt.WinCtrl=256;let ei=yt;function Rl(){return{editor:void 0,languages:void 0,CancellationTokenSource:nl,Emitter:Ce,KeyCode:Qn,KeyMod:ei,Position:K,Range:j,Selection:ge,SelectionDirection:Kn,MarkerSeverity:Yn,MarkerTag:Zn,Uri:Gn,Token:Cl}}var ls;class Dl{constructor(){this[ls]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,n=0){const i=this._map.get(e);if(i)return n!==0&&this.touch(i,n),i.value}set(e,n,i=0){let r=this._map.get(e);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:e,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){const i=this._state;let r=this._head;for(;r;){if(n?e.bind(n)(r.value,r.key,this):e(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){const e=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){const e=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(ls=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const n=e.next,i=e.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(e===this._head)return;const i=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===2){if(e===this._tail)return;const i=e.next,r=e.previous;e===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((n,i)=>{e.push([i,n])}),e}fromJSON(e){this.clear();for(const[n,i]of e)this.set(n,i)}}class Ml extends Dl{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,n=2){return super.get(e,n)}peek(e){return super.get(e,0)}set(e,n){return super.set(e,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class Nl extends Ml{constructor(e,n=1){super(e,n)}trim(e){this.trimOld(e)}set(e,n){return super.set(e,n),this.checkTrim(),this}}class Il{constructor(){this.map=new Map}add(e,n){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(n)}delete(e,n){const i=this.map.get(e);i&&(i.delete(n),i.size===0&&this.map.delete(e))}forEach(e,n){const i=this.map.get(e);i&&i.forEach(n)}}new Nl(10);var us;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(us||(us={}));var cs;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(cs||(cs={}));var hs;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(hs||(hs={}));var ds;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(ds||(ds={}));function zl(t){if(!t||t.length===0)return!1;for(let e=0,n=t.length;e<n;e++){const i=t.charCodeAt(e);if(i===10)return!0;if(i===92){if(e++,e>=n)break;const r=t.charCodeAt(e);if(r===110||r===114||r===87)return!0}}return!1}function Hl(t,e,n,i,r){if(i===0)return!0;const s=e.charCodeAt(i-1);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=e.charCodeAt(i);if(t.get(a)!==0)return!0}return!1}function Ul(t,e,n,i,r){if(i+r===n)return!0;const s=e.charCodeAt(i+r);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=e.charCodeAt(i+r-1);if(t.get(a)!==0)return!0}return!1}function Pl(t,e,n,i,r){return Hl(t,e,n,i,r)&&Ul(t,e,n,i,r)}class Wl{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const n=e.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(e),!i))return null;const r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){Po(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||Pl(this._wordSeparators,e,n,r,s))return i}while(i);return null}}const Fl="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Bl(t=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const n of Fl)t.indexOf(n)>=0||(e+="\\"+n);return e+="\\s]+)",new RegExp(e,"g")}const ms=Bl();function fs(t){let e=ms;if(t&&t instanceof RegExp)if(t.global)e=t;else{let n="g";t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),e=new RegExp(t.source,n)}return e.lastIndex=0,e}const ps=new ho;ps.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function ti(t,e,n,i,r){if(e=fs(e),r||(r=Vt.first(ps)),n.length>r.maxLen){let u=t-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,t+r.maxLen/2),ti(t,e,n,i,r)}const s=Date.now(),a=t-1-i;let l=-1,o=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){const c=a-r.windowSize*u;e.lastIndex=Math.max(0,c);const d=ql(e,n,a,l);if(!d&&o||(o=d,c<=0))break;l=c}if(o){const u={word:o[0],startColumn:i+1+o.index,endColumn:i+1+o.index+o[0].length};return e.lastIndex=0,u}return null}function ql(t,e,n,i){let r;for(;r=t.exec(e);){const s=r.index||0;if(s<=n&&t.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}class Ol{static computeUnicodeHighlights(e,n,i){const r=i?i.startLineNumber:1,s=i?i.endLineNumber:e.getLineCount(),a=new gs(n),l=a.getCandidateCodePoints();let o;l==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${Vl(Array.from(l))}`,"g");const u=new Wl(null,o),c=[];let d=!1,m,f=0,w=0,p=0;e:for(let x=r,T=s;x<=T;x++){const y=e.getLineContent(x),A=y.length;u.reset(0);do if(m=u.next(y),m){let I=m.index,H=m.index+m[0].length;if(I>0){const v=y.charCodeAt(I-1);Un(v)&&I--}if(H+1<A){const v=y.charCodeAt(H-1);Un(v)&&H++}const P=y.substring(I,H);let b=ti(I+1,ms,y,0);b&&b.endColumn<=I+1&&(b=null);const g=a.shouldHighlightNonBasicASCII(P,b?b.word:null);if(g!==0){if(g===3?f++:g===2?w++:g===1?p++:so(),c.length>=1e3){d=!0;break e}c.push(new j(x,I+1,x,H+1))}}while(m)}return{ranges:c,hasMore:d,ambiguousCharacterCount:f,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(e,n){const i=new gs(n);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=e.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),l=St.getLocales().filter(o=>!St.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function Vl(t,e){return`[${Co(t.map(i=>String.fromCodePoint(i)).join(""))}]`}class gs{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=St.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const n of At.codePoints)bs(String.fromCodePoint(n))||e.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(const n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e,n){const i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(const a of n){const l=a.codePointAt(0),o=Fo(a);r=r||o,!o&&!this.ambiguousCharacters.isAmbiguous(l)&&!At.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!bs(e)&&At.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function bs(t){return t===" "||t===`
8
8
  `||t===" "}class tn{constructor(e,n,i){this.changes=e,this.moves=n,this.hitTimeout=i}}class jl{constructor(e,n){this.lineRangeMapping=e,this.changes=n}}function $l(t,e,n=(i,r)=>i===r){if(t===e)return!0;if(!t||!e||t.length!==e.length)return!1;for(let i=0,r=t.length;i<r;i++)if(!n(t[i],e[i]))return!1;return!0}function*Gl(t,e){let n,i;for(const r of t)i!==void 0&&e(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function Xl(t,e){for(let n=0;n<=t.length;n++)e(n===0?void 0:t[n-1],n===t.length?void 0:t[n])}function Jl(t,e){for(let n=0;n<t.length;n++)e(n===0?void 0:t[n-1],t[n],n+1===t.length?void 0:t[n+1])}function Ql(t,e){for(const n of e)t.push(n)}var ni;(function(t){function e(s){return s<0}t.isLessThan=e;function n(s){return s<=0}t.isLessThanOrEqual=n;function i(s){return s>0}t.isGreaterThan=i;function r(s){return s===0}t.isNeitherLessOrGreaterThan=r,t.greaterThan=1,t.lessThan=-1,t.neitherLessOrGreaterThan=0})(ni||(ni={}));function Et(t,e){return(n,i)=>e(t(n),t(i))}const Ct=(t,e)=>t-e;function Yl(t){return(e,n)=>-t(e,n)}const Tt=class Tt{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(n=>(e.push(n),!0)),e}filter(e){return new Tt(n=>this.iterate(i=>e(i)?n(i):!0))}map(e){return new Tt(n=>this.iterate(i=>n(e(i))))}findLast(e){let n;return this.iterate(i=>(e(i)&&(n=i),!0)),n}findLastMaxBy(e){let n,i=!0;return this.iterate(r=>((i||ni.isGreaterThan(e(r,n)))&&(i=!1,n=r),!0)),n}};Tt.empty=new Tt(e=>{});let ws=Tt;class G{static fromTo(e,n){return new G(e,n)}static addRange(e,n){let i=0;for(;i<n.length&&n[i].endExclusive<e.start;)i++;let r=i;for(;r<n.length&&n[r].start<=e.endExclusive;)r++;if(i===r)n.splice(i,0,e);else{const s=Math.min(e.start,n[i].start),a=Math.max(e.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new G(s,a))}}static tryCreate(e,n){if(!(e>n))return new G(e,n)}static ofLength(e){return new G(0,e)}static ofStartAndLength(e,n){return new G(e,e+n)}static emptyAt(e){return new G(e,e)}constructor(e,n){if(this.start=e,this.endExclusive=n,e>n)throw new le(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new G(this.start+e,this.endExclusive+e)}deltaStart(e){return new G(this.start+e,this.endExclusive)}deltaEnd(e){return new G(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new G(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){const n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);if(n<=i)return new G(n,i)}intersectionLength(e){const n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return Math.max(0,i-n)}intersects(e){const n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return n<i}intersectsOrTouches(e){const n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return n<=i}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new le(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new le(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let n=this.start;n<this.endExclusive;n++)e(n)}joinRightTouching(e){if(this.endExclusive!==e.start)throw new le(`Invalid join: ${this.toString()} and ${e.toString()}`);return new G(this.start,e.endExclusive)}}function ut(t,e){const n=ct(t,e);return n===-1?void 0:t[n]}function ct(t,e,n=0,i=t.length){let r=n,s=i;for(;r<s;){const a=Math.floor((r+s)/2);e(t[a])?r=a+1:s=a}return r-1}function Zl(t,e){const n=ii(t,e);return n===t.length?void 0:t[n]}function ii(t,e,n=0,i=t.length){let r=n,s=i;for(;r<s;){const a=Math.floor((r+s)/2);e(t[a])?s=a:r=a+1}return r}const Tn=class Tn{constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(Tn.assertInvariants){if(this._prevFindLastPredicate){for(const i of this._array)if(this._prevFindLastPredicate(i)&&!e(i))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}const n=ct(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};Tn.assertInvariants=!1;let nn=Tn;const _e=class _e{static ofLength(e,n){return new _e(e,e+n)}static fromRange(e){return new _e(e.startLineNumber,e.endLineNumber)}static fromRangeInclusive(e){return new _e(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(e.length===0)return[];let n=new De(e[0].slice());for(let i=1;i<e.length;i++)n=n.getUnion(new De(e[i].slice()));return n.ranges}static join(e){if(e.length===0)throw new le("lineRanges cannot be empty");let n=e[0].startLineNumber,i=e[0].endLineNumberExclusive;for(let r=1;r<e.length;r++)n=Math.min(n,e[r].startLineNumber),i=Math.max(i,e[r].endLineNumberExclusive);return new _e(n,i)}static deserialize(e){return new _e(e[0],e[1])}constructor(e,n){if(e>n)throw new le(`startLineNumber ${e} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=e,this.endLineNumberExclusive=n}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new _e(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new _e(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new _e(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){const n=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(n<=i)return new _e(n,i)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}intersectsOrTouches(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new j(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new j(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){const n=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)n.push(e(i));return n}forEach(e){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)e(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}toOffsetRange(){return new G(this.startLineNumber-1,this.endLineNumberExclusive-1)}addMargin(e,n){return new _e(this.startLineNumber-e,this.endLineNumberExclusive+n)}};_e.compareByStart=Et(e=>e.startLineNumber,Ct);let X=_e;class De{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(e.length===0)return;const n=ii(this._normalizedRanges,r=>r.endLineNumberExclusive>=e.startLineNumber),i=ct(this._normalizedRanges,r=>r.startLineNumber<=e.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,e);else if(n===i-1){const r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(e)}else{const r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(n,i-n,r)}}contains(e){const n=ut(this._normalizedRanges,i=>i.startLineNumber<=e);return!!n&&n.endLineNumberExclusive>e}intersects(e){const n=ut(this._normalizedRanges,i=>i.startLineNumber<e.endLineNumberExclusive);return!!n&&n.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(this._normalizedRanges.length===0)return e;if(e._normalizedRanges.length===0)return this;const n=[];let i=0,r=0,s=null;for(;i<this._normalizedRanges.length||r<e._normalizedRanges.length;){let a=null;if(i<this._normalizedRanges.length&&r<e._normalizedRanges.length){const l=this._normalizedRanges[i],o=e._normalizedRanges[r];l.startLineNumber<o.startLineNumber?(a=l,i++):(a=o,r++)}else i<this._normalizedRanges.length?(a=this._normalizedRanges[i],i++):(a=e._normalizedRanges[r],r++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new X(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new De(n)}subtractFrom(e){const n=ii(this._normalizedRanges,a=>a.endLineNumberExclusive>=e.startLineNumber),i=ct(this._normalizedRanges,a=>a.startLineNumber<=e.endLineNumberExclusive)+1;if(n===i)return new De([e]);const r=[];let s=e.startLineNumber;for(let a=n;a<i;a++){const l=this._normalizedRanges[a];l.startLineNumber>s&&r.push(new X(s,l.startLineNumber)),s=l.endLineNumberExclusive}return s<e.endLineNumberExclusive&&r.push(new X(s,e.endLineNumberExclusive)),new De(r)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(", ")}getIntersection(e){const n=[];let i=0,r=0;for(;i<this._normalizedRanges.length&&r<e._normalizedRanges.length;){const s=this._normalizedRanges[i],a=e._normalizedRanges[r],l=s.intersect(a);l&&!l.isEmpty&&n.push(l),s.endLineNumberExclusive<a.endLineNumberExclusive?i++:r++}return new De(n)}getWithDelta(e){return new De(this._normalizedRanges.map(n=>n.delta(e)))}}const Le=class Le{static betweenPositions(e,n){return e.lineNumber===n.lineNumber?new Le(0,n.column-e.column):new Le(n.lineNumber-e.lineNumber,n.column-1)}static fromPosition(e){return new Le(e.lineNumber-1,e.column-1)}static ofRange(e){return Le.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let n=0,i=0;for(const r of e)r===`
9
9
  `?(n++,i=0):i++;return new Le(n,i)}constructor(e,n){this.lineCount=e,this.columnCount=n}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}add(e){return e.lineCount===0?new Le(this.lineCount,this.columnCount+e.columnCount):new Le(this.lineCount+e.lineCount,e.columnCount)}createRange(e){return this.lineCount===0?new j(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new j(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}toRange(){return new j(1,1,this.lineCount+1,this.columnCount+1)}toLineRange(){return X.ofLength(1,this.lineCount+1)}addToPosition(e){return this.lineCount===0?new K(e.lineNumber,e.column+this.columnCount):new K(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};Le.zero=new Le(0,0);let Rt=Le;class Kl{getOffsetRange(e){return new G(this.getOffset(e.getStartPosition()),this.getOffset(e.getEndPosition()))}getRange(e){return j.fromPositions(this.getPosition(e.start),this.getPosition(e.endExclusive))}getStringReplacement(e){return new ht.deps.StringReplacement(this.getOffsetRange(e.range),e.text)}getTextReplacement(e){return new ht.deps.TextReplacement(this.getRange(e.replaceRange),e.newText)}getTextEdit(e){const n=e.replacements.map(i=>this.getTextReplacement(i));return new ht.deps.TextEdit(n)}}const Ni=class Ni{static get deps(){if(!this._deps)throw new Error("Dependencies not set. Call _setDependencies first.");return this._deps}};Ni._deps=void 0;let ht=Ni;class eu extends Kl{constructor(e){super(),this.text=e,this.lineStartOffsetByLineIdx=[],this.lineEndOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let n=0;n<e.length;n++)e.charAt(n)===`
10
10
  `&&(this.lineStartOffsetByLineIdx.push(n+1),n>0&&e.charAt(n-1)==="\r"?this.lineEndOffsetByLineIdx.push(n-1):this.lineEndOffsetByLineIdx.push(n));this.lineEndOffsetByLineIdx.push(e.length)}getOffset(e){const n=this._validatePosition(e);return this.lineStartOffsetByLineIdx[n.lineNumber-1]+n.column-1}_validatePosition(e){if(e.lineNumber<1)return new K(1,1);const n=this.textLength.lineCount+1;if(e.lineNumber>n){const r=this.getLineLength(n);return new K(n,r+1)}if(e.column<1)return new K(e.lineNumber,1);const i=this.getLineLength(e.lineNumber);return e.column-1>i?new K(e.lineNumber,i+1):e}getPosition(e){const n=ct(this.lineStartOffsetByLineIdx,s=>s<=e),i=n+1,r=e-this.lineStartOffsetByLineIdx[n]+1;return new K(i,r)}get textLength(){const e=this.lineStartOffsetByLineIdx.length-1;return new ht.deps.TextLength(e,this.text.length-this.lineStartOffsetByLineIdx[e])}getLineLength(e){return this.lineEndOffsetByLineIdx[e-1]-this.lineStartOffsetByLineIdx[e-1]}}class tu{constructor(){this._transformer=void 0}get endPositionExclusive(){return this.length.addToPosition(new K(1,1))}get lineRange(){return this.length.toLineRange()}getValue(){return this.getValueOfRange(this.length.toRange())}getValueOfOffsetRange(e){return this.getValueOfRange(this.getTransformer().getRange(e))}getLineLength(e){return this.getValueOfRange(new j(e,1,e,Number.MAX_SAFE_INTEGER)).length}getTransformer(){return this._transformer||(this._transformer=new eu(this.getValue())),this._transformer}getLineAt(e){return this.getValueOfRange(new j(e,1,e,Number.MAX_SAFE_INTEGER))}}class nu extends tu{constructor(e,n){ao(n>=1),super(),this._getLineContent=e,this._lineCount=n}getValueOfRange(e){if(e.startLineNumber===e.endLineNumber)return this._getLineContent(e.startLineNumber).substring(e.startColumn-1,e.endColumn-1);let n=this._getLineContent(e.startLineNumber).substring(e.startColumn-1);for(let i=e.startLineNumber+1;i<e.endLineNumber;i++)n+=`