@opensumi/cli-engine 3.8.3-next-1743647111.0 → 3.8.3-next-1744077318.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31274,10 +31274,10 @@ ${(await this.getPartiaFolderStructure(y.codeUri.fsPath)).map(S=>`- ${S}`).join(
31274
31274
  `}))}async getPartiaFolderStructure(d,E=2){const f=[];try{const a=await this.fileService.getFileStat(d);for(const b of a?.children||[]){const y=new v.URI(d).relative(new v.URI(b.uri)).toString();if(b.isSymbolicLink){const A=await this.fileService.getFileStat(b.realUri||b.uri);A?f.push(`${y} -> ${A} (symbolic link)`):f.push(`${y} (broken symbolic link)`);continue}if(b.type===s.FileType.Directory){if(f.push(`${y}/`),E>1){const A=await this.getPartiaFolderStructure(b.uri,E-1);f.push(...A.map(S=>`${y}/${S}`))}}else b.type===s.FileType.File&&f.push(y)}}catch{return f}return f}serializeRecentlyViewFiles(d,E){return d.map(f=>{var a;return((a=E.relative(f.uri))===null||a===void 0?void 0:a.toString())||f.uri.parent.toString()}).filter(Boolean)}serializeAttachedFiles(d,E){return d.map(f=>this.serializeAttachedFile(f,E)).filter(Boolean)}serializeAttachedFile(d,E){try{const f=this.docModelManager.getModelReference(d.uri);return f?{content:f.instance.getText(d.selection&&new l.Range(d.selection[0],1/0,d.selection[1],1/0)),lineErrors:this.getFileErrors(d.uri),path:E.relative(d.uri).toString(),language:f.instance.languageId}:null}catch{return null}}getFileErrors(d){return this.markerService.getManager().getMarkers({resource:d.toString(),severities:p.MarkerSeverity.Error}).map(E=>E.message)}};t.LLMContextServiceImpl=h,n.__decorate([(0,r.Autowired)(o.AppConfig),n.__metadata("design:type",Object)],h.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(m.IEditorDocumentModelService),n.__metadata("design:type",Object)],h.prototype,"docModelManager",void 0),n.__decorate([(0,r.Autowired)(g.IMarkerService),n.__metadata("design:type",Object)],h.prototype,"markerService",void 0),n.__decorate([(0,r.Autowired)(s.IFileServiceClient),n.__metadata("design:type",Object)],h.prototype,"fileService",void 0),t.LLMContextServiceImpl=h=n.__decorate([(0,r.Injectable)()],h)},99906:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAIMonacoEditorController=t.BaseAIMonacoContribHandler=void 0;const r=e(85608),o=e(76003),c=e(43718);class p extends c.Disposable{constructor(){super(),this.allowAnyScheme=!1,this.allowedSchemes=[c.Schemes.file],this.sessionDisposable=new c.Disposable}shouldHandle(_){return!!(this.allowAnyScheme||this.allowedSchemes.includes(_.scheme))}unload(){this.sessionDisposable.dispose(),this.sessionDisposable=new c.Disposable}load(){this.unload(),this.sessionDisposable.addDispose(this.doContribute())}mountEditor(_){return this.monacoEditor=_,{dispose:()=>{this.monacoEditor=void 0}}}}t.BaseAIMonacoContribHandler=p;let v=n=class extends c.Disposable{static get(_){return _.getContribution(n.ID)}get token(){return this.cancellationTokenSource.token}cancelToken(){this.cancellationTokenSource.cancel(),this.cancellationTokenSource=new c.CancellationTokenSource}constructor(_,s){super(),this.injector=_,this.monacoEditor=s,this.cancellationTokenSource=new c.CancellationTokenSource,this.featureDisposable=new c.Disposable,this.allowedSchemes=[c.Schemes.file,c.Schemes.notebookCell];const g=new c.Disposable;let l=!1;this.addDispose(this.monacoEditor.onDidChangeModel(({newModelUrl:u})=>{if(!u)return;const d=this.allowedSchemes.includes(u.scheme);d!==l&&(l=!!d,l?g.addDispose(this.mount()):g.dispose())}));const h=s.getModel();h&&this.allowedSchemes.includes(h.uri.scheme)&&(l=!0,g.addDispose(this.mount())),this.addDispose(g)}};t.BaseAIMonacoEditorController=v,t.BaseAIMonacoEditorController=v=n=r.__decorate([r.__param(0,(0,o.Optional)()),r.__param(1,(0,o.Optional)()),r.__metadata("design:paramtypes",[o.Injector,Object])],v)},72713:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AICodeActionContribution=void 0;const n=e(85608),r=e(76003),o=e(57925),c=e(43718),p=e(89132);let v=class extends c.Disposable{registerCommands(_){_.registerCommand(o.AI_CODE_ACTION,{execute:(s,g)=>{this.codeActionService.fireCodeActionRun(g,s)}})}};t.AICodeActionContribution=v,n.__decorate([(0,r.Autowired)(p.CodeActionService),n.__metadata("design:type",p.CodeActionService)],v.prototype,"codeActionService",void 0),t.AICodeActionContribution=v=n.__decorate([(0,c.Domain)(c.CommandContribution)],v)},79559:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeActionSingleHandler=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(43718),p=n.__importStar(e(20868)),v=e(52902),m=e(77714),_=e(85679),s=e(99906),g=e(89132);let l=class extends s.BaseAIMonacoContribHandler{constructor(){super(),this.inlineChatActionEnabled=this.preferenceService.getValid(c.AINativeSettingSectionsId.InlineChatCodeActionEnabled,!0),this.addDispose(this.preferenceService.onSpecificPreferenceChange(c.AINativeSettingSectionsId.InlineChatCodeActionEnabled,({newValue:u})=>{this.inlineChatActionEnabled=u,u?this.load():this.unload()}))}doContribute(){return v.monacoApi.languages.registerCodeActionProvider("*",{provideCodeActions:async(u,d)=>{if(!this.inlineChatActionEnabled)return;const E=u.getLineContent(d.startLineNumber);if(E?.trim()===m.empty||!this.shouldHandle(u.uri))return;const{languageParserService:f,codeActionService:a}=this,b=u.getLanguageId(),y=f.createParser(b);if(!y)return;const A=a.getCodeActions();if(!A||A.length===0)return;const S=d.getStartPosition();if(!S)return;function w(I){return{actions:A.map(O=>{const M={};O.command&&(M.id=O.command.id,M.arguments=[I.range,...O.command.arguments]);let R=O.title;switch(I.infoCategory){case"function":R=R+` for Function: ${I.name}`}return{...O,title:R,ranges:[I.range],command:M}}),dispose(){}}}const T=await y.provideCodeBlockInfo(u,S);if(T)return w(T);if(u.getLineLength(S.lineNumber)===0&&this.monacoEditor){const I=this.monacoEditor.getVisibleRanges();if(I.length===0)return;const O=new p.Range(S.lineNumber,0,I[0].endLineNumber+1,0),M=await y.provideCodeBlockInfoInRange(u,O);if(M)return w(M)}}})}};t.CodeActionSingleHandler=l,n.__decorate([(0,r.Autowired)(g.CodeActionService),n.__metadata("design:type",g.CodeActionService)],l.prototype,"codeActionService",void 0),n.__decorate([(0,r.Autowired)(o.PreferenceService),n.__metadata("design:type",Object)],l.prototype,"preferenceService",void 0),n.__decorate([(0,r.Autowired)(_.LanguageParserService),n.__metadata("design:type",_.LanguageParserService)],l.prototype,"languageParserService",void 0),t.CodeActionSingleHandler=l=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],l)},89132:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeActionService=void 0;const n=e(85608),r=e(76003),o=e(57925),c=e(43718);let p=class extends c.Disposable{constructor(){super(...arguments),this.codeActionsMap=new Map,this._onCodeActionRun=new c.Emitter,this.onCodeActionRun=this._onCodeActionRun.event}dispose(){super.dispose(),this.codeActionsMap.clear()}fireCodeActionRun(m,_){this._onCodeActionRun.fire({id:m,range:_})}getCodeActions(){return Array.from(this.codeActionsMap.values())}deleteCodeActionById(m){this.codeActionsMap.delete(m)}registerCodeAction(m){var _;const{codeAction:s,id:g}=m;if(!s)return;const l={title:s.title||m.name,isAI:!0,isPreferred:(_=s.isPreferred)!==null&&_!==void 0?_:!0,kind:s.kind||"InlineChat",disabled:s.disabled,command:{id:o.AI_CODE_ACTION.id,title:s.title||m.name,arguments:[m.id]}};this.codeActionsMap.set(g,l)}};t.CodeActionService=p,t.CodeActionService=p=n.__decorate([(0,r.Injectable)()],p)},57232:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AIInlineCompletionsProvider=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(43718),p=n.__importStar(e(20868)),v=e(687),m=e(71863),_={line:-1,column:-1,last:null};class s{constructor(){this.queue=[]}addReq(h){this.queue.push(h)}runReq(){return this.queue.length===0?void 0:this.queue.pop().run()}cancelReq(){this.queue.length!==0&&(this.queue.forEach(h=>{h.cancelRequest()}),this.queue=[])}}let g=class extends c.WithEventBus{constructor(){super(),this.inlineComletionsDebounceTime=this.preferenceService.getValid(c.AINativeSettingSectionsId.IntelligentCompletionsDebounceTime,150),this.addDispose(this.preferenceService.onSpecificPreferenceChange(c.AINativeSettingSectionsId.IntelligentCompletionsDebounceTime,({newValue:h})=>{this.inlineComletionsDebounceTime=h})),this.mount()}mount(){this.isManual=!1,this.isDelEvent=!1,this.reqStack=new s}setVisibleCompletion(h){this.aiCompletionsService.setVisibleCompletion(h)}hideStatusBarItem(){this.aiCompletionsService.hideStatusBarItem()}cancelRequest(){this.aiCompletionsService.cancelRequest(),this.reqStack&&this.reqStack.cancelReq()}async provideInlineCompletionItems(h,u,d,E){if(d.triggerKind===p.InlineCompletionTriggerKind.Automatic&&_.column===u.column&&_.line===u.lineNumber&&_.last!==void 0)return _.column=-1,_.line=-1,_.last;this.cancelRequest(),this.hideStatusBarItem();const f=this.isManual;if(this.isDelEvent&&!f)return;this.updateIsManual(!1);const a=this.injector.get(v.InlineCompletionRequestTask,[h,u,E]);if(this.reqStack.addReq(a),f||await(0,c.raceCancellation)((0,c.sleep)(this.inlineComletionsDebounceTime),E),E?.isCancellationRequested)return;const b=await this.reqStack.runReq();if(b)return _.column=u.column,_.line=u.lineNumber,_.last={items:b},_.last}updateIsManual(h){this.isManual=h}};t.AIInlineCompletionsProvider=g,n.__decorate([(0,r.Autowired)(m.AICompletionsService),n.__metadata("design:type",m.AICompletionsService)],g.prototype,"aiCompletionsService",void 0),n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],g.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(o.PreferenceService),n.__metadata("design:type",Object)],g.prototype,"preferenceService",void 0),t.AIInlineCompletionsProvider=g=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],g)},2409:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineBasedCompletionModelConfigs=t.DEFAULT_COMPLECTION_MODEL=void 0;const n=e(71585);t.DEFAULT_COMPLECTION_MODEL={maxPromptTokenSize:3e3,maxExecuteTimeMillSecond:1e3,tokenizerName:n.TokenizerName.cl100k_base,wishList:{afterCursor:{enable:!0,attributeName:n.WishListAttributeName.afterCursor,extOption:{suffixPercent:.25,minBlockSize:25},priority:1,strategy:n.StrategyType.InterceptBasedOnLine},beforeCursor:{enable:!0,attributeName:n.WishListAttributeName.beforeCursor,extOption:{prefixPercent:.75,minBlockSize:75},priority:0,strategy:n.StrategyType.InterceptBasedOnLine},importedFile:{attributeName:n.WishListAttributeName.importedFile,enable:!0,extOption:{maxTime:200,importedFilesMaxNum:10,language:["typescript"],maxPercent:.8,patternPrefix:"Import Files from ",patternSuffix:`
31275
31275
  `},priority:3,strategy:n.StrategyType.InterceptBasedOnLine},languageMarker:{attributeName:n.WishListAttributeName.languageMarker,enable:!0,extOption:{language:["python","html"],maxPercent:0},priority:4,strategy:n.StrategyType.InterceptBasedOnLine},pathMarker:{attributeName:n.WishListAttributeName.pathMarker,enable:!0,priority:1,strategy:n.StrategyType.InterceptBasedOnLine},similarFile:{attributeName:n.WishListAttributeName.similarFile,enable:!0,extOption:{maxTime:200,fileMaxLength:5e3,maxPercent:.3,neighboringTabsMaxNum:20,neighboringTabsOption:[n.NeighboringTabsOption.openFileHistory,n.NeighboringTabsOption.editFileRecent,n.NeighboringTabsOption.editFileHistory],patternPrefix:"Compare this snippet from ",patternSuffix:`
31276
31276
  `,similarityThreshold:.6,snippetMaxNum:4,windowSize:60,snippetSelectionMode:n.SnippetSelectionOption.BestMatch},priority:2,strategy:n.StrategyType.InterceptBasedOnLine}}},t.lineBasedCompletionModelConfigs={completionPromptMaxLineSize:1024,completionSuffixMaxLineSize:500}},72991:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCompletionsController=void 0;const r=e(85608).__importDefault(e(12784)),o=e(57925),c=e(43718),p=e(57517),v=e(20868),m=e(52902),_=e(77714),s=e(37355),g=e(19413),l=e(77659),h=e(99906);class u extends h.BaseAIMonacoEditorController{constructor(){super(...arguments),this.sequencer=new c.Sequencer}static get(E){return E.getContribution(u.ID)}get eventBus(){return this.injector.get(c.IEventBus)}get commandService(){return this.injector.get(c.CommandService)}get aiInlineCompletionsProvider(){return this.injector.get(g.IAIInlineCompletionsProvider)}get intelligentCompletionsRegistry(){return this.injector.get(c.IntelligentCompletionsRegistryToken)}mount(){this.aiNativeContextKey=this.injector.get(l.AINativeContextKey,[this.monacoEditor.contextKeyService]);const E=()=>{this.aiInlineCompletionsProvider.hideStatusBarItem();const y=this.monacoEditor.getSelection();y&&(y.startLineNumber!==y.endLineNumber||y.startColumn!==y.endColumn)&&this.aiInlineCompletionsProvider.cancelRequest()},f=(0,r.default)(E,50,{maxWait:200,leading:!0,trailing:!0}),a=new Set([s.InlineCompletionContextKeys.inlineSuggestionVisible.key]);this.featureDisposable.addDispose(this.monacoEditor.contextKeyService.onDidChangeContext(y=>{y.affectsSome(a)&&!s.InlineCompletionContextKeys.inlineSuggestionVisible.getValue(this.monacoEditor.contextKeyService)&&this.preDidShowItems&&(0,c.runWhenIdle)(()=>{this.preDidShowItems=void 0,this.commandService.executeCommand(o.AI_INLINE_COMPLETION_VISIBLE.id,!1)})})),this.featureDisposable.addDispose(this.eventBus.on(p.EditorSelectionChangeEvent,y=>{y.payload.source==="mouse"?f():(f.cancel(),E())})),this.featureDisposable.addDispose(this.monacoEditor.onDidChangeModelContent(y=>{const A=y.changes;for(const S of A)S.text===_.empty?(this.aiInlineCompletionsProvider.isDelEvent=!0,this.aiInlineCompletionsProvider.cancelRequest()):this.aiInlineCompletionsProvider.isDelEvent=!1})),this.featureDisposable.addDispose(this.monacoEditor.onDidBlurEditorText(()=>{this.commandService.executeCommand(o.AI_INLINE_COMPLETION_VISIBLE.id,!1)}));let b;return this.featureDisposable.addDispose(m.monacoApi.languages.registerInlineCompletionsProvider("*",{groupId:"ai-native-intelligent-completions",provideInlineCompletions:async(y,A,S,w)=>{if(this.preDidShowItems){b||(b=A.delta(0,-1));const D=y.getValueInRange(v.Range.fromPositions(b,A));if(this.preDidShowItems.items[0].insertText.toString().startsWith(D))return this.preDidShowItems;b=void 0}return await this.sequencer.queue(()=>this.aiInlineCompletionsProvider.provideInlineCompletionItems(y,A,S,w))},freeInlineCompletions(){},handleItemDidShow:y=>{y.items.length>0&&(this.preDidShowItems=y,this.aiInlineCompletionsProvider.setVisibleCompletion(!0))}})),this.featureDisposable}async fetchProvider(E){const f=this.intelligentCompletionsRegistry.getInlineCompletionsProvider();if(!f||this.aiNativeContextKey.codeEditsIsVisible.get())return;const b=this.monacoEditor.getPosition();return await f(this.monacoEditor,b,E,this.token)}}t.InlineCompletionsController=u,u.ID="editor.contrib.ai.inline.completions"},687:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineCompletionRequestTask=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(57925),p=e(43718),v=e(52664),m=e(54414),_=e(51553),s=n.__importStar(e(20868)),g=e(74292),l=e(72991),h=e(64016),u=e(74151),d=e(71863),E=b=>{const y=new Set;for(const A of b)y.add(A);return y},f=(b,y)=>{let A="";const S=E(b);for(const w of y)(w===" "||!S.has(w))&&(A+=w);return A};let a=class extends p.Disposable{constructor(y,A,S){super(),this.model=y,this.position=A,this.token=S,this._disposables=new p.DisposableStore,this.isEnablePromptEngineering=!0,this.isCancelFlag=!1,this.isEnablePromptEngineering=this.preferenceService.getValid(p.AINativeSettingSectionsId.IntelligentCompletionsPromptEngineeringEnabled,this.isEnablePromptEngineering),this._disposables.add(this.preferenceService.onSpecificPreferenceChange(p.AINativeSettingSectionsId.IntelligentCompletionsPromptEngineeringEnabled,({newValue:w})=>{this.isEnablePromptEngineering=w}))}async constructRequestBean(y,A){const S=u.lineBasedPromptProcessor.processPrefix(y.prefix),w=u.lineBasedPromptProcessor.processSuffix(y.suffix);return{prompt:S,suffix:w,sessionId:(0,p.uuid)(),language:y.language,fileUrl:y.fileUrl,workspaceDir:y.workspaceDir}}async run(){const{model:y,position:A,token:S}=this;if(!y)return[];if(S.isCancellationRequested)return[];if(this.isCancelFlag)return[];const w=new s.Range(0,0,A.lineNumber,A.column);let T=y.getValueInRange(w);T===""&&(T+=`
31277
- `);const D=new s.Range(A.lineNumber,A.column,y.getLineCount(),Number.MAX_SAFE_INTEGER),I=y.getValueInRange(D),O=y.getLanguageId(),M={fileUrl:y.uri.fsPath,filename:y.uri.toString().split("/").pop(),language:O,prefix:T,suffix:I,uri:p.URI.from(y.uri),workspaceDir:this.appConfig.workspaceDir},R=await this.constructRequestBean(M,S);if(this.isCancelFlag)return[];const P=Date.now();let k;const F=this.promptCache.getCache(R),L=F?.relationId||this.aiReporter.start(v.AIServiceType.Completion,{message:v.AIServiceType.Completion});if(this.aiCompletionsService.setLastRelationId(L),F)k=F;else try{if(this.aiCompletionsService.updateStatusBarItem("running",!0),this.intelligentCompletionsRegistry.getInlineCompletionsProvider()){const j=this.workbenchEditorService.currentCodeEditor;if(!j)return[];const W=l.InlineCompletionsController.get(j.monacoEditor);k=await W?.fetchProvider(R)}else k=await this.aiCompletionsService.complete(R)}catch(B){return this.aiCompletionsService.reporterEnd(L,{success:!1,replytime:Date.now()-P,message:B.toString()}),this.aiCompletionsService.hideStatusBarItem(),[]}finally{this.aiCompletionsService.hideStatusBarItem()}return k?this.pushLineCompletions(k,R,P,L):[]}pushLineCompletions(y,A,S,w){var T;const{position:D}=this;if(this.aiCompletionsService.setLastSessionId(A.sessionId),!((T=y?.extra)===null||T===void 0)&&T.isCancel||this.token.isCancellationRequested||this.isCancelFlag)return this.aiCompletionsService.reporterEnd(w,{success:!0,replytime:Date.now()-S,isStop:!0,completionNum:0}),this.aiCompletionsService.updateStatusBarItem("canceled",!1),[];if(!y||!y.items||y.items.length===0)return this.aiCompletionsService.reporterEnd(w,{success:!0,replytime:Date.now()-S,completionNum:0}),this.aiCompletionsService.updateStatusBarItem("no result",!1),[];y.items.length>0&&this.promptCache.setCache(A,{...y,relationId:w}),this.aiCompletionsService.updateStatusBarItem("completion result: "+y.items.length,!1),this.dispose();const I=new Array;for(const O of y.items){const R=O.insertText.toString().trimEnd(),P=this.model,k=P.getValueInRange({startLineNumber:D.lineNumber,startColumn:D.column,endLineNumber:D.lineNumber,endColumn:P.getLineMaxColumn(D.lineNumber)}),F=f(R,k),L=R+F;this.aiCompletionsService.setLastCompletionContent(L),I.push({...O,insertText:L,range:new s.Range(D.lineNumber,D.column,D.lineNumber,D.column+R.length+k.length),sessionId:A.sessionId,relationId:w,command:{id:c.AI_INLINE_COMPLETION_REPORTER.id,title:"",arguments:[w,A.sessionId,!0,L]}})}return I}dispose(){this._disposables.dispose()}cancelRequest(){this.isCancelFlag=!0,this.dispose()}};t.InlineCompletionRequestTask=a,n.__decorate([(0,r.Autowired)(v.IAIReporter),n.__metadata("design:type",Object)],a.prototype,"aiReporter",void 0),n.__decorate([(0,r.Autowired)(h.PromptCache),n.__metadata("design:type",h.PromptCache)],a.prototype,"promptCache",void 0),n.__decorate([(0,r.Autowired)(d.AICompletionsService),n.__metadata("design:type",d.AICompletionsService)],a.prototype,"aiCompletionsService",void 0),n.__decorate([(0,r.Autowired)(o.PreferenceService),n.__metadata("design:type",Object)],a.prototype,"preferenceService",void 0),n.__decorate([(0,r.Autowired)(o.AppConfig),n.__metadata("design:type",Object)],a.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(p.IntelligentCompletionsRegistryToken),n.__metadata("design:type",g.IntelligentCompletionsRegistry)],a.prototype,"intelligentCompletionsRegistry",void 0),n.__decorate([(0,r.Autowired)(m.WorkbenchEditorService),n.__metadata("design:type",_.WorkbenchEditorServiceImpl)],a.prototype,"workbenchEditorService",void 0),t.InlineCompletionRequestTask=a=n.__decorate([(0,r.Injectable)({multiple:!0}),n.__metadata("design:paramtypes",[Object,s.Position,Object])],a)},64208:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_NEIGHBOR_AGGREGATE_LENGTH=t.EXCLUDED_NEIGHBORS=t.LANGUAGE_COMMENT_MARKERS=void 0,t.LANGUAGE_COMMENT_MARKERS={abap:{start:'"',end:""},bat:{start:"REM",end:""},bibtex:{start:"%",end:""},blade:{start:"#",end:""},c:{start:"//",end:""},clojure:{start:";",end:""},coffeescript:{start:"//",end:""},cpp:{start:"//",end:""},csharp:{start:"//",end:""},css:{start:"/*",end:"*/"},dart:{start:"//",end:""},dockerfile:{start:"#",end:""},elixir:{start:"#",end:""},erb:{start:"<%#",end:"%>"},erlang:{start:"%",end:""},fsharp:{start:"//",end:""},go:{start:"//",end:""},groovy:{start:"//",end:""},haml:{start:"-#",end:""},handlebars:{start:"{{!",end:"}}"},haskell:{start:"--",end:""},html:{start:"<!--",end:"-->"},ini:{start:";",end:""},java:{start:"//",end:""},javascript:{start:"//",end:""},javascriptreact:{start:"//",end:""},jsonc:{start:"//",end:""},jsx:{start:"//",end:""},julia:{start:"#",end:""},kotlin:{start:"//",end:""},latex:{start:"%",end:""},less:{start:"//",end:""},lua:{start:"--",end:""},makefile:{start:"#",end:""},markdown:{start:"[]: #",end:""},"objective-c":{start:"//",end:""},"objective-cpp":{start:"//",end:""},perl:{start:"#",end:""},php:{start:"//",end:""},powershell:{start:"#",end:""},pug:{start:"//",end:""},python:{start:"#",end:""},ql:{start:"//",end:""},r:{start:"#",end:""},razor:{start:"<!--",end:"-->"},ruby:{start:"#",end:""},rust:{start:"//",end:""},sass:{start:"//",end:""},scala:{start:"//",end:""},scss:{start:"//",end:""},shellscript:{start:"#",end:""},slim:{start:"/",end:""},solidity:{start:"//",end:""},sql:{start:"--",end:""},stylus:{start:"//",end:""},svelte:{start:"<!--",end:"-->"},swift:{start:"//",end:""},terraform:{start:"#",end:""},tex:{start:"%",end:""},typescript:{start:"//",end:""},typescriptreact:{start:"//",end:""},vb:{start:"'",end:""},verilog:{start:"//",end:""},"vue-html":{start:"<!--",end:"-->"},vue:{start:"//",end:""},xml:{start:"<!--",end:"-->"},xsl:{start:"<!--",end:"-->"},yaml:{start:"#",end:""},diff:{start:"#",end:""}},t.EXCLUDED_NEIGHBORS=["node_modules","dist","site-packages"],t.MAX_NEIGHBOR_AGGREGATE_LENGTH=2e5},68728:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImportedFile=t.extractLocalImportContext=t.getImportedFilesInterface=void 0;const n=e(43718),r=e(14951),o=e(55121),c=e(51500),p=e(85679),v=e(69056),m=async(g,l,h,u)=>{var d;const E=u.get(p.LanguageParserService);let f=[];const a=[],b=E.createParser(l.languageId);b&&(f=await b.extractImportPaths(g));const y=(d=h.maxTime)!==null&&d!==void 0?d:200,A=Date.now();for(const S of f){let w="";const T=l.uri.parent.codeUri.fsPath;if(!(S.startsWith("@/")||S.startsWith("~")||!S.startsWith("."))){S==="."?w=new o.Path(T).join("index.ts").toString():w=new o.Path(T).join(`${S}${v.LANGUAGE_TO_SUFFIX[l.languageId]}`).toString();try{const D=u.get(r.IFileServiceClient),I=u.get(c.IWorkspaceService),O=n.URI.file(w),M=await D.readFile(O.codeUri.fsPath),R=await b?.extractInterfaceOrTypeCode(M.content.toString());if(R&&R.length>0){const P=await I.asRelativePath(O);P?.path&&a.push([P.path,R])}}catch{}if(Date.now()-A>y)break}}return a};t.getImportedFilesInterface=m;const _=async(g,l,h)=>{const{source:u}=g;return g.languageId==="typescript"?(0,t.getImportedFilesInterface)(u,g,l,h):[]};t.extractLocalImportContext=_;const s=async(g,l,h)=>{if(g.language&&!l.language.includes(g.language))return[];const u=g.prefix;return(0,t.extractLocalImportContext)({source:u,uri:g.uri,languageId:g.language,offset:u.length},l,h)};t.getImportedFile=s},277:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FixedWindowSizeJaccardMatcher=t.getCursorContext=void 0;const n=e(71585),r=e(79253),o=e(64806),c=(m,_={})=>{const s={tokenizerName:n.TokenizerName.cl100k_base,..._},g=(0,o.getTokenizer)(s.tokenizerName);if(s.maxLineCount&&s.maxLineCount<0)throw new Error("maxLineCount must be non-negative if defined");if(s.maxTokenLength&&s.maxTokenLength<0)throw new Error("maxTokenLength must be non-negative if defined");if(s.maxLineCount===0||s.maxTokenLength===0)return{context:"",lineCount:0,tokenLength:0,tokenizerName:s.tokenizerName};let l=m.source.slice(0,m.offset);return s.maxLineCount&&(l=l.split(`
31277
+ `);const D=new s.Range(A.lineNumber,A.column,y.getLineCount(),Number.MAX_SAFE_INTEGER),I=y.getValueInRange(D),O=y.getLanguageId(),M={fileUrl:y.uri.fsPath,filename:y.uri.toString().split("/").pop(),language:O,prefix:T,suffix:I,uri:p.URI.from(y.uri),workspaceDir:this.appConfig.workspaceDir},R=await this.constructRequestBean(M,S);if(this.isCancelFlag)return[];const P=Date.now();let k;const F=this.promptCache.getCache(R),L=F?.relationId||this.aiReporter.start(v.AIServiceType.Completion,{message:v.AIServiceType.Completion});if(this.aiCompletionsService.setLastRelationId(L),F)k=F;else try{if(this.aiCompletionsService.updateStatusBarItem("running",!0),this.intelligentCompletionsRegistry.getInlineCompletionsProvider()){const j=this.workbenchEditorService.currentCodeEditor;if(!j)return[];const W=l.InlineCompletionsController.get(j.monacoEditor);k=await W?.fetchProvider(R)}else k=await this.aiCompletionsService.complete(R)}catch(B){return this.aiCompletionsService.reporterEnd(L,{success:!1,replytime:Date.now()-P,message:B.toString()}),this.aiCompletionsService.hideStatusBarItem(),[]}finally{this.aiCompletionsService.hideStatusBarItem()}return k?this.pushLineCompletions(k,R,P,L):[]}pushLineCompletions(y,A,S,w){var T;const{position:D}=this;if(this.aiCompletionsService.setLastSessionId(A.sessionId),!((T=y?.extra)===null||T===void 0)&&T.isCancel||this.token.isCancellationRequested||this.isCancelFlag)return this.aiCompletionsService.reporterEnd(w,{success:!0,replytime:Date.now()-S,isStop:!0,completionNum:0}),this.aiCompletionsService.updateStatusBarItem("canceled",!1),[];if(!y||!y.items||y.items.length===0)return this.aiCompletionsService.reporterEnd(w,{success:!0,replytime:Date.now()-S,completionNum:0}),this.aiCompletionsService.updateStatusBarItem("no result",!1),[];y.items.length>0&&this.promptCache.setCache(A,{...y,relationId:w}),this.aiCompletionsService.updateStatusBarItem("completion result: "+y.items.length,!1),this.dispose();const I=new Array;for(const O of y.items){const R=O.insertText.toString().trimEnd(),P=this.model,k=P.getValueInRange({startLineNumber:D.lineNumber,startColumn:D.column,endLineNumber:D.lineNumber,endColumn:P.getLineMaxColumn(D.lineNumber)}),F=f(R,k),L=R+F;this.aiCompletionsService.setLastCompletionContent(L),I.push({...O,insertText:L,range:new s.Range(D.lineNumber,D.column,D.lineNumber,D.column+R.length+k.length),sessionId:A.sessionId,relationId:w,command:{id:c.AI_INLINE_COMPLETION_REPORTER.id,title:"",arguments:[w,A.sessionId,!0,L]}})}return I}dispose(){this._disposables.dispose()}cancelRequest(){this.isCancelFlag=!0,this.dispose()}};t.InlineCompletionRequestTask=a,n.__decorate([(0,r.Autowired)(v.IAIReporter),n.__metadata("design:type",Object)],a.prototype,"aiReporter",void 0),n.__decorate([(0,r.Autowired)(h.PromptCache),n.__metadata("design:type",h.PromptCache)],a.prototype,"promptCache",void 0),n.__decorate([(0,r.Autowired)(d.AICompletionsService),n.__metadata("design:type",d.AICompletionsService)],a.prototype,"aiCompletionsService",void 0),n.__decorate([(0,r.Autowired)(o.PreferenceService),n.__metadata("design:type",Object)],a.prototype,"preferenceService",void 0),n.__decorate([(0,r.Autowired)(o.AppConfig),n.__metadata("design:type",Object)],a.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(p.IntelligentCompletionsRegistryToken),n.__metadata("design:type",g.IntelligentCompletionsRegistry)],a.prototype,"intelligentCompletionsRegistry",void 0),n.__decorate([(0,r.Autowired)(m.WorkbenchEditorService),n.__metadata("design:type",_.WorkbenchEditorServiceImpl)],a.prototype,"workbenchEditorService",void 0),t.InlineCompletionRequestTask=a=n.__decorate([(0,r.Injectable)({multiple:!0}),n.__metadata("design:paramtypes",[Object,s.Position,Object])],a)},64208:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_NEIGHBOR_AGGREGATE_LENGTH=t.EXCLUDED_NEIGHBORS=t.LANGUAGE_COMMENT_MARKERS=void 0,t.LANGUAGE_COMMENT_MARKERS={abap:{start:'"',end:""},bat:{start:"REM",end:""},bibtex:{start:"%",end:""},blade:{start:"#",end:""},c:{start:"//",end:""},clojure:{start:";",end:""},coffeescript:{start:"//",end:""},cpp:{start:"//",end:""},csharp:{start:"//",end:""},css:{start:"/*",end:"*/"},dart:{start:"//",end:""},dockerfile:{start:"#",end:""},elixir:{start:"#",end:""},erb:{start:"<%#",end:"%>"},erlang:{start:"%",end:""},fsharp:{start:"//",end:""},go:{start:"//",end:""},groovy:{start:"//",end:""},haml:{start:"-#",end:""},handlebars:{start:"{{!",end:"}}"},haskell:{start:"--",end:""},html:{start:"<!--",end:"-->"},ini:{start:";",end:""},java:{start:"//",end:""},javascript:{start:"//",end:""},javascriptreact:{start:"//",end:""},jsonc:{start:"//",end:""},jsx:{start:"//",end:""},julia:{start:"#",end:""},kotlin:{start:"//",end:""},latex:{start:"%",end:""},less:{start:"//",end:""},lua:{start:"--",end:""},makefile:{start:"#",end:""},markdown:{start:"[]: #",end:""},"objective-c":{start:"//",end:""},"objective-cpp":{start:"//",end:""},perl:{start:"#",end:""},php:{start:"//",end:""},powershell:{start:"#",end:""},pug:{start:"//",end:""},python:{start:"#",end:""},ql:{start:"//",end:""},r:{start:"#",end:""},razor:{start:"<!--",end:"-->"},ruby:{start:"#",end:""},rust:{start:"//",end:""},sass:{start:"//",end:""},scala:{start:"//",end:""},scss:{start:"//",end:""},shellscript:{start:"#",end:""},slim:{start:"/",end:""},solidity:{start:"//",end:""},sql:{start:"--",end:""},stylus:{start:"//",end:""},svelte:{start:"<!--",end:"-->"},swift:{start:"//",end:""},terraform:{start:"#",end:""},tex:{start:"%",end:""},typescript:{start:"//",end:""},typescriptreact:{start:"//",end:""},vb:{start:"'",end:""},verilog:{start:"//",end:""},"vue-html":{start:"<!--",end:"-->"},vue:{start:"//",end:""},xml:{start:"<!--",end:"-->"},xsl:{start:"<!--",end:"-->"},yaml:{start:"#",end:""},diff:{start:"#",end:""}},t.EXCLUDED_NEIGHBORS=["node_modules","dist","site-packages"],t.MAX_NEIGHBOR_AGGREGATE_LENGTH=2e5},68728:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImportedFile=t.extractLocalImportContext=t.getImportedFilesInterface=void 0;const n=e(43718),r=e(14951),o=e(55121),c=e(51500),p=e(85679),v=async(s,g,l,h)=>{var u;const d=h.get(p.LanguageParserService);let E=[];const f=[],a=d.createParser(g.languageId);a&&(E=await a.extractImportPaths(s));const b=(u=l.maxTime)!==null&&u!==void 0?u:200,y=Date.now();for(const A of E){let S="";const w=g.uri.parent.codeUri.fsPath;if(!(A.startsWith("@/")||A.startsWith("~")||!A.startsWith("."))){A==="."?S=new o.Path(w).join("index.ts").toString():S=new o.Path(w).join(`${A}${n.LANGUAGE_TO_SUFFIX[g.languageId]}`).toString();try{const T=h.get(r.IFileServiceClient),D=h.get(c.IWorkspaceService),I=n.URI.file(S),O=await T.readFile(I.codeUri.fsPath),M=await a?.extractInterfaceOrTypeCode(O.content.toString());if(M&&M.length>0){const R=await D.asRelativePath(I);R?.path&&f.push([R.path,M])}}catch{}if(Date.now()-y>b)break}}return f};t.getImportedFilesInterface=v;const m=async(s,g,l)=>{const{source:h}=s;return s.languageId==="typescript"?(0,t.getImportedFilesInterface)(h,s,g,l):[]};t.extractLocalImportContext=m;const _=async(s,g,l)=>{if(s.language&&!g.language.includes(s.language))return[];const h=s.prefix;return(0,t.extractLocalImportContext)({source:h,uri:s.uri,languageId:s.language,offset:h.length},g,l)};t.getImportedFile=_},277:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FixedWindowSizeJaccardMatcher=t.getCursorContext=void 0;const n=e(71585),r=e(79253),o=e(64806),c=(m,_={})=>{const s={tokenizerName:n.TokenizerName.cl100k_base,..._},g=(0,o.getTokenizer)(s.tokenizerName);if(s.maxLineCount&&s.maxLineCount<0)throw new Error("maxLineCount must be non-negative if defined");if(s.maxTokenLength&&s.maxTokenLength<0)throw new Error("maxTokenLength must be non-negative if defined");if(s.maxLineCount===0||s.maxTokenLength===0)return{context:"",lineCount:0,tokenLength:0,tokenizerName:s.tokenizerName};let l=m.source.slice(0,m.offset);return s.maxLineCount&&(l=l.split(`
31278
31278
  `).slice(-s.maxLineCount).join(`
31279
31279
  `)),{context:l,lineCount:l.split(`
31280
- `).length,tokenLength:g.encode(l).length,tokenizerName:s.tokenizerName}};t.getCursorContext=c;const p=(m,_)=>{const s=[],g=_.length;if(g===0)return[];if(g<m)return[[0,g]];for(let l=0;l<g-m+1;l++)s.push([l,l+m]);return s};class v extends r.WindowedMatcher{static factory(_){return{to:s=>new v(s,_)}}constructor(_,s){super(_),this.windowLength=s}id(){return`fixed:${this.windowLength}`}getWindowsDelineations(_){return p(this.windowLength,_)}getCursorContextInfo(_){return(0,t.getCursorContext)(_,{maxLineCount:this.windowLength})}similarityScore(_,s){return(0,r.computeScore)(_,s)}}t.FixedWindowSizeJaccardMatcher=v},69056:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LANGUAGE_TO_SUFFIX=void 0,t.LANGUAGE_TO_SUFFIX={abap:".abap",bat:".bat",bibtex:".bib",c:".c",clojure:".clj",coffeescript:".coffee",cpp:".cpp",csharp:".cs",css:".css","cuda-cpp":".cu",dart:".dart",diff:".diff",dockerfile:".dockerfile",fsharp:".fs",go:".go",groovy:".groovy",haml:".haml",handlebars:".handlebars",hlsl:".hlsl",html:".html",ini:".ini",jade:".jade",java:".java",javascript:".js",javascriptreact:".jsx",json:".json",julia:".jl",latex:".tex",less:".less",lua:".lua",makefile:".make",markdown:".md","objective-c":".m","objective-cpp":".mm",perl:".pl",perl6:".6pl",php:".php",plaintext:".txt",powershell:".ps1",pug:".pug",python:".py",r:".r",razor:".cshtml",ruby:".rb",rust:".rs",sass:".sass",scss:".scss",shaderlab:".shader",shellscript:".sh",slim:".slim",sql:".sql",stylus:".styl",swift:".swift",tex:".tex",typescript:".ts",typescriptreact:".tsx",vb:".vb",vue:".vue",xml:".xml",xsl:".xsl",yaml:".yaml"}},79253:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WindowedMatcher=t.TokensCache=void 0,t.computeScore=l;const n=e(71585);class r{constructor(u){this.keys=[],this.cache={},this.size=u}put(u,d){var E;if(this.cache[u]=d,this.keys.includes(u)||this.keys.push(u),this.keys.length>this.size){const f=(E=this.keys.shift())!==null&&E!==void 0?E:"";delete this.cache[f]}}get(u){return this.cache[u]}}t.TokensCache=r;const o=new Set(["we","our","you","it","its","they","them","their","this","that","these","those","is","are","was","were","be","been","being","have","has","had","having","do","does","did","doing","can","don","t","s","will","would","should","what","which","who","when","where","why","how","a","an","the","and","or","not","no","but","because","as","until","again","further","then","once","here","there","all","any","both","each","few","more","most","other","some","such","above","below","to","during","before","after","of","at","by","about","between","into","through","from","up","down","in","out","on","off","over","under","only","own","same","so","than","too","very","just","now"]),c=new Set(["if","then","else","for","while","with","def","function","return","TODO","import","try","catch","raise","finally","repeat","switch","case","match","assert","continue","break","const","class","enum","struct","static","new","super","this","var"]),p=new Set([...o,...c]),v=new Map;function m(h){return h.split(/[^a-zA-Z0-9]/).filter(u=>u.length>0)}class _{constructor(u){var d;this.stopsForLanguage=(d=v.get(u.languageId))!==null&&d!==void 0?d:p}tokenize(u){return new Set(m(u).filter(d=>!this.stopsForLanguage.has(d)))}}const s=new r(20);class g{constructor(u){this.referenceDoc=u,this.tokenizer=new _(u)}get referenceTokens(){return this.referenceTokensCache||(this.referenceTokensCache=new Set(this.tokenizer.tokenize(this.getCursorContextInfo(this.referenceDoc).context))),this.referenceTokensCache}sortScoredSnippets(u,d=n.SortOption.Descending){return d===n.SortOption.Ascending?u.sort((E,f)=>E.score>f.score?1:-1):d===n.SortOption.Descending?u.sort((E,f)=>E.score>f.score?-1:1):u}retrieveAllSnippets(u,d=n.SortOption.Descending){var E;const f=[];if(!u.source.length||!this.referenceTokens.size)return f;const a=u.source.split(`
31280
+ `).length,tokenLength:g.encode(l).length,tokenizerName:s.tokenizerName}};t.getCursorContext=c;const p=(m,_)=>{const s=[],g=_.length;if(g===0)return[];if(g<m)return[[0,g]];for(let l=0;l<g-m+1;l++)s.push([l,l+m]);return s};class v extends r.WindowedMatcher{static factory(_){return{to:s=>new v(s,_)}}constructor(_,s){super(_),this.windowLength=s}id(){return`fixed:${this.windowLength}`}getWindowsDelineations(_){return p(this.windowLength,_)}getCursorContextInfo(_){return(0,t.getCursorContext)(_,{maxLineCount:this.windowLength})}similarityScore(_,s){return(0,r.computeScore)(_,s)}}t.FixedWindowSizeJaccardMatcher=v},79253:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WindowedMatcher=t.TokensCache=void 0,t.computeScore=l;const n=e(71585);class r{constructor(u){this.keys=[],this.cache={},this.size=u}put(u,d){var E;if(this.cache[u]=d,this.keys.includes(u)||this.keys.push(u),this.keys.length>this.size){const f=(E=this.keys.shift())!==null&&E!==void 0?E:"";delete this.cache[f]}}get(u){return this.cache[u]}}t.TokensCache=r;const o=new Set(["we","our","you","it","its","they","them","their","this","that","these","those","is","are","was","were","be","been","being","have","has","had","having","do","does","did","doing","can","don","t","s","will","would","should","what","which","who","when","where","why","how","a","an","the","and","or","not","no","but","because","as","until","again","further","then","once","here","there","all","any","both","each","few","more","most","other","some","such","above","below","to","during","before","after","of","at","by","about","between","into","through","from","up","down","in","out","on","off","over","under","only","own","same","so","than","too","very","just","now"]),c=new Set(["if","then","else","for","while","with","def","function","return","TODO","import","try","catch","raise","finally","repeat","switch","case","match","assert","continue","break","const","class","enum","struct","static","new","super","this","var"]),p=new Set([...o,...c]),v=new Map;function m(h){return h.split(/[^a-zA-Z0-9]/).filter(u=>u.length>0)}class _{constructor(u){var d;this.stopsForLanguage=(d=v.get(u.languageId))!==null&&d!==void 0?d:p}tokenize(u){return new Set(m(u).filter(d=>!this.stopsForLanguage.has(d)))}}const s=new r(20);class g{constructor(u){this.referenceDoc=u,this.tokenizer=new _(u)}get referenceTokens(){return this.referenceTokensCache||(this.referenceTokensCache=new Set(this.tokenizer.tokenize(this.getCursorContextInfo(this.referenceDoc).context))),this.referenceTokensCache}sortScoredSnippets(u,d=n.SortOption.Descending){return d===n.SortOption.Ascending?u.sort((E,f)=>E.score>f.score?1:-1):d===n.SortOption.Descending?u.sort((E,f)=>E.score>f.score?-1:1):u}retrieveAllSnippets(u,d=n.SortOption.Descending){var E;const f=[];if(!u.source.length||!this.referenceTokens.size)return f;const a=u.source.split(`
31281
31281
  `),b=`${this.id()}:${u.source}`,y=(E=s.get(b))!==null&&E!==void 0?E:[],A=!y.length,S=A?a.map(w=>this.tokenizer.tokenize(w),this.tokenizer):[];for(const[w,[T,D]]of this.getWindowsDelineations(a).entries()){if(A){const M=new Set;S.slice(T,D).forEach(R=>R.forEach(P=>M.add(P))),y.push(M)}const I=y[w],O=this.similarityScore(I,this.referenceTokens);f.push({score:O,startLine:T,endLine:D})}return A&&s.put(b,y),this.sortScoredSnippets(f,d)}findMatches(u,d=n.SnippetSelectionOption.BestMatch,E){if(d===n.SnippetSelectionOption.BestMatch){const f=this.findBestMatch(u);return f?[f]:[]}return d===n.SnippetSelectionOption.TopK?this.findTopKMatches(u,E):[]}findBestMatch(u){if(!u.source.length||!this.referenceTokens.size)return;const d=u.source.split(`
31282
31282
  `),E=this.retrieveAllSnippets(u,n.SortOption.Descending);return E.length!==0&&E[0].score!==0?{snippet:d.slice(E[0].startLine,E[0].endLine).join(`
31283
31283
  `),semantics:n.SnippetSemantics.Snippet,...E[0]}:null}findTopKMatches(u,d=1){if(!u.source.length||!this.referenceTokens.size||d<1)return;const E=u.source.split(`
@@ -31499,8 +31499,8 @@ Please check your code, and remove the rpc proxy reference.`)}}t.SumiConnection=
31499
31499
  `,"auto"],default:"auto"},"files.trimFinalNewlines":{type:"boolean",default:!1},"files.trimTrailingWhitespace":{type:"boolean",default:!1},"files.insertFinalNewline":{type:"boolean",default:!1},"files.autoGuessEncoding":{type:"boolean",default:!1,description:"%preference.files.autoGuessEncoding%",included:Object.keys(n.SUPPORTED_ENCODINGS).length>1},"settings.userBeforeWorkspace":{type:"boolean",default:!1,description:"%settings.configuration.userBeforeWorkspace%"},"output.maxChannelLine":{type:"number",default:5e4,description:"%output.maxChannelLineDesc%"},"output.enableLogHighlight":{type:"boolean",default:!0,description:"%output.enableLogHighlightDesc%"},"output.enableSmartScroll":{type:"boolean",default:!0,description:"%output.enableSmartScrollDesc%"},"debug.inline.values":{type:"boolean",default:!1},"debug.console.wordWrap":{type:"boolean",default:!0},"toolbar.ignoreActions":{type:"object",patternProperties:{".*":{type:"array",items:[{type:"string"}]}},description:"%preference.toolbar.ignoreActions%"},"toolbar.buttonDisplay":{type:"string",enum:["icon","iconAndText"],default:"iconAndText",description:"%preference.toolbar.buttonDisplay%"},"toolbar.buttonTitleStyle":{type:"string",enum:["vertical","horizontal"],default:"horizontal"},"view.saveLayoutWithWorkspace":{type:"boolean",default:!1},"menubar.compactMode":{type:"boolean",default:!1},"editor.codeActionWidget.showHeaders":{type:"boolean",default:!0},"mergeEditor.autoApplyNonConflictChanges":{type:"boolean",default:!1}}},t.CorePreferences=Symbol("CorePreferences");function v(m){m.addProviders({token:t.CorePreferences,useFactory:_=>{const s=_.get(c.PreferenceService);return(0,c.createPreferenceProxy)(s,t.corePreferenceSchema)}})}},2758:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignStyleService=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=e(76003),c="design-";let p=class{get styles(){return this._styles}setStyles(m){this._styles=m}wrapStyles(m,_){return this._styles?m?(0,r.default)(m,this._styles[c+_]):"":m||""}};t.DesignStyleService=p,t.DesignStyleService=p=n.__decorate([(0,o.Injectable)()],p)},80832:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(2758),t),n.__exportStar(e(66597),t),n.__exportStar(e(68576),t)},68576:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StackingLevelStr=t.StackingLevel=void 0,t.StackingLevel=Object.freeze({Background:0,Workbench:1,Toolbar:2,XtermDecoration:8,ToolbarDropdown:10,EditorTabbarCurrent:11,ResizeHandle:12,EditorTabbarOverlay:15,EditorFloatingContainer:20,FindWidget:25,Popup:100,Overlay:800,PopoverComponent:999,PopoverComponentArrow:1e3,OverlayTop:1e3}),t.StackingLevelStr=Object.fromEntries(Object.entries(t.StackingLevel).map(([e,n])=>[e,n.toString()]))},66597:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IDesignStyleService=void 0,t.IDesignStyleService=Symbol("IDesignStyleService")},4246:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withPrevented=e;function e(n){return r=>{r.preventDefault(),r.stopPropagation(),n&&n(r)}}},19636:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(70392);class r{constructor(b,y){this._runner=b,this.priority=y,this._disposed=!1}run(){if(!this._disposed)try{this._runner()}catch(b){(0,n.onUnexpectedError)(b)}}dispose(){this._disposed=!0}}const o=new n.Heap({comparator:(a,b)=>b.priority-a.priority}),c=new n.Heap({comparator:(a,b)=>b.priority-a.priority});let p=o,v=c;function m(){p===o?(p=c,v=o):(p=o,v=c)}let _,s=!1;function g(){for(_=void 0,s=!0,m();p.size>0;)p.pop().run();s=!1}function l(){_||(_=requestAnimationFrame(g))}function h(a){s?p.add(a):v.add(a)}function u(a){const b=new r(a,1e4);return h(b),l(),b}function d(a){const b=new r(a,-1e4);return h(b),l(),b}function E(a){const b=new r(a,1e4);return v.add(b),l(),b}const f={measure:u,measureAtNextFrame:E,mutate:d};t.default=f},22366:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MouseEventButton=t.fastdom=t.FocusTracker=t.DomListener=t.EventType=void 0,t.isAncestor=p,t.addDisposableListener=m,t.trackFocus=s,t.createClassNameTokens=g,t.addClassName=l;const n=e(85608),r=e(43718),o=e(77714),c=n.__importDefault(e(19636));t.fastdom=c.default,n.__exportStar(e(4246),t),t.EventType={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:r.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:r.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:r.isWebKit?"webkitAnimationIteration":"animationiteration"};function p(h,u){for(;h;){if(h===u)return!0;h=h.parentNode}return!1}class v{constructor(u,d,E,f){this._node=u,this._type=d,this._handler=E,this._useCapture=f||!1,this._node.addEventListener(this._type,this._handler,this._useCapture)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._useCapture),this._node=null,this._handler=null)}}t.DomListener=v;function m(h,u,d,E){return new v(h,u,d,E)}class _ extends r.Disposable{constructor(u){super(),this.didFocus=new r.Emitter,this.onDidFocus=this.didFocus.event,this.didBlur=new r.Emitter,this.onDidBlur=this.didBlur.event;let d=p(document.activeElement,u),E=!1;const f=()=>{E=!1,d||(d=!0,this.didFocus.fire())},a=()=>{d&&(E=!0,window.setTimeout(()=>{E&&(E=!1,d=!1,this.didBlur.fire())},0))};this.addDispose(this.didBlur),this.addDispose(this.didFocus),this.addDispose(new v(u,t.EventType.FOCUS,f,!0)),this.addDispose(new v(u,t.EventType.BLUR,a,!0))}}t.FocusTracker=_;function s(h){return new _(h)}t.MouseEventButton={Left:0,Middle:1,Right:2,Back:3,Forward:4};function g(h){return h.split(o.space).filter(Boolean)}function l(h,u){const d=g(u);h.classList.add(...d)}},5910:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodingRegistry=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(78132),p=e(63214);let v=class{constructor(){this.encodingOverrides=[]}registerOverride(_){return this.encodingOverrides.push(_),o.Disposable.create(()=>{const s=this.encodingOverrides.indexOf(_);s!==-1&&this.encodingOverrides.splice(s,1)})}getEncodingForResource(_,s){let g;const l=this.getEncodingOverride(_);return l?g=l:s?g=s:g=this.preferenceService.get("files.encoding",void 0,_.toString(),(0,p.getLanguageIdFromMonaco)(_)||void 0)||"",!g||!(0,o.encodingExists)(g)?o.UTF8:g}getEncodingOverride(_){if(this.encodingOverrides&&this.encodingOverrides.length){for(const s of this.encodingOverrides)if(s.parent&&_.isEqualOrParent(s.parent)||s.extension&&_.path.ext===`.${s.extension}`||s.scheme&&s.scheme===_.scheme)return s.encoding}}};t.EncodingRegistry=v,n.__decorate([(0,r.Autowired)(c.PreferenceService),n.__metadata("design:type",Object)],v.prototype,"preferenceService",void 0),t.EncodingRegistry=v=n.__decorate([(0,r.Injectable)()],v)},35018:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionsPointServiceImpl=t.OPENSUMI_EXTENSION_JSON_URI=t.EXTENSION_JSON_URI=void 0;const n=e(85608),r=n.__importDefault(e(56757)),o=n.__importDefault(e(46123)),c=n.__importDefault(e(52103)),p=n.__importDefault(e(41263)),v=e(76003),m=e(22689),_=e(14790),s=e(96702);t.EXTENSION_JSON_URI="vscode://schemas/vscode-extensions",t.OPENSUMI_EXTENSION_JSON_URI="vscode://schemas/opensumi-extensions";let g=class{registerSchema(){this.schemaRegistry.registerSchema(t.OPENSUMI_EXTENSION_JSON_URI,_.OpenSumiExtensionPackageSchema,["package.json"]),this.schemaRegistry.registerSchema(t.EXTENSION_JSON_URI,s.VSCodeExtensionPackageSchema,["package.json"])}appendPropertiesFactory(h){const u=h==="opensumi"?_.OpenSumiExtensionPackageSchema.properties.sumiContributes.properties:s.VSCodeExtensionPackageSchema.properties.contributes.properties;return(d,E)=>{const{extensionPoint:f,jsonSchema:a}=E,b=d.concat(f).filter(Boolean);if((0,c.default)(u,b)){const y=(0,o.default)(u,b.concat("properties"));(0,r.default)(a.properties,y)}(0,p.default)(u,b,a)}}appendOpenSumiProperties(h,u){this.appendPropertiesFactory("opensumi")(h,u)}appendVScodeProperties(h,u){this.appendPropertiesFactory("vscode")(h,u)}appendExtensionPoint(h,u){if(!u)return;const{frameworkKind:d=["vscode"]}=u;d.includes("opensumi")&&this.appendOpenSumiProperties(h,u),d.includes("vscode")&&this.appendVScodeProperties(h,u),this.registerSchema()}registerExtensionPoint(h){h&&this.appendExtensionPoint([],h)}};t.ExtensionsPointServiceImpl=g,n.__decorate([(0,v.Autowired)(m.IJSONSchemaRegistry),n.__metadata("design:type",Object)],g.prototype,"schemaRegistry",void 0),t.ExtensionsPointServiceImpl=g=n.__decorate([(0,v.Injectable)()],g)},23396:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(35018),t),n.__exportStar(e(96702),t),n.__exportStar(e(14790),t)},21634:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserViews=void 0;const n=e(43718);var r;(function(o){o.properties={type:"object",required:["type","view"],defaultSnippets:[{label:"type",bodyText:JSON.stringify({type:"${1:add}",view:[{id:"${2}"}]},null," ")}],properties:{type:{type:"string",enum:["add","replace"]},view:{type:"array",items:{type:"object",required:["id"],defaultSnippets:[{label:'{"id":""}',description:"",bodyText:JSON.stringify({id:"${3}"},null," ")}],properties:{id:{type:"string",description:(0,n.localize)("sumiContributes.browserViews.view.id")},icon:{type:"string",markdownDescription:(0,n.localize)("sumiContributes.browserViews.view.icon")},iconPath:{type:"string",description:(0,n.localize)("sumiContributes.browserViews.view.iconPath")},title:{type:"string",description:(0,n.localize)("sumiContributes.browserViews.view.title")},titleComponentId:{type:"string",description:(0,n.localize)("sumiContributes.browserViews.view.titleComponentId")},expanded:{type:"boolean",description:(0,n.localize)("sumiContributes.browserViews.view.expanded")}}}}}},o.schema={description:(0,n.localize)("sumiContributes.browserViews"),type:"object",properties:{left:{...o.properties,description:(0,n.localize)("sumiContributes.browserViews.left")},right:{...o.properties,description:(0,n.localize)("sumiContributes.browserViews.right")},bottom:{...o.properties,description:(0,n.localize)("sumiContributes.browserViews.bottom")}}}})(r||(t.browserViews=r={}))},57559:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.menus=void 0;const n=e(43718),r=e(93899),o={type:"object",required:["command"],defaultSnippets:[{body:{command:"${1}"}}],properties:{command:{description:(0,n.localize)("sumiContributes.common.command"),type:"string"},when:{description:(0,n.localize)("sumiContributes.common.when"),type:"string"},group:{description:(0,n.localize)("sumiContributes.common.group"),type:"string"}}},c={type:"object",required:["id","title"],properties:{id:{description:(0,n.localize)("sumiContributes.submenus.id"),type:"string"},title:{description:(0,n.localize)("sumiContributes.submenus.title"),type:"string"},group:{description:(0,n.localize)("sumiContributes.common.group"),type:"string"},when:{type:"string",description:(0,n.localize)("sumiContributes.common.when")},icon:{description:(0,n.localize)("sumiContributes.submenus.icon"),anyOf:[{type:"string"},{type:"object",properties:{light:{description:(0,n.localize)("sumiContributes.submenus.icon.light"),type:"string"},dark:{description:(0,n.localize)("sumiContributes.submenus.dark"),type:"string"}}}]}}},p=[{id:r.MenuId.CommandPalette,description:(0,n.localize)("sumiContributes.menu.api.CommandPalette")},{id:r.MenuId.ActivityBarExtra,description:(0,n.localize)("sumiContributes.menu.api.ActivityBarExtra")},{id:r.MenuId.ActivityBarTopExtra,description:(0,n.localize)("sumiContributes.menu.api.ActivityBarTopExtra")},{id:r.MenuId.DebugBreakpointsContext,description:(0,n.localize)("sumiContributes.menu.api.DebugBreakpointsContext")},{id:r.MenuId.DebugCallStackContext,description:(0,n.localize)("sumiContributes.menu.api.DebugCallStackContext")},{id:r.MenuId.DebugConsoleContext,description:(0,n.localize)("sumiContributes.menu.api.DebugConsoleContext")},{id:r.MenuId.DebugVariablesContext,description:(0,n.localize)("sumiContributes.menu.api.DebugVariablesContext")},{id:r.MenuId.DebugWatchContext,description:(0,n.localize)("sumiContributes.menu.api.DebugWatchContext")},{id:r.MenuId.DebugToolBar,description:(0,n.localize)("sumiContributes.menu.api.DebugToolBar")},{id:r.MenuId.EditorContext,description:(0,n.localize)("sumiContributes.menu.api.EditorContext")},{id:r.MenuId.EditorTitle,description:(0,n.localize)("sumiContributes.menu.api.EditorTitle")},{id:r.MenuId.EditorTitleContext,description:(0,n.localize)("sumiContributes.menu.api.EditorTitleContext")},{id:r.MenuId.ExplorerContext,description:(0,n.localize)("sumiContributes.menu.api.ExplorerContext")},{id:r.MenuId.MenubarAppMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarAppMenu")},{id:r.MenuId.MenubarEditMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarEditMenu")},{id:r.MenuId.MenubarFileMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarFileMenu")},{id:r.MenuId.MenubarGoMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarGoMenu")},{id:r.MenuId.MenubarHelpMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarHelpMenu")},{id:r.MenuId.MenubarViewMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarViewMenu")},{id:r.MenuId.MenubarSelectionMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarSelectionMenu")},{id:r.MenuId.MenubarTerminalMenu,description:(0,n.localize)("sumiContributes.menu.api.MenubarTerminalMenu")},{id:r.MenuId.TerminalInstanceContext,description:(0,n.localize)("sumiContributes.menu.api.TerminalInstanceContext")},{id:r.MenuId.TerminalNewDropdownContext,description:(0,n.localize)("sumiContributes.menu.api.TerminalNewDropdownContext")},{id:r.MenuId.TerminalTabContext,description:(0,n.localize)("sumiContributes.menu.api.TerminalTabContext")},{id:r.MenuId.OpenEditorsContext,description:(0,n.localize)("sumiContributes.menu.api.OpenEditorsContext")},{id:r.MenuId.SCMResourceContext,description:(0,n.localize)("sumiContributes.menu.api.SCMResourceContext")},{id:r.MenuId.SCMResourceGroupContext,description:(0,n.localize)("sumiContributes.menu.api.SCMResourceGroupContext")},{id:r.MenuId.SCMResourceFolderContext,description:(0,n.localize)("sumiContributes.menu.api.SCMResourceFolderContext")},{id:r.MenuId.SCMTitle,description:(0,n.localize)("sumiContributes.menu.api.SCMTitle")},{id:r.MenuId.SCMInput,description:(0,n.localize)("sumiContributes.menu.api.SCMInput")},{id:r.MenuId.SearchContext,description:(0,n.localize)("sumiContributes.menu.api.SearchContext")},{id:r.MenuId.StatusBarContext,description:(0,n.localize)("sumiContributes.menu.api.StatusBarContext")},{id:r.MenuId.ViewItemContext,description:(0,n.localize)("sumiContributes.menu.api.ViewItemContext")},{id:r.MenuId.ViewTitle,description:(0,n.localize)("sumiContributes.menu.api.ViewTitle")},{id:r.MenuId.SettingsIconMenu,description:(0,n.localize)("sumiContributes.menu.api.SettingsIconMenu")}],v=(_,s,g)=>_.reduce((l,h)=>(l[s(h)]=g?g(h):h,l),Object.create(null));var m;(function(_){_.schema={description:(0,n.localize)("sumiContributes.menu"),type:"object",properties:v(p,s=>s.id,s=>({type:"array",description:s.description,items:o}))},_.subMenusSchema={description:(0,n.localize)("sumiContributes.submenus"),type:"object",additionalProperties:c}})(m||(t.menus=m={}))},14790:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenSumiExtensionPackageSchema=void 0;const n=e(43718);t.OpenSumiExtensionPackageSchema={properties:{sumiContributes:{description:(0,n.localize)("sumiContributes.contributes"),type:"object",properties:{},default:{}}}}},9905:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toolbar=void 0;const n=e(43718),r=(v,m)=>`${JSON.stringify(v)}: ${m}`,o={type:"object",properties:{title:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.title")},iconPath:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.iconPath")},iconMaskMode:{type:"boolean",description:(0,n.localize)("sumiContributes.toolbar.actions.iconMaskMode")},width:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.width")},height:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.height")},showTitle:{type:"boolean",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.showTitle")},iconForeground:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.iconForeground")},iconBackground:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.iconBackground")},titleForeground:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.titleForeground")},titleBackground:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.titleBackground")},titleSize:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.titleSize")},iconSize:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.iconSize")},background:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.background")},btnStyle:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.btnStyle"),enum:["inline","button"]},btnTitleStyle:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states.btnTitleStyle"),enum:["vertical","horizontal"],enumDescriptions:[(0,n.localize)("sumiContributes.toolbar.actions.button.states.btnTitleStyle.vertical"),(0,n.localize)("sumiContributes.toolbar.actions.button.states.btnTitleStyle.horizontal")]}}},c={type:"object",properties:{backgroundColor:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.states.backgroundColor")},labelForegroundColor:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.states.labelForegroundColor")},iconForegroundColor:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.states.iconForegroundColor")},width:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.select.states.width")},minWidth:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.select.states.minWidth")}}};var p;(function(v){v.schema={type:"object",description:(0,n.localize)("sumiContributes.toolbar"),properties:{actions:{type:"array",markdownDescription:(0,n.localize)("sumiContributes.toolbar.actions"),items:{type:"object",required:["id","description"],defaultSnippets:[{label:r({type:"button"},(0,n.localize)("sumiContributes.toolbar.actions.type.button")),body:{id:"${2}",type:"button",description:"${3}",title:"${4}",iconPath:"${5}"}},{label:r({type:"select"},(0,n.localize)("sumiContributes.toolbar.actions.type.select")),body:{id:"${2}",type:"select",description:"${3}",options:["${4}"],defaultValue:"${5}"}}],properties:{id:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.id")},weight:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.weight")},preferredPosition:{type:"object",description:(0,n.localize)("sumiContributes.toolbar.actions.preferredPosition"),properties:{location:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.preferredPosition.location")},group:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.preferredPosition.group")}}},strictPosition:{type:"object",description:(0,n.localize)("sumiContributes.toolbar.actions.strictPosition"),required:["location","group"],defaultSnippets:[{body:{location:"${1}",group:"${2}"}}],properties:{location:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.preferredPosition.location")},group:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.preferredPosition.group")}}},description:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.description")},command:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.command")},defaultState:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.defaultState")}},oneOf:[{required:["type","title","iconPath"],properties:{type:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.type"),enum:["button"],enumDescriptions:[(0,n.localize)("sumiContributes.toolbar.actions.type.button")],default:"button"},title:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.title")},iconPath:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.iconPath")},iconMaskMode:{type:"boolean",description:(0,n.localize)("sumiContributes.toolbar.actions.iconMaskMode")},states:{type:"object",description:(0,n.localize)("sumiContributes.toolbar.actions.button.states"),additionalProperties:o,properties:{default:o}},popoverComponent:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverComponent")},popoverStyle:{type:"object",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle"),properties:{position:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.position"),enum:["top","bottom"],enumDescriptions:[(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.position.top"),(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.position.bottom")]},horizontalOffset:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.horizontalOffset")},hideOnClickOutside:{type:"boolean",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.hideOnClickOutside")},noContainerStyle:{type:"boolean",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.noContainerStyle")},minWidth:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.minWidth")},minHeight:{type:"number",description:(0,n.localize)("sumiContributes.toolbar.actions.popoverStyle.minHeight")}}},when:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.when")}}},{required:["type","options","defaultValue"],properties:{type:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.type"),enum:["select"],enumDescriptions:[(0,n.localize)("sumiContributes.toolbar.actions.type.select")],default:"select"},options:{type:"array",description:(0,n.localize)("sumiContributes.toolbar.actions.select.options"),required:["value"],items:{type:"object",defaultSnippets:[{label:r({value:""},(0,n.localize)("sumiContributes.toolbar.actions.select.options.value")),body:{value:"${1}"}}],properties:{iconPath:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.options.iconPath")},iconMaskMode:{type:"boolean",description:(0,n.localize)("sumiContributes.toolbar.actions.select.options.iconMaskMode")},label:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.options.label")},value:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.options.value")}}}},defaultValue:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.defaultValue")},optionEqualityKey:{type:"string",description:(0,n.localize)("sumiContributes.toolbar.actions.select.optionEqualityKey")},states:{type:"object",description:(0,n.localize)("sumiContributes.toolbar.actions.select.states"),additionalProperties:c}}}]}}}}})(p||(t.toolbar=p={}))},96702:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VSCodeExtensionPackageSchema=t.EXTENSION_IDENTIFIER_PATTERN=void 0;const n=e(43718);t.EXTENSION_IDENTIFIER_PATTERN="^([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$",t.VSCodeExtensionPackageSchema={properties:{engines:{type:"object",description:(0,n.localize)("vscode.extension.engines","Engine compatibility."),properties:{vscode:{type:"string",description:(0,n.localize)("vscode.extension.engines.vscode","For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5."),default:"^1.22.0"}}},publisher:{description:(0,n.localize)("vscode.extension.publisher","The publisher of the VS Code extension."),type:"string"},displayName:{description:(0,n.localize)("vscode.extension.displayName","The display name for the extension used in the VS Code gallery."),type:"string"},categories:{description:(0,n.localize)("vscode.extension.categories","The categories used by the VS Code gallery to categorize the extension."),type:"array",uniqueItems:!0,items:{oneOf:[{type:"string",enum:["Programming Languages","Snippets","Linters","Themes","Debuggers","Other","Keymaps","Formatters","Extension Packs","SCM Providers","Azure","Language Packs"]},{type:"string",const:"Languages",deprecationMessage:(0,n.localize)("vscode.extension.category.languages.deprecated","Use 'Programming Languages' instead")}]}},galleryBanner:{type:"object",description:(0,n.localize)("vscode.extension.galleryBanner","Banner used in the VS Code marketplace."),properties:{color:{description:(0,n.localize)("vscode.extension.galleryBanner.color","The banner color on the VS Code marketplace page header."),type:"string"},theme:{description:(0,n.localize)("vscode.extension.galleryBanner.theme","The color theme for the font used in the banner."),type:"string",enum:["dark","light"]}}},contributes:{description:(0,n.localize)("vscode.extension.contributes","All contributions of the VS Code extension represented by this package."),type:"object",properties:{},default:{}},preview:{type:"boolean",description:(0,n.localize)("vscode.extension.preview","Sets the extension to be flagged as a Preview in the Marketplace.")},activationEvents:{description:(0,n.localize)("vscode.extension.activationEvents","Activation events for the VS Code extension."),type:"array",items:{type:"string",defaultSnippets:[{label:"onLanguage",description:(0,n.localize)("vscode.extension.activationEvents.onLanguage","An activation event emitted whenever a file that resolves to the specified language gets opened."),body:"onLanguage:${1:languageId}"},{label:"onCommand",description:(0,n.localize)("vscode.extension.activationEvents.onCommand","An activation event emitted whenever the specified command gets invoked."),body:"onCommand:${2:commandId}"},{label:"onDebug",description:(0,n.localize)("vscode.extension.activationEvents.onDebug","An activation event emitted whenever a user is about to start debugging or about to setup debug configurations."),body:"onDebug"},{label:"onDebugInitialConfigurations",description:(0,n.localize)("vscode.extension.activationEvents.onDebugInitialConfigurations",'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'),body:"onDebugInitialConfigurations"},{label:"onDebugResolve",description:(0,n.localize)("vscode.extension.activationEvents.onDebugResolve","An activation event emitted whenever a debug session with the specific type is about to be launched (and a corresponding resolveDebugConfiguration method needs to be called)."),body:"onDebugResolve:${6:type}"},{label:"onDebugAdapterProtocolTracker",description:(0,n.localize)("vscode.extension.activationEvents.onDebugAdapterProtocolTracker","An activation event emitted whenever a debug session with the specific type is about to be launched and a debug protocol tracker might be needed."),body:"onDebugAdapterProtocolTracker:${6:type}"},{label:"workspaceContains",description:(0,n.localize)("vscode.extension.activationEvents.workspaceContains","An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern."),body:"workspaceContains:${4:filePattern}"},{label:"onFileSystem",description:(0,n.localize)("vscode.extension.activationEvents.onFileSystem","An activation event emitted whenever a file or folder is accessed with the given scheme."),body:"onFileSystem:${1:scheme}"},{label:"onSearch",description:(0,n.localize)("vscode.extension.activationEvents.onSearch","An activation event emitted whenever a search is started in the folder with the given scheme."),body:"onSearch:${7:scheme}"},{label:"onView",body:"onView:${5:viewId}",description:(0,n.localize)("vscode.extension.activationEvents.onView","An activation event emitted whenever the specified view is expanded.")},{label:"onUri",body:"onUri",description:(0,n.localize)("vscode.extension.activationEvents.onUri","An activation event emitted whenever a system-wide Uri directed towards this extension is open.")},{label:"*",description:(0,n.localize)("vscode.extension.activationEvents.star","An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case."),body:"*"}]}},badges:{type:"array",description:(0,n.localize)("vscode.extension.badges","Array of badges to display in the sidebar of the Marketplace's extension page."),items:{type:"object",required:["url","href","description"],properties:{url:{type:"string",description:(0,n.localize)("vscode.extension.badges.url","Badge image URL.")},href:{type:"string",description:(0,n.localize)("vscode.extension.badges.href","Badge link.")},description:{type:"string",description:(0,n.localize)("vscode.extension.badges.description","Badge description.")}}}},markdown:{type:"string",description:(0,n.localize)("vscode.extension.markdown","Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."),enum:["github","standard"],default:"github"},qna:{default:"marketplace",description:(0,n.localize)("vscode.extension.qna","Controls the Q&A link in the Marketplace. Set to marketplace to enable the default Marketplace Q & A site. Set to a string to provide the URL of a custom Q & A site. Set to false to disable Q & A altogether."),anyOf:[{type:["string","boolean"],enum:["marketplace",!1]},{type:"string"}]},extensionDependencies:{description:(0,n.localize)("vscode.extension.extensionDependencies","Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."),type:"array",uniqueItems:!0,items:{type:"string",pattern:t.EXTENSION_IDENTIFIER_PATTERN}},extensionPack:{description:(0,n.localize)("vscode.extension.contributes.extensionPack","A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."),type:"array",uniqueItems:!0,items:{type:"string",pattern:t.EXTENSION_IDENTIFIER_PATTERN}},extensionKind:{description:(0,n.localize)("extensionKind","Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions are run on the remote."),type:"string",enum:["ui","workspace"],enumDescriptions:[(0,n.localize)("ui","UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."),(0,n.localize)("workspace","Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote.")],default:"workspace"},scripts:{type:"object",properties:{"vscode:prepublish":{description:(0,n.localize)("vscode.extension.scripts.prepublish","Script executed before the package is published as a VS Code extension."),type:"string"},"vscode:uninstall":{description:(0,n.localize)("vscode.extension.scripts.uninstall","Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported."),type:"string"}}},icon:{type:"string",description:(0,n.localize)("vscode.extension.icon","The path to a 128x128 pixel icon.")}}}},53746:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},77273:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FsProviderContribution=t.FilesChangeEvent=void 0;const n=e(43718);class r extends n.BasicEvent{}t.FilesChangeEvent=r,t.FsProviderContribution=Symbol("FsProviderContribution")},136:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashCalculateContribution=void 0;const n=e(85608),r=e(76003),o=e(98295),c=e(96405),p=e(66549);let v=class{async initialize(){try{await this.hashCalculateService.initialize()}catch(_){throw new Error(`hashCalculateService init fail:
31500
31500
  ${_.message}`)}}};t.HashCalculateContribution=v,n.__decorate([(0,r.Autowired)(c.IHashCalculateService),n.__metadata("design:type",Object)],v.prototype,"hashCalculateService",void 0),t.HashCalculateContribution=v=n.__decorate([(0,o.Domain)(p.ClientAppContribution)],v)},41869:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(43718),t),n.__exportStar(e(48560),t),n.__exportStar(e(38578),t),n.__exportStar(e(36206),t),n.__exportStar(e(32796),t),n.__exportStar(e(78132),t),n.__exportStar(e(41118),t),n.__exportStar(e(37015),t),n.__exportStar(e(16884),t),n.__exportStar(e(68456),t),n.__exportStar(e(77273),t),n.__exportStar(e(42637),t),n.__exportStar(e(89378),t),n.__exportStar(e(53746),t),n.__exportStar(e(95040),t),n.__exportStar(e(80832),t),n.__exportStar(e(75694),t),n.__exportStar(e(79951),t),n.__exportStar(e(17544),t),n.__exportStar(e(53736),t),n.__exportStar(e(66963),t),n.__exportStar(e(22689),t),n.__exportStar(e(74404),t),n.__exportStar(e(45670),t),n.__exportStar(e(22366),t),n.__exportStar(e(18193),t),n.__exportStar(e(67304),t),n.__exportStar(e(66894),t),n.__exportStar(e(90697),t),n.__exportStar(e(26542),t),n.__exportStar(e(5910),t),n.__exportStar(e(61943),t),n.__exportStar(e(23396),t),n.__exportStar(e(40827),t),n.__exportStar(e(53736),t)},41118:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(95376),t)},95376:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NO_KEYBINDING_NAME=t.KeybindingRegistryImpl=t.KeybindingService=t.keybindingServicePath=t.KeybindingRegistry=t.KeybindingContribution=t.KeybindingsResultCollection=t.Keybinding=t.KeybindingWeight=t.KeybindingScope=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(53736),v=e(81331),m=e(7967),_=e(26542);var s;(function(d){d[d.DEFAULT=0]="DEFAULT",d[d.USER=1]="USER",d[d.WORKSPACE=2]="WORKSPACE",d[d.END=3]="END"})(s||(t.KeybindingScope=s={}));var g;(function(d){d[d.Default=0]="Default",d[d.EditorCore=1]="EditorCore",d[d.EditorContrib=100]="EditorContrib",d[d.WorkbenchContrib=200]="WorkbenchContrib",d[d.BuiltinExtension=300]="BuiltinExtension",d[d.ExternalExtension=400]="ExternalExtension"})(g||(t.KeybindingWeight=g={})),function(d){d.length=d.END-d.DEFAULT}(s||(t.KeybindingScope=s={}));var l;(function(d){function E(a){const b={command:a.command,keybinding:a.keybinding};return JSON.stringify(b)}d.stringify=E;function f(a){return!!a&&a===Object(a)&&"command"in a&&"keybinding"in a}d.is=f})(l||(t.Keybinding=l={}));var h;(function(d){class E{constructor(){this.full=[],this.partial=[],this.shadow=[]}merge(a){return this.full.push(...a.full),this.partial.push(...a.partial),this.shadow.push(...a.shadow),this}filter(a){const b=new E;return b.full=this.full.filter(a),b.partial=this.partial.filter(a),b.shadow=this.shadow.filter(a),b}}d.KeybindingsResult=E})(h||(t.KeybindingsResultCollection=h={})),t.KeybindingContribution=Symbol("KeybindingContribution"),t.KeybindingRegistry=Symbol("KeybindingRegistry"),t.keybindingServicePath="/services/keybindings",t.KeybindingService=Symbol("KeybindingService");let u=n=class{constructor(){this.keymaps=[...Array(s.length)].map(()=>[]),this.keySequence=[],this.convertKeySequence=[],this.modifierKeySequence=[],this.keybindingsChanged=new c.Emitter}async initialize(){await this.keyboardLayoutService.initialize(),this.keyboardLayoutService.onKeyboardLayoutChanged(()=>{this.clearResolvedKeybindings()});for(const E of this.keybindingContributionProvider.getContributions())E.registerKeybindings(this)}get onKeybindingsChanged(){return this.keybindingsChanged.event}registerKeybinding(E,f=s.DEFAULT){return this.doRegisterKeybinding(E,f)}registerKeybindings(E,f=s.DEFAULT){return this.doRegisterKeybindings(E,f)}convertMonacoWhen(E){return E?typeof E=="string"?E:E.serialize():""}unregisterKeybinding(E,f=s.DEFAULT){const a=l.is(E)?E.keybinding:E,b=this.keymaps[f];let y;l.is(E)&&E.when?y=b.filter(A=>this.isKeybindingEqual(A.keybinding,E.keybinding)&&this.isKeybindingWhenEqual(A.when,E.when)):y=b.filter(A=>this.isKeybindingEqual(A.keybinding,a)),y.forEach(A=>{const S=b.indexOf(A);S>=0&&b.splice(S,1)})}isKeybindingWhenEqual(E,f){return this.convertMonacoWhen(E)===this.convertMonacoWhen(f)}isKeybindingEqual(E,f){return this.acceleratorForSequenceKeyString(E)===this.acceleratorForSequenceKeyString(f)}acceleratorForSequenceKeyString(E){const a=E.split(" ").map(b=>m.KeyCode.parse(b));return this.acceleratorForSequence(a,"+").join(" ")}doRegisterKeybindings(E,f=s.DEFAULT){const a=new c.Disposable;for(const b of E)a.addDispose(this.doRegisterKeybinding(b,f));return a}doRegisterKeybinding(E,f=s.DEFAULT){try{this.resolveKeybinding(E,!0),this.keymaps[f].unshift(E)}catch(a){this.logger.warn(`Could not register keybinding:
31501
31501
  ${l.stringify(E)}
31502
- ${a}`)}return this.keybindingsChanged.fire({affectsCommands:[E.command]}),{dispose:()=>{this.unregisterKeybinding(E,f)}}}resolveKeybinding(E,f){if(!E.resolved||f){const a=m.KeySequence.parse(E.keybinding);E.resolved=a.map(b=>this.keyboardLayoutService.resolveKeyCode(b))}return E.resolved}clearResolvedKeybindings(){for(let E=s.DEFAULT;E<s.END;E++){const f=this.keymaps[E];for(const a of f){const b=a;b.resolved=void 0}}}containsKeybinding(E,f){const a=this.resolveKeybinding(f),b=this.getKeySequenceCollisions(E,a).filter(y=>y.when===f.when);return b.full.length>0?(this.logger.warn("Collided keybinding is ignored; ",l.stringify(f)," collided with ",b.full.map(y=>l.stringify(y)).join(", ")),!0):b.partial.length>0?(this.logger.warn("Shadowing keybinding is ignored; ",l.stringify(f)," shadows ",b.partial.map(y=>l.stringify(y)).join(", ")),!0):b.shadow.length>0?(this.logger.warn("Shadowed keybinding is ignored; ",l.stringify(f)," would be shadowed by ",b.shadow.map(y=>l.stringify(y)).join(", ")),!0):!1}validateKeybinding(E,f){const a=this.resolveKeybinding(f),b=this.getKeySequenceCollisions(E,a).filter(y=>y.when===f.when);if(b.full.length>0){const y=b.full[0],A=this.commandRegistry.getCommand(y.command);return(0,c.formatLocalize)("keymaps.keybinding.full.collide",`${A?A?.label||A.id:y.command}${y.when?`{${y.when}}`:y.when}`)}if(b.partial.length>0){const y=b.partial[0],A=this.commandRegistry.getCommand(y.command);return(0,c.formatLocalize)("keymaps.keybinding.partial.collide",`${A?A?.label||A.id:y.command}${y.when?`{${y.when}}`:y.when}`)}if(b.shadow.length>0){const y=b.shadow[0],A=this.commandRegistry.getCommand(y.command);return(0,c.formatLocalize)("keymaps.keybinding.shadow.collide",`${A?A?.label||A.id:y.command}${y.when?`{${y.when}}`:y.when}`)}return""}containsKeybindingInScope(E,f=s.USER){return this.containsKeybinding(this.keymaps[f],E)}validateKeybindingInScope(E,f=s.USER){return this.validateKeybinding(this.keymaps[f],E)}acceleratorFor(E,f=" "){const a=this.resolveKeybinding(E);return this.acceleratorForSequence(a,f)}acceleratorForSequence(E,f=" "){return E.map(a=>this.acceleratorForKeyCode(a,f))}acceleratorForKeyString(E,f=" "){const a=m.KeyCode.parse(E);return this.acceleratorForKeyCode(a,f)}capitalizeFirstLetter(E){return E.replace(/^\S/,function(f){return f.toUpperCase()})}acceleratorForKeyCode(E,f=" "){const a=[];return E.ctrl&&a.push(this.capitalizeFirstLetter(m.SpecialCases.CTRL)),E.alt&&a.push(this.capitalizeFirstLetter(m.SpecialCases.ALT)),E.shift&&a.push(this.capitalizeFirstLetter(m.SpecialCases.SHIFT)),E.meta&&(c.isOSX?a.push(m.SpecialCases.MACMETA):a.push(this.capitalizeFirstLetter(m.SpecialCases.META))),E.key&&a.push(this.acceleratorForKey(E.key)),a.join(f)}acceleratorForKey(E){if(c.isOSX){if(E===m.Key.ARROW_LEFT)return m.SpecialCases.ARROW_LEFT;if(E===m.Key.ARROW_RIGHT)return m.SpecialCases.ARROW_RIGHT;if(E===m.Key.ARROW_UP)return m.SpecialCases.ARROW_UP;if(E===m.Key.ARROW_DOWN)return m.SpecialCases.ARROW_DOWN;if(E===m.Key.BACKSPACE)return m.SpecialCases.BACKSPACE;if(E===m.Key.ENTER)return m.SpecialCases.ENTER}const f=this.keyboardLayoutService.getKeyboardCharacter(E);return E.keyCode>=m.Key.KEY_A.keyCode&&E.keyCode<=m.Key.KEY_Z.keyCode||E.keyCode>=m.Key.F1.keyCode&&E.keyCode<=m.Key.F24.keyCode?f.toUpperCase():f.length>1?f.charAt(0).toUpperCase()+f.slice(1):f===" "?m.SpecialCases.SPACE.charAt(0).toUpperCase()+m.SpecialCases.SPACE.slice(1):f}getKeySequenceCollisions(E,f){const a=new h.KeybindingsResult;for(const b of E)try{const y=this.resolveKeybinding(b);switch(m.KeySequence.compare(f,y)){case m.KeySequence.CompareResult.FULL:{a.full.push(b);break}case m.KeySequence.CompareResult.PARTIAL:{a.partial.push(b);break}case m.KeySequence.CompareResult.SHADOW:{a.shadow.push(b);break}}}catch(y){this.logger.warn(y)}return a}getKeybindingsForKeySequence(E,f){const a=new h.KeybindingsResult;for(let y=s.END;--y>=s.DEFAULT;){const A=this.getKeySequenceCollisions(this.keymaps[y],E);A.full=A.full.sort(this.sortKeybindingsByPriority),A.partial=A.partial.sort(this.sortKeybindingsByPriority),a.merge(A)}const b=a.partial.filter(y=>this.isEnabled(y,f));return a.partial=b,a}getKeybindingsForCommand(E){const f=[];for(let a=s.END-1;a>=s.DEFAULT;a--)if(this.keymaps[a].forEach(b=>{const y=this.commandRegistry.getCommand(b.command);y&&y.id===E&&f.push({...b,scope:a})}),f.length>0)return f;return f}getScopedKeybindingsForCommand(E,f){const a=[];return E>=s.END?[]:(this.keymaps[E].forEach(b=>{const y=this.commandRegistry.getCommand(b.command);y&&y.id===f&&a.push(b)}),a)}sortKeybindingsByPriority(E,f){if(E.when&&!f.when)return-1;if(!E.when&&f.when)return 1;const a=(0,c.isUndefined)(E.priority)?g.Default:E.priority;return((0,c.isUndefined)(f.priority)?g.Default:f.priority)-a}isActive(E){if(this.isPseudoCommand(E.command))return!0;const f=this.commandRegistry.getCommand(E.command);return!!f&&!!this.commandRegistry.getActiveHandler(f.id)}isEnabled(E,f){return!(E.when&&!this.whenContextService.match(E.when,f&&f.target))}isPseudoCommand(E){return E===n.PASSTHROUGH_PSEUDO_COMMAND}resetKeybindings(){for(let E=s.DEFAULT+1;E<s.END;E++)this.keymaps[E]=[]}resolveModifierKey(E){if(E.defaultPrevented)return;this.modifierKeySequenceTimer&&clearTimeout(this.modifierKeySequenceTimer);const f=m.KeyCode.createKeyCode(E);if(!f.isModifierOnly()){this.modifierKeySequence=[];return}this.modifierKeySequence.push(f);const a=this.getKeybindingsForKeySequence(this.modifierKeySequence,E);this.tryKeybindingExecution(a.full,E)?this.modifierKeySequence=[]:a.partial.length>0?(E.preventDefault(),E.stopPropagation(),this.modifierKeySequenceTimer=setTimeout(()=>{this.modifierKeySequence=[]},n.MODIFIER_KEYSEQUENCE_TIMEOUT)):this.modifierKeySequence=[]}run(E){if(E.defaultPrevented)return;this.keySequenceTimer&&clearTimeout(this.keySequenceTimer);const f=m.KeyCode.createKeyCode(E);if(f.isModifierOnly())return;this.keyboardLayoutService.validateKeyCode(f),this.keySequence.push(f);const a=this.getKeybindingsForKeySequence(this.keySequence,E);this.tryKeybindingExecution(a.full,E)?(this.keySequence=[],this.statusBar.removeElement("keybinding-status")):a.partial.length>0?(E.preventDefault(),E.stopPropagation(),this.statusBar.addElement("keybinding-status",{text:(0,c.formatLocalize)("keybinding.combination.tip",this.acceleratorForSequence(this.keySequence,"+")),alignment:_.StatusBarAlignment.LEFT,priority:2}),this.keySequenceTimer=setTimeout(()=>{this.keySequence=[],this.statusBar.removeElement("keybinding-status")},n.KEYSEQUENCE_TIMEOUT)):(this.keySequence=[],this.statusBar.removeElement("keybinding-status"))}convert(E,f=" "){const a=m.KeyCode.createKeyCode(E);return a.isModifierOnly()?this.acceleratorForSequence(this.convertKeySequence,"+").join(f):(this.keyboardLayoutService.validateKeyCode(a),this.convertKeySequence.length<=1?this.convertKeySequence.push(a):this.convertKeySequence=[a],this.acceleratorForSequence(this.convertKeySequence,"+").join(f))}clearConvert(){this.convertKeySequence=[]}tryKeybindingExecution(E,f){if(E.length===0)return!1;for(const a of E)if(this.isEnabled(a,f)){if(this.isPseudoCommand(a.command))return!0;{const b=this.commandRegistry.getCommand(a.command);if(b)return this.commandService.executeCommand(b.id,a.args).catch(y=>this.logger.error("Failed to execute command:",y,a.command)),f.preventDefault(),f.stopPropagation(),!0}return!1}return!1}getKeybindingByScope(E){return this.keymaps[E]}};t.KeybindingRegistryImpl=u,u.PASSTHROUGH_PSEUDO_COMMAND="passthrough",u.KEYSEQUENCE_TIMEOUT=5e3,u.MODIFIER_KEYSEQUENCE_TIMEOUT=300,r.__decorate([(0,o.Autowired)(v.KeyboardLayoutService),r.__metadata("design:type",v.KeyboardLayoutService)],u.prototype,"keyboardLayoutService",void 0),r.__decorate([(0,o.Autowired)(t.KeybindingContribution),r.__metadata("design:type",Object)],u.prototype,"keybindingContributionProvider",void 0),r.__decorate([(0,o.Autowired)(c.CommandRegistry),r.__metadata("design:type",Object)],u.prototype,"commandRegistry",void 0),r.__decorate([(0,o.Autowired)(c.CommandService),r.__metadata("design:type",Object)],u.prototype,"commandService",void 0),r.__decorate([(0,o.Autowired)(c.ILogger),r.__metadata("design:type",Object)],u.prototype,"logger",void 0),r.__decorate([(0,o.Autowired)(p.IContextKeyService),r.__metadata("design:type",Object)],u.prototype,"whenContextService",void 0),r.__decorate([(0,o.Autowired)(_.IStatusBarService),r.__metadata("design:type",Object)],u.prototype,"statusBar",void 0),t.KeybindingRegistryImpl=u=n=r.__decorate([(0,o.Injectable)()],u),t.NO_KEYBINDING_NAME="no_keybinding"},37015:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(7967),t),n.__exportStar(e(81331),t),n.__exportStar(e(40504),t)},40504:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardTester=t.BrowserKeyboardLayoutImpl=t.KeyValidator=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(26298),p=e(26542),v=e(5153);t.KeyValidator=Symbol("KeyValidator");let m=class{get onDidChangeNativeLayout(){return this.nativeLayoutChanged.event}get allLayoutData(){return this.tester.keymapInfos.slice()}get currentLayoutData(){return this.currentLayout}get currentLayoutSource(){return this.source}constructor(){this.initialized=new o.Deferred,this.nativeLayoutChanged=new o.Emitter,this.tester=new _,this.source="pressed-keys",this.initialize()}get whenReady(){return this.initialized.promise}async initialize(){this.loadState();const g=navigator.keyboard;g&&g.addEventListener&&g.addEventListener("layoutchange",async()=>{const l=await this.getNativeLayout();l&&this.nativeLayoutChanged.fire(l)}),this.initialized.resolve()}async getNativeLayout(){if(await this.whenReady,this.source==="user-choice"&&this.currentLayout)return this.currentLayout;const[g,l]=await this.autodetect();if(g)return this.setCurrent(g,l),g}async setLayoutData(g){if(g==="autodetect"){if(this.source==="user-choice"){const[l,h]=await this.autodetect();if(l)return this.setCurrent(l,h),this.nativeLayoutChanged.fire(l),l}return this.currentLayout}else return(this.source!=="user-choice"||g!==this.currentLayout)&&(this.setCurrent(g,"user-choice"),this.nativeLayoutChanged.fire(g)),g}validateKeyCode(g){g.key&&g.character&&this.validateKey({code:g.key.code,character:g.character,shiftKey:g.shift,ctrlKey:g.ctrl,altKey:g.alt})}validateKey(g){if(this.source!=="pressed-keys"||!this.tester.updateScores(g))return;const h=this.selectLayout();h&&h!==this.currentLayout&&(this.setCurrent(h,"pressed-keys"),this.nativeLayoutChanged.fire(h))}setCurrent(g,l){if(this.currentLayout=g,this.source=l,this.saveState(),this.tester.inputCount&&(l==="pressed-keys"||l==="navigator.keyboard")){const h=l==="pressed-keys"?"pressed keys":"browser API";this.logger.debug(`Detected keyboard layout from ${h}: ${JSON.stringify(g.layout)}`)}}async autodetect(){const g=navigator.keyboard;if(g&&g.getLayoutMap)try{const l=await g.getLayoutMap();return this.testLayoutMap(l),[this.selectLayout(),"navigator.keyboard"]}catch(l){this.logger.warn("Failed to obtain keyboard layout map.",l)}return[this.selectLayout(),"pressed-keys"]}testLayoutMap(g){this.tester.reset();for(const[l,h]of g.entries())this.tester.updateScores({code:l,character:h})}selectLayout(){const g=this.tester.keymapInfos,l=this.tester.scores,h=this.tester.topScore,u=navigator.language;let d=0;for(let E=0;E<g.length;E++)if(l[E]===h){const f=g[E];if(o.isOSX){if(u&&u.startsWith(f.layout.lang))return f}else if(!o.isWindows&&u&&u.startsWith(f.layout.layout))return f;d++}return d>=1?g.find((E,f)=>l[f]===h):this.tester.getUSStandardLayout()}saveState(){var g;const l={tester:this.tester.getState(),source:this.source,currentLayoutId:this.currentLayout?(0,c.getKeyboardLayoutId)((g=this.currentLayout)===null||g===void 0?void 0:g.layout):void 0};return this.browserStorageService.setData("keyboard",l)}loadState(){const g=this.browserStorageService.getData("keyboard");if(g)if(this.tester.setState(g.tester||{}),this.source=g.source||"pressed-keys",g.currentLayoutId){const l=this.tester.keymapInfos.find(h=>(0,c.getKeyboardLayoutId)(h.layout)===g.currentLayoutId);l&&(this.currentLayout=l)}else this.currentLayout=this.tester.getUSStandardLayout()}};t.BrowserKeyboardLayoutImpl=m,n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],m.prototype,"logger",void 0),n.__decorate([(0,r.Autowired)(p.GlobalBrowserStorageService),n.__metadata("design:type",p.GlobalBrowserStorageService)],m.prototype,"browserStorageService",void 0),t.BrowserKeyboardLayoutImpl=m=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],m);class _{get inputCount(){return this.testedInputs.size}get keymapInfos(){return this._keymapInfos}constructor(){this.topScore=0,this.testedInputs=new Map,this._keymapInfos=[],this.initialized=new o.Deferred,(0,v.requireRegister)();const g=v.KeyboardLayoutContribution.INSTANCE.layoutInfos;this._keymapInfos.push(...g.map(l=>new c.KeymapInfo(l.layout,l.secondaryLayouts,l.mapping,l.isUserKeyboardLayout))),this.initialized.resolve(!0),this.scores=this.keymapInfos.map(()=>0)}reset(){for(let g=0;g<this.scores.length;g++)this.scores[g]=0;this.topScore=0,this.testedInputs.clear()}updateScores(g){let l;g.shiftKey&&g.altKey?l="withShiftAltGr":g.shiftKey?l="withShift":g.altKey?l="withAltGr":l="value";const h=`${g.code}.${l}`;if(this.testedInputs.has(h)){if(this.testedInputs.get(h)===g.character)return!1;this.reset()}const u=this.scores;for(let d=0;d<this.keymapInfos.length;d++)u[d]+=this.testCandidate(this.keymapInfos[d],g,l),u[d]>this.topScore&&(this.topScore=u[d]);return this.testedInputs.set(h,g.character),!0}testCandidate(g,l,h){const u=g.mapping[l.code];return u&&u[h]&&u[h]===l.character?1:0}getState(){const g={};for(let h=0;h<this.scores.length;h++)g[(0,c.getKeyboardLayoutId)(this.keymapInfos[h].layout)]=this.scores[h];const l={};for(const[h,u]of this.testedInputs.entries())l[h]=u;return{scores:g,topScore:this.topScore,testedInputs:l}}setState(g){if(this.reset(),g.scores){const l=this.keymapInfos.map(h=>(0,c.getKeyboardLayoutId)(h.layout));for(const h in g.scores)if(g.scores.hasOwnProperty(h)){const u=l.indexOf(h);u>0&&(this.scores[u]=g.scores[h])}}if(g.topScore&&(this.topScore=g.topScore),g.testedInputs)for(const l in g.testedInputs)g.testedInputs.hasOwnProperty(l)&&this.testedInputs.set(l,g.testedInputs[l])}getUSStandardLayout(){const g=this.keymapInfos.filter(l=>l.layout.isUSStandard);return g.length?g[0]:null}}t.KeyboardTester=_},81331:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(26298),p=e(40504),v=e(7967);let m=class{constructor(){this.keyboardLayoutChanged=new o.Emitter}updateLayout(l){const h=this.transformNativeLayout(l);return this.currentLayout=h,this.keyboardLayoutChanged.fire(h),h}get onKeyboardLayoutChanged(){return this.keyboardLayoutChanged.event}async initialize(){this.layoutChangeNotifier.onDidChangeNativeLayout(h=>this.updateLayout(h));const l=await this.layoutProvider.getNativeLayout();l&&this.updateLayout(l)}resolveKeyCode(l){const h=this.currentLayout;if(h&&l.key)for(let u=0;u<=1;u++){const d=this.getCharacterIndex(l.key,!!u),E=h.key2KeyCode[d];if(E){const f=this.transformKeyCode(l,E,!!u);if(f)return f}}return l}getKeyboardCharacter(l){const h=this.currentLayout;if(h){const u=h.code2Character[l.code];if(u)return u}return l.easyString}validateKeyCode(l){this.keyValidator.validateKeyCode(l)}transformKeyCode(l,h,u){if(!(!l.shift&&u)&&!(h.alt&&(l.alt||l.ctrl||l.shift&&!u)))return new v.KeyCode({key:h.key,meta:l.meta,ctrl:l.ctrl||h.alt,shift:l.shift&&!u||h.shift,alt:l.alt||h.alt})}transformNativeLayout(l){const h=new Array(2*(v.Key.MAX_KEY_CODE+1)),u={},d=l.mapping;for(const E in d)if(d.hasOwnProperty(E)){const f=d[E],a=v.Key.getKey(E);a&&this.shouldIncludeKey(E)&&(o.isWindows?this.addWindowsKeyMapping(h,a,f.vkey,f.value):(f.value&&this.addKeyMapping(h,a,f.value,!1,!1),f.withShift&&this.addKeyMapping(h,a,f.withShift,!0,!1),f.withAltGr&&this.addKeyMapping(h,a,f.withAltGr,!1,!0),f.withShiftAltGr&&this.addKeyMapping(h,a,f.withShiftAltGr,!0,!0))),f.value&&(u[E]=f.value)}return{key2KeyCode:h,code2Character:u}}shouldIncludeKey(l){return!l.startsWith("Numpad")}addKeyMapping(l,h,u,d,E){const f=_[u];if(f){const a=this.getCharacterIndex(f.key,f.shift);l[a]===void 0&&(l[a]=new v.KeyCode({key:h,shift:d,alt:E,character:u}))}}addWindowsKeyMapping(l,h,u,d){const E=s[u];if(E){const f=this.getCharacterIndex(E);l[f]===void 0&&(l[f]=new v.KeyCode({key:h,character:d}))}}getCharacterIndex(l,h){return h?v.Key.MAX_KEY_CODE+l.keyCode+1:l.keyCode}};t.KeyboardLayoutService=m,n.__decorate([(0,r.Autowired)(c.KeyboardNativeLayoutService),n.__metadata("design:type",Object)],m.prototype,"layoutProvider",void 0),n.__decorate([(0,r.Autowired)(c.KeyboardLayoutChangeNotifierService),n.__metadata("design:type",Object)],m.prototype,"layoutChangeNotifier",void 0),n.__decorate([(0,r.Autowired)(p.KeyValidator),n.__metadata("design:type",Object)],m.prototype,"keyValidator",void 0),t.KeyboardLayoutService=m=n.__decorate([(0,r.Injectable)()],m);const _={"`":{key:v.Key.BACKQUOTE},"~":{key:v.Key.BACKQUOTE,shift:!0},1:{key:v.Key.DIGIT1},"!":{key:v.Key.DIGIT1,shift:!0},2:{key:v.Key.DIGIT2},"@":{key:v.Key.DIGIT2,shift:!0},3:{key:v.Key.DIGIT3},"#":{key:v.Key.DIGIT3,shift:!0},4:{key:v.Key.DIGIT4},$:{key:v.Key.DIGIT4,shift:!0},5:{key:v.Key.DIGIT5},"%":{key:v.Key.DIGIT5,shift:!0},6:{key:v.Key.DIGIT6},"^":{key:v.Key.DIGIT6,shift:!0},7:{key:v.Key.DIGIT7},"&":{key:v.Key.DIGIT7,shift:!0},8:{key:v.Key.DIGIT8},"*":{key:v.Key.DIGIT8,shift:!0},9:{key:v.Key.DIGIT9},"(":{key:v.Key.DIGIT9,shift:!0},0:{key:v.Key.DIGIT0},")":{key:v.Key.DIGIT0,shift:!0},"-":{key:v.Key.MINUS},_:{key:v.Key.MINUS,shift:!0},"=":{key:v.Key.EQUAL},"+":{key:v.Key.EQUAL,shift:!0},a:{key:v.Key.KEY_A},A:{key:v.Key.KEY_A,shift:!0},b:{key:v.Key.KEY_B},B:{key:v.Key.KEY_B,shift:!0},c:{key:v.Key.KEY_C},C:{key:v.Key.KEY_C,shift:!0},d:{key:v.Key.KEY_D},D:{key:v.Key.KEY_D,shift:!0},e:{key:v.Key.KEY_E},E:{key:v.Key.KEY_E,shift:!0},f:{key:v.Key.KEY_F},F:{key:v.Key.KEY_F,shift:!0},g:{key:v.Key.KEY_G},G:{key:v.Key.KEY_G,shift:!0},h:{key:v.Key.KEY_H},H:{key:v.Key.KEY_H,shift:!0},i:{key:v.Key.KEY_I},I:{key:v.Key.KEY_I,shift:!0},j:{key:v.Key.KEY_J},J:{key:v.Key.KEY_J,shift:!0},k:{key:v.Key.KEY_K},K:{key:v.Key.KEY_K,shift:!0},l:{key:v.Key.KEY_L},L:{key:v.Key.KEY_L,shift:!0},m:{key:v.Key.KEY_M},M:{key:v.Key.KEY_M,shift:!0},n:{key:v.Key.KEY_N},N:{key:v.Key.KEY_N,shift:!0},o:{key:v.Key.KEY_O},O:{key:v.Key.KEY_O,shift:!0},p:{key:v.Key.KEY_P},P:{key:v.Key.KEY_P,shift:!0},q:{key:v.Key.KEY_Q},Q:{key:v.Key.KEY_Q,shift:!0},r:{key:v.Key.KEY_R},R:{key:v.Key.KEY_R,shift:!0},s:{key:v.Key.KEY_S},S:{key:v.Key.KEY_S,shift:!0},t:{key:v.Key.KEY_T},T:{key:v.Key.KEY_T,shift:!0},u:{key:v.Key.KEY_U},U:{key:v.Key.KEY_U,shift:!0},v:{key:v.Key.KEY_V},V:{key:v.Key.KEY_V,shift:!0},w:{key:v.Key.KEY_W},W:{key:v.Key.KEY_W,shift:!0},x:{key:v.Key.KEY_X},X:{key:v.Key.KEY_X,shift:!0},y:{key:v.Key.KEY_Y},Y:{key:v.Key.KEY_Y,shift:!0},z:{key:v.Key.KEY_Z},Z:{key:v.Key.KEY_Z,shift:!0},"[":{key:v.Key.BRACKET_LEFT},"{":{key:v.Key.BRACKET_LEFT,shift:!0},"]":{key:v.Key.BRACKET_RIGHT},"}":{key:v.Key.BRACKET_RIGHT,shift:!0},";":{key:v.Key.SEMICOLON},":":{key:v.Key.SEMICOLON,shift:!0},"'":{key:v.Key.QUOTE},'"':{key:v.Key.QUOTE,shift:!0},",":{key:v.Key.COMMA},"<":{key:v.Key.COMMA,shift:!0},".":{key:v.Key.PERIOD},">":{key:v.Key.PERIOD,shift:!0},"/":{key:v.Key.SLASH},"?":{key:v.Key.SLASH,shift:!0},"\\":{key:v.Key.BACKSLASH},"|":{key:v.Key.BACKSLASH,shift:!0}," ":{key:v.Key.TAB},"\r":{key:v.Key.ENTER},"\n":{key:v.Key.ENTER}," ":{key:v.Key.SPACE}},s={VK_SHIFT:v.Key.SHIFT_LEFT,VK_LSHIFT:v.Key.SHIFT_LEFT,VK_RSHIFT:v.Key.SHIFT_RIGHT,VK_CONTROL:v.Key.CONTROL_LEFT,VK_LCONTROL:v.Key.CONTROL_LEFT,VK_RCONTROL:v.Key.CONTROL_RIGHT,VK_MENU:v.Key.ALT_LEFT,VK_COMMAND:v.Key.OS_LEFT,VK_LWIN:v.Key.OS_LEFT,VK_RWIN:v.Key.OS_RIGHT,VK_0:v.Key.DIGIT0,VK_1:v.Key.DIGIT1,VK_2:v.Key.DIGIT2,VK_3:v.Key.DIGIT3,VK_4:v.Key.DIGIT4,VK_5:v.Key.DIGIT5,VK_6:v.Key.DIGIT6,VK_7:v.Key.DIGIT7,VK_8:v.Key.DIGIT8,VK_9:v.Key.DIGIT9,VK_A:v.Key.KEY_A,VK_B:v.Key.KEY_B,VK_C:v.Key.KEY_C,VK_D:v.Key.KEY_D,VK_E:v.Key.KEY_E,VK_F:v.Key.KEY_F,VK_G:v.Key.KEY_G,VK_H:v.Key.KEY_H,VK_I:v.Key.KEY_I,VK_J:v.Key.KEY_J,VK_K:v.Key.KEY_K,VK_L:v.Key.KEY_L,VK_M:v.Key.KEY_M,VK_N:v.Key.KEY_N,VK_O:v.Key.KEY_O,VK_P:v.Key.KEY_P,VK_Q:v.Key.KEY_Q,VK_R:v.Key.KEY_R,VK_S:v.Key.KEY_S,VK_T:v.Key.KEY_T,VK_U:v.Key.KEY_U,VK_V:v.Key.KEY_V,VK_W:v.Key.KEY_W,VK_X:v.Key.KEY_X,VK_Y:v.Key.KEY_Y,VK_Z:v.Key.KEY_Z,VK_OEM_1:v.Key.SEMICOLON,VK_OEM_2:v.Key.SLASH,VK_OEM_3:v.Key.BACKQUOTE,VK_OEM_4:v.Key.BRACKET_LEFT,VK_OEM_5:v.Key.BACKSLASH,VK_OEM_6:v.Key.BRACKET_RIGHT,VK_OEM_7:v.Key.QUOTE,VK_OEM_PLUS:v.Key.EQUAL,VK_OEM_COMMA:v.Key.COMMA,VK_OEM_MINUS:v.Key.MINUS,VK_OEM_PERIOD:v.Key.PERIOD,VK_F1:v.Key.F1,VK_F2:v.Key.F2,VK_F3:v.Key.F3,VK_F4:v.Key.F4,VK_F5:v.Key.F5,VK_F6:v.Key.F6,VK_F7:v.Key.F7,VK_F8:v.Key.F8,VK_F9:v.Key.F9,VK_F10:v.Key.F10,VK_F11:v.Key.F11,VK_F12:v.Key.F12,VK_F13:v.Key.F13,VK_F14:v.Key.F14,VK_F15:v.Key.F15,VK_F16:v.Key.F16,VK_F17:v.Key.F17,VK_F18:v.Key.F18,VK_F19:v.Key.F19,VK_BACK:v.Key.BACKSPACE,VK_TAB:v.Key.TAB,VK_RETURN:v.Key.ENTER,VK_CAPITAL:v.Key.CAPS_LOCK,VK_ESCAPE:v.Key.ESCAPE,VK_SPACE:v.Key.SPACE,VK_PRIOR:v.Key.PAGE_UP,VK_NEXT:v.Key.PAGE_DOWN,VK_END:v.Key.END,VK_HOME:v.Key.HOME,VK_INSERT:v.Key.INSERT,VK_DELETE:v.Key.DELETE,VK_LEFT:v.Key.ARROW_LEFT,VK_UP:v.Key.ARROW_UP,VK_RIGHT:v.Key.ARROW_RIGHT,VK_DOWN:v.Key.ARROW_DOWN,VK_NUMLOCK:v.Key.NUM_LOCK,VK_NUMPAD0:v.Key.DIGIT0,VK_NUMPAD1:v.Key.DIGIT1,VK_NUMPAD2:v.Key.DIGIT2,VK_NUMPAD3:v.Key.DIGIT3,VK_NUMPAD4:v.Key.DIGIT4,VK_NUMPAD5:v.Key.DIGIT5,VK_NUMPAD6:v.Key.DIGIT6,VK_NUMPAD7:v.Key.DIGIT7,VK_NUMPAD8:v.Key.DIGIT8,VK_NUMPAD9:v.Key.DIGIT9,VK_MULTIPLY:v.Key.NUMPAD_MULTIPLY,VK_ADD:v.Key.NUMPAD_ADD,VK_SUBTRACT:v.Key.NUMPAD_SUBTRACT,VK_DECIMAL:v.Key.NUMPAD_DECIMAL,VK_DIVIDE:v.Key.NUMPAD_DIVIDE}},7967:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeysOrKeyCodes=t.Key=t.SpecialCases=t.KeyModifier=t.KeyCode=t.KeySequence=void 0;const n=e(43718);var r;(function(d){function E(y,A){if(y.length!==A.length)return!1;for(let S=0;S<y.length;S++)if(!y[S].equals(A[S]))return!1;return!0}d.equals=E;let f;(function(y){y[y.NONE=0]="NONE",y[y.PARTIAL=1]="PARTIAL",y[y.SHADOW=2]="SHADOW",y[y.FULL=3]="FULL"})(f=d.CompareResult||(d.CompareResult={}));function a(y,A){let S=y,w=A,T=!1;A.length<y.length&&(S=A,w=y,T=!0);for(let D=0;D<S.length;D++)if(S[D].equals(w[D])===!1)return d.CompareResult.NONE;return S.length<w.length?T===!1?d.CompareResult.PARTIAL:d.CompareResult.SHADOW:d.CompareResult.FULL}d.compare=a;function b(y){const A=[],S=y.trim().split(/\s+/g);for(const w of S){const T=c.parse(w);T!==void 0&&A.push(T)}return A}d.parse=b})(r||(t.KeySequence=r={}));function o(d){return d.substr(0,1).toUpperCase()+d.substr(1)}class c{constructor(E){const f=E.key;f&&(f.code&&f.keyCode&&f.easyString?this.key=f:f.code?this.key=h.getKey(f.code):f.keyCode&&(this.key=h.getKey(f.keyCode))),this.ctrl=!!E.ctrl,this.shift=!!E.shift,this.alt=!!E.alt,this.meta=!!E.meta,this.character=E.character}isModifierOnly(){return this.key===void 0}equals(E){return this.key&&(!E.key||this.key.code!==E.key.code)||!this.key&&E.key?!1:this.ctrl===E.ctrl&&this.alt===E.alt&&this.shift===E.shift&&this.meta===E.meta}toString(){const E=[];return this.meta&&E.push(n.isOSX?"Cmd":"Win"),this.shift&&E.push(o(h.SHIFT_LEFT.easyString)),this.alt&&E.push(o(h.ALT_LEFT.easyString)),this.ctrl&&E.push(o(h.CONTROL_LEFT.easyString)),this.key&&E.push(o(this.key.easyString)),E.join("+")}static createKeyCode(E){if(typeof E=="string"){const f=E.split("+");return c.isModifierString(f[0])?c.createKeyCode({modifiers:f}):c.createKeyCode({first:h.getKey(f[0]),modifiers:f.slice(1)})}else if(c.isKeyboardEvent(E)){const f=c.toKey(E);return new c({key:h.isModifier(f.code)?void 0:f,meta:n.isOSX&&E.metaKey||f===h.OS_RIGHT||f===h.OS_LEFT,shift:E.shiftKey||f===h.SHIFT_RIGHT||f===h.SHIFT_LEFT,alt:E.altKey||f===h.ALT_RIGHT||f===h.ALT_LEFT,ctrl:E.ctrlKey||f===h.CONTROL_RIGHT||f===h.CONTROL_LEFT,character:c.toCharacter(E)})}else if(E.first||E.modifiers){const f=E,a={key:f.first};return f.modifiers&&(n.isOSX?(a.meta=f.modifiers.some(b=>b===p.CtrlCmd),a.ctrl=f.modifiers.some(b=>b===p.MacCtrl)):(a.meta=!1,a.ctrl=f.modifiers.some(b=>b===p.CtrlCmd)),a.shift=f.modifiers.some(b=>b===p.Shift),a.alt=f.modifiers.some(b=>b===p.Alt)),new c(a)}else return new c(E)}static parse(E,f="+"){if(c.keybindings[E])return c.keybindings[E];const a={},b=E.trim().toLowerCase().split(f);for(let y of b){g[y]!==void 0&&(y=g[y]);const A=_[y];if(y===l.META)if(n.isOSX)a.meta=!0;else throw new Error(`Can't parse keybinding ${E} meta is for OSX only`);else if(y===l.MACMETA)if(n.isOSX)a.meta=!0;else throw new Error(`Can't parse keybinding ${E} meta is for OSX only`);else if(y===l.CTRLCMD)n.isOSX?a.meta=!0:a.ctrl=!0;else if(y===l.CTRL)a.ctrl=!0;else if(y===l.SHIFT)a.shift=!0;else if(y===l.ALT)a.alt=!0;else if(y===l.ARROW_DOWN)a.key=h.ARROW_DOWN;else if(y===l.ARROW_UP)a.key=h.ARROW_UP;else if(y===l.ARROW_LEFT)a.key=h.ARROW_LEFT;else if(y===l.ARROW_RIGHT)a.key=h.ARROW_RIGHT;else if(y===l.BACKSPACE)a.key=h.BACKSPACE;else if(y===l.ENTER)a.key=h.ENTER;else if(h.isKey(A))h.isModifier(A.code)?A.code===h.CONTROL_LEFT.code||A.code===h.CONTROL_RIGHT.code?a.ctrl=!0:A.code===h.SHIFT_LEFT.code||A.code===h.SHIFT_RIGHT.code?a.shift=!0:(A.code===h.ALT_LEFT.code||A.code===h.ALT_RIGHT.code)&&(a.alt=!0):a.key=A;else throw new Error(`Unrecognized key '${y}' in '${E}'`)}return c.keybindings[E]=new c(a),c.keybindings[E]}}t.KeyCode=c,c.keybindings={},function(d){function E(y){return y===p.CtrlCmd||y===p.Shift||y===p.Alt||y===p.MacCtrl}d.isModifierString=E;function f(y){if(typeof KeyboardEvent>"u")return!1;if(y instanceof KeyboardEvent)return!0;const{type:A}=y;return A?A==="keypress"||A==="keydown"||A==="keyup":!1}d.isKeyboardEvent=f;function a(y){const A=y.code;if(A){if(n.isOSX){const D=y.key;if(A===h.INTL_BACKSLASH.code&&(D==="`"||D==="~"))return h.BACKQUOTE;if(A===h.BACKQUOTE.code&&(D==="\xA7"||D==="\xB1"))return h.INTL_BACKSLASH}if(A===h.SHIFT_LEFT.code&&!y.ctrlKey&&!y.altKey&&!y.metaKey)return h.SHIFT_LEFT;if(A===h.SHIFT_RIGHT.code&&!y.ctrlKey&&!y.altKey&&!y.metaKey)return h.SHIFT_RIGHT;if(A===h.CONTROL_LEFT.code&&!y.shiftKey&&!y.altKey&&!y.metaKey)return h.CONTROL_LEFT;if(A===h.CONTROL_RIGHT.code&&!y.shiftKey&&!y.altKey&&!y.metaKey)return h.CONTROL_RIGHT;if(A===h.ALT_LEFT.code&&!y.shiftKey&&!y.ctrlKey&&!y.metaKey)return h.ALT_LEFT;if(A===h.ALT_RIGHT.code&&!y.shiftKey&&!y.ctrlKey&&!y.metaKey)return h.ALT_RIGHT;if(v[A]===h.OS_LEFT&&!y.shiftKey&&!y.ctrlKey&&!y.altKey)return h.OS_LEFT;if(v[A]===h.OS_RIGHT&&!y.shiftKey&&!y.ctrlKey&&!y.altKey)return h.OS_RIGHT;if(A.startsWith("Numpad")&&y.key&&y.key.length>1){const D=h.getKey(y.key);if(D)return D}const T=h.getKey(A);if(T)return T}const S=y.keyCode;if(S){const T=h.getKey(S);if(T)return T}const w=y.keyIdentifier;if(w){const T=h.getKey(w);if(T)return T}throw new Error(`Cannot get key code from the keyboard event with code: ${A}, keyCode: ${S}, keyIdentifier: ${w}`)}d.toKey=a;function b(y){const A=y.key;if(A&&Array.from(A).length===1)return A;const S=y.charCode;if(S&&S>31&&!(S>=128&&S<=159))return String.fromCharCode(S)}d.toCharacter=b}(c||(t.KeyCode=c={}));var p;(function(d){d.CtrlCmd="M1",d.Shift="M2",d.Alt="M3",d.MacCtrl="M4"})(p||(t.KeyModifier=p={})),function(d){d.CTRL=n.isOSX?d.MacCtrl:d.CtrlCmd,d.SHIFT=d.Shift;function E(f){if(f)switch(f){case"M1":case"M2":case"M3":case"M4":return!0;default:return!1}return!1}d.isModifier=E}(p||(t.KeyModifier=p={}));const v={},m={},_={},s=[],g={option:"alt",command:"meta",cmd:"meta",return:"enter",esc:"escape",mod:"ctrl",ins:"insert",del:"delete",control:"ctrl"};var l;(function(d){d.META=n.isOSX?"meta":n.isWindows?"win":"meta",d.MACMETA="\u2318",d.CTRL=n.isOSX?"\u2303":"ctrl",d.ALT=n.isOSX?"\u2325":"alt",d.SHIFT=n.isOSX?"\u21E7":"shift",d.CTRLCMD="ctrlcmd",d.ARROW_LEFT="\u2190",d.ARROW_RIGHT="\u2192",d.ARROW_UP="\u2191",d.ARROW_DOWN="\u2193",d.BACKSPACE="\u232B",d.ENTER="\u23CE",d.SPACE="space",d.NUMPAD="numpad"})(l||(t.SpecialCases=l={}));var h;(function(d){function E(y){return typeof y=="object"&&"code"in y&&"keyCode"in y}d.isKey=E;function f(y){return typeof y=="number"?m[y]:v[y]}d.getKey=f;function a(y){return typeof y=="number"?s.find(A=>A.keyCode===y)!==void 0:s.find(A=>A.code===y)!==void 0}d.isModifier=a;function b(y,A){return!!A.key&&y.keyCode===A.key.keyCode}d.equals=b,d.BACKSPACE={code:"Backspace",keyCode:8,easyString:"backspace"},d.TAB={code:"Tab",keyCode:9,easyString:"tab"},d.ENTER={code:"Enter",keyCode:13,easyString:"enter"},d.ESCAPE={code:"Escape",keyCode:27,easyString:"escape"},d.SPACE={code:"Space",keyCode:32,easyString:"space"},d.PAGE_UP={code:"PageUp",keyCode:33,easyString:"pageup"},d.PAGE_DOWN={code:"PageDown",keyCode:34,easyString:"pagedown"},d.END={code:"End",keyCode:35,easyString:"end"},d.HOME={code:"Home",keyCode:36,easyString:"home"},d.ARROW_LEFT={code:"ArrowLeft",keyCode:37,easyString:"left"},d.ARROW_UP={code:"ArrowUp",keyCode:38,easyString:"up"},d.ARROW_RIGHT={code:"ArrowRight",keyCode:39,easyString:"right"},d.ARROW_DOWN={code:"ArrowDown",keyCode:40,easyString:"down"},d.INSERT={code:"Insert",keyCode:45,easyString:"insert"},d.DELETE={code:"Delete",keyCode:46,easyString:"delete"},d.SHIFT_LEFT={code:"ShiftLeft",keyCode:16,easyString:"shift"},d.SHIFT_RIGHT={code:"ShiftRight",keyCode:16,easyString:"shift"},d.CONTROL_LEFT={code:"ControlLeft",keyCode:17,easyString:"ctrl"},d.CONTROL_RIGHT={code:"ControlRight",keyCode:17,easyString:"ctrl"},d.ALT_LEFT={code:"AltLeft",keyCode:18,easyString:"alt"},d.ALT_RIGHT={code:"AltRight",keyCode:18,easyString:"alt"},d.CAPS_LOCK={code:"CapsLock",keyCode:20,easyString:"capslock"},d.OS_LEFT={code:"OSLeft",keyCode:91,easyString:"super"},d.OS_RIGHT={code:"OSRight",keyCode:92,easyString:"super"},d.DIGIT0={code:"Digit0",keyCode:48,easyString:"0"},d.DIGIT1={code:"Digit1",keyCode:49,easyString:"1"},d.DIGIT2={code:"Digit2",keyCode:50,easyString:"2"},d.DIGIT3={code:"Digit3",keyCode:51,easyString:"3"},d.DIGIT4={code:"Digit4",keyCode:52,easyString:"4"},d.DIGIT5={code:"Digit5",keyCode:53,easyString:"5"},d.DIGIT6={code:"Digit6",keyCode:54,easyString:"6"},d.DIGIT7={code:"Digit7",keyCode:55,easyString:"7"},d.DIGIT8={code:"Digit8",keyCode:56,easyString:"8"},d.DIGIT9={code:"Digit9",keyCode:57,easyString:"9"},d.NUMPAD0={code:"Numpad0",keyCode:48,easyString:"numpad0"},d.NUMPAD1={code:"Numpad1",keyCode:49,easyString:"numpad1"},d.NUMPAD2={code:"Numpad2",keyCode:50,easyString:"numpad2"},d.NUMPAD3={code:"Numpad3",keyCode:51,easyString:"numpad3"},d.NUMPAD4={code:"Numpad4",keyCode:52,easyString:"numpad4"},d.NUMPAD5={code:"Numpad5",keyCode:53,easyString:"numpad5"},d.NUMPAD6={code:"Numpad6",keyCode:54,easyString:"numpad6"},d.NUMPAD7={code:"Numpad7",keyCode:55,easyString:"numpad7"},d.NUMPAD8={code:"Numpad8",keyCode:56,easyString:"numpad8"},d.NUMPAD9={code:"Numpad9",keyCode:57,easyString:"numpad9"},d.KEY_A={code:"KeyA",keyCode:65,easyString:"a"},d.KEY_B={code:"KeyB",keyCode:66,easyString:"b"},d.KEY_C={code:"KeyC",keyCode:67,easyString:"c"},d.KEY_D={code:"KeyD",keyCode:68,easyString:"d"},d.KEY_E={code:"KeyE",keyCode:69,easyString:"e"},d.KEY_F={code:"KeyF",keyCode:70,easyString:"f"},d.KEY_G={code:"KeyG",keyCode:71,easyString:"g"},d.KEY_H={code:"KeyH",keyCode:72,easyString:"h"},d.KEY_I={code:"KeyI",keyCode:73,easyString:"i"},d.KEY_J={code:"KeyJ",keyCode:74,easyString:"j"},d.KEY_K={code:"KeyK",keyCode:75,easyString:"k"},d.KEY_L={code:"KeyL",keyCode:76,easyString:"l"},d.KEY_M={code:"KeyM",keyCode:77,easyString:"m"},d.KEY_N={code:"KeyN",keyCode:78,easyString:"n"},d.KEY_O={code:"KeyO",keyCode:79,easyString:"o"},d.KEY_P={code:"KeyP",keyCode:80,easyString:"p"},d.KEY_Q={code:"KeyQ",keyCode:81,easyString:"q"},d.KEY_R={code:"KeyR",keyCode:82,easyString:"r"},d.KEY_S={code:"KeyS",keyCode:83,easyString:"s"},d.KEY_T={code:"KeyT",keyCode:84,easyString:"t"},d.KEY_U={code:"KeyU",keyCode:85,easyString:"u"},d.KEY_V={code:"KeyV",keyCode:86,easyString:"v"},d.KEY_W={code:"KeyW",keyCode:87,easyString:"w"},d.KEY_X={code:"KeyX",keyCode:88,easyString:"x"},d.KEY_Y={code:"KeyY",keyCode:89,easyString:"y"},d.KEY_Z={code:"KeyZ",keyCode:90,easyString:"z"},d.NUMPAD_MULTIPLY={code:"NumpadMultiply",keyCode:106,easyString:"numpad_multiply"},d.NUMPAD_ADD={code:"NumpadAdd",keyCode:107,easyString:"numpad_add"},d.NUMPAD_DECIMAL={code:"NumpadDecimal",keyCode:108,easyString:"numpad_decimal"},d.NUMPAD_SUBTRACT={code:"NumpadSubtract",keyCode:109,easyString:"numpad_subtract"},d.NUMPAD_DIVIDE={code:"NumpadDivide",keyCode:111,easyString:"numpad_divide"},d.F1={code:"F1",keyCode:112,easyString:"f1"},d.F2={code:"F2",keyCode:113,easyString:"f2"},d.F3={code:"F3",keyCode:114,easyString:"f3"},d.F4={code:"F4",keyCode:115,easyString:"f4"},d.F5={code:"F5",keyCode:116,easyString:"f5"},d.F6={code:"F6",keyCode:117,easyString:"f6"},d.F7={code:"F7",keyCode:118,easyString:"f7"},d.F8={code:"F8",keyCode:119,easyString:"f8"},d.F9={code:"F9",keyCode:120,easyString:"f9"},d.F10={code:"F10",keyCode:121,easyString:"f10"},d.F11={code:"F11",keyCode:122,easyString:"f11"},d.F12={code:"F12",keyCode:123,easyString:"f12"},d.F13={code:"F13",keyCode:124,easyString:"f13"},d.F14={code:"F14",keyCode:125,easyString:"f14"},d.F15={code:"F15",keyCode:126,easyString:"f15"},d.F16={code:"F16",keyCode:127,easyString:"f16"},d.F17={code:"F17",keyCode:128,easyString:"f17"},d.F18={code:"F18",keyCode:129,easyString:"f18"},d.F19={code:"F19",keyCode:130,easyString:"f19"},d.F20={code:"F20",keyCode:131,easyString:"f20"},d.F21={code:"F21",keyCode:132,easyString:"f21"},d.F22={code:"F22",keyCode:133,easyString:"f22"},d.F23={code:"F23",keyCode:134,easyString:"f23"},d.F24={code:"F24",keyCode:135,easyString:"f24"},d.NUM_LOCK={code:"NumLock",keyCode:144,easyString:"numlock"},d.SEMICOLON={code:"Semicolon",keyCode:186,easyString:";"},d.EQUAL={code:"Equal",keyCode:187,easyString:"="},d.COMMA={code:"Comma",keyCode:188,easyString:","},d.MINUS={code:"Minus",keyCode:189,easyString:"-"},d.PERIOD={code:"Period",keyCode:190,easyString:"."},d.SLASH={code:"Slash",keyCode:191,easyString:"/"},d.BACKQUOTE={code:"Backquote",keyCode:192,easyString:"`"},d.INTL_RO={code:"IntlRo",keyCode:193,easyString:"intlro"},d.BRACKET_LEFT={code:"BracketLeft",keyCode:219,easyString:"["},d.BACKSLASH={code:"Backslash",keyCode:220,easyString:"\\"},d.BRACKET_RIGHT={code:"BracketRight",keyCode:221,easyString:"]"},d.QUOTE={code:"Quote",keyCode:222,easyString:"'"},d.INTL_BACKSLASH={code:"IntlBackslash",keyCode:229,easyString:"intlbackslash"},d.INTL_YEN={code:"IntlYen",keyCode:255,easyString:"intlyen"},d.MAX_KEY_CODE=d.INTL_YEN.keyCode})(h||(t.Key=h={})),Object.keys(h).map(d=>Reflect.get(h,d)).filter(d=>h.isKey(d)).forEach(d=>{v[d.code]=d,m[d.keyCode]=d,_[d.easyString]=d}),v.Numpad0=h.DIGIT0,m[96]=h.DIGIT0,v.Numpad1=h.DIGIT1,m[97]=h.DIGIT1,v.Numpad2=h.DIGIT2,m[98]=h.DIGIT2,v.Numpad3=h.DIGIT3,m[99]=h.DIGIT3,v.Numpad4=h.DIGIT4,m[100]=h.DIGIT4,v.Numpad5=h.DIGIT5,m[101]=h.DIGIT5,v.Numpad6=h.DIGIT6,m[102]=h.DIGIT6,v.Numpad7=h.DIGIT7,m[103]=h.DIGIT7,v.Numpad8=h.DIGIT8,m[104]=h.DIGIT8,v.Numpad9=h.DIGIT9,m[105]=h.DIGIT9,v.NumpadEnter=h.ENTER,v.NumpadEqual=h.EQUAL,v.MetaLeft=h.OS_LEFT,m[224]=h.OS_LEFT,v.MetaRight=h.OS_RIGHT,m[93]=h.OS_RIGHT,m[225]=h.ALT_RIGHT,m[110]=h.NUMPAD_DECIMAL,m[59]=h.SEMICOLON,m[61]=h.EQUAL,m[173]=h.MINUS,m[226]=h.BACKSLASH,m[60]=h.BACKSLASH,s.push(h.ALT_LEFT,h.ALT_RIGHT,h.CONTROL_LEFT,h.CONTROL_RIGHT,h.OS_LEFT,h.OS_RIGHT,h.SHIFT_LEFT,h.SHIFT_RIGHT);var u;(function(d){d.toKeyCode=E=>E instanceof c?E:c.createKeyCode({first:E}),d.toKeyCodes=E=>E instanceof c?[E]:Array.isArray(E)?E.slice().map(d.toKeyCode):[d.toKeyCode(E)]})(u||(t.KeysOrKeyCodes=u={}))},62100:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutContribution=void 0;class e{get layoutInfos(){return this._layoutInfos}constructor(){this._layoutInfos=[]}registerKeyboardLayout(r){this._layoutInfos.push(r)}}t.KeyboardLayoutContribution=e,e.INSTANCE=new e},98582:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000405",id:"",text:"Czech"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","{","",0,"VK_B"],KeyC:["c","C","&","",0,"VK_C"],KeyD:["d","D","\u0110","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","[","",0,"VK_F"],KeyG:["g","G","]","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","\u0142","",0,"VK_K"],KeyL:["l","L","\u0141","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","}","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","\\","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\u0111","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","@","",0,"VK_V"],KeyW:["w","W","|","",0,"VK_W"],KeyX:["x","X","#","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y","","",0,"VK_Y"],Digit1:["+","1","~","",0,"VK_1"],Digit2:["\u011B","2","\u02C7","",0,"VK_2"],Digit3:["\u0161","3","^","",0,"VK_3"],Digit4:["\u010D","4","\u02D8","",0,"VK_4"],Digit5:["\u0159","5","\xB0","",0,"VK_5"],Digit6:["\u017E","6","\u02DB","",0,"VK_6"],Digit7:["\xFD","7","`","",0,"VK_7"],Digit8:["\xE1","8","\u02D9","",0,"VK_8"],Digit9:["\xED","9","\xB4","",0,"VK_9"],Digit0:["\xE9","0","\u02DD","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["=","%","\xA8","",0,"VK_OEM_PLUS"],Equal:["\xB4","\u02C7","\xB8","",0,"VK_OEM_2"],BracketLeft:["\xFA","/","\xF7","",0,"VK_OEM_4"],BracketRight:[")","(","\xD7","",0,"VK_OEM_6"],Backslash:["\xA8","'","\xA4","",0,"VK_OEM_5"],Semicolon:["\u016F",'"',"$","",0,"VK_OEM_1"],Quote:["\xA7","!","\xDF","",0,"VK_OEM_7"],Backquote:[";","\xB0","","",0,"VK_OEM_3"],Comma:[",","?","<","",0,"VK_OEM_COMMA"],Period:[".",":",">","",0,"VK_OEM_PERIOD"],Slash:["-","_","*","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},61330:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000807",id:"",text:"Swiss German"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y","","",0,"VK_Y"],Digit1:["1","+","\xA6","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","*","#","",0,"VK_3"],Digit4:["4","\xE7","\xB0","",0,"VK_4"],Digit5:["5","%","\xA7","",0,"VK_5"],Digit6:["6","&","\xAC","",0,"VK_6"],Digit7:["7","/","|","",0,"VK_7"],Digit8:["8","(","\xA2","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","\xB4","",0,"VK_OEM_4"],Equal:["^","`","~","",0,"VK_OEM_6"],BracketLeft:["\xFC","\xE8","[","",0,"VK_OEM_1"],BracketRight:["\xA8","!","]","",0,"VK_OEM_3"],Backslash:["$","\xA3","}","",0,"VK_OEM_8"],Semicolon:["\xF6","\xE9","","",0,"VK_OEM_7"],Quote:["\xE4","\xE0","{","",0,"VK_OEM_5"],Backquote:["\xA7","\xB0","","",0,"VK_OEM_2"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","\\","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},69315:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.German",lang:"de",localizedName:"German"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u2039",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\u2122",0],KeyE:["e","E","\u20AC","\u2030",0],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\xCC",0],KeyH:["h","H","\xAA","\xD3",0],KeyI:["i","I","\u2044","\xDB",0],KeyJ:["j","J","\xBA","\u0131",0],KeyK:["k","K","\u2206","\u02C6",0],KeyL:["l","L","@","\uFB02",0],KeyM:["m","M","\xB5","\u02D8",0],KeyN:["n","N","~","\u203A",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\xAB","\xBB",0],KeyR:["r","R","\xAE","\xB8",0],KeyS:["s","S","\u201A","\xCD",0],KeyT:["t","T","\u2020","\u02DD",0],KeyU:["u","U","\xA8","\xC1",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\xD9",0],KeyY:["z","Z","\u03A9","\u02C7",0],KeyZ:["y","Y","\xA5","\u2021",0],Digit1:["1","!","\xA1","\xAC",0],Digit2:["2",'"',"\u201C","\u201D",0],Digit3:["3","\xA7","\xB6","#",0],Digit4:["4","$","\xA2","\xA3",0],Digit5:["5","%","[","\uFB01",0],Digit6:["6","&","]","^",8],Digit7:["7","/","|","\\",0],Digit8:["8","(","{","\u02DC",0],Digit9:["9",")","}","\xB7",0],Digit0:["0","=","\u2260","\xAF",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["\xDF","?","\xBF","\u02D9",0],Equal:["\xB4","`","'","\u02DA",3],BracketLeft:["\xFC","\xDC","\u2022","\xB0",0],BracketRight:["+","*","\xB1","\uF8FF",0],Backslash:["#","'","\u2018","\u2019",0],Semicolon:["\xF6","\xD6","\u0153","\u0152",0],Quote:["\xE4","\xC4","\xE6","\xC6",0],Backquote:["<",">","\u2264","\u2265",0],Comma:[",",";","\u221E","\u02DB",0],Period:[".",":","\u2026","\xF7",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",",",".",".",0],IntlBackslash:["^","\xB0","\u201E","\u201C",1],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},41872:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc104",layout:"de",variant:"",options:"",rules:"base"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE6","\xC6",0],KeyB:["b","B","\u201C","\u2018",0],KeyC:["c","C","\xA2","\xA9",0],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\u20AC","\u20AC",0],KeyF:["f","F","\u0111","\xAA",0],KeyG:["g","G","\u014B","\u014A",0],KeyH:["h","H","\u0127","\u0126",0],KeyI:["i","I","\u2192","\u0131",0],KeyJ:["j","J","\u0323","\u0307",0],KeyK:["k","K","\u0138","&",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:["m","M","\xB5","\xBA",0],KeyN:["n","N","\u201D","\u2019",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\xFE","\xDE",0],KeyQ:["q","Q","@","\u03A9",0],KeyR:["r","R","\xB6","\xAE",0],KeyS:["s","S","\u017F","\u1E9E",0],KeyT:["t","T","\u0167","\u0166",0],KeyU:["u","U","\u2193","\u2191",0],KeyV:["v","V","\u201E","\u201A",0],KeyW:["w","W","\u0142","\u0141",0],KeyX:["x","X","\xAB","\u2039",0],KeyY:["z","Z","\u2190","\xA5",0],KeyZ:["y","Y","\xBB","\u203A",0],Digit1:["1","!","\xB9","\xA1",0],Digit2:["2",'"',"\xB2","\u215B",0],Digit3:["3","\xA7","\xB3","\xA3",0],Digit4:["4","$","\xBC","\xA4",0],Digit5:["5","%","\xBD","\u215C",0],Digit6:["6","&","\xAC","\u215D",0],Digit7:["7","/","{","\u215E",0],Digit8:["8","(","[","\u2122",0],Digit9:["9",")","]","\xB1",0],Digit0:["0","=","}","\xB0",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["\xDF","?","\\","\xBF",0],Equal:["\u0301","\u0300","\u0327","\u0328",0],BracketLeft:["\xFC","\xDC","\u0308","\u030A",0],BracketRight:["+","*","~","\xAF",0],Backslash:["#","'","\u2019","\u0306",0],Semicolon:["\xF6","\xD6","\u030B","\u0323",0],Quote:["\xE4","\xC4","\u0302","\u030C",0],Backquote:["\u0302","\xB0","\u2032","\u2033",0],Comma:[",",";","\xB7","\xD7",0],Period:[".",":","\u2026","\xF7",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:["","","","",0],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:["/","/","/","/",0],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:[],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",",","",",",0],IntlBackslash:["<",">","|","\u0331",0],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:[],NumpadParenRight:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:["\r","\r","\r","\r",0],MetaRight:[".",".",".",".",0],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},47288:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000407",id:"",text:"German"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","@","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y","","",0,"VK_Y"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"\xB2","",0,"VK_2"],Digit3:["3","\xA7","\xB3","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["\xDF","?","\\","\u1E9E",0,"VK_OEM_4"],Equal:["\xB4","`","","",0,"VK_OEM_6"],BracketLeft:["\xFC","\xDC","","",0,"VK_OEM_1"],BracketRight:["+","*","~","",0,"VK_OEM_PLUS"],Backslash:["#","'","","",0,"VK_OEM_2"],Semicolon:["\xF6","\xD6","","",0,"VK_OEM_3"],Quote:["\xE4","\xC4","","",0,"VK_OEM_7"],Backquote:["^","\xB0","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","|","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},81682:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000406",id:"",text:"Danish"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","\xA4","$","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["+","?","","",0,"VK_OEM_PLUS"],Equal:["\xB4","`","|","",0,"VK_OEM_4"],BracketLeft:["\xE5","\xC5","","",0,"VK_OEM_6"],BracketRight:["\xA8","^","~","",0,"VK_OEM_1"],Backslash:["'","*","","",0,"VK_OEM_2"],Semicolon:["\xE6","\xC6","","",0,"VK_OEM_3"],Quote:["\xF8","\xD8","","",0,"VK_OEM_7"],Backquote:["\xBD","\xA7","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","\\","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},33695:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Dvorak",localizedName:"Dvorak",lang:"en"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["x","X","\u2248","\u02DB",0],KeyC:["j","J","\u2206","\xD4",0],KeyD:["e","E","\xB4","\xB4",4],KeyE:[".",">","\u2265","\u02D8",0],KeyF:["u","U","\xA8","\xA8",4],KeyG:["i","I","\u02C6","\u02C6",4],KeyH:["d","D","\u2202","\xCE",0],KeyI:["c","C","\xE7","\xC7",0],KeyJ:["h","H","\u02D9","\xD3",0],KeyK:["t","T","\u2020","\u02C7",0],KeyL:["n","N","\u02DC","\u02DC",4],KeyM:["m","M","\xB5","\xC2",0],KeyN:["b","B","\u222B","\u0131",0],KeyO:["r","R","\xAE","\u2030",0],KeyP:["l","L","\xAC","\xD2",0],KeyQ:["'",'"',"\xE6","\xC6",0],KeyR:["p","P","\u03C0","\u220F",0],KeyS:["o","O","\xF8","\xD8",0],KeyT:["y","Y","\xA5","\xC1",0],KeyU:["g","G","\xA9","\u02DD",0],KeyV:["k","K","\u02DA","\uF8FF",0],KeyW:[",","<","\u2264","\xAF",0],KeyX:["q","Q","\u0153","\u0152",0],KeyY:["f","F","\u0192","\xCF",0],KeyZ:[";",":","\u2026","\xDA",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["[","{","\u201C","\u201D",0],Equal:["]","}","\u2018","\u2019",0],BracketLeft:["/","?","\xF7","\xBF",0],BracketRight:["=","+","\u2260","\xB1",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:["s","S","\xDF","\xCD",0],Quote:["-","_","\u2013","\u2014",0],Backquote:["`","~","`","`",4],Comma:["w","W","\u2211","\u201E",0],Period:["v","V","\u221A","\u25CA",0],Slash:["z","Z","\u03A9","\xB8",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},84905:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000813",id:"",text:"Belgian (Period)"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["q","Q","","",0,"VK_Q"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:[",","?","","",0,"VK_OEM_COMMA"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["a","A","","",0,"VK_A"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["z","Z","","",0,"VK_Z"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["w","W","","",0,"VK_W"],Digit1:["&","1","|","",0,"VK_1"],Digit2:["\xE9","2","@","",0,"VK_2"],Digit3:['"',"3","#","",0,"VK_3"],Digit4:["'","4","{","",0,"VK_4"],Digit5:["(","5","[","",0,"VK_5"],Digit6:["\xA7","6","^","",0,"VK_6"],Digit7:["\xE8","7","","",0,"VK_7"],Digit8:["!","8","","",0,"VK_8"],Digit9:["\xE7","9","{","",0,"VK_9"],Digit0:["\xE0","0","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:[")","\xB0","","",0,"VK_OEM_4"],Equal:["-","_","","",0,"VK_OEM_MINUS"],BracketLeft:["^","\xA8","[","",0,"VK_OEM_6"],BracketRight:["$","*","]","",0,"VK_OEM_1"],Backslash:["\xB5","\xA3","`","`",0,"VK_OEM_5"],Semicolon:["m","M","","",0,"VK_M"],Quote:["\xF9","%","\xB4","\xB4",0,"VK_OEM_3"],Backquote:["\xB2","\xB3","","",0,"VK_OEM_7"],Comma:[";",".","","",0,"VK_OEM_PERIOD"],Period:[":","/","","",0,"VK_OEM_2"],Slash:["=","+","~","~",0,"VK_OEM_PLUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","\\","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},72817:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.USExtended",lang:"en",localizedName:"ABC - Extended"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xAF","\u0304",4],KeyB:["b","B","\u02D8","\u0306",4],KeyC:["c","C","\xB8","\u0327",4],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\xB4","\u0301",4],KeyF:["f","F","\u0192","",0],KeyG:["g","G","\xA9","\u2038",8],KeyH:["h","H","\u02CD","\u0331",4],KeyI:["i","I","\u02BC","\u031B",4],KeyJ:["j","J","\u02DD","\u030B",4],KeyK:["k","K","\u02DA","\u030A",4],KeyL:["l","L","-","\u0335",4],KeyM:["m","M","\u02DB","\u0328",4],KeyN:["n","N","\u02DC","\u0303",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P",",","\u0326",4],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","",0],KeyT:["t","T","\xFE","\xDE",0],KeyU:["u","U","\xA8","\u0308",4],KeyV:["v","V","\u02C7","\u030C",4],KeyW:["w","W","\u02D9","\u0307",4],KeyX:["x","X",".","\u0323",4],KeyY:["y","Y","\xA5","",0],KeyZ:["z","Z","\u02C0","\u0309",4],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\xA7","\u2020",0],Digit6:["6","^","\u02C6","\u0302",4],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\u2116",8],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","\u0300",4],Comma:[",","<","\u2264","\u201E",0],Period:[".",">","\u2265","\u0294",8],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},74306:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00004009",id:"",text:"India"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\u0101","\u0100",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","\u1E0D","\u1E0C",0,"VK_D"],KeyE:["e","E","\u0113","\u0112",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","\u1E45","\u1E44",0,"VK_G"],KeyH:["h","H","\u1E25","\u1E24",0,"VK_H"],KeyI:["i","I","\u012B","\u012A",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","l\u0325","L\u0325",0,"VK_L"],KeyM:["m","M","\u1E41","\u1E40",0,"VK_M"],KeyN:["n","N","\u1E47","\u1E46",0,"VK_N"],KeyO:["o","O","\u014D","\u014C",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","\xE6","\xC6",0,"VK_Q"],KeyR:["r","R","r\u0325","R\u0325",0,"VK_R"],KeyS:["s","S","\u015B","\u015A",0,"VK_S"],KeyT:["t","T","\u1E6D","\u1E6C",0,"VK_T"],KeyU:["u","U","\u016B","\u016A",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","\u1E63","\u1E62",0,"VK_X"],KeyY:["y","Y","\xF1","\xD1",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2","@","","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","\u20B9","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","\u02C6",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","\u02D8",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","-","\u02CD",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["\\","|","","",0,"VK_OEM_5"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'",'"',"","",0,"VK_OEM_7"],Backquote:["`","~","","~",0,"VK_OEM_3"],Comma:[",","<",",","<",0,"VK_OEM_COMMA"],Period:[".",">",".","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},52973:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.USInternational-PC",lang:"en",localizedName:"U.S. International - PC"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","\u02C6","\xA7","\uFB02",2],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",3],Backquote:["`","\u02DC","`","`",7],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},63962:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00020409",id:"0001",text:"United States-International"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE1","\xC1",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","\xA9","\xA2",0,"VK_C"],KeyD:["d","D","\xF0","\xD0",0,"VK_D"],KeyE:["e","E","\xE9","\xC9",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","\xED","\xCD",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","\xF8","\xD8",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","\xF1","\xD1",0,"VK_N"],KeyO:["o","O","\xF3","\xD3",0,"VK_O"],KeyP:["p","P","\xF6","\xD6",0,"VK_P"],KeyQ:["q","Q","\xE4","\xC4",0,"VK_Q"],KeyR:["r","R","\xAE","",0,"VK_R"],KeyS:["s","S","\xDF","\xA7",0,"VK_S"],KeyT:["t","T","\xFE","\xDE",0,"VK_T"],KeyU:["u","U","\xFA","\xDA",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","\xE5","\xC5",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","\xFC","\xDC",0,"VK_Y"],KeyZ:["z","Z","\xE6","\xC6",0,"VK_Z"],Digit1:["1","!","\xA1","\xB9",0,"VK_1"],Digit2:["2","@","\xB2","",0,"VK_2"],Digit3:["3","#","\xB3","",0,"VK_3"],Digit4:["4","$","\xA4","\xA3",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","^","\xBC","",0,"VK_6"],Digit7:["7","&","\xBD","",0,"VK_7"],Digit8:["8","*","\xBE","",0,"VK_8"],Digit9:["9","(","\u2018","",0,"VK_9"],Digit0:["0",")","\u2019","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","\xA5","",0,"VK_OEM_MINUS"],Equal:["=","+","\xD7","\xF7",0,"VK_OEM_PLUS"],BracketLeft:["[","{","\xAB","",0,"VK_OEM_4"],BracketRight:["]","}","\xBB","",0,"VK_OEM_6"],Backslash:["\\","|","\xAC","\xA6",0,"VK_OEM_5"],Semicolon:[";",":","\xB6","\xB0",0,"VK_OEM_1"],Quote:["'",'"',"\xB4","\xA8",0,"VK_OEM_7"],Backquote:["`","~","","",0,"VK_OEM_3"],Comma:[",","<","\xE7","\xC7",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","\xBF","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},42204:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.British",lang:"en",localizedName:"British"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\u2030",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\xCC",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","^","\xC8",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\u02DC",0],KeyN:["n","N","~","\u02C6",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\xC2",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\xCA",0],KeyU:["u","U","\xA8","\xCB",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\xD9",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xDB",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u20AC","\u2122",0],Digit3:["3","\xA3","#","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","\u0178",4],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","","",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},44321:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000809",id:"",text:"United Kingdom"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE1","\xC1",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\xE9","\xC9",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","\xED","\xCD",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","\xF3","\xD3",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","\xFA","\xDA",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","\xA3","","",0,"VK_3"],Digit4:["4","$","\u20AC","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["#","~","\\","|",0,"VK_OEM_7"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'","@","","",0,"VK_OEM_3"],Backquote:["`","\xAC","\xA6","",0,"VK_OEM_8"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_5"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},1835:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.US",lang:"en",localizedName:"U.S.",isUSStandard:!0},secondaryLayouts:[{id:"com.apple.keylayout.ABC",lang:"en",localizedName:"ABC"},{id:"com.sogou.inputmethod.sogou.pinyin",lang:"zh-Hans",localizedName:"Pinyin - Simplified"},{id:"com.apple.inputmethod.Kotoeri.Roman",lang:"en",localizedName:"Romaji"},{id:"com.apple.inputmethod.Kotoeri.Japanese",lang:"ja",localizedName:"Hiragana"},{id:"com.apple.keylayout.Australian",lang:"en",localizedName:"Australian"},{id:"com.apple.keylayout.Canadian",lang:"en",localizedName:"Canadian English"},{id:"com.apple.keylayout.Brazilian",lang:"pt",localizedName:"Brazilian"}],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","`",4],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},67496:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc105",layout:"us",variant:"",options:"",rules:"evdev",isUSStandard:!0},secondaryLayouts:[{model:"pc105",layout:"cn",variant:"",options:"",rules:"evdev"}],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","a","A",0],KeyB:["b","B","b","B",0],KeyC:["c","C","c","C",0],KeyD:["d","D","d","D",0],KeyE:["e","E","e","E",0],KeyF:["f","F","f","F",0],KeyG:["g","G","g","G",0],KeyH:["h","H","h","H",0],KeyI:["i","I","i","I",0],KeyJ:["j","J","j","J",0],KeyK:["k","K","k","K",0],KeyL:["l","L","l","L",0],KeyM:["m","M","m","M",0],KeyN:["n","N","n","N",0],KeyO:["o","O","o","O",0],KeyP:["p","P","p","P",0],KeyQ:["q","Q","q","Q",0],KeyR:["r","R","r","R",0],KeyS:["s","S","s","S",0],KeyT:["t","T","t","T",0],KeyU:["u","U","u","U",0],KeyV:["v","V","v","V",0],KeyW:["w","W","w","W",0],KeyX:["x","X","x","X",0],KeyY:["y","Y","y","Y",0],KeyZ:["z","Z","z","Z",0],Digit1:["1","!","1","!",0],Digit2:["2","@","2","@",0],Digit3:["3","#","3","#",0],Digit4:["4","$","4","$",0],Digit5:["5","%","5","%",0],Digit6:["6","^","6","^",0],Digit7:["7","&","7","&",0],Digit8:["8","*","8","*",0],Digit9:["9","(","9","(",0],Digit0:["0",")","0",")",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["-","_","-","_",0],Equal:["=","+","=","+",0],BracketLeft:["[","{","[","{",0],BracketRight:["]","}","]","}",0],Backslash:["\\","|","\\","|",0],Semicolon:[";",":",";",":",0],Quote:["'",'"',"'",'"',0],Backquote:["`","~","`","~",0],Comma:[",","<",",","<",0],Period:[".",">",".",">",0],Slash:["/","?","/","?",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:["","","","",0],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:["\r","\r","\r","\r",0],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",".","",".",0],IntlBackslash:["<",">","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[".",".",".",".",0],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:["(","(","(","(",0],NumpadParenRight:[")",")",")",")",0],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},20752:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000409",id:"",text:"US",isUSStandard:!0},secondaryLayouts:[{name:"00000804",id:"",text:"Chinese (Simplified) - US Keyboard"},{name:"00000411",id:"",text:"Japanese"},{name:"00000412",id:"",text:"Korean"},{name:"00000404",id:"",text:"Chinese (Traditional) - US Keyboard"}],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2","@","","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["\\","|","","",0,"VK_OEM_5"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'",'"',"","",0,"VK_OEM_7"],Backquote:["`","~","","",0,"VK_OEM_3"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},91844:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000080A",id:"",text:"Latin American"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","@","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","","",0,"VK_7"],Digit8:["8","(","","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","\\","",0,"VK_OEM_4"],Equal:["\xBF","\xA1","","",0,"VK_OEM_6"],BracketLeft:["\xB4","\xA8","","",0,"VK_OEM_1"],BracketRight:["+","*","~","",0,"VK_OEM_PLUS"],Backslash:["}","]","`","",0,"VK_OEM_2"],Semicolon:["\xF1","\xD1","","",0,"VK_OEM_3"],Quote:["{","[","^","",0,"VK_OEM_7"],Backquote:["|","\xB0","\xAC","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},39982:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Spanish-ISO",lang:"es",localizedName:"Spanish - ISO"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\xDF","",0],KeyC:["c","C","\xA9"," ",0],KeyD:["d","D","\u2202","\u2206",0],KeyE:["e","E","\u20AC","\u20AC",0],KeyF:["f","F","\u0192","\uFB01",0],KeyG:["g","G","\uF8FF","\uFB02",0],KeyH:["h","H","\u2122"," ",0],KeyI:["i","I"," "," ",0],KeyJ:["j","J","\xB6","\xAF",0],KeyK:["k","K","\xA7","\u02C7",0],KeyL:["l","L"," ","\u02D8",0],KeyM:["m","M","\xB5","\u02DA",0],KeyN:["n","N"," ","\u02D9",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE"," ",0],KeyS:["s","S","\u222B"," ",0],KeyT:["t","T","\u2020","\u2021",0],KeyU:["u","U"," "," ",0],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\xE6","\xC6",0],KeyX:["x","X","\u2211","\u203A",0],KeyY:["y","Y","\xA5"," ",0],KeyZ:["z","Z","\u03A9","\u2039",0],Digit1:["1","!","|","\u0131",0],Digit2:["2",'"',"@","\u02DD",0],Digit3:["3","\xB7","#","\u2022",0],Digit4:["4","$","\xA2","\xA3",0],Digit5:["5","%","\u221E","\u2030",0],Digit6:["6","&","\xAC"," ",0],Digit7:["7","/","\xF7","\u2044",0],Digit8:["8","(","\u201C","\u2018",0],Digit9:["9",")","\u201D","\u2019",0],Digit0:["0","=","\u2260","\u2248",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["'","?","\xB4","\xB8",0],Equal:["\xA1","\xBF","\u201A","\u02DB",0],BracketLeft:["`","^","[","\u02C6",3],BracketRight:["+","*","]","\xB1",0],Backslash:["\xE7","\xC7","}","\xBB",0],Semicolon:["\xF1","\xD1","~","\u02DC",4],Quote:["\xB4","\xA8","{","\xAB",3],Backquote:["<",">","\u2264","\u2265",0],Comma:[",",";","\u201E","",0],Period:[".",":","\u2026","\u2026",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",",",",",",",0],IntlBackslash:["\xBA","\xAA","\\","\xB0",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},28735:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc105",layout:"es",variant:"",options:"",rules:"evdev"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE6","\xC6",0],KeyB:["b","B","\u201D","\u2019",0],KeyC:["c","C","\xA2","\xA9",0],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\u20AC","\xA2",0],KeyF:["f","F","\u0111","\xAA",0],KeyG:["g","G","\u014B","\u014A",0],KeyH:["h","H","\u0127","\u0126",0],KeyI:["i","I","\u2192","\u0131",0],KeyJ:["j","J","\u0309","\u031B",0],KeyK:["k","K","\u0138","&",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:["m","M","\xB5","\xBA",0],KeyN:["n","N","n","N",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\xFE","\xDE",0],KeyQ:["q","Q","@","\u03A9",0],KeyR:["r","R","\xB6","\xAE",0],KeyS:["s","S","\xDF","\xA7",0],KeyT:["t","T","\u0167","\u0166",0],KeyU:["u","U","\u2193","\u2191",0],KeyV:["v","V","\u201C","\u2018",0],KeyW:["w","W","\u0142","\u0141",0],KeyX:["x","X","\xBB",">",0],KeyY:["y","Y","\u2190","\xA5",0],KeyZ:["z","Z","\xAB","<",0],Digit1:["1","!","|","\xA1",0],Digit2:["2",'"',"@","\u215B",0],Digit3:["3","\xB7","#","\xA3",0],Digit4:["4","$","~","$",0],Digit5:["5","%","\xBD","\u215C",0],Digit6:["6","&","\xAC","\u215D",0],Digit7:["7","/","{","\u215E",0],Digit8:["8","(","[","\u2122",0],Digit9:["9",")","]","\xB1",0],Digit0:["0","=","}","\xB0",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["'","?","\\","\xBF",0],Equal:["\xA1","\xBF","\u0303","~",0],BracketLeft:["\u0300","\u0302","[","\u030A",0],BracketRight:["+","*","]","\u0304",0],Backslash:["\xE7","\xC7","}","\u0306",0],Semicolon:["\xF1","\xD1","~","\u030B",0],Quote:["\u0301","\u0308","{","{",0],Backquote:["\xBA","\xAA","\\","\\",0],Comma:[",",";","\u2500","\xD7",0],Period:[".",":","\xB7","\xF7",0],Slash:["-","_","\u0323","\u0307",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:["","","","",0],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:["\r","\r","\r","\r",0],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",".","",".",0],IntlBackslash:["<",">","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[".",".",".",".",0],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:["(","(","(","(",0],NumpadParenRight:[")",")",")",")",0],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},66411:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000040A",id:"",text:"Spanish"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","|","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","\xB7","#","",0,"VK_3"],Digit4:["4","$","~","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","\xAC","",0,"VK_6"],Digit7:["7","/","","",0,"VK_7"],Digit8:["8","(","","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","","",0,"VK_OEM_4"],Equal:["\xA1","\xBF","","",0,"VK_OEM_6"],BracketLeft:["`","^","[","",0,"VK_OEM_1"],BracketRight:["+","*","]","",0,"VK_OEM_PLUS"],Backslash:["\xE7","\xC7","}","",0,"VK_OEM_2"],Semicolon:["\xF1","\xD1","","",0,"VK_OEM_3"],Quote:["\xB4","\xA8","{","",0,"VK_OEM_7"],Backquote:["\xBA","\xAA","\\","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},58794:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.French",lang:"fr",localizedName:"French"},secondaryLayouts:[],mapping:{KeyA:["q","Q","\u2021","\u03A9",0],KeyB:["b","B","\xDF","\u222B",0],KeyC:["c","C","\xA9","\xA2",0],KeyD:["d","D","\u2202","\u2206",0],KeyE:["e","E","\xEA","\xCA",0],KeyF:["f","F","\u0192","\xB7",0],KeyG:["g","G","\uFB01","\uFB02",0],KeyH:["h","H","\xCC","\xCE",0],KeyI:["i","I","\xEE","\xEF",0],KeyJ:["j","J","\xCF","\xCD",0],KeyK:["k","K","\xC8","\xCB",0],KeyL:["l","L","\xAC","|",0],KeyM:[",","?","\u221E","\xBF",0],KeyN:["n","N","~","\u0131",4],KeyO:["o","O","\u0153","\u0152",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["a","A","\xE6","\xC6",0],KeyR:["r","R","\xAE","\u201A",0],KeyS:["s","S","\xD2","\u2211",0],KeyT:["t","T","\u2020","\u2122",0],KeyU:["u","U","\xBA","\xAA",0],KeyV:["v","V","\u25CA","\u221A",0],KeyW:["z","Z","\xC2","\xC5",0],KeyX:["x","X","\u2248","\u2044",0],KeyY:["y","Y","\xDA","\u0178",0],KeyZ:["w","W","\u2039","\u203A",0],Digit1:["&","1","\uF8FF","\xB4",8],Digit2:["\xE9","2","\xEB","\u201E",0],Digit3:['"',"3","\u201C","\u201D",0],Digit4:["'","4","\u2018","\u2019",0],Digit5:["(","5","{","[",0],Digit6:["\xA7","6","\xB6","\xE5",0],Digit7:["\xE8","7","\xAB","\xBB",0],Digit8:["!","8","\xA1","\xDB",0],Digit9:["\xE7","9","\xC7","\xC1",0],Digit0:["\xE0","0","\xF8","\xD8",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:[")","\xB0","}","]",0],Equal:["-","_","\u2014","\u2013",0],BracketLeft:["^","\xA8","\xF4","\xD4",3],BracketRight:["$","*","\u20AC","\xA5",0],Backslash:["`","\xA3","@","#",1],Semicolon:["m","M","\xB5","\xD3",0],Quote:["\xF9","%","\xD9","\u2030",0],Backquote:["<",">","\u2264","\u2265",0],Comma:[";",".","\u2026","\u2022",0],Period:[":","/","\xF7","\\",0],Slash:["=","+","\u2260","\xB1",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",".",",",".",0],IntlBackslash:["@","#","\u2022","\u0178",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},62035:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc104",layout:"fr",variant:"",options:"",rules:"base"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["q","Q","@","\u03A9",0],KeyB:["b","B","\u201D","\u2019",0],KeyC:["c","C","\xA2","\xA9",0],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\u20AC","\xA2",0],KeyF:["f","F","\u0111","\xAA",0],KeyG:["g","G","\u014B","\u014A",0],KeyH:["h","H","\u0127","\u0126",0],KeyI:["i","I","\u2192","\u0131",0],KeyJ:["j","J","\u0309","\u031B",0],KeyK:["k","K","\u0138","&",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:[",","?","\u0301","\u030B",0],KeyN:["n","N","n","N",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\xFE","\xDE",0],KeyQ:["a","A","\xE6","\xC6",0],KeyR:["r","R","\xB6","\xAE",0],KeyS:["s","S","\xDF","\xA7",0],KeyT:["t","T","\u0167","\u0166",0],KeyU:["u","U","\u2193","\u2191",0],KeyV:["v","V","\u201C","\u2018",0],KeyW:["z","Z","\xAB","<",0],KeyX:["x","X","\xBB",">",0],KeyY:["y","Y","\u2190","\xA5",0],KeyZ:["w","W","\u0142","\u0141",0],Digit1:["&","1","\xB9","\xA1",0],Digit2:["\xE9","2","~","\u215B",0],Digit3:['"',"3","#","\xA3",0],Digit4:["'","4","{","$",0],Digit5:["(","5","[","\u215C",0],Digit6:["-","6","|","\u215D",0],Digit7:["\xE8","7","`","\u215E",0],Digit8:["_","8","\\","\u2122",0],Digit9:["\xE7","9","^","\xB1",0],Digit0:["\xE0","0","@","\xB0",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:[")","\xB0","]","\xBF",0],Equal:["=","+","}","\u0328",0],BracketLeft:["\u0302","\u0308","\u0308","\u030A",0],BracketRight:["$","\xA3","\xA4","\u0304",0],Backslash:["*","\xB5","\u0300","\u0306",0],Semicolon:["m","M","\xB5","\xBA",0],Quote:["\xF9","%","\u0302","\u030C",0],Backquote:["\xB2","~","\xAC","\xAC",0],Comma:[";",".","\u2500","\xD7",0],Period:[":","/","\xB7","\xF7",0],Slash:["!","\xA7","\u0323","\u0307",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:["","","","",0],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:["/","/","/","/",0],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:[],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",".","",".",0],IntlBackslash:["<",">","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:[],NumpadParenRight:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:["\r","\r","\r","\r",0],MetaRight:[".",".",".",".",0],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},74519:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000040C",id:"",text:"French"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["q","Q","","",0,"VK_Q"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:[",","?","","",0,"VK_OEM_COMMA"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["a","A","","",0,"VK_A"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["z","Z","","",0,"VK_Z"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["w","W","","",0,"VK_W"],Digit1:["&","1","","",0,"VK_1"],Digit2:["\xE9","2","~","",0,"VK_2"],Digit3:['"',"3","#","",0,"VK_3"],Digit4:["'","4","{","",0,"VK_4"],Digit5:["(","5","[","",0,"VK_5"],Digit6:["-","6","|","",0,"VK_6"],Digit7:["\xE8","7","`","",0,"VK_7"],Digit8:["_","8","\\","",0,"VK_8"],Digit9:["\xE7","9","^","",0,"VK_9"],Digit0:["\xE0","0","@","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:[")","\xB0","]","",0,"VK_OEM_4"],Equal:["=","+","}","",0,"VK_OEM_PLUS"],BracketLeft:["^","\xA8","","",0,"VK_OEM_6"],BracketRight:["$","\xA3","\xA4","",0,"VK_OEM_1"],Backslash:["*","\xB5","","",0,"VK_OEM_5"],Semicolon:["m","M","","",0,"VK_M"],Quote:["\xF9","%","","",0,"VK_OEM_3"],Backquote:["\xB2","","","",0,"VK_OEM_7"],Comma:[";",".","","",0,"VK_OEM_PERIOD"],Period:[":","/","","",0,"VK_OEM_2"],Slash:["!","\xA7","","",0,"VK_OEM_8"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},99940:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000040E",id:"",text:"Hungarian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE4","",0,"VK_A"],KeyB:["b","B","{","",0,"VK_B"],KeyC:["c","C","&","",0,"VK_C"],KeyD:["d","D","\u0110","",0,"VK_D"],KeyE:["e","E","\xC4","",0,"VK_E"],KeyF:["f","F","[","",0,"VK_F"],KeyG:["g","G","]","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","\xCD","",0,"VK_I"],KeyJ:["j","J","\xED","",0,"VK_J"],KeyK:["k","K","\u0142","",0,"VK_K"],KeyL:["l","L","\u0141","",0,"VK_L"],KeyM:["m","M","<","",0,"VK_M"],KeyN:["n","N","}","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","\\","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\u0111","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","\u20AC","",0,"VK_U"],KeyV:["v","V","@","",0,"VK_V"],KeyW:["w","W","|","",0,"VK_W"],KeyX:["x","X","#","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y",">","",0,"VK_Y"],Digit1:["1","'","~","",0,"VK_1"],Digit2:["2",'"',"\u02C7","",0,"VK_2"],Digit3:["3","+","^","",0,"VK_3"],Digit4:["4","!","\u02D8","",0,"VK_4"],Digit5:["5","%","\xB0","",0,"VK_5"],Digit6:["6","/","\u02DB","",0,"VK_6"],Digit7:["7","=","`","",0,"VK_7"],Digit8:["8","(","\u02D9","",0,"VK_8"],Digit9:["9",")","\xB4","",0,"VK_9"],Digit0:["\xF6","\xD6","\u02DD","",0,"VK_OEM_3"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["\xFC","\xDC","\xA8","",0,"VK_OEM_2"],Equal:["\xF3","\xD3","\xB8","",0,"VK_OEM_PLUS"],BracketLeft:["\u0151","\u0150","\xF7","",0,"VK_OEM_4"],BracketRight:["\xFA","\xDA","\xD7","",0,"VK_OEM_6"],Backslash:["\u0171","\u0170","\xA4","",0,"VK_OEM_5"],Semicolon:["\xE9","\xC9","$","",0,"VK_OEM_1"],Quote:["\xE1","\xC1","\xDF","",0,"VK_OEM_7"],Backquote:["0","\xA7","","",0,"VK_0"],Comma:[",","?",";","",0,"VK_OEM_COMMA"],Period:[".",":",">","",0,"VK_OEM_PERIOD"],Slash:["-","_","*","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\xED","\xCD","<","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},1661:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Italian-Pro",lang:"it",localizedName:"Italian"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\xCD",0],KeyC:["c","C","\xA9","\xC1",0],KeyD:["d","D","\u2202","\u02D8",0],KeyE:["e","E","\u20AC","\xC8",0],KeyF:["f","F","\u0192","\u02D9",0],KeyG:["g","G","\u221E","\u02DA",0],KeyH:["h","H","\u2206","\xB8",0],KeyI:["i","I","\u0153","\u0152",0],KeyJ:["j","J","\xAA","\u02DD",0],KeyK:["k","K","\xBA","\u02DB",0],KeyL:["l","L","\xAC","\u02C7",0],KeyM:["m","M","\xB5","\xDA",0],KeyN:["n","N","\u02DC","\xD3",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u201E","\u201A",0],KeyR:["r","R","\xAE","\xCC",0],KeyS:["s","S","\xDF","\xAF",0],KeyT:["t","T","\u2122","\xD2",0],KeyU:["u","U","\xA8","\xD9",4],KeyV:["v","V","\u221A","\xC9",0],KeyW:["w","W","\u03A9","\xC0",0],KeyX:["x","X","\u2020","\u2021",0],KeyY:["y","Y","\xE6","\xC6",0],KeyZ:["z","Z","\u2211"," ",0],Digit1:["1","!","\xAB","\xBB",0],Digit2:["2",'"',"\u201C","\u201D",0],Digit3:["3","\xA3","\u2018","\u2019",0],Digit4:["4","$","\xA5","\xA2",0],Digit5:["5","%","~","\u2030",0],Digit6:["6","&","\u2039","\u203A",0],Digit7:["7","/","\xF7","\u2044",0],Digit8:["8","(","\xB4","\uF8FF",4],Digit9:["9",")","`"," ",4],Digit0:["0","=","\u2260","\u2248",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["'","?","\xA1","\xBF",0],Equal:["\xEC","^","\u02C6","\xB1",4],BracketLeft:["\xE8","\xE9","[","{",0],BracketRight:["+","*","]","}",0],Backslash:["\xF9","\xA7","\xB6","\u25CA",0],Semicolon:["\xF2","\xE7","@","\xC7",0],Quote:["\xE0","\xB0","#","\u221E",0],Backquote:["<",">","\u2264","\u2265",0],Comma:[",",";","\u2026"," ",0],Period:[".",":","\u2022","\xB7",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",".",",",".",0],IntlBackslash:["\\","|","`","\u0131",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},51562:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000410",id:"",text:"Italian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","\xA3","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","","",0,"VK_7"],Digit8:["8","(","","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","","",0,"VK_OEM_4"],Equal:["\xEC","^","","",0,"VK_OEM_6"],BracketLeft:["\xE8","\xE9","[","{",0,"VK_OEM_1"],BracketRight:["+","*","]","}",0,"VK_OEM_PLUS"],Backslash:["\xF9","\xA7","","",0,"VK_OEM_2"],Semicolon:["\xF2","\xE7","@","",0,"VK_OEM_3"],Quote:["\xE0","\xB0","#","",0,"VK_OEM_7"],Backquote:["\\","|","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},59084:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.google.inputmethod.Japanese.Roman",lang:"en",localizedName:"Alphanumeric (Google)"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xAF","\u0304",4],KeyB:["b","B","\u02D8","\u0306",4],KeyC:["c","C","\xB8","\u0327",4],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\xB4","\u0301",4],KeyF:["f","F","\u0192","",0],KeyG:["g","G","\xA9","\u2038",8],KeyH:["h","H","\u02CD","\u0331",4],KeyI:["i","I","\u02BC","\u031B",4],KeyJ:["j","J","\u02DD","\u030B",4],KeyK:["k","K","\u02DA","\u030A",4],KeyL:["l","L","-","\u0335",4],KeyM:["m","M","\u02DB","\u0328",4],KeyN:["n","N","\u02DC","\u0303",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P",",","\u0326",4],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","",0],KeyT:["t","T","\xFE","\xDE",0],KeyU:["u","U","\xA8","\u0308",4],KeyV:["v","V","\u02C7","\u030C",4],KeyW:["w","W","\u02D9","\u0307",4],KeyX:["x","X",".","\u0323",4],KeyY:["y","Y","\xA5","",0],KeyZ:["z","Z","\u02C0","\u0309",4],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\xA7","\u2020",0],Digit6:["6","^","\u02C6","\u0302",4],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\u2116",8],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","\u0300",4],Comma:[",","<","\u2264","\u201E",0],Period:[".",">","\u2265","\u0294",8],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},51972:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.inputmethod.Kotoeri.Japanese",lang:"ja",localizedName:"Hiragana"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","`",4],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},12484:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.inputmethod.Korean.2SetKorean",lang:"ko",localizedName:"2-Set Korean"},secondaryLayouts:[],mapping:{KeyA:["\u3141","\u3141","a","A",0],KeyB:["\u3160","\u3160","b","B",0],KeyC:["\u314A","\u314A","c","C",0],KeyD:["\u3147","\u3147","d","D",0],KeyE:["\u3137","\u3138","e","E",0],KeyF:["\u3139","\u3139","f","F",0],KeyG:["\u314E","\u314E","g","G",0],KeyH:["\u3157","\u3157","h","H",0],KeyI:["\u3151","\u3151","i","I",0],KeyJ:["\u3153","\u3153","j","J",0],KeyK:["\u314F","\u314F","k","K",0],KeyL:["\u3163","\u3163","l","L",0],KeyM:["\u3161","\u3161","m","M",0],KeyN:["\u315C","\u315C","n","N",0],KeyO:["\u3150","\u3152","o","O",0],KeyP:["\u3154","\u3156","p","P",0],KeyQ:["\u3142","\u3143","q","Q",0],KeyR:["\u3131","\u3132","r","R",0],KeyS:["\u3134","\u3134","s","S",0],KeyT:["\u3145","\u3146","t","T",0],KeyU:["\u3155","\u3155","u","U",0],KeyV:["\u314D","\u314D","v","V",0],KeyW:["\u3148","\u3149","w","W",0],KeyX:["\u314C","\u314C","x","X",0],KeyY:["\u315B","\u315B","y","Y",0],KeyZ:["\u314B","\u314B","z","Z",0],Digit1:["1","!","1","!",0],Digit2:["2","@","2","@",0],Digit3:["3","#","3","#",0],Digit4:["4","$","4","$",0],Digit5:["5","%","5","%",0],Digit6:["6","^","6","^",0],Digit7:["7","&","7","&",0],Digit8:["8","*","8","*",0],Digit9:["9","(","9","(",0],Digit0:["0",")","0",")",0],Enter:[],Escape:["","","","\u200C",0],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","-","_",0],Equal:["=","+","=","+",0],BracketLeft:["[","{","[","{",0],BracketRight:["]","}","]","}",0],Backslash:["\\","|","\\","|",0],Semicolon:[";",":",";",":",0],Quote:["'",'"',"'",'"',0],Backquote:["\u20A9","~","`","~",0],Comma:[",","<",",","<",0],Period:[".",">",".",">",0],Slash:["/","?","/","?",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},3892:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireRegister=void 0;const n=()=>{e(1835),e(55005),e(42204),e(39982),e(59084),e(69315),e(52973),e(72817),e(58794),e(51972),e(76878),e(1661),e(30665),e(70646),e(12484),e(33695)};t.requireRegister=n},5153:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutContribution=t.requireRegister=void 0;const n=e(43718),r=e(3892),o=e(24505),c=e(95849);t.requireRegister=n.isWindows?c.requireRegister:n.isOSX?r.requireRegister:o.requireRegister;var p=e(62100);Object.defineProperty(t,"KeyboardLayoutContribution",{enumerable:!0,get:function(){return p.KeyboardLayoutContribution}})},24505:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireRegister=void 0;const n=()=>{e(67496),e(28735),e(41872),e(62035),e(55794)};t.requireRegister=n},95849:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireRegister=void 0;const n=()=>{e(20752),e(91844),e(74306),e(47288),e(44321),e(74519),e(95072),e(66411),e(63962),e(8422),e(65803),e(51562),e(6650),e(68457),e(29987),e(81682),e(1644),e(86185),e(99940),e(61330),e(84905),e(98582)};t.requireRegister=n},1644:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000414",id:"",text:"Norwegian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","\xA4","$","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["+","?","","",0,"VK_OEM_PLUS"],Equal:["\\","`","\xB4","",0,"VK_OEM_4"],BracketLeft:["\xE5","\xC5","","",0,"VK_OEM_6"],BracketRight:["\xA8","^","~","",0,"VK_OEM_1"],Backslash:["'","*","","",0,"VK_OEM_2"],Semicolon:["\xF8","\xD8","","",0,"VK_OEM_3"],Quote:["\xE6","\xC6","","",0,"VK_OEM_7"],Backquote:["|","\xA7","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},76878:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.PolishPro",lang:"pl",localizedName:"Polish - Pro"},secondaryLayouts:[],mapping:{KeyA:["a","A","\u0105","\u0104",0],KeyB:["b","B","\u013C","\u0171",0],KeyC:["c","C","\u0107","\u0106",0],KeyD:["d","D","\u2202","\u017D",0],KeyE:["e","E","\u0119","\u0118",0],KeyF:["f","F","\u0144","\u017E",0],KeyG:["g","G","\xA9","\u016A",0],KeyH:["h","H","\u0137","\xD3",0],KeyI:["i","I","^","\u0165",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u017B","\u016B",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:["m","M","\u0136","\u0173",0],KeyN:["n","N","\u0144","\u0143",0],KeyO:["o","O","\xF3","\xD3",0],KeyP:["p","P","\u013B","\u0142",0],KeyQ:["q","Q","\u014C","\u0151",0],KeyR:["r","R","\xAE","\xA3",0],KeyS:["s","S","\u015B","\u015A",0],KeyT:["t","T","\u2020","\u015B",0],KeyU:["u","U","\xA8","\u0164",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u017A","\u0179",0],KeyY:["y","Y","\u012B","\xC1",0],KeyZ:["z","Z","\u017C","\u017B",0],Digit1:["1","!","\u0143","\u0155",0],Digit2:["2","@","\u2122","\u0158",0],Digit3:["3","#","\u20AC","\u2039",0],Digit4:["4","$","\xDF","\u203A",0],Digit5:["5","%","\u012F","\u0159",0],Digit6:["6","^","\xA7","\u0156",0],Digit7:["7","&","\xB6","\u0157",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\u013D","\u0160",0],Digit0:["0",")","\u013E","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\u012A",0],BracketLeft:["[","{","\u201E","\u201D",0],BracketRight:["]","}","\u201A","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\u013A","\u0123",0],Backquote:["`","~","`","\u0154",4],Comma:[",","<","\u2264","\xDD",0],Period:[".",">","\u2265","\xFD",0],Slash:["/","?","\xF7","\u0146",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xA3","\xAC","\xAC",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},65803:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000415",id:"",text:"Polish (Programmers)"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\u0105","\u0104",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","\u0107","\u0106",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u0119","\u0118",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","\u0142","\u0141",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","\u0144","\u0143",0,"VK_N"],KeyO:["o","O","\xF3","\xD3",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\u015B","\u015A",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","\u20AC","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","\u017A","\u0179",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","\u017C","\u017B",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2","@","","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["\\","|","","",0,"VK_OEM_5"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'",'"',"","",0,"VK_OEM_7"],Backquote:["`","~","","",0,"VK_OEM_3"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},95072:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000416",id:"",text:"Portuguese (Brazilian ABNT)"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","\u20A2","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\xB0","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","/","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","?","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","\xB9","",0,"VK_1"],Digit2:["2","@","\xB2","",0,"VK_2"],Digit3:["3","#","\xB3","",0,"VK_3"],Digit4:["4","$","\xA3","",0,"VK_4"],Digit5:["5","%","\xA2","",0,"VK_5"],Digit6:["6","\xA8","\xAC","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","\xA7","",0,"VK_OEM_PLUS"],BracketLeft:["\xB4","`","","",0,"VK_OEM_4"],BracketRight:["[","{","\xAA","",0,"VK_OEM_6"],Backslash:["]","}","\xBA","",0,"VK_OEM_5"],Semicolon:["\xE7","\xC7","","",0,"VK_OEM_1"],Quote:["~","^","","",0,"VK_OEM_7"],Backquote:["'",'"',"","",0,"VK_OEM_3"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:[";",":","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[".",".","","",0,"VK_ABNT_C2"],IntlRo:["/","?","\xB0","",0,"VK_ABNT_C1"],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},70646:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Brazilian-Pro",lang:"pt"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","\u02C6","\xA7","\uFB02",2],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",3],Backquote:["`","\u02DC","`","`",7],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},29987:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000816",id:"",text:"Portuguese"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","$","\xA7","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","","",0,"VK_OEM_4"],Equal:["\xAB","\xBB","","",0,"VK_OEM_6"],BracketLeft:["+","*","\xA8","",0,"VK_OEM_PLUS"],BracketRight:["\xB4","`","]","",0,"VK_OEM_1"],Backslash:["~","^","","",0,"VK_OEM_2"],Semicolon:["\xE7","\xC7","","",0,"VK_OEM_3"],Quote:["\xBA","\xAA","","",0,"VK_OEM_7"],Backquote:["\\","|","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},30665:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Russian",lang:"ru",localizedName:"Russian"},secondaryLayouts:[],mapping:{KeyA:["\u0444","\u0424","\u0192","\u0192",0],KeyB:["\u0438","\u0418","\u0438","\u0418",0],KeyC:["\u0441","\u0421","\u2260","\u2260",0],KeyD:["\u0432","\u0412","\u045B","\u040B",0],KeyE:["\u0443","\u0423","\u045C","\u040C",0],KeyF:["\u0430","\u0410","\xF7","\xF7",0],KeyG:["\u043F","\u041F","\xA9","\xA9",0],KeyH:["\u0440","\u0420","\u20BD","\u20BD",0],KeyI:["\u0448","\u0428","\u0455","\u0405",0],KeyJ:["\u043E","\u041E","\xB0","\u2022",0],KeyK:["\u043B","\u041B","\u0459","\u0409",0],KeyL:["\u0434","\u0414","\u2206","\u2206",0],KeyM:["\u044C","\u042C","~","~",0],KeyN:["\u0442","\u0422","\u2122","\u2122",0],KeyO:["\u0449","\u0429","\u045E","\u040E",0],KeyP:["\u0437","\u0417","\u2018","\u2019",0],KeyQ:["\u0439","\u0419","\u0458","\u0408",0],KeyR:["\u043A","\u041A","\xAE","\xAE",0],KeyS:["\u044B","\u042B","\u044B","\u042B",0],KeyT:["\u0435","\u0415","\u2020","\u2020",0],KeyU:["\u0433","\u0413","\u0453","\u0403",0],KeyV:["\u043C","\u041C","\xB5","\xB5",0],KeyW:["\u0446","\u0426","\u045F","\u040F",0],KeyX:["\u0447","\u0427","\u2248","\u2248",0],KeyY:["\u043D","\u041D","\u045A","\u040A",0],KeyZ:["\u044F","\u042F","\u0452","\u0402",0],Digit1:["1","!","!","|",0],Digit2:["2",'"',"@",'"',0],Digit3:["3","\u2116","#","\xA3",0],Digit4:["4","%","$","\u20AC",0],Digit5:["5",":","%","\u221E",0],Digit6:["6",",","^","\xAC",0],Digit7:["7",".","&","\xB6",0],Digit8:["8",";","*","\u221A",0],Digit9:["9","(","{","'",0],Digit0:["0",")","}","`",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\xBB","\xAB",0],BracketLeft:["\u0445","\u0425","\u201C","\u201D",0],BracketRight:["\u044A","\u042A","\u044A","\u042A",0],Backslash:["\u0451","\u0401","\u0451","\u0401",0],Semicolon:["\u0436","\u0416","\u2026","\u2026",0],Quote:["\u044D","\u042D","\u044D","\u042D",0],Backquote:["]","[","]","[",0],Comma:["\u0431","\u0411","\u2264","<",0],Period:["\u044E","\u042E","\u2265",">",0],Slash:["/","?","\u201C","\u201E",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",".",",",",",0],IntlBackslash:[">","<","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},55794:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc104",layout:"ru",variant:",",options:"",rules:"base"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["\u0444","\u0424","\u0444","\u0424",0],KeyB:["\u0438","\u0418","\u0438","\u0418",0],KeyC:["\u0441","\u0421","\u0441","\u0421",0],KeyD:["\u0432","\u0412","\u0432","\u0412",0],KeyE:["\u0443","\u0423","\u0443","\u0423",0],KeyF:["\u0430","\u0410","\u0430","\u0410",0],KeyG:["\u043F","\u041F","\u043F","\u041F",0],KeyH:["\u0440","\u0420","\u0440","\u0420",0],KeyI:["\u0448","\u0428","\u0448","\u0428",0],KeyJ:["\u043E","\u041E","\u043E","\u041E",0],KeyK:["\u043B","\u041B","\u043B","\u041B",0],KeyL:["\u0434","\u0414","\u0434","\u0414",0],KeyM:["\u044C","\u042C","\u044C","\u042C",0],KeyN:["\u0442","\u0422","\u0442","\u0422",0],KeyO:["\u0449","\u0429","\u0449","\u0429",0],KeyP:["\u0437","\u0417","\u0437","\u0417",0],KeyQ:["\u0439","\u0419","\u0439","\u0419",0],KeyR:["\u043A","\u041A","\u043A","\u041A",0],KeyS:["\u044B","\u042B","\u044B","\u042B",0],KeyT:["\u0435","\u0415","\u0435","\u0415",0],KeyU:["\u0433","\u0413","\u0433","\u0413",0],KeyV:["\u043C","\u041C","\u043C","\u041C",0],KeyW:["\u0446","\u0426","\u0446","\u0426",0],KeyX:["\u0447","\u0427","\u0447","\u0427",0],KeyY:["\u043D","\u041D","\u043D","\u041D",0],KeyZ:["\u044F","\u042F","\u044F","\u042F",0],Digit1:["1","!","1","!",0],Digit2:["2",'"',"2",'"',0],Digit3:["3","\u2116","3","\u2116",0],Digit4:["4",";","4",";",0],Digit5:["5","%","5","%",0],Digit6:["6",":","6",":",0],Digit7:["7","?","7","?",0],Digit8:["8","*","\u20BD","",0],Digit9:["9","(","9","(",0],Digit0:["0",")","0",")",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["-","_","-","_",0],Equal:["=","+","=","+",0],BracketLeft:["\u0445","\u0425","\u0445","\u0425",0],BracketRight:["\u044A","\u042A","\u044A","\u042A",0],Backslash:["\\","/","\\","/",0],Semicolon:["\u0436","\u0416","\u0436","\u0416",0],Quote:["\u044D","\u042D","\u044D","\u042D",0],Backquote:["\u0451","\u0401","\u0451","\u0401",0],Comma:["\u0431","\u0411","\u0431","\u0411",0],Period:["\u044E","\u042E","\u044E","\u042E",0],Slash:[".",",",".",",",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:["","","","",0],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:["/","/","/","/",0],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:[],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",",","",",",0],IntlBackslash:["/","|","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:[],NumpadParenRight:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:["\r","\r","\r","\r",0],MetaRight:[".",".",".",".",0],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},8422:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000419",id:"",text:"Russian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["\u0444","\u0424","","",0,"VK_A"],KeyB:["\u0438","\u0418","","",0,"VK_B"],KeyC:["\u0441","\u0421","","",0,"VK_C"],KeyD:["\u0432","\u0412","","",0,"VK_D"],KeyE:["\u0443","\u0423","","",0,"VK_E"],KeyF:["\u0430","\u0410","","",0,"VK_F"],KeyG:["\u043F","\u041F","","",0,"VK_G"],KeyH:["\u0440","\u0420","","",0,"VK_H"],KeyI:["\u0448","\u0428","","",0,"VK_I"],KeyJ:["\u043E","\u041E","","",0,"VK_J"],KeyK:["\u043B","\u041B","","",0,"VK_K"],KeyL:["\u0434","\u0414","","",0,"VK_L"],KeyM:["\u044C","\u042C","","",0,"VK_M"],KeyN:["\u0442","\u0422","","",0,"VK_N"],KeyO:["\u0449","\u0429","","",0,"VK_O"],KeyP:["\u0437","\u0417","","",0,"VK_P"],KeyQ:["\u0439","\u0419","","",0,"VK_Q"],KeyR:["\u043A","\u041A","","",0,"VK_R"],KeyS:["\u044B","\u042B","","",0,"VK_S"],KeyT:["\u0435","\u0415","","",0,"VK_T"],KeyU:["\u0433","\u0413","","",0,"VK_U"],KeyV:["\u043C","\u041C","","",0,"VK_V"],KeyW:["\u0446","\u0426","","",0,"VK_W"],KeyX:["\u0447","\u0427","","",0,"VK_X"],KeyY:["\u043D","\u041D","","",0,"VK_Y"],KeyZ:["\u044F","\u042F","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","\u2116","","",0,"VK_3"],Digit4:["4",";","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6",":","","",0,"VK_6"],Digit7:["7","?","","",0,"VK_7"],Digit8:["8","*","\u20BD","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["\u0445","\u0425","","",0,"VK_OEM_4"],BracketRight:["\u044A","\u042A","","",0,"VK_OEM_6"],Backslash:["\\","/","","",0,"VK_OEM_5"],Semicolon:["\u0436","\u0416","","",0,"VK_OEM_1"],Quote:["\u044D","\u042D","","",0,"VK_OEM_7"],Backquote:["\u0451","\u0401","","",0,"VK_OEM_3"],Comma:["\u0431","\u0411","","",0,"VK_OEM_COMMA"],Period:["\u044E","\u042E","","",0,"VK_OEM_PERIOD"],Slash:[".",",","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","/","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},6650:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000041D",id:"",text:"Swedish"},secondaryLayouts:[{name:"0000040B",id:"",text:"Finnish"}],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","\xA4","$","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["+","?","\\","",0,"VK_OEM_PLUS"],Equal:["\xB4","`","","",0,"VK_OEM_4"],BracketLeft:["\xE5","\xC5","","",0,"VK_OEM_6"],BracketRight:["\xA8","^","~","",0,"VK_OEM_1"],Backslash:["'","*","","",0,"VK_OEM_2"],Semicolon:["\xF6","\xD6","","",0,"VK_OEM_3"],Quote:["\xE4","\xC4","","",0,"VK_OEM_7"],Backquote:["\xA7","\xBD","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","|","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},86185:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000041E",id:"",text:"Thai Kedmanee"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["\u0E1F","\u0E24","","",0,"VK_A"],KeyB:["\u0E34","\u0E3A","","",0,"VK_B"],KeyC:["\u0E41","\u0E09","","",0,"VK_C"],KeyD:["\u0E01","\u0E0F","","",0,"VK_D"],KeyE:["\u0E33","\u0E0E","","",0,"VK_E"],KeyF:["\u0E14","\u0E42","","",0,"VK_F"],KeyG:["\u0E40","\u0E0C","","",0,"VK_G"],KeyH:["\u0E49","\u0E47","","",0,"VK_H"],KeyI:["\u0E23","\u0E13","","",0,"VK_I"],KeyJ:["\u0E48","\u0E4B","","",0,"VK_J"],KeyK:["\u0E32","\u0E29","","",0,"VK_K"],KeyL:["\u0E2A","\u0E28","","",0,"VK_L"],KeyM:["\u0E17","?","","",0,"VK_M"],KeyN:["\u0E37","\u0E4C","","",0,"VK_N"],KeyO:["\u0E19","\u0E2F","","",0,"VK_O"],KeyP:["\u0E22","\u0E0D","","",0,"VK_P"],KeyQ:["\u0E46","\u0E50","","",0,"VK_Q"],KeyR:["\u0E1E","\u0E11","","",0,"VK_R"],KeyS:["\u0E2B","\u0E06","","",0,"VK_S"],KeyT:["\u0E30","\u0E18","","",0,"VK_T"],KeyU:["\u0E35","\u0E4A","","",0,"VK_U"],KeyV:["\u0E2D","\u0E2E","","",0,"VK_V"],KeyW:["\u0E44",'"',"","",0,"VK_W"],KeyX:["\u0E1B",")","","",0,"VK_X"],KeyY:["\u0E31","\u0E4D","","",0,"VK_Y"],KeyZ:["\u0E1C","(","","",0,"VK_Z"],Digit1:["\u0E45","+","","",0,"VK_1"],Digit2:["/","\u0E51","","",0,"VK_2"],Digit3:["-","\u0E52","","",0,"VK_3"],Digit4:["\u0E20","\u0E53","","",0,"VK_4"],Digit5:["\u0E16","\u0E54","","",0,"VK_5"],Digit6:["\u0E38","\u0E39","","",0,"VK_6"],Digit7:["\u0E36","\u0E3F","","",0,"VK_7"],Digit8:["\u0E04","\u0E55","","",0,"VK_8"],Digit9:["\u0E15","\u0E56","","",0,"VK_9"],Digit0:["\u0E08","\u0E57","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["\u0E02","\u0E58","","",0,"VK_OEM_MINUS"],Equal:["\u0E0A","\u0E59","","",0,"VK_OEM_PLUS"],BracketLeft:["\u0E1A","\u0E10","","",0,"VK_OEM_4"],BracketRight:["\u0E25",",","","",0,"VK_OEM_6"],Backslash:["\u0E03","\u0E05","","",0,"VK_OEM_5"],Semicolon:["\u0E27","\u0E0B","","",0,"VK_OEM_1"],Quote:["\u0E07",".","","",0,"VK_OEM_7"],Backquote:["_","%","","",0,"VK_OEM_3"],Comma:["\u0E21","\u0E12","","",0,"VK_OEM_COMMA"],Period:["\u0E43","\u0E2C","","",0,"VK_OEM_PERIOD"],Slash:["\u0E1D","\u0E26","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\u0E03","\u0E05","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},68457:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000041F",id:"",text:"Turkish Q"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE6","\xC6",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["\u0131","I","i","\u0130",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","@","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\xDF","",0,"VK_S"],KeyT:["t","T","\u20BA","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!",">","",0,"VK_1"],Digit2:["2","'","\xA3","",0,"VK_2"],Digit3:["3","^","#","",0,"VK_3"],Digit4:["4","+","$","",0,"VK_4"],Digit5:["5","%","\xBD","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["*","?","\\","",0,"VK_OEM_8"],Equal:["-","_","|","",0,"VK_OEM_MINUS"],BracketLeft:["\u011F","\u011E","\xA8","",0,"VK_OEM_4"],BracketRight:["\xFC","\xDC","~","",0,"VK_OEM_6"],Backslash:[",",";","`","",0,"VK_OEM_COMMA"],Semicolon:["\u015F","\u015E","\xB4","",0,"VK_OEM_1"],Quote:["i","\u0130","","",0,"VK_OEM_7"],Backquote:['"',"\xE9","<","",0,"VK_OEM_3"],Comma:["\xF6","\xD6","","",0,"VK_OEM_2"],Period:["\xE7","\xC7","","",0,"VK_OEM_5"],Slash:[".",":","","",0,"VK_OEM_PERIOD"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","|","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},55005:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.inputmethod.SCIM.ITABC",lang:"zh-Hans",localizedName:"\u641C\u72D7\u62FC\u97F3"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","\uFF01","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","\xA5","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","\uFF08","\xAA","\xB7",0],Digit0:["0","\uFF09","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["\u3010","\u300C","\u201C","\u201D",0],BracketRight:["\u3011","\u300D","\u2018","\u2019",0],Backslash:["\u3001","|","\xAB","\xBB",0],Semicolon:["\uFF1B","\uFF1A","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["\xB7","\uFF5E","`","`",4],Comma:["\uFF0C","\u300A","\u2264","\xAF",0],Period:["\u3002","\u300B","\u2265","\u02D8",0],Slash:["/","\uFF1F","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},9956:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarRegistry=t.TabBarToolbarContribution=void 0;const n=e(85608),r=e(76003),o=e(64102),c=e(39496);t.TabBarToolbarContribution=Symbol("TabBarToolbarContribution");let p=class{registerItem(m){if(typeof m.command=="string"){const _=m.tooltip||m.label;_&&(m.command={id:m.command,label:_})}return this.menuRegistry.registerMenuItem(c.MenuId.ViewTitle,{...m,when:`${m.when?m.when+" && ":""}view == ${m.viewId}`,group:m.group||"navigation"})}unregisterItem(m){this.menuRegistry.unregisterMenuItem(c.MenuId.ViewTitle,m)}};t.ToolbarRegistry=p,n.__decorate([(0,r.Autowired)(o.IMenuRegistry),n.__metadata("design:type",o.IMenuRegistry)],p.prototype,"menuRegistry",void 0),t.ToolbarRegistry=p=n.__decorate([(0,r.Injectable)()],p)},65051:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewContextKeyRegistry=void 0;const n=e(85608),r=e(76003),o=e(43718);let c=class{constructor(){this.contextKeyMap=new Map,this._onViewContextKeyServiceRegistered=new o.Emitter}getContextKeyService(v){return this.contextKeyMap.get(v)}registerContextKeyService(v,m){return this.contextKeyMap.set(v,m),this._onViewContextKeyServiceRegistered.fire(v),m}afterContextKeyServiceRegistered(v,m){if(this.contextKeyMap.has(v))m(this.getContextKeyService(v));else{const _=this._onViewContextKeyServiceRegistered.event(s=>{s===v&&(_.dispose(),m(this.getContextKeyService(v)))})}}};t.ViewContextKeyRegistry=c,t.ViewContextKeyRegistry=c=n.__decorate([(0,r.Injectable)()],c)},1149:(x,t,e)=>{"use strict";var n,r,o,c,p,v,m;Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLayoutConfig=t.LayoutViewSizeConfig=t.ConfigPriority=t.DEFAULT_LAYOUT_VIEW_SIZE=void 0;const _=e(85608),s=_.__importDefault(e(82451)),g=e(76003),l=e(43718),h=e(42101);t.DEFAULT_LAYOUT_VIEW_SIZE={menubarHeight:35,editorTabsHeight:35,bigSurTitleBarHeight:28,titleBarHeight:22,panelTitleBarHeight:35,statusBarHeight:24,accordionHeaderSizeHeight:24};var u;(function(a){a[a.ModuleDefined=0]="ModuleDefined",a[a.UserDefined=1]="UserDefined"})(u||(t.ConfigPriority=u={}));class d{constructor(b){this.defaultValue=b,this._value=[]}setValue(b,y){this._value[y]=b}getValue(){let b=this.defaultValue;for(let y=this._value.length-1;y>=0;y--)if((0,l.isDefined)(this._value[y])){b=this._value[y];break}return b}}let E=class{constructor(){n.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.menubarHeight)),r.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.editorTabsHeight)),o.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.bigSurTitleBarHeight)),c.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.titleBarHeight)),p.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.panelTitleBarHeight)),v.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.statusBarHeight)),m.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.accordionHeaderSizeHeight)),this.inited=!1,this.supportNewMacHeaderBar=h.electronEnv.osRelease?parseFloat(h.electronEnv.osRelease)>=20:!1}init(b={}){this.inited||(this.inited=!0,_.__classPrivateFieldGet(this,n,"f").setValue(b.menubarHeight,u.UserDefined),_.__classPrivateFieldGet(this,r,"f").setValue(b.editorTabsHeight,u.UserDefined),_.__classPrivateFieldGet(this,o,"f").setValue(b.bigSurTitleBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,c,"f").setValue(b.titleBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,p,"f").setValue(b.panelTitleBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,v,"f").setValue(b.statusBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,m,"f").setValue(b.accordionHeaderSizeHeight,u.UserDefined))}get menubarHeight(){return _.__classPrivateFieldGet(this,n,"f").getValue()}setMenubarHeight(b,y){_.__classPrivateFieldGet(this,n,"f").setValue(b,y??u.ModuleDefined)}get editorTabsHeight(){return _.__classPrivateFieldGet(this,r,"f").getValue()}setEditorTabsHeight(b,y){_.__classPrivateFieldGet(this,r,"f").setValue(b,y??u.ModuleDefined)}get bigSurTitleBarHeight(){return _.__classPrivateFieldGet(this,o,"f").getValue()}setBigSurTitleBarHeight(b,y){_.__classPrivateFieldGet(this,o,"f").setValue(b,y??u.ModuleDefined)}get titleBarHeight(){return _.__classPrivateFieldGet(this,c,"f").getValue()}setTitleBarHeight(b,y){_.__classPrivateFieldGet(this,c,"f").setValue(b,y??u.ModuleDefined)}get panelTitleBarHeight(){return _.__classPrivateFieldGet(this,p,"f").getValue()}setPanelTitleBarHeight(b,y){_.__classPrivateFieldGet(this,p,"f").setValue(b,y??u.ModuleDefined)}get statusBarHeight(){return _.__classPrivateFieldGet(this,v,"f").getValue()}setStatusBarHeight(b,y){_.__classPrivateFieldGet(this,v,"f").setValue(b,y??u.ModuleDefined)}get accordionHeaderSizeHeight(){return _.__classPrivateFieldGet(this,m,"f").getValue()}setAccordionHeaderSizeHeight(b,y){_.__classPrivateFieldGet(this,m,"f").setValue(b,y??u.ModuleDefined)}calcElectronHeaderHeight(){return l.isMacintosh?this.supportNewMacHeaderBar?this.bigSurTitleBarHeight:this.titleBarHeight:this.menubarHeight}calcOnlyTitleBarHeight(){return l.isMacintosh&&this.supportNewMacHeaderBar?this.bigSurTitleBarHeight:this.titleBarHeight}};t.LayoutViewSizeConfig=E,n=new WeakMap,r=new WeakMap,o=new WeakMap,c=new WeakMap,p=new WeakMap,v=new WeakMap,m=new WeakMap,t.LayoutViewSizeConfig=E=_.__decorate([(0,g.Injectable)()],E);let f=class{constructor(){this.internalLayout={useMergeRightWithLeftPanel:!1,useMenubarView:!1,menubarLogo:"",supportExternalChatPanel:!1}}setLayout(...b){this.internalLayout=(0,s.default)(this.internalLayout,...b.filter(Boolean))}get useMergeRightWithLeftPanel(){return this.internalLayout.useMergeRightWithLeftPanel}get menubarLogo(){return this.internalLayout.menubarLogo}get supportExternalChatPanel(){return this.internalLayout.supportExternalChatPanel}};t.DesignLayoutConfig=f,t.DesignLayoutConfig=f=_.__decorate([(0,g.Injectable)()],f)},68456:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(596),t),n.__exportStar(e(5185),t),n.__exportStar(e(11949),t),n.__exportStar(e(65051),t),n.__exportStar(e(9956),t),n.__exportStar(e(60982),t)},5185:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useViewState=void 0;const n=e(85608),r=n.__importDefault(e(97331)),o=n.__importDefault(e(14041)),c=e(43718),p=e(22366),v=e(48560),m=e(11949),_=(s,g,l)=>{const h=(0,v.useInjectable)(c.IEventBus),[u,d]=o.default.useState({width:0,height:0}),E=o.default.useRef(u),f=(0,r.default)((a,b)=>{(b!==E.current.width||a!==E.current.height)&&(b!==0||a!==0)&&(d({width:b,height:a}),E.current={width:b,height:a})},16*3,{leading:!0,trailing:!0});return o.default.useEffect(()=>{const a=h.onDirective(m.ResizeEvent.createDirective(s),()=>{l||p.fastdom.measureAtNextFrame(()=>{if(g.current){const b=g.current.clientHeight,y=g.current.clientWidth;f(b,y)}})});return()=>{a.dispose()}},[]),o.default.useEffect(()=>{const a=window.ResizeObserver;if(l&&g.current){const b=new a(y=>{const A=y[0].contentRect.width,S=y[0].contentRect.height;f(S,A)});return b.observe(g.current),()=>{g.current&&b.unobserve(g.current)}}},[]),u};t.useViewState=_},95416:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LAYOUT_STATE=t.LayoutState=void 0;const n=e(85608),r=n.__importDefault(e(12784)),o=e(76003),c=e(43718),p=e(78132);let v=class{constructor(){this.disposableCollection=new c.DisposableCollection,this.debounceSave=(0,r.default)((s,g)=>{this.setStorageValue(s,g,m.isScoped(s)||this.saveLayoutWithWorkspace&&(m.isLayout(s)||m.isStatusBar(s)))},200)}async initStorage(){this.layoutStorage=await this.getStorage(c.STORAGE_NAMESPACE.LAYOUT),this.globalLayoutStorage=await this.getStorage(c.STORAGE_NAMESPACE.GLOBAL_LAYOUT),await this.preferenceService.ready,this.saveLayoutWithWorkspace=this.preferenceService.get("view.saveLayoutWithWorkspace")||!1,this.disposableCollection.push(this.preferenceService.onSpecificPreferenceChange("view.saveLayoutWithWorkspace",s=>{this.saveLayoutWithWorkspace=s.newValue}))}getState(s,g){let l;try{this.saveLayoutWithWorkspace?l=m.isScoped(s)||m.isLayout(s)||m.isStatusBar(s)?this.layoutStorage.get(s,g):this.globalLayoutStorage.get(s,g):l=m.isScoped(s)?this.layoutStorage.get(s,g):this.globalLayoutStorage.get(s,g)}catch{this.logger.warn("Layout state parse error, use default state"),l=g}return l}setState(s,g){this.debounceSave(s,g)}setStorageValue(s,g,l){l?this.layoutStorage.set(s,g):this.globalLayoutStorage.set(s,g),m.isLayout(s)&&localStorage.setItem(s,JSON.stringify(g))}};t.LayoutState=v,n.__decorate([(0,o.Autowired)(c.StorageProvider),n.__metadata("design:type",Function)],v.prototype,"getStorage",void 0),n.__decorate([(0,o.Autowired)(p.PreferenceService),n.__metadata("design:type",Object)],v.prototype,"preferenceService",void 0),n.__decorate([(0,o.Autowired)(c.ILogger),n.__metadata("design:type",Object)],v.prototype,"logger",void 0),t.LayoutState=v=n.__decorate([(0,o.Injectable)()],v);var m;(function(_){_.MAIN="layout",_.STATUSBAR="statusbar";function s(d){return`view/${d}`}_.getContainerSpace=s;function g(d){return d.startsWith("view/")}_.isScoped=g;function l(d){return d.startsWith(_.MAIN)}_.isLayout=l;function h(d){return d.startsWith(_.STATUSBAR)}_.isStatusBar=h;function u(d){return`tabbar/${d}`}_.getTabbarSpace=u})(m||(t.LAYOUT_STATE=m={}))},11949:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RenderedEvent=t.ResizeEvent=t.ResizePayload=t.ComponentRegistry=void 0;const n=e(43718);t.ComponentRegistry=Symbol("ComponentRegistry");class r{constructor(v){this.slotLocation=v}}t.ResizePayload=r;class o extends n.BasicEvent{static createDirective(v){return`resize:${v}`}}t.ResizeEvent=o;class c extends n.BasicEvent{}t.RenderedEvent=c},596:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentContribution=t.ComponentRegistryImpl=t.VisibleChangedEvent=t.VisibleChangedPayload=void 0,t.measurePriority=_;const r=e(85608),o=e(76003),c=e(43718),p=e(38578);class v{constructor(l,h){this.isVisible=l,this.slotLocation=h}}t.VisibleChangedPayload=v;class m extends c.BasicEvent{}t.VisibleChangedEvent=m;function _(g,l){if(!g.length)return g.splice(0,0,l||0),0;let h=g.length-1;if(!l)return g.splice(h+1,0,0),h+1;for(;h>=0&&!(l<g[h]);h--);return g.splice(h+1,0,l),h+1}let s=n=class{constructor(){this.componentsMap=new Map}static addLayoutModule(l,h,u,d=-1){let E=l[h];if(E||(E={modules:[]},l[h]=E),E.modules.indexOf(u)>-1){(0,c.getDebugLogger)().warn(`A ${u} module already exists on the ${h}`);return}d>=0?E.modules.splice(d,0,u):E.modules.push(u)}static replaceLayoutModule(l,h,...u){l[h]={modules:u}}register(l,h,u,d){Array.isArray(h)?this.componentsMap.set(l,{views:h,options:u}):this.componentsMap.set(l,{views:[h],options:u}),d&&n.addLayoutModule(this.config.layoutConfig,d,l)}getComponentRegistryInfo(l){return this.componentsMap.get(l)}};t.ComponentRegistryImpl=s,r.__decorate([(0,o.Autowired)(p.AppConfig),r.__metadata("design:type",Object)],s.prototype,"config",void 0),t.ComponentRegistryImpl=s=n=r.__decorate([(0,o.Injectable)()],s),t.ComponentContribution=Symbol("ComponentContribution")},60982:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderView=void 0;const n=e(85608),r=n.__importDefault(e(14041)),o=n.__importDefault(e(524)),c=e(38578),p=v=>r.default.createElement(r.default.Fragment,null,v&&o.default.isValidElementType(v.component)?r.default.createElement(c.ErrorBoundary,null,v.component&&r.default.createElement(v.component,v.initialProps)):null);t.renderView=p},63373:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VIEW_CONTAINERS=void 0;const e="opensumi";var n;(function(r){r.LEFT_TABBAR_PANEL=`${e}-left-tabbar-panel`,r.LEFT_TABBAR=`${e}-left-tabbar`,r.RIGHT_TABBAR_PANEL=`${e}-right-tabbar-panel`,r.RIGHT_TABBAR=`${e}-right-tabbar`,r.BOTTOM_TABBAR=`${e}-bottom-tabbar`,r.BOTTOM_TABBAR_PANEL=`${e}-bottom-tabbar-panel`,r.STATUSBAR=`${e}-statusbar`,r.MENUBAR=`${e}-menubar`,r.EDITOR=`${e}-editor`,r.EDITOR_TABS=`${e}-editor-tabs`,r.QUICKPICK=`${e}-quickpick`,r.QUICKPICK_INPUT=`${e}-quickpick-input`,r.QUICKPICK_TABS=`${e}-quickpick-tabs`,r.QUICKPICK_ITEM=`${e}-quickpick-item`,r.QUICKPICK_PROGRESS=`${e}-quickpick-progress`})(n||(t.VIEW_CONTAINERS=n={}))},93299:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=t.ILogger=void 0;const n=e(85608),r=e(76003),o=e(43718);var c=e(43718);Object.defineProperty(t,"ILogger",{enumerable:!0,get:function(){return c.ILogger}});class p{setup(_){this.logger=_}getLevel(){return this.logger.getLevel()}setLevel(_){return this.logger.setLevel(_)}error(..._){return this.logger.error(..._)}warn(..._){return this.logger.warn(..._)}log(..._){return this.logger.log(..._)}debug(..._){return this.logger.debug(..._)}verbose(..._){return this.logger.verbose(..._)}critical(..._){return this.logger.critical(..._)}dispose(){return this.logger.dispose()}}let v=class extends p{constructor(){super(),this.logger=this.loggerManager.getBrowserLogger(o.SupportLogNamespace.Browser)}reportToServer(){this.logger.dispose(),this.logger=this.loggerManager.getLogger(o.SupportLogNamespace.Browser)}};t.Logger=v,n.__decorate([(0,r.Autowired)(o.ILoggerManagerClient),n.__metadata("design:type",Object)],v.prototype,"loggerManager",void 0),t.Logger=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},75694:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(93299),t)},61943:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toMarkdownHtml=t.toMarkdown=void 0;const r=e(85608).__importDefault(e(14041)),o=e(39777),c=e(84605),p=e(43718),v=(_,s,g,l)=>l&&_&&(0,p.isString)(_)?r.default.createElement(o.RenderWrapper,{opener:s,html:_}):typeof _=="string"?r.default.createElement(o.RenderWrapper,{opener:s,html:(0,t.toMarkdownHtml)(_,g)}):_;t.toMarkdown=v;const m=(_,s)=>{const g=(0,c.createMarkedRenderer)();return g.link=(l,h,u)=>`<a rel="noopener" ${o.DATA_SET_COMMAND}="${l}" href="javascript:void(0)" title="${h}">${u}</a>`,(0,c.toMarkdownHtml)(_,{gfm:!0,breaks:!1,pedantic:!1,smartLists:!0,smartypants:!1,renderer:g,...s||{}})};t.toMarkdownHtml=m},64102:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MenuNode=t.MenuRegistryImpl=t.CoreMenuRegistryImpl=t.IMenuRegistry=t.NextMenuContribution=t.MenuContribution=void 0,t.isIMenuItem=l,t.isISubmenuItem=h,t.isIComponentMenuItem=u;const r=e(85608),o=r.__importDefault(e(524)),c=e(76003),p=e(84605),v=e(43718),m=e(39496);t.MenuContribution=Symbol("MenuContribution"),t.NextMenuContribution=t.MenuContribution;class _{}t.IMenuRegistry=_;let s=n=class{constructor(){this._menubarItems=new Map,this._onDidChangeMenubar=new v.Emitter,this.onDidChangeMenubar=this._onDidChangeMenubar.event,this._menuItems=new Map,this._menuExtendInfo=new Map,this._onDidChangeMenu=new v.Emitter,this.onDidChangeMenu=this._onDidChangeMenu.event,this._disabledMenuIds=new Set}registerMenubarItem(f,a){const b={...a,id:f};return this._menubarItems.get(f)?(this.logger.warn(`this menuId ${f} already existed`),v.Disposable.NULL):(this._menubarItems.set(f,b),this._onDidChangeMenubar.fire(f),v.Disposable.create(()=>this.removeMenubarItem(f)))}removeMenubarItem(f){this._menubarItems.get(f)&&(this._menubarItems.delete(f),this._onDidChangeMenubar.fire(f))}getMenubarItem(f){return this._menubarItems.get(f)}getMenubarItems(){return Array.from(this._menubarItems.keys()).reduce((a,b)=>{const y=this._menubarItems.get(b);return y&&a.push(y),a},[])}registerMenuExtendInfo(f,a){return this._menuExtendInfo.set(f,a),v.Disposable.create(()=>this._menuExtendInfo.delete(f))}registerMenuItem(f,a){let b=this._menuItems.get(f);return b?b.push(a):(b=[a],this._menuItems.set(f,b)),this._onDidChangeMenu.fire(f),v.Disposable.create(()=>{const y=b.indexOf(a);y>=0&&(b.splice(y,1),this._onDidChangeMenu.fire(f))})}unregisterMenuItem(f,a){const b=this._menuItems.get(f);if(b){const y=b.findIndex(A=>{const S=A.command;return S?typeof S=="string"?S===a:S.id===a:A.submenu===a});y>=0&&(b.splice(y,1),this._onDidChangeMenu.fire(f))}}registerMenuItems(f,a){const b=[];return a.forEach(y=>{b.push(this.registerMenuItem(f,y))}),(0,v.combinedDisposable)(b)}unregisterMenuId(f){return this._disabledMenuIds.add(f),this._onDidChangeMenu.fire(f),v.Disposable.create(()=>{this._disabledMenuIds.delete(f)&&this._onDidChangeMenu.fire(f)})}deleteAllItemsForMenuId(f){this._menuItems.delete(f),this._menuExtendInfo.delete(f)}getMenuItems(f){if(this._disabledMenuIds.has(f))return[];const a=(this._menuItems.get(f)||[]).slice(0).reduce((b,y)=>(u(y)?n.EnableComponentMenuIds.includes(f)&&b.push({...y,group:"navigation"}):b.push(y),b),[]);return f===m.MenuId.CommandPalette&&this.appendImplicitMenuItems(a),this._menuExtendInfo.has(f)?this.convertToMenuExtendInfo(this._menuExtendInfo.get(f),a):a}getMenuCommand(f){return typeof f=="string"?{id:f}:f}appendImplicitMenuItems(f){const a=f.filter(A=>l(A)),b=new Set(a.map(A=>this.getMenuCommand(A.command).id));this.commandRegistry.getCommands().forEach(A=>{b.has(A.id)||f.push({command:A.id})})}convertToMenuExtendInfo(f,a){return a.map(b=>{if(!l(b))return b;const{command:y}=b,A=f.find(S=>S.command===y);return A?{...b,...A}:b})}};t.CoreMenuRegistryImpl=s,s.EnableComponentMenuIds=[m.MenuId.EditorTitle],r.__decorate([(0,c.Autowired)(t.MenuContribution),r.__metadata("design:type",Object)],s.prototype,"contributions",void 0),r.__decorate([(0,c.Autowired)(v.CommandRegistry),r.__metadata("design:type",Object)],s.prototype,"commandRegistry",void 0),r.__decorate([(0,c.Autowired)(v.ILogger),r.__metadata("design:type",Object)],s.prototype,"logger",void 0),t.CoreMenuRegistryImpl=s=n=r.__decorate([(0,c.Injectable)()],s);let g=class extends s{initialize(){for(const f of this.contributions.getContributions())f.registerNextMenus&&(f.registerNextMenus(this),(0,p.warning)(!1,"`registerNextMenus` was deprecated in favor of `registerMenus`")),f.registerMenus&&f.registerMenus(this)}};t.MenuRegistryImpl=g,r.__decorate([(0,c.Autowired)(t.MenuContribution),r.__metadata("design:type",Object)],g.prototype,"contributions",void 0),t.MenuRegistryImpl=g=r.__decorate([(0,c.Injectable)()],g);function l(E){return E.command!==void 0}function h(E){return E.submenu!==void 0}function u(E){return o.default.isValidElementType(E.component)}class d{constructor(f){this.id=f.id,this.label=(0,v.replaceLocalizePlaceholder)(f.label),this.className=f.className||"",this.icon=f.icon||"",this.keybinding=f.keybinding||"",this.rawKeybinding=f.rawKeybinding||"",this.isKeyCombination=!!f.isKeyCombination,this.disabled=!!f.disabled,this.checked=!!f.checked,this.nativeRole=f.nativeRole||"",this.type=f.type,this.extraDesc=f.extraDesc||"",this._actionCallback=f.execute}getExecuteArgs(...f){return f}execute(...f){const a=this.getExecuteArgs(f);return this._actionCallback?this._actionCallback(...a):Promise.resolve(!0)}updateLabel(f){this.label=f}}t.MenuNode=d},98299:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContextMenu=t.ContextMenuServiceImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(81741),p=e(1237);let v=class{createMenu(s){return this.injector.get(m,[s])}};t.ContextMenuServiceImpl=v,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],v.prototype,"injector",void 0),t.ContextMenuServiceImpl=v=n.__decorate([(0,r.Injectable)()],v);let m=class extends o.Disposable{get onDidChange(){return this._onDidMenuChange.event}get onMenuChange(){return this._onMenuChange.event}get menuId(){return this._menuId}constructor(s){super(),this._onDidMenuChange=new o.Emitter,this._onMenuChange=new o.Emitter,this._menus=new Map,this._menuItems=[[],[]],this._menusListener=new Map,this._menuId=s.id,s.config&&(this.config=s.config),s.contextKeyService&&(this.contextKeyService=s.contextKeyService),this._build(),this.addDispose(o.Event.debounce(o.Event.filter(this.onMenuChange,g=>g===this._menuId),()=>{},50)(this._rebuildMenus,this)),this.addDispose(this._onDidMenuChange)}_build(){this._menuItems=[[],[]],this._buildMenus(this._menuId)}_rebuildMenus(){this._buildMenus(this._menuId),this._onDidMenuChange.fire(this._menuId)}_buildMenus(s){const g=this.menuService.createMenu(s,this.contextKeyService),l=this._menus.get(s);l&&(l.dispose(),this._menus.delete(s));const h=this._menusListener.get(s);h&&(h.dispose(),this._menusListener.delete(s)),this._menus.set(s,g),this._menusListener.set(s,g.onDidChange(()=>this._onMenuChange.fire(s),this,this.disposables));const u=[[],[]];(0,c.generateCtxMenu)({menus:g,...this.config}).forEach((E,f)=>{this._traverseMenuItems(E,u[f],s)}),this._menuItems=u}_traverseMenuItems(s,g,l){s.forEach(h=>{if(h instanceof p.SubmenuItemNode){const u=[],d=h.item.submenu;if(!this._menus.has(d)){const a=this.registerDispose(this.menuService.createMenu(d,this.contextKeyService));this._menus.set(d,a),this.registerDispose(a.onDidChange(()=>{this._onMenuChange.fire(l)}))}const E=this.menuService.createMenu(d,this.contextKeyService),f=(0,c.generateMergedCtxMenu)({menus:E,...this.config});this._traverseMenuItems(f,u,l),h.children=u,g.push(h),E.dispose()}else g.push(h)})}dispose(){this._menusListener.forEach(s=>s.dispose()),this._menusListener.clear(),this._menus.forEach(s=>s.dispose()),this._menus.clear(),super.dispose()}getMergedMenuNodes(){return(0,c.mergeTupleMenuNodeResult)(this._menuItems)}getGroupedMenuNodes(){return this._menuItems}};t.ContextMenu=m,n.__decorate([(0,r.Autowired)(p.AbstractMenuService),n.__metadata("design:type",p.AbstractMenuService)],m.prototype,"menuService",void 0),t.ContextMenu=m=n.__decorate([(0,r.Injectable)(),n.__param(0,(0,r.Optional)()),n.__metadata("design:paramtypes",[Object])],m)},93899:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(64102),t),n.__exportStar(e(28574),t),n.__exportStar(e(81741),t),n.__exportStar(e(39496),t),n.__exportStar(e(1237),t),n.__exportStar(e(35530),t),n.__exportStar(e(77661),t),n.__exportStar(e(93765),t),n.__exportStar(e(98299),t),n.__exportStar(e(77666),t)},39496:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuId=void 0,t.getTabbarCommonMenuId=n;var e;(function(r){r.AccountsContext="accounts/context",r.ActivityBarContext="activityBar/context",r.ActivityBarExtra="activityBar/extra",r.ActivityBarTopExtra="activityBar/top/extra",r.CommandPalette="commandPalette",r.DebugBreakpointsContext="debug/breakpoints/context",r.DebugCallStackContext="debug/callstack/context",r.DebugConsoleContext="debug/console/context",r.DebugVariablesContext="debug/variables/context",r.DebugWatchContext="debug/watch/context",r.DebugToolBar="debug/toolbar",r.EditorContext="editor/context",r.EditorTitle="editor/title",r.EditorTitleRun="editor/title/run",r.EditorTitleContext="editor/title/context",r.BreadcrumbsTitleContext="breadcrumbs/title/context",r.EmptyEditorGroupContext="empty/editor/group/context",r.ExplorerContext="explorer/context",r.IconMenubarContext="iconMenubar/context",r.MenubarAppearanceMenu="menubar/appearance",r.MenubarAppMenu="menubar/app",r.MenubarDebugMenu="menubar/debug",r.MenubarEditMenu="menubar/edit",r.MenubarFileMenu="menubar/file/menu",r.MenubarGoMenu="menubar/go",r.MenubarHelpMenu="menubar/help",r.MenubarLayoutMenu="menubar/layout",r.MenubarNewBreakpointMenu="menubar/new/breakpoint",r.MenubarPreferencesMenu="menubar/preferences",r.MenubarRecentMenu="menubar/recent",r.MenubarSelectionMenu="menubar/selection",r.MenubarSwitchEditorMenu="menubar/switch/editor",r.MenubarSwitchGroupMenu="menubar/switch/group",r.MenubarTerminalMenu="menubar/terminal",r.MenubarViewMenu="menubar/view",r.MenubarCompactMenu="menubar/compact/mode",r.DesignMenuBarTopExtra="design/menubar/top/extra",r.TerminalInstanceContext="terminal/instance/context",r.TerminalNewDropdownContext="terminal/newDropdown/context",r.TerminalTabContext="terminal/tab/context",r.TerminalPanelContext="terminal/panel/context",r.TerminalDefaultTypeMenu="terminal/menu/context",r.OpenEditorsContext="open/editors/context",r.ProblemsPanelContext="problems/panel/context",r.SCMChangeTitle="scm/change/title",r.SCMResourceContext="scm/resourceState/context",r.SCMResourceGroupContext="scm/resourceGroup/context",r.SCMResourceFolderContext="scm/resourceFolder/context",r.SCMSourceControl="scm/sourceControl",r.SCMTitle="scm/title",r.SCMInput="scm/input",r.SearchContext="search/context",r.StatusBarContext="statusbar/context",r.StatusBarWindowIndicatorMenu="statusbar/windowIndicator",r.TouchBarContext="touchBar/context",r.ViewItemContext="view/item/context",r.ViewTitle="view/title",r.GlobalActivity="global/activity",r.ExtensionContext="extension/context",r.SettingsIconMenu="settings/icon/menu",r.CommentsCommentThreadContext="comments/commentThread/context",r.CommentsCommentThreadTitle="comments/commentThread/title",r.CommentsCommentTitle="comments/comment/title",r.CommentsCommentContext="comments/comment/context",r.CommentReactionSwitcherMenu="comment/reaction/switcher/menu",r.CommentReactionSwitcherSubmenu="comment/reaction/switcher/submenu",r.KTToolbarLocationContext="kt/toolbar/context",r.MarketplaceNoResultsContext="marketplace/noResults/context",r.TestingGlyphMarginContext="testing/glyphMargin/context",r.TestPeekTitleContext="testing/outputPeek/title/context",r.OpenTypeSubmenuContext="editor/openType/submenu",r.AccordionContext="accordion",r.SettingJSONGlyphMarginContext="settingJson/glyphMargin/context",r.SubSettingJSONGlyphMarginContext="sub/settingJson/glyphMargin/context",r.MergeEditorResultTitleContext="mergeEditor/result/title/context"})(e||(t.MenuId=e={}));function n(r){return`tabbar/${r}/common`}},28574:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuServiceImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(53736),p=e(64102),v=e(1237);let m=class{createMenu(l,h){return this.injector.get(_,[l,h||this.globalCtxKeyService])}};t.MenuServiceImpl=m,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],m.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(c.IContextKeyService),n.__metadata("design:type",Object)],m.prototype,"globalCtxKeyService",void 0),t.MenuServiceImpl=m=n.__decorate([(0,r.Injectable)()],m);let _=class extends o.Disposable{get onDidChange(){return this._onDidChange.event}get menuId(){return this.id}constructor(l,h){super(),this.id=l,this.contextKeyService=h,this._onDidChange=new o.Emitter,this._build(),this.addDispose(o.Event.debounce(o.Event.filter(this.menuRegistry.onDidChangeMenu,u=>u===this.id),()=>{},50)(this._build,this)),this.addDispose(o.Event.debounce(this.contextKeyService.onDidChangeContext,(u,d)=>u||d.payload.affectsSome(this._contextKeys),50)(u=>u&&this._onDidChange.fire(void 0),this)),this.addDispose(this._onDidChange)}_build(){this._menuGroups=[],this._contextKeys=new Set;let l=this.menuRegistry.getMenuItems(this.id),h;l=l.sort(s);for(const u of l){const d=u.group||"";(!h||h[0]!==d)&&(h=[d,[]],this._menuGroups.push(h)),h[1].push(u),this.fillKeysInWhenExpr(this._contextKeys,u.when),(0,p.isIMenuItem)(u)&&this.fillKeysInWhenExpr(this._contextKeys,u.toggledWhen),(0,p.isIMenuItem)(u)&&u.enabledWhen&&this.fillKeysInWhenExpr(this._contextKeys,u.enabledWhen)}this._onDidChange.fire(this)}getMenuNodes(l={}){const h=[];for(const u of this._menuGroups){const[d,E]=u,f=[];for(const a of E){const b=this._getActiveAction(a,l);b&&f.push(b)}f.length>0&&h.push([d,f])}return h}_getActiveAction(l,h){if(this.contextKeyService.match(l.when,h.contextDom))if((0,p.isIMenuItem)(l)){const{args:u=[]}=h,d=this.menuRegistry.getMenuCommand(l.command),E=this.commandRegistry.getCommand(d.id),f={...E||{},...d};if(!f.label||E&&!this.commandRegistry.isVisible(f.id,...u))return;const a=E?this.commandRegistry.isEnabled(f.id,...u):!0;let b=!0;l.enabledWhen!==void 0?b=!this.contextKeyService.match(l.enabledWhen,h.contextDom):E?.enablement?b=!this.contextKeyService.match(E.enablement,h.contextDom):b=!a;const y=!!(E&&this.commandRegistry.isToggled(f.id,...u)),A=l.toggledWhen!==void 0?this.contextKeyService.match(l.toggledWhen,h.contextDom):y;return this.injector.get(v.MenuItemNode,[f,l.iconClass||E?.iconClass,h,b,A,l.type,l.nativeRole,l.extraDesc,l.extraTailArgs,l.argsTransformer])}else{if((0,p.isIComponentMenuItem)(l))return this.injector.get(v.ComponentMenuItemNode,[l,h,l.extraTailArgs,l.argsTransformer]);if(l.label||l.iconClass)return this.injector.get(v.SubmenuItemNode,[l])}}fillKeysInWhenExpr(l,h){this.contextKeyService.getKeysInWhen(h).forEach(d=>{l.add(d)})}};n.__decorate([(0,r.Autowired)(p.IMenuRegistry),n.__metadata("design:type",p.IMenuRegistry)],_.prototype,"menuRegistry",void 0),n.__decorate([(0,r.Autowired)(o.CommandRegistry),n.__metadata("design:type",Object)],_.prototype,"commandRegistry",void 0),n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],_.prototype,"injector",void 0),_=n.__decorate([(0,r.Injectable)(),n.__param(0,(0,r.Optional)()),n.__param(1,(0,r.Optional)()),n.__metadata("design:paramtypes",[String,Object])],_);function s(g,l){const h=g.group,u=l.group;if(h!==u){if(h){if(!u)return-1}else return 1;if(h==="navigation")return-1;if(u==="navigation")return 1;const f=h.localeCompare(u);if(f!==0)return f}const d=g.order||0,E=l.order||0;return d<E?-1:d>E?1:0}},81741:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInlineGroup=t.isPrimaryGroup=void 0,t.splitMenuItems=c,t.mergeTupleMenuNodeResult=p,t.generateMergedCtxMenu=v,t.generateCtxMenu=m,t.generateMergedInlineActions=_,t.generateInlineActions=s;const n=e(1237),r=g=>g==="navigation";t.isPrimaryGroup=r;const o=g=>/^inline/.test(g);t.isInlineGroup=o;function c(g,l="navigation"){const h=[[],[]];for(const u of g){const[d,E]=u;(l==="inline"?t.isInlineGroup:t.isPrimaryGroup)(d)?h[0].push(...E):(h[1].length>0&&h[1].push(new n.SeparatorMenuItemNode),h[1].push(...E))}return h}function p(g){const[l,h]=g,u=[...l];return u.length>0&&h.length>0&&u.push(new n.SeparatorMenuItemNode),u.concat(h)}function v(g){return p(m(g))}function m(g){const{menus:l,separator:h="navigation",...u}=g,d=l.getMenuNodes(u);return c(d,h)}function _(g){const l=s(g);return[...l[0],...l[1]]}function s(g){const{menus:l,separator:h,...u}=g,d=l.getMenuNodes(u);return c(d,h)}},35530:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1237:(x,t,e)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractContextMenuService=t.AbstractMenuService=t.LabelMenuItemNode=t.SeparatorMenuItemNode=t.ComponentMenuItemNode=t.SubmenuItemNode=t.MenuItemNode=void 0,t.isIMenu=d;const o=e(85608),c=e(76003),p=e(43718),v=e(41118),m=e(64102),_=e(77661);let s=class extends m.MenuNode{constructor(b,y,A={},S,w,T,D,I,O,M){super({id:b.id,icon:y,label:b.label,type:T,checked:w,disabled:S,nativeRole:D,extraDesc:I}),this.extraTailArgs=O,this.argsTransformer=M,this.className=void 0;const R=this.getShortcut(b.id);this.keybinding=R&&R.keybinding||"",this.rawKeybinding=R&&R.rawKeybinding||"",this.isKeyCombination=!!(R&&R.isKeyCombination),this._options=A,this.item=b}getExecuteArgs(b=[]){let y=[...this._options.args||[],...b||[],...this.extraTailArgs||[]];return this.argsTransformer&&(y=this.argsTransformer(...y)),y}execute(b=[]){return this.commandService.executeCommand(this.item.id,...this.getExecuteArgs(b))}getShortcut(b){if(b){const y=this.keybindings.getKeybindingsForCommand(b);if(y.length>0){const A=y.reduce((T,D)=>(T.priority||0)>(D.priority||0)?T:D),S=Array.isArray(A.resolved)&&A.resolved.length>1;let w=this.keybindings.acceleratorFor(A,p.isMacintosh?"":"+").join(" ");return S&&(w=`[${w}]`),{keybinding:w,rawKeybinding:A.keybinding,isKeyCombination:S}}}return null}};t.MenuItemNode=s,o.__decorate([(0,c.Autowired)(p.CommandService),o.__metadata("design:type",Object)],s.prototype,"commandService",void 0),o.__decorate([(0,c.Autowired)(v.KeybindingRegistry),o.__metadata("design:type",Object)],s.prototype,"keybindings",void 0),o.__decorate([(0,c.Autowired)(p.CommandRegistry),o.__metadata("design:type",Object)],s.prototype,"commandRegistry",void 0),t.MenuItemNode=s=o.__decorate([(0,c.Injectable)(),o.__param(0,(0,c.Optional)()),o.__param(1,(0,c.Optional)()),o.__param(2,(0,c.Optional)()),o.__param(3,(0,c.Optional)()),o.__param(4,(0,c.Optional)()),o.__param(5,(0,c.Optional)()),o.__param(6,(0,c.Optional)()),o.__param(7,(0,c.Optional)()),o.__param(8,(0,c.Optional)()),o.__param(9,(0,c.Optional)()),o.__metadata("design:paramtypes",[Object,Object,Object,Boolean,Boolean,String,String,String,Array,Function])],s);let g=n=class extends m.MenuNode{constructor(b){super({id:n.ID,label:b.label,type:b.type}),this.submenuId=b.submenu,this.icon=b.iconClass,this.item=b}execute(b){const[y,...A]=b;y&&this.ctxMenuRenderer.show({anchor:y,menuNodes:this.children||this.submenuId,args:A})}};t.SubmenuItemNode=g,g.ID="menu.item.node.submenu",o.__decorate([(0,c.Autowired)(_.ICtxMenuRenderer),o.__metadata("design:type",_.ICtxMenuRenderer)],g.prototype,"ctxMenuRenderer",void 0),t.SubmenuItemNode=g=n=o.__decorate([(0,c.Injectable)({multiple:!0}),o.__param(0,(0,c.Optional)()),o.__metadata("design:paramtypes",[Object])],g);let l=r=class extends m.MenuNode{constructor(b,y={},A,S){super({id:r.ID,label:""}),this.extraTailArgs=A,this.argsTransformer=S,r.nodeIndex++,this.nodeId=String(r.nodeIndex),this.item=b,this.component=b.component,this._options=y}getExecuteArgs(b=[]){let y=[...this._options.args||[],...b||[],...this.extraTailArgs||[]];return this.argsTransformer&&(y=this.argsTransformer(...y)),y}};t.ComponentMenuItemNode=l,l.ID="menu.item.node.component",l.nodeIndex=-1,t.ComponentMenuItemNode=l=r=o.__decorate([(0,c.Injectable)({multiple:!0}),o.__param(0,(0,c.Optional)()),o.__param(1,(0,c.Optional)()),o.__param(2,(0,c.Optional)()),o.__param(3,(0,c.Optional)()),o.__metadata("design:paramtypes",[Object,Object,Array,Function])],l);class h extends m.MenuNode{constructor(b,y){super({id:b||h.ID,label:y||"separator"})}}t.SeparatorMenuItemNode=h,h.ID="menu.item.node.separator";class u extends m.MenuNode{constructor(b){super({id:u.ID,label:b})}}t.LabelMenuItemNode=u,u.ID="menu.item.node.label";function d(a){return"getMenuNodes"in a&&typeof a.getMenuNodes=="function"}class E{}t.AbstractMenuService=E;class f{}t.AbstractContextMenuService=f},93765:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenubarServiceImpl=t.AbstractMenubarService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(64102),p=e(81741),v=e(1237);class m extends o.Disposable{}t.AbstractMenubarService=m;let _=class extends o.Disposable{get onDidMenubarChange(){return this._onDidMenuBarChange.event}get onDidMenuChange(){return this._onDidMenuChange.event}get onMenuChange(){return this._onMenuChange.event}constructor(){super(),this._onDidMenuBarChange=new o.Emitter,this._onDidMenuChange=new o.Emitter,this._onMenuChange=new o.Emitter,this._menubarIds=new Set,this._menus=new Map,this._menubarItems=[],this._menuItems=new Map,this._menusListener=new Map,this._build(),this.addDispose(o.Event.debounce(this.menuRegistry.onDidChangeMenubar,()=>{},50)(this._build,this));const l=new Set;this.addDispose(o.Event.debounce(this.onMenuChange,(h,u)=>(l.add(u),u),50)(()=>{const h=[...l.values()];l.clear(),h.forEach(u=>{this._rebuildSingleRootMenus(u)})},this)),this.addDispose(this._onDidMenuBarChange),this.addDispose(this._onDidMenuChange)}_build(){this._menubarItems=[],this._menubarIds=new Set,this._menuItems.clear();let l=this.menuRegistry.getMenubarItems();l=l.sort(s),l.forEach(h=>{const u=h.id;this._menubarItems.push(h),this._menubarIds.add(u),this._buildMenus(u)}),this._onDidMenuBarChange.fire()}_rebuildSingleRootMenus(l){this._buildMenus(l),this._onDidMenuChange.fire(l)}_buildMenus(l){const h=this.menuService.createMenu(l),u=this._menus.get(l);u&&(u.dispose(),this._menus.delete(l));const d=this._menusListener.get(l);d&&(d.dispose(),this._menusListener.delete(l)),this._menus.set(l,h),this._menusListener.set(l,h.onDidChange(()=>this._onMenuChange.fire(l),this,this.disposables));const E=[];this._traverseMenuItems(h,E,l),this._menuItems.set(l,E)}_traverseMenuItems(l,h,u){(0,p.generateMergedCtxMenu)({menus:l}).forEach(E=>{if(E instanceof v.SubmenuItemNode){const f=[],a=E.item.submenu;if(!this._menus.has(a)){const y=this.registerDispose(this.menuService.createMenu(a));this._menus.set(a,y),this.registerDispose(y.onDidChange(()=>{this._onMenuChange.fire(u)}))}const b=this.menuService.createMenu(a);this._traverseMenuItems(b,f,u),E.children=f,h.push(E),b.dispose()}else h.push(E)})}dispose(){this._menusListener.forEach(l=>l.dispose()),this._menusListener.clear(),this._menus.forEach(l=>l.dispose()),this._menus.clear(),super.dispose()}getMenubarItems(){return this._menubarItems}getMenubarItem(l){if(this._menubarIds.has(l))return this.menuRegistry.getMenubarItem(l)}getMenuNodes(l){return this._menuItems.get(l)||[]}rebuildMenuNodes(l){this._buildMenus(l)}};t.MenubarServiceImpl=_,n.__decorate([(0,r.Autowired)(v.AbstractMenuService),n.__metadata("design:type",v.AbstractMenuService)],_.prototype,"menuService",void 0),n.__decorate([(0,r.Autowired)(c.IMenuRegistry),n.__metadata("design:type",c.IMenuRegistry)],_.prototype,"menuRegistry",void 0),t.MenubarServiceImpl=_=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],_);function s(g,l){const h=g.order||0,u=l.order||0;return h<u?-1:h>u?1:0}},77661:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICtxMenuRenderer=void 0;class e{}t.ICtxMenuRenderer=e},97222:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserCtxMenuRenderer=t.IBrowserCtxMenu=void 0;const n=e(85608),r=n.__importDefault(e(3326)),o=e(76003),c=e(1237),p=e(77661);class v extends p.ICtxMenuRenderer{}t.IBrowserCtxMenu=v;let m=class{show(s){if(typeof s.menuNodes=="string"){const g=this.menuService.createMenu({id:s.menuNodes,config:{args:s.args},contextKeyService:s.contextKeyService});s.menuNodes=g.getMergedMenuNodes(),g.dispose()}this.browserCtxMenu.show((0,r.default)(s,["contextKeyService"]))}};t.BrowserCtxMenuRenderer=m,n.__decorate([(0,o.Autowired)(v),n.__metadata("design:type",v)],m.prototype,"browserCtxMenu",void 0),n.__decorate([(0,o.Autowired)(c.AbstractContextMenuService),n.__metadata("design:type",c.AbstractContextMenuService)],m.prototype,"menuService",void 0),t.BrowserCtxMenuRenderer=m=n.__decorate([(0,o.Injectable)()],m)},27790:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronMenuBarService=t.ElectronCtxMenuRenderer=t.ElectronMenuFactory=t.IElectronMenuBarService=t.IElectronMenuFactory=t.IElectronCtxMenuRenderer=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(37015),p=e(79951),v=e(1237),m=e(93765),_=e(77661);class s extends _.ICtxMenuRenderer{}t.IElectronCtxMenuRenderer=s,t.IElectronMenuFactory=Symbol("IElectronMenuFactory"),t.IElectronMenuBarService=Symbol("IElectronMenuBarService");let g=class extends o.Disposable{getTemplate(E,f,a){return E.map((b,y)=>{if(b.id===v.SeparatorMenuItemNode.ID)return{type:"separator"};if(b.id===v.SubmenuItemNode.ID){const A=this.getTemplate(b.children,f,a);return{label:`${o.strings.mnemonicButtonLabel(b.label,!0)}`,submenu:Array.isArray(A)&&A.length?A:void 0}}else return this.bindAction(b,f,y,a),{type:b.checked?"checkbox":void 0,checked:b.checked?b.checked:!1,label:`${o.strings.mnemonicButtonLabel(b.label,!0)} ${b.isKeyCombination?b.keybinding:""}`,id:`${b.id}-${y}`,action:!0,role:b.nativeRole,disabled:b.disabled,accelerator:b.rawKeybinding&&!b.isKeyCombination?h(b.rawKeybinding):void 0}})}bindAction(E,f,a,b){typeof E.execute=="function"&&f.set(`${E.id}-${a}`,()=>{E.execute(b)})}};t.ElectronMenuFactory=g,t.ElectronMenuFactory=g=n.__decorate([(0,r.Injectable)()],g);let l=class{constructor(){this.contextMenuActions=new Map}show(E){const{onHide:f,args:a}=E;let b;if(typeof E.menuNodes=="string"){const A=this.menuService.createMenu({id:E.menuNodes,config:{args:E.args},contextKeyService:E.contextKeyService});b=A.getMergedMenuNodes(),A.dispose()}else b=E.menuNodes;this.contextMenuActions.clear();const y=this.factory.getTemplate(b,this.contextMenuActions,a);this.createNativeContextMenu({submenu:y},f)}createNativeContextMenu(E,f){this.electronMainMenuService.showContextMenu(E,p.electronEnv.currentWebContentsId);const a=new o.Disposable;a.addDispose(this.electronMainMenuService.on("menuClose",(b,y)=>{b===p.electronEnv.currentWebContentsId+"-context"&&(a.dispose(),f&&f(!0))})),a.addDispose(this.electronMainMenuService.on("menuClick",(b,y)=>{if(b!==p.electronEnv.currentWebContentsId+"-context")return;const A=this.contextMenuActions.get(y);A&&A(),f&&f(!1),a.dispose()}))}};t.ElectronCtxMenuRenderer=l,n.__decorate([(0,r.Autowired)(o.CommandService),n.__metadata("design:type",Object)],l.prototype,"commandService",void 0),n.__decorate([(0,r.Autowired)(o.IElectronMainMenuService),n.__metadata("design:type",Object)],l.prototype,"electronMainMenuService",void 0),n.__decorate([(0,r.Autowired)(t.IElectronMenuFactory),n.__metadata("design:type",g)],l.prototype,"factory",void 0),n.__decorate([(0,r.Autowired)(v.AbstractContextMenuService),n.__metadata("design:type",v.AbstractContextMenuService)],l.prototype,"menuService",void 0),t.ElectronCtxMenuRenderer=l=n.__decorate([(0,r.Injectable)()],l);function h(d){return d.replace("ctrlcmd","CmdOrCtrl").replace(c.SpecialCases.MACMETA,"CmdOrCtrl").replace(c.SpecialCases.CTRL,"Ctrl").replace(c.SpecialCases.SHIFT,"Shift").replace(c.SpecialCases.ALT,"Alt")}let u=class{constructor(){this.menuBarActions=new Map}start(){this.electronMainMenuService.on("menuClick",(E,f)=>{if(E!==p.electronEnv.currentWindowId+"-app")return;const a=this.menuBarActions.get(f);a&&a()}),this.updateMenuBar(),this.menubarService.onDidMenubarChange(()=>{this.updateMenuBar()}),this.menubarService.onDidMenuChange(()=>{this.updateMenuBar()})}updateMenuBar(){this.menuBarActions.clear();const E=this.menubarService.getMenubarItems(),f=[];E.forEach(a=>{const b=a.id,y=this.menubarService.getMenuNodes(b),A=this.factory.getTemplate(y,this.menuBarActions);if(A&&A.length>0){const S={label:o.strings.mnemonicButtonLabel(a.label,!0),submenu:A};a.nativeRole&&(S.role=a.nativeRole),f.push(S)}}),this.electronMainMenuService.setApplicationMenu({submenu:f},p.electronEnv.currentWindowId)}};t.ElectronMenuBarService=u,n.__decorate([(0,r.Autowired)(o.CommandService),n.__metadata("design:type",Object)],u.prototype,"commandService",void 0),n.__decorate([(0,r.Autowired)(m.AbstractMenubarService),n.__metadata("design:type",m.AbstractMenubarService)],u.prototype,"menubarService",void 0),n.__decorate([(0,r.Autowired)(o.IElectronMainMenuService),n.__metadata("design:type",Object)],u.prototype,"electronMainMenuService",void 0),n.__decorate([(0,r.Autowired)(t.IElectronMenuFactory),n.__metadata("design:type",g)],u.prototype,"factory",void 0),t.ElectronMenuBarService=u=n.__decorate([(0,r.Injectable)()],u)},77666:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionService=t.IToolbarActionService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(42637),p=e(48220);t.IToolbarActionService=Symbol("IToolBarActionsService");let v=class extends o.Disposable{constructor(){super(),this.groups=new Map}registryActionGroup(_,s){const g=new o.Disposable;return g.addDispose(this.registry.registerToolbarActionGroup({id:_,preferredLocation:"menu-right"})),g.addDispose({dispose:()=>{this.groups.delete(_)}}),s.forEach((l,h)=>{const u=_+"-action-"+h;l.type==="action"?g.addDispose(this.registry.registerToolbarAction({id:u,description:l.description||u,component:(0,c.createToolbarActionBtn)({iconClass:l.iconClass,title:l.title,id:u,delegate:d=>{d&&d.onClick(l.click)}}),preferredPosition:{group:_}})):l.type==="enum"&&g.addDispose(this.registry.registerToolbarAction({id:u,description:l.description||u,component:(0,p.createToolbarActionSelect)({defaultValue:l.defaultValue||l.title,options:l.enum.map(d=>({label:d,value:d})),onSelect:d=>l.select(d)}),preferredPosition:{group:_}}))}),this.groups.set(_,g),g}unRegistryActionGroup(_){this.groups.has(_)&&this.groups.get(_).dispose}};t.ToolbarActionService=v,n.__decorate([(0,r.Autowired)(c.IToolbarRegistry),n.__metadata("design:type",Object)],v.prototype,"registry",void 0),t.ToolbarActionService=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},54217:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLayoutEventType=e;function e(n){return`layoutInlineWidget-${n}`}},22689:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuggestEvent=t.ISchemaStore=t.JsonSchemaContribution=t.IJSONSchemaRegistry=t.Extensions=t.MonacoContribution=t.MonacoOverrideServiceRegistry=t.MonacoService=t.ServiceNames=void 0;const n=e(85608),r=e(43718);n.__exportStar(e(54217),t);var o;(function(m){m.CODE_EDITOR_SERVICE="codeEditorService",m.TEXT_MODEL_SERVICE="textModelService",m.CONTEXT_VIEW_SERVICE="contextViewService",m.COMMAND_SERVICE="commandService",m.CONTEXT_KEY_SERVICE="contextKeyService",m.BULK_EDIT_SERVICE="IWorkspaceEditService",m.OPENER_SERVICE="openerService",m.TELEMETRY_SERVICE="telemetryService"})(o||(t.ServiceNames=o={}));class c{}t.MonacoService=c;class p{}t.MonacoOverrideServiceRegistry=p,t.MonacoContribution=Symbol("MonacoContribution"),t.Extensions={JSONContribution:"base.contributions.json"},t.IJSONSchemaRegistry=Symbol("IJSONSchemaRegistry"),t.JsonSchemaContribution=Symbol("JsonSchemaContribution"),t.ISchemaStore=Symbol("ISchemaStore");class v extends r.BasicEvent{}t.SuggestEvent=v},75524:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IRelaxedOpenMergeEditorArgs=t.MergeEditorInputData=void 0;const n=e(43718);class r{static from(p){try{const v=JSON.parse(p);return new r(v.uri,v.title,v.detail,v.description)}catch{throw Error("invalid MergeEditorInputData parse")}}get textModel(){return this._textModel}constructor(p,v,m,_){this.uri=p,this.title=v,this.detail=m,this.description=_}getRaw(){return{uri:this.uri,title:this.title,detail:this.detail,description:this.description}}toString(){return JSON.stringify({uri:this.uri.toString(),title:this.title,detail:this.detail,description:this.description})}setTextModel(p){return this._textModel=p,this}}t.MergeEditorInputData=r;var o;(function(c){c.validate=_=>{var s,g;if(!_||typeof _!="object")throw new TypeError("invalid argument");const l=_,h=v(l.ancestor||l.base),u=v(l.output),d=p({...l.input1,title:(s=l.input1.title)!==null&&s!==void 0?s:"Current"}),E=p({...l.input2,title:(g=l.input2.title)!==null&&g!==void 0?g:"Incoming"});return{ancestor:h,input1:d,input2:E,output:u}},c.toString=_=>{const{ancestor:s,input1:g,input2:l,output:h}=_;return JSON.stringify({ancestor:s.toString(),input1:g.toString(),input2:l.toString(),output:h.toString()})};const p=_=>{if(typeof _=="string")return new r(n.URI.parse(_));if(!_||typeof _!="object")throw new TypeError("invalid argument");if(m(_))return new r(n.URI.from(_));const s=_,g=v(s.uri),l=s.title,h=s.detail,u=s.description;return new r(g,l,h,u)},v=_=>{if(typeof _=="string")return n.URI.parse(_);if(_&&typeof _=="object")return n.URI.from(_);throw new TypeError("invalid argument")},m=_=>{if(!_||typeof _!="object")return!1;const s=_;return typeof s.scheme=="string"&&typeof s.authority=="string"&&typeof s.path=="string"&&typeof s.query=="string"&&typeof s.fragment=="string"}})(o||(t.IRelaxedOpenMergeEditorArgs=o={}))},74654:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandOpener=void 0;const r=e(85608),o=e(76003),c=e(43718);let p=n=class{handleScheme(m){return m===c.Schemes.command}static parseURI(m){let _=[];try{_=JSON.parse(decodeURIComponent(m.query))}catch{try{_=JSON.parse(m.query)}catch{}}return Array.isArray(_)||(_=[_]),{id:m.path.toString(),args:_}}async open(m){const{id:_,args:s}=n.parseURI(m);return await this.commandService.executeCommand(_,...s),!0}};t.CommandOpener=p,r.__decorate([(0,o.Autowired)(c.CommandService),r.__metadata("design:type",Object)],p.prototype,"commandService",void 0),t.CommandOpener=p=n=r.__decorate([(0,o.Injectable)()],p)},98858:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultOpener=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(11050),p=e(66894);let v=class{handleScheme(_){return!0}async open(_){return this.appConfig.isElectronRenderer||[o.Schemes.http,o.Schemes.https].includes(_.scheme)?this.windowService.openNewWindow(_.toString(!0),{external:!0}):window.location.href=_.toString(!0),!0}};t.DefaultOpener=v,n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],v.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(p.IWindowService),n.__metadata("design:type",Object)],v.prototype,"windowService",void 0),t.DefaultOpener=v=n.__decorate([(0,r.Injectable)()],v)},19805:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpOpener=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(66894);let v=n=class{handleScheme(_){return n.standardSupportedLinkSchemes.has(_)}async open(_){return this.windowService.openNewWindow(_.toString(!0),{external:!0}),!0}};t.HttpOpener=v,v.standardSupportedLinkSchemes=new Set([c.Schemes.http,c.Schemes.https,c.Schemes.mailto]),r.__decorate([(0,o.Autowired)(p.IWindowService),r.__metadata("design:type",Object)],v.prototype,"windowService",void 0),t.HttpOpener=v=n=r.__decorate([(0,o.Injectable)()],v)},90697:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IOpenerService=t.OpenerContribution=void 0,t.OpenerContribution=Symbol("OpenerContribution"),t.IOpenerService=Symbol("IOpenerService")},45829:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronOpenerContributionClient=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(37406),p=e(66549),v=e(42101),m=e(90697);let _=class{onStart(){this.injector.get(c.IElectronURLService).on("open-url",l=>{v.electronEnv.currentWindowId===l.windowId&&this.openerService.open(l.url)})}};t.ElectronOpenerContributionClient=_,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],_.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(m.IOpenerService),n.__metadata("design:type",Object)],_.prototype,"openerService",void 0),t.ElectronOpenerContributionClient=_=n.__decorate([(0,o.Domain)(p.ClientAppContribution)],_)},44867:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenerContributionClient=t.DefaultOpenerContribution=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(66549),p=e(11050),v=e(74654),m=e(19805),_=e(90697);let s=class{registerOpener(h){h.registerOpener(this.commandOpener),h.registerOpener(this.httpOpener)}};t.DefaultOpenerContribution=s,n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",v.CommandOpener)],s.prototype,"commandOpener",void 0),n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",m.HttpOpener)],s.prototype,"httpOpener",void 0),t.DefaultOpenerContribution=s=n.__decorate([(0,o.Domain)(_.OpenerContribution)],s);let g=class{onStart(){const h=this.contributionProvider.getContributions();for(const u of h)u.registerOpener(this.openerService)}};t.OpenerContributionClient=g,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],g.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(_.OpenerContribution),n.__metadata("design:type",Object)],g.prototype,"contributionProvider",void 0),n.__decorate([(0,r.Autowired)(_.IOpenerService),n.__metadata("design:type",Object)],g.prototype,"openerService",void 0),n.__decorate([(0,r.Autowired)(p.AppConfig),n.__metadata("design:type",Object)],g.prototype,"appConfig",void 0),t.OpenerContributionClient=g=n.__decorate([(0,o.Domain)(c.ClientAppContribution)],g)},73967:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenerService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(98858);let p=class{constructor(){this.openers=[]}async getOpeners(m){const _=await Promise.all(this.openers.map(async s=>{try{return s.handleURI?await s.handleURI(m):await s.handleScheme(m.scheme)}catch(g){return this.logger.error(g),!1}}));return this.openers.filter((s,g)=>_[g])}registerOpener(m){return this.openers.push(m),{dispose:()=>{const _=this.openers.indexOf(m);_!==-1&&this.openers.splice(_,1)}}}async open(m){typeof m=="string"&&(m=o.URI.parse(m));const _=await this.getOpeners(m);for(const s of _)if(await s.open(m))return!0;return this.defaultOpener.open(m)}dispose(){this.openers=[]}};t.OpenerService=p,n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],p.prototype,"logger",void 0),n.__decorate([(0,r.Autowired)(c.DefaultOpener),n.__metadata("design:type",Object)],p.prototype,"defaultOpener",void 0),t.OpenerService=p=n.__decorate([(0,r.Injectable)()],p)},27504:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerExternalPreferenceProvider=p,t.getExternalPreferenceProvider=v,t.getPreferenceThemeId=m,t.getPreferenceIconThemeId=_,t.getPreferenceLanguageId=s,t.registerLocalStorageProvider=g,t.getExternalPreference=l,t.getAllExternalProviders=h;const n=e(43718),r=e(93433),o=e(39254),c=new Map;function p(u,d){return c.get(u)?n.Disposable.NULL:(c.set(u,d),{dispose(){c.delete(u)}})}function v(u){let d=c.get(u);if(!d){const E=r.PreferenceProvider.PreferenceDelegates[u];E&&(d=c.get(E.delegateTo))}return d}function m(){return l(n.GeneralSettingsId.Theme).value}function _(){return l(n.GeneralSettingsId.Icon).value}function s(u){const d=u&&u[n.GeneralSettingsId.Language],E=l(n.GeneralSettingsId.Language);return E.value&&E.scope>o.PreferenceScope.Default?E.value:d||E.value||(0,n.getLanguageId)()}function g(u,d,E=""){function f(b){let y="";return b===o.PreferenceScope.Workspace&&d?y=d:y=b.toString(),E?E+":"+y:y}function a(b){return f(b)+`:${u}`}return p(u,{set:(b,y)=>{y>=o.PreferenceScope.Folder||!d&&y>o.PreferenceScope.Default||typeof localStorage<"u"&&(b!==void 0?localStorage.setItem(a(y),b):localStorage.removeItem(a(y)))},get:b=>{if(typeof localStorage<"u")return localStorage.getItem(a(b))||void 0}})}function l(u,d,E){var f;const a=E?o.PreferenceScope.getReversedScopes().filter(b=>b<=E):o.PreferenceScope.getReversedScopes();for(const b of a){const y=(f=c.get(u))===null||f===void 0?void 0:f.get(b);if(y)return{value:y,scope:b}}return{value:d&&d.default,scope:o.PreferenceScope.Default}}function h(){return Array.from(c.entries())}},78132:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(43851),t),n.__exportStar(e(65870),t),n.__exportStar(e(93433),t),n.__exportStar(e(39254),t),n.__exportStar(e(26645),t),n.__exportStar(e(69794),t),n.__exportStar(e(27504),t),n.__exportStar(e(67889),t),n.__exportStar(e(62923),t)},43851:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceConfigurations=t.PreferenceConfiguration=void 0,t.injectPreferenceConfigurations=p;const n=e(85608),r=e(76003),o=e(43718),c=e(11050);t.PreferenceConfiguration=Symbol("PreferenceConfiguration");function p(m){(0,o.createContributionProvider)(m,t.PreferenceConfiguration),m.addProviders({token:v,useClass:v})}let v=class{getPaths(){return this.appConfig.workspacePreferenceDirName?[this.appConfig.workspacePreferenceDirName]:this.appConfig.preferenceDirName?[this.appConfig.preferenceDirName]:[o.DEFAULT_WORKSPACE_CONFIGURATION_DIR_NAME]}getConfigName(){return"settings"}getSectionNames(){return this.sectionNames||(this.sectionNames=this.preferenceConfigurationProvider.getContributions().map(_=>_.name)),this.sectionNames}isSectionName(_){return this.getSectionNames().indexOf(_)!==-1}isSectionUri(_){return!!_&&this.isSectionName(this.getName(_))}isConfigUri(_){return!!_&&this.getName(_)===this.getConfigName()}getName(_){return _.path.name}getPath(_){return _.parent.path.base}createUri(_,s=this.getPaths()[0],g=this.getConfigName()){return _.resolve(s).resolve(g+".json")}};t.PreferenceConfigurations=v,n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],v.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(t.PreferenceConfiguration),n.__metadata("design:type",Object)],v.prototype,"preferenceConfigurationProvider",void 0),t.PreferenceConfigurations=v=n.__decorate([(0,r.Injectable)()],v)},65870:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultPreferenceProvider=t.PreferenceSchemaProvider=t.OVERRIDE_PROPERTY_PATTERN=t.OverridePreferenceName=t.PreferenceContribution=void 0,t.injectPreferenceSchemaProvider=g;const n=e(85608),r=n.__importDefault(e(82174)),o=e(76003),c=e(43718),p=e(18292),v=e(11050),m=e(43851),_=e(93433),s=e(39254);t.PreferenceContribution=Symbol("PreferenceContribution");function g(a){(0,m.injectPreferenceConfigurations)(a),a.addProviders({token:d,useClass:d}),a.addProviders({token:_.PreferenceProvider,tag:s.PreferenceScope.Default,useClass:E})}var l;(function(a){function b(y){return!!y&&typeof y=="object"&&"preferenceName"in y&&"overrideIdentifier"in y}a.is=b})(l||(t.OverridePreferenceName=l={}));const h="\\[(.*)\\]$";t.OVERRIDE_PROPERTY_PATTERN=new RegExp(h);const u=()=>({type:"object",properties:{},patternProperties:{}});let d=class extends _.PreferenceProvider{fireDidPreferenceSchemaChanged(){this.onDidPreferenceSchemaChangedEmitter.fire(void 0)}get validateFunction(){return this._validateFunction||this.doUpdateValidate(),this._validateFunction}constructor(){super(),this.preferences={},this.combinedSchema=u(),this.onDidPreferenceSchemaChangedEmitter=new c.Emitter,this.onDidPreferenceSchemaChanged=this.onDidPreferenceSchemaChangedEmitter.event,this.validationFunctions=new Map,this.unsupportedPreferences=new Set,this.init(),this.toDispose.push(c.Disposable.create(()=>{this.preferences={},this.validationFunctions.clear(),this.combinedSchema=u()})),this.toDispose.push(this.onDidPreferenceSchemaChangedEmitter)}init(){var b;(b=this.preferenceContributions)===null||b===void 0||b.getContributions().forEach(y=>{this.doSetSchema(y.schema)}),this.combinedSchema.additionalProperties=!1,this.updateValidate(),this.onDidPreferencesChanged(()=>this.updateValidate()),this._ready.resolve()}doUnsetSchema(b){const y=[];for(const A of b){const S=A.preferenceName,w=A.oldValue,T=A.newValue,{scope:D,domain:I}=A,O={preferenceName:S,oldValue:T,scope:D,domain:I};delete this.combinedSchema.properties[S],typeof w===void 0?delete this.preferences[S]:(O.newValue=w,this.preferences[S]=w),y.push(O)}return y}doSetSchema(b,y){const A=s.PreferenceScope.Default,S=this.getDomain(),w=[],T=p.PreferenceSchema.getDefaultScope(b),D=b.overridable||!1;for(const I of Object.keys(b.properties))if(this.combinedSchema.properties[I]&&!y){this.logger.warn("Preference name collision detected in the schema for property: "+I);continue}else{const O=p.PreferenceDataProperty.fromPreferenceSchemaProperty(b.properties[I],T);typeof O.overridable!="boolean"&&D&&(O.overridable=!0),this.combinedSchema.properties[I]=O,this.unsupportedPreferences.delete(I);const M=O.defaultValue=this.getDefaultValue(O,I);w.push(this.doSetPreferenceValue(I,M,{scope:A,domain:S}))}return w}doSetPreferenceValue(b,y,{scope:A,domain:S}){const w=this.preferences[b];return this.preferences[b]=y,{preferenceName:b,oldValue:w,newValue:y,scope:A,domain:S}}getDefaultValue(b,y){if(y&&this.appConfig.defaultPreferences&&y in this.appConfig.defaultPreferences)return this.appConfig.defaultPreferences[y];if(b.defaultValue!==void 0)return b.defaultValue;if(b.default!==void 0)return b.default}updateValidate(){this._validateFunction=void 0}doUpdateValidate(){const b={...this.combinedSchema,properties:{...this.combinedSchema.properties}};for(const y of this.configurations.getSectionNames())delete b.properties[y];this._validateFunction=new r.default().compile(b)}validate(b,y){if(this.configurations.isSectionName(b))return{valid:!0};if(!this.getPreferenceProperty(b))return{valid:!0};this.validationFunctions.has(b)||this.validationFunctions.set(b,new r.default().compile(this.getPreferenceProperty(b)));const A=this.validationFunctions.get(b),S=A(y);!S&&!(b in this.combinedSchema.properties)&&(this.unsupportedPreferences.has(b)||(this.unsupportedPreferences.add(b),this.logger.warn(`"${b}" preference is not supported`)));const w=A.errors&&A.errors[0]?f(A.errors[0]):void 0;return{valid:S,reason:w}}getCombinedSchema(){return this.combinedSchema}setSchema(b,y){const A=this.doSetSchema(b,y);return A.length?(this.fireDidPreferenceSchemaChanged(),this.emitPreferencesChangedEvent(A),c.Disposable.create(()=>{const S=this.doUnsetSchema(A);S.length&&(this.fireDidPreferenceSchemaChanged(),this.emitPreferencesChangedEvent(S))})):c.Disposable.NULL}getPreferences(){return this.preferences}getLanguagePreferences(b){return{}}async doSetPreference(){return!1}isValidInScope(b,y){const A=this.getPreferenceProperty(b);return A?A.scope>=y:!1}*getPreferenceNames(){for(const b in this.combinedSchema.properties)yield b}getPreferenceProperty(b){return this.combinedSchema.properties[b]}};t.PreferenceSchemaProvider=d,n.__decorate([(0,o.Autowired)(t.PreferenceContribution),n.__metadata("design:type",Object)],d.prototype,"preferenceContributions",void 0),n.__decorate([(0,o.Autowired)(m.PreferenceConfigurations),n.__metadata("design:type",m.PreferenceConfigurations)],d.prototype,"configurations",void 0),n.__decorate([(0,o.Autowired)(c.ILogger),n.__metadata("design:type",Object)],d.prototype,"logger",void 0),n.__decorate([(0,o.Autowired)(v.AppConfig),n.__metadata("design:type",Object)],d.prototype,"appConfig",void 0),t.PreferenceSchemaProvider=d=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],d);let E=class extends _.PreferenceProvider{constructor(){super(),this.preferences={default:{},languageSpecific:{}},this.init()}async init(){this._ready.resolve()}getPreferences(b,y){return y?this.preferences.languageSpecific[y]||{}:{...this.preferenceSchemaProvider.getPreferences(),...this.preferences.default}}getLanguagePreferences(b){return this.preferences.languageSpecific}async doSetPreference(b,y,A,S){if(S){this.preferences.languageSpecific[S]||(this.preferences.languageSpecific[S]={});const w=this.preferences.languageSpecific[S][b];this.preferences.languageSpecific[S][b]=y,this.handlePreferenceChanges(b,y,w,S)}else{const w=this.preferences.default[b];this.preferences.default[b]=y,this.handlePreferenceChanges(b,y,w)}return!0}handlePreferenceChanges(b,y,A,S){const w={preferenceName:b,newValue:y,oldValue:A,scope:s.PreferenceScope.Default,domain:void 0};S?this.emitPreferencesChangedEvent({default:{},languageSpecific:{[S]:{[b]:w}}}):this.emitPreferencesChangedEvent([w])}};t.DefaultPreferenceProvider=E,n.__decorate([(0,o.Autowired)(d),n.__metadata("design:type",d)],E.prototype,"preferenceSchemaProvider",void 0),t.DefaultPreferenceProvider=E=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],E);function f(a){return a.message}},93433:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceProvider=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(79951),v=e(27504);function m(s){const g={};for(const l of Object.keys(s))g[s[l].delegateTo]={delegated:l,...s[l]};return g}let _=n=class{constructor(){this.onDidPreferencesChangedEmitter=new c.Emitter,this.onDidPreferencesChanged=this.onDidPreferencesChangedEmitter.event,this.toDispose=new c.DisposableCollection,this._ready=new c.Deferred,this.toDispose.push(this.onDidPreferencesChangedEmitter)}asScope(g){typeof this._scope<"u"||(this._scope=g,(0,v.getAllExternalProviders)().forEach(([l,h])=>{h.onDidChange&&h.onDidChange(u=>{u.scope===this._scope&&this.emitPreferencesChangedEvent([{preferenceName:l,scope:u.scope,newValue:u.newValue,oldValue:u.oldValue}],!0)})}))}dispose(){this.toDispose.dispose()}emitPreferencesChangedEvent(g,l){let h;if(Array.isArray(g)){h={default:{},languageSpecific:{}};for(const u of g)h.default[u.preferenceName]=u}else h=g;if(typeof this._scope<"u"){const u=Object.keys(h.default);for(const d of u){const E=h.default[d];if(n.PreferenceDelegates[E.preferenceName]){const f=n.PreferenceDelegates[E.preferenceName];this.get(f.delegateTo)!==void 0&&this.get(E.preferenceName)===void 0||(h.default[f.delegateTo]={...E,oldValue:void 0,newValue:E.newValue!==void 0?f.transform?f.transform(E.newValue):E.newValue:void 0,preferenceName:f.delegateTo})}!l&&(0,v.getExternalPreferenceProvider)(d)&&delete h.default[d],E.oldValue===E.newValue&&delete h.default[d]}}return h&&!(0,c.isEmptyObject)(h)?(this.onDidPreferencesChangedEmitter.fire(h),!0):!1}get(g,l,h){if(n.PreferenceDelegatesReverse[g]){const d=this.getDelegateToValueFromDelegated(g);if(d!==void 0)return d}const u=this.getWithoutDelegate(g,l,h);return u===void 0&&n.PreferenceDelegates[g]?this.getDelegatedValueFromDelegateTo(g):u}getWithoutDelegate(g,l,h){if(typeof this._scope<"u"){const u=(0,v.getExternalPreferenceProvider)(g);if(u)return u.get(this._scope)}return this.doGet(g,l,h)}getDelegatedValueFromDelegateTo(g){const l=n.PreferenceDelegates[g],h=this.getWithoutDelegate(l.delegateTo);return l.transformFrom?l.transformFrom(h):h}getDelegateToValueFromDelegated(g){const l=n.PreferenceDelegatesReverse[g],h=this.getWithoutDelegate(l.delegated);return l.transform?l.transform(h):h}doGet(g,l,h){return this.doResolve(g,l,h).value}resolve(g,l,h){if(n.PreferenceDelegatesReverse[g]){const d=this.getDelegateToValueFromDelegated(g);if(d!==void 0)return{value:d,scope:this._scope}}if(typeof this._scope<"u"){const d=(0,v.getExternalPreferenceProvider)(g);if(d)return{value:d.get(this._scope),scope:this._scope}}const u=this.doResolve(g,l,h);return u.value===void 0&&n.PreferenceDelegates[g]?{value:this.getDelegatedValueFromDelegateTo(g),scope:this._scope}:u}doResolve(g,l,h){const u=this.getPreferences(l,h);if(!u)return{};const d=u[g];return d!==void 0?{value:d,configUri:this.getConfigUri(l)}:{}}async setPreference(g,l,h,u){if(n.PreferenceDelegatesReverse[g]){const d=n.PreferenceDelegatesReverse[g];await this.setPreference(d.delegated,void 0)}if(typeof this._scope<"u"){const d=(0,v.getExternalPreferenceProvider)(g);if(d)try{const E=d.get(this._scope);return await d.set(l,this._scope),d.onDidChange||this.emitPreferencesChangedEvent([{preferenceName:g,scope:this._scope,oldValue:E,newValue:d.get(this._scope)}],!0),!0}catch{return!1}}return await this.doSetPreference(g,l,h,u)}get ready(){return this._ready.promise}getDomain(){}getConfigUri(g){}static merge(g,l){if(g===void 0||!p.JSONUtils.isObject(g))return p.JSONUtils.deepCopy(l);if(p.JSONUtils.isPrimitive(l))return{};for(const h of Object.keys(l)){const u=l[h];if(h in g&&p.JSONUtils.isObject(g[h])&&p.JSONUtils.isObject(u)){this.merge(g[h],u);continue}g[h]=p.JSONUtils.deepCopy(u)}return g}};t.PreferenceProvider=_,_.PreferenceDelegates={"workbench.colorTheme":{delegateTo:"general.theme"}},_.PreferenceDelegatesReverse=m(n.PreferenceDelegates),t.PreferenceProvider=_=n=r.__decorate([(0,o.Injectable)(),r.__metadata("design:paramtypes",[])],_)},69794:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPreferenceProxy=r;const n=e(43718);function r(o,c,p){const v=p||{},m=v.prefix||"",_=v.style||"flat",s=_==="deep"||_==="both",g=_==="both"||_==="flat",l=(b,y,A)=>{const S=new n.Disposable;return S.addDispose(o.onPreferencesChanged(w=>{for(const T of Object.keys(w)){const D=w[T],I=D.preferenceName;if(I.startsWith(m)&&c.properties[I])if(v.resourceUri){if(D.affects(v.resourceUri)){if(v.overrideIdentifier&&!o.hasLanguageSpecific(I,v.overrideIdentifier,v.resourceUri))continue;b(D)}}else b(D)}},y,A)),v.overrideIdentifier&&S.addDispose(o.onLanguagePreferencesChanged(w=>{if(w.overrideIdentifier===v.overrideIdentifier)for(const T of Object.keys(w.changes)){const D=w.changes[T],I=D.preferenceName;I.startsWith(m)&&c.properties[I]&&(v.resourceUri?D.affects(v.resourceUri)&&b(D):b(D))}},y,A)),S},h=(b,y)=>{throw new Error("Unsupported operation")},u=(b,y,A,S)=>o.get(b,y,A||v.resourceUri,S||v.overrideIdentifier),d=()=>{const b=[];for(const y of Object.keys(c.properties))if(y.startsWith(m)){const A=y.indexOf(".",m.length);if(A!==-1&&s){const w=y.substr(m.length,A-m.length);b.indexOf(w)===-1&&b.push(w)}const S=y.substr(m.length);(g||S.indexOf(".")===-1)&&b.push(S)}return b},E=(b,y,A)=>{if(typeof y!="string")throw new Error(`unexpected property: ${String(y)}`);if(_==="deep"&&y.indexOf(".")!==-1)return!1;const S=m?m+y:y;if(c.properties[S])return o.set(S,A,n.PreferenceScope.Default),!0;const w=S+".";for(const T of Object.keys(c.properties))if(T.startsWith(w)){const D=r(o,c,{prefix:w,resourceUri:v.resourceUri,overrideIdentifier:v.overrideIdentifier,style:_});for(const I of Object.keys(A))D[I]=A[I]}return!1},f=(b,y)=>{if(typeof y!="string")throw new Error(`unexpected property: ${String(y)}`);const A=m?m+y:y;if((g||y.indexOf(".")===-1)&&c.properties[A])return o.get(A,void 0,v.resourceUri,v.overrideIdentifier);if(y==="onPreferenceChanged")return l;if(y==="dispose")return()=>{};if(y==="ready")return o.ready;if(y==="get")return u;if(y==="toJSON")return a();if(s){const S=A+".";for(const O of Object.keys(c.properties))if(O.startsWith(S))return r(o,c,{prefix:S,resourceUri:v.resourceUri,overrideIdentifier:v.overrideIdentifier,style:_});let w,T=A;const D=[];for(let O;T&&(0,n.isUndefined)(w);)O=T.lastIndexOf("."),D.push(T.substring(O+1)),T=T.substring(0,O),T in c.properties&&(w=f(b,T));let I;for(;(0,n.isObject)(w)&&(I=D.pop());)w=w[I];return D.length?void 0:w}},a=()=>{const b={};for(const y of d())b[y]=f(void 0,y);return b};return new Proxy({},{get:f,ownKeys:d,getOwnPropertyDescriptor:(b,y)=>d().indexOf(y)!==-1?{enumerable:!0,configurable:!0}:{},set:E,deleteProperty:h,defineProperty:h})}},39254:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceScope=void 0;const n=e(87023);Object.defineProperty(t,"PreferenceScope",{enumerable:!0,get:function(){return n.PreferenceScope}})},26645:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceServiceImpl=t.PreferenceChangeImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(43851),p=e(65870),v=e(93433),m=e(39254),_=e(67889),{deepClone:s}=o.objects;class g{constructor(d){this.change=d}get preferenceName(){return this.change.preferenceName}get newValue(){return this.change.newValue}get oldValue(){return this.change.oldValue}get scope(){return this.change.scope}affects(d){const E=d&&new o.URI(d).path,f=this.change.domain;return!E||!f||f.some(a=>new o.URI(a).path.relativity(E)>=0)}}t.PreferenceChangeImpl=g;let l=class{constructor(){this.onPreferenceChangedEmitter=new o.Emitter,this.onPreferenceChanged=this.onPreferenceChangedEmitter.event,this.onPreferencesChangedEmitter=new o.Emitter,this.onPreferencesChanged=this.onPreferencesChangedEmitter.event,this.onLanguagePreferencesChangedEmitter=new o.Emitter,this.onLanguagePreferencesChanged=this.onLanguagePreferencesChangedEmitter.event,this.toDispose=new o.DisposableCollection(this.onPreferenceChangedEmitter,this.onPreferencesChangedEmitter),this.preferenceProviders=new Map,this.specificEmitters=new Map,this.preferences={},this.cachedPreference=new o.LRUMap(1e3,500),this._ready=new o.Deferred,this.init()}async init(){this.initializeProviders()}dispose(){this.toDispose.dispose()}onSpecificPreferenceChange(d,E){return this.specificEmitters.has(d)||this.specificEmitters.set(d,new o.Emitter),this.specificEmitters.get(d).event(E)}get ready(){return this._ready.promise}async initializeProviders(){const d=m.PreferenceScope.getScopes(),E=[];for(const f of d){const a=this.providerProvider(f);this.preferenceProviders.set(f,a),this.toDispose.push(a.onDidPreferencesChanged(b=>{const y=Object.keys(b.default),A={};for(const S of y)b.default[S].scope===f&&(A[S]=b.default[S]);(0,o.isEmptyObject)(A)||this.reconcilePreferences({default:A,languageSpecific:b.languageSpecific})})),E.push(a.ready)}return Promise.all(E).then(()=>{this._ready.resolve()}).catch(f=>{this._ready.reject(f)})}reconcilePreferences(d){const E={},f={},a=(y,A)=>{this.cachedPreference.delete(y.preferenceName),A?(f[A]||(f[A]={}),f[A][y.preferenceName]=new g(y)):E[y.preferenceName]=new g(y)};this.tryAcceptChanges(d.default,a),Object.keys(d.languageSpecific).forEach(y=>{this.tryAcceptChanges(d.languageSpecific[y],a,y)});const b=Object.keys(E);b.length>0&&this.onPreferencesChangedEmitter.fire(E),b.forEach(y=>{this.onPreferenceChangedEmitter.fire(E[y]),this.specificEmitters.has(y)&&this.specificEmitters.get(y).fire(E[y])}),Object.keys(f).forEach(y=>{this.onLanguagePreferencesChangedEmitter.fire({overrideIdentifier:y,changes:f[y]})})}tryAcceptChanges(d,E,f){for(const a of Object.keys(d)){let b=d[a];if(this.schema.isValidInScope(a,m.PreferenceScope.Folder)){E(b,f);continue}for(const y of m.PreferenceScope.getReversedScopes())if(this.schema.isValidInScope(a,y)){const A=this.getProvider(y);if(A){const S=A.get(a,b.domain?b.domain[0]:void 0,f);if(y>b.scope&&S!==void 0)break;if(y===b.scope&&b.newValue!==void 0){E(b,f);break}else if(y<b.scope&&b.newValue===void 0&&S!==void 0){b={...b,newValue:S,scope:y},E(b,f);break}else if(y===m.PreferenceScope.Default&&b.newValue===void 0&&S===void 0){b={...b,newValue:this.get(a,void 0,b.domain?b.domain[0]:void 0),scope:y},E(b,f);break}}}}}getProvider(d){return this.preferenceProviders.get(d)}getPreferences(d){const E={};for(const f of this.schema.getPreferenceNames())E[f]=this.get(f,void 0,d);return E}has(d,E,f){return this.get(d,void 0,E,f)!==void 0}get(d,E,f,a){return this.resolve(d,E,f,a).value}getValid(d,E){const{value:f}=this.resolve(d,E),a=this.schema.getPreferenceProperty(d);if(!a)return f;const b=f;switch(E=E??a?.default,(0,o.isArray)(a.type)?a.type.includes(o.PREFERENCE_PROPERTY_TYPE.NULL)?o.PREFERENCE_PROPERTY_TYPE.NULL:a.type[0]:a.type){case o.PREFERENCE_PROPERTY_TYPE.STRING:return(0,o.isString)(b)?b:(0,o.isString)(E)?E:"";case o.PREFERENCE_PROPERTY_TYPE.INT:case o.PREFERENCE_PROPERTY_TYPE.NUMBER:return(0,o.isNumber)(b)?b:(0,o.isNumber)(E)?E:0;case o.PREFERENCE_PROPERTY_TYPE.STRING_ARRAY:case o.PREFERENCE_PROPERTY_TYPE.ARRAY:return(0,o.isArray)(b)?b:(0,o.isArray)(E)?E:[];case o.PREFERENCE_PROPERTY_TYPE.BOOLEAN:return(0,o.isBoolean)(b)?b:(0,o.isBoolean)(E)?E:!1;case o.PREFERENCE_PROPERTY_TYPE.NULL:return(0,o.isNull)(b)?b:(0,o.isNull)(E)?E:null;case o.PREFERENCE_PROPERTY_TYPE.OBJECT:return(0,o.isObject)(b)?b:(0,o.isObject)(E)?E:{};default:return null}}lookUp(d){let E,f;if(!d)return{value:E};const a=d.split(".");if(!a||a.length===0)return{value:E};for(let b=a.length-1;b>0;b--)if(E=this.doResolve(a.slice(0,b).join(".")).value,E){f=a.slice(b);break}for(;f&&f.length>0;)E=E[f.shift()];return{value:E}}resolve(d,E,f,a,b){const y=this.doResolve(d,E,f,b,a);return typeof y.value>"u"?this.lookUp(d):y}async set(d,E,f,a){await this.ready;const b=(0,o.isUndefined)(f)?a?m.PreferenceScope.Folder:m.PreferenceScope.Workspace:f;if(b===m.PreferenceScope.User&&this.configurations.isSectionName(d.split(".",1)[0]))throw new Error(`Unable to write to User Settings because ${d} does not support for global scope.`);if(b===m.PreferenceScope.Folder&&!a)throw new Error("Unable to write to Folder Settings because no resource is provided.");const y=this.getProvider(b);if(!(y&&await y.setPreference(d,E,a)))throw new Error(`Unable to write to ${m.PreferenceScope.getScopeNames(b)[0]} Settings.`)}async update(d,E,f=m.PreferenceScope.User){const a=this.resolve(d);a?.scope?this.set(d,E,a.scope):this.set(d,E,f)}hasLanguageSpecific(d,E,f){return!!this.doResolve(d,void 0,f,void 0,E).languageSpecific}getBoolean(d,E,f){const a=f?this.get(d,E,f):this.get(d,E);return a!=null?!!a:E}getString(d,E,f){const a=f?this.get(d,E,f):this.get(d,E);return a==null?E:a.toString()}getNumber(d,E,f){const a=f?this.get(d,E,f):this.get(d,E);return a==null?E:typeof a=="number"?a:Number(a)}inspect(d,E,f){const a=this.inspectInScope(d,m.PreferenceScope.Default,E,f),b=this.inspectInScope(d,m.PreferenceScope.User,E,f),y=this.inspectInScope(d,m.PreferenceScope.Workspace,E,f),A=this.inspectInScope(d,m.PreferenceScope.Folder,E,f);return{preferenceName:d,defaultValue:a,globalValue:b,workspaceValue:y,workspaceFolderValue:A}}inspectInScope(d,E,f,a){return this.doInspectInScope(d,E,f,a)}doHas(d,E){return this.doGet(d,void 0,E)!==void 0}doInspectInScope(d,E,f,a){const b=this.getProvider(E);return b&&b.get(d,f,a)}doGet(d,E,f){return this.doResolve(d,E,f).value}doResolve(d,E,f,a,b){let y;this.cachedPreference.has(d)?y=this.cachedPreference.get(d):(y=new o.LRUMap(500,200),this.cachedPreference.set(d,y));const A=h(b,a,f);y.has(A)||y.set(A,this.doResolveWithOutCache(d,f,a,b));const S=y.get(A);return S.value===void 0&&(S.value=E),S}doResolveWithOutCache(d,E,f,a){const b={scope:m.PreferenceScope.Default},y=(0,o.isUndefined)(f)?m.PreferenceScope.getScopes():m.PreferenceScope.getScopes().filter(A=>A<=f);for(const A of y)if(this.schema.isValidInScope(d,A)){const S=this.getProvider(A);if(S){const{configUri:w,value:T}=S.resolve(d,E);!(0,o.isUndefined)(T)&&!(0,o.isEmptyObject)(T)&&(b.configUri=w,b.value=v.PreferenceProvider.merge(b.value,T),b.scope=A)}}if(a){for(const A of y)if(this.schema.isValidInScope(d,A)){const S=this.getProvider(A);if(S){const{configUri:w,value:T,languageSpecific:D}=S.resolve(d,E,a);T!==void 0&&(b.configUri=w,b.value=v.PreferenceProvider.merge(b.value,T),b.scope=A,b.languageSpecific=b.languageSpecific||D)}}}return{configUri:b.configUri,value:(0,o.isUndefined)(b.value)?void 0:s(b.value),scope:b.scope||m.PreferenceScope.Default,languageSpecific:b.languageSpecific}}};t.PreferenceServiceImpl=l,n.__decorate([(0,r.Autowired)(p.PreferenceSchemaProvider),n.__metadata("design:type",p.PreferenceSchemaProvider)],l.prototype,"schema",void 0),n.__decorate([(0,r.Autowired)(v.PreferenceProvider,{tag:m.PreferenceScope.Default}),n.__metadata("design:type",v.PreferenceProvider)],l.prototype,"defaultPreferenceProvider",void 0),n.__decorate([(0,r.Autowired)(_.PreferenceProviderProvider),n.__metadata("design:type",Function)],l.prototype,"providerProvider",void 0),n.__decorate([(0,r.Autowired)(c.PreferenceConfigurations),n.__metadata("design:type",c.PreferenceConfigurations)],l.prototype,"configurations",void 0),t.PreferenceServiceImpl=l=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],l);function h(u,d,E){return`${u?`${u}:::`:""}${(0,o.isUndefined)(d)?"":`${d}:::`}${E||""}`||"default"}},62923:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IPreferenceSettingsService=void 0,t.IPreferenceSettingsService=Symbol("IPreferenceSettingsService")},67889:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceProviderProvider=t.PreferenceService=void 0,t.PreferenceService=Symbol("PreferenceService"),t.PreferenceProviderProvider=Symbol("PreferenceProviderProvider")},68969:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyProgressRunner=t.IProgressService=void 0,t.IProgressService=Symbol("IProgressService"),t.emptyProgressRunner=Object.freeze({total(){},worked(){},done(){}})},68974:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Progress=t.ProgressBar=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(79951),p=n.__importDefault(e(52611)),v=({progressModel:m,className:_})=>{const s=(0,c.useAutorun)(m.worked),g=(0,c.useAutorun)(m.total),l=(0,c.useAutorun)(m.show),h=(0,c.useAutorun)(m.fade),u=g?(s/g||.02)*100+"%":"2%";return o.default.createElement("div",{className:(0,r.default)(_,p.default.progressBar,{[p.default.hide]:!l},{[p.default.fade]:h})},o.default.createElement("div",{className:(0,r.default)(p.default.progress,{[p.default.infinite]:!g}),style:{width:u}}))};t.ProgressBar=v,t.Progress=o.default.memo(({loading:m,style:_,wrapperClassName:s})=>m?o.default.createElement("div",{className:(0,r.default)(p.default.progressBar,s)},o.default.createElement("div",{className:(0,r.default)(p.default.progress,p.default.infinite),style:{width:"2%",..._}})):null)},58482:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressIndicator=void 0;const n=e(85608),r=e(76003),o=e(43738);let c=class{constructor(){this.progressModel={show:(0,o.observableValue)(this,!1),fade:(0,o.observableValue)(this,!1),worked:(0,o.observableValue)(this,0),total:(0,o.observableValue)(this,void 0)}}show(v,m){return v!==!0&&(0,o.transaction)(_=>{this.progressModel.total.set(v,_)}),this.showOnceScheduler(m),{total:_=>{(0,o.transaction)(s=>{this.progressModel.worked.set(0,s),this.progressModel.total.set(_,s)})},worked:_=>{(0,o.transaction)(s=>{if(this.progressModel.total.get()){const g=Math.max(1,Number(_)),l=Math.min(g+this.progressModel.worked.get(),this.progressModel.total.get());this.progressModel.worked.set(l,s)}this.progressModel.show.set(!0,s)})},done:()=>{this.doDone(!0)}}}async showWhile(v,m){(0,o.transaction)(_=>{this.progressModel.total.set(void 0,_)}),this.showOnceScheduler(m),await v,this.doDone(!1)}showOnceScheduler(v){typeof v=="number"?(clearTimeout(this.scheduled),this.scheduled=setTimeout(()=>this.on(),v)):this.on()}doDone(v){(0,o.transaction)(m=>{this.progressModel.fade.set(!0,m)}),this.progressModel.total.get()?((0,o.transaction)(m=>{this.progressModel.worked.set(this.progressModel.total.get(),m)}),v?setTimeout(this.off,800):this.off()):v?setTimeout(this.off,800):this.off()}off(){(0,o.transaction)(v=>{this.progressModel.total.set(void 0,v),this.progressModel.worked.set(0,v),this.progressModel.show.set(!1,v),this.progressModel.fade.set(!1,v)})}on(){(0,o.transaction)(v=>{this.progressModel.show.set(!0,v)})}};t.ProgressIndicator=c,t.ProgressIndicator=c=n.__decorate([(0,r.Injectable)({multiple:!0})],c)},11719:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressService=void 0;const n=e(85608),r=e(14041),o=e(76003),c=e(97267),p=e(43718),v=e(81878),m=e(61943),_=e(90697),s=e(26542),g=e(68974),l=e(58482),{format:h}=p.strings;let u=class{constructor(){this.progressIndicatorRegistry=new Map,this.windowProgressStack=[],this.windowProgressStatusEntry=void 0}registerProgressIndicator(E,f){const a=f||this.injector.get(l.ProgressIndicator);return this.progressIndicatorRegistry.set(E,a),{dispose:()=>this.progressIndicatorRegistry.delete(E)}}getIndicator(E){return this.progressIndicatorRegistry.get(E)}withProgress(E,f,a){const b=E.location;if(typeof b=="string"){if(this.progressIndicatorRegistry.get(b))return this.withCompositeProgress(b,f,{...E,location:b});throw new Error(`Bad progress location: ${b}`)}switch(b){case p.ProgressLocation.Notification:return this.withNotificationProgress({...E,location:b},f,a);case p.ProgressLocation.Window:return this.withWindowProgress({...E,location:b},f);case p.ProgressLocation.Explorer:return this.withCompositeProgress("explorer",f,{...E,location:b});case p.ProgressLocation.Scm:return this.withCompositeProgress("scm",f,{...E,location:b});case p.ProgressLocation.Extensions:return this.withCompositeProgress("extensions",f,{...E,location:b});default:throw new Error(`Bad progress location: ${b}`)}}withWindowProgress(E,f){const a=[E,new p.Progress(()=>this.updateWindowProgress())],b=f(a[1]);let y=setTimeout(()=>{y=void 0,this.windowProgressStack.unshift(a),this.updateWindowProgress(),Promise.all([(0,p.timeout)(150),b]).finally(()=>{const A=this.windowProgressStack.indexOf(a);this.windowProgressStack.splice(A,1),this.updateWindowProgress()})},150);return b.finally(()=>clearTimeout(y))}updateWindowProgress(E=0){var f;if(E<this.windowProgressStack.length){const[a,b]=this.windowProgressStack[E],y=a.title,A=b.value&&b.value.message,S=a.command;let w,T;if(y&&A)w=h("{0}: {1}",y,A),T=a.source?h("[{0}] {1}: {2}",a.source,y,A):w;else if(y)w=y,T=a.source?h("[{0}]: {1}",a.source,y):w;else if(A)w=A,T=a.source?h("[{0}]: {1}",a.source,A):w;else{this.updateWindowProgress(E+1);return}const D={text:`$(sync~spin) ${w}`,tooltip:T,command:S,alignment:s.StatusBarAlignment.LEFT};this.windowProgressStatusEntry?this.windowProgressStatusEntry.update(D):this.commandService.executeCommand("statusbar.addElement","status.progress",D).then(I=>{this.windowProgressStatusEntry=I})}else(f=this.windowProgressStatusEntry)===null||f===void 0||f.dispose(),this.windowProgressStatusEntry=void 0}withCompositeProgress(E,f,a){const b=this.progressIndicatorRegistry.get(E);let y;const A=f({report:S=>{y&&(typeof S.increment=="number"&&y.worked(S.increment),typeof S.total=="number"&&y.total(S.total))}});return b&&(typeof a.total=="number"?(y=b.show(a.total,a.delay),A.catch(()=>{}).finally(()=>y?y.done():void 0)):b.showWhile(A,a.delay)),A}withNotificationProgress(E,f,a){const b=new class extends p.Disposable{get step(){return this._step}get done(){return this._done}constructor(){super(),this._onDidReport=this.registerDispose(new p.Emitter),this.onDidReport=this._onDidReport.event,this._step=void 0,this._done=!1,this.promise=f(this),this.promise.finally(()=>{this.dispose()})}report(k){this._step=k,this._onDidReport.fire(k)}cancel(k){a?.(k),this.dispose()}dispose(){this._done=!0,super.dispose()}},y=()=>{let k;const F=new Promise(L=>k=L);return this.withWindowProgress({location:p.ProgressLocation.Window,title:E.title?(0,p.parseLinkedText)(E.title).toString():void 0},L=>{function B(W){W.message&&L.report({message:(0,p.parseLinkedText)(W.message).toString()})}b.step&&B(b.step);const j=b.onDidReport(W=>B(W));return F.finally(()=>j.dispose()),p.Event.once(b.onDispose)(()=>k()),F}),(0,p.toDisposable)(()=>k())};let A,S,w=!1;const T=(k,F,L)=>{var B,j;const W=[],U=(B=E.closeable)!==null&&B!==void 0?B:!0;E.cancellable&&W.push((0,p.localize)("ButtonCancel")),E.buttons&&W.push(...E.buttons);const Q=(0,p.randomString)(3),V=this.injector.get(l.ProgressIndicator);this.registerProgressIndicator(Q,V);let $;const Y=z=>{(0,p.dispose)($),!z&&!b.done&&($=y())};return A=r.createElement(g.ProgressBar,{progressModel:V.progressModel}),(j=(0,v.open)(k,c.MessageType.Info,U,Q,W,A,0,()=>Y(!1)))===null||j===void 0||j.then(()=>{b.cancel()}),typeof L=="number"&&L>=0?(S=V.show(100),S.worked(L)):(w=!0,S=V.show(!0)),Q},D=k=>{typeof k=="number"&&k>=0?(w&&(w=!1,S.total(100)),S.worked(k)):S.total(0)};let I,O,M;const R=k=>{if(k?.message&&E.title?M=`${E.title}: ${k.message}`:M=E.title||k?.message,!I&&M&&(typeof E.delay=="number"&&E.delay>0?typeof O!="number"&&(O=setTimeout(()=>I=T(M,!!E.silent,k?.increment),E.delay)):I=T(M,!!E.silent,k?.increment)),I&&(typeof k?.increment=="number"&&D(k.increment),M)){const F=this.injector.get(_.IOpenerService);(0,c.update)(I,(0,m.toMarkdown)(M,F))}};R(b.step);const P=b.onDidReport(k=>R(k));return p.Event.once(b.onDispose)(()=>P.dispose()),(async()=>{try{typeof E.delay=="number"&&E.delay>0?await b.promise:await Promise.all([(0,p.timeout)(800),b.promise])}finally{clearTimeout(O),I&&((0,c.close)(I),this.progressIndicatorRegistry.delete(I))}})(),b.promise}};t.ProgressService=u,n.__decorate([(0,o.Autowired)(o.INJECTOR_TOKEN),n.__metadata("design:type",o.Injector)],u.prototype,"injector",void 0),n.__decorate([(0,o.Autowired)(p.CommandService),n.__metadata("design:type",Object)],u.prototype,"commandService",void 0),t.ProgressService=u=n.__decorate([(0,o.Injectable)()],u)},74404:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuickOpenContribution=t.QuickTitleButtonSide=t.IQuickInputService=t.PrefixQuickOpenService=t.QuickPickService=t.QuickOpenOptions=t.QuickOpenService=t.HideReason=t.QuickOpenItem=t.QuickOpenMode=t.Mode=void 0;const n=e(85608),r=e(43738);var o;(function(s){s[s.PREVIEW=0]="PREVIEW",s[s.OPEN=1]="OPEN",s[s.OPEN_IN_BACKGROUND=2]="OPEN_IN_BACKGROUND"})(o||(t.QuickOpenMode=t.Mode=o={}));class c{constructor(g){this.options=g,this.checked=(0,r.observableValue)(this,!1),(0,r.transaction)(l=>{this.checked.set(g.checked||!1,l)})}getTooltip(){return this.options.tooltip||this.getLabel()}getLabel(){return this.options.label}getLabelHighlights(){return this.options.labelHighlights||[]}getDescription(){return this.options.description}getDescriptionHighlights(){return this.options.descriptionHighlights}getDetail(){return this.options.detail}getDetailHighlights(){return this.options.detailHighlights}isHidden(){return this.options.hidden||!1}getUri(){return this.options.uri}getIconClass(){return this.options.iconClass}getIconPath(){return this.options.iconPath}getKeybinding(){return this.options.keybinding}setHighlights(g,l,h){this.labelHighlights=g,this.descriptionHighlights=l,this.detailHighlights=h}getHighlights(){return[this.labelHighlights,this.descriptionHighlights,this.detailHighlights]}run(g){return this.options.run?this.options.run(g):!1}getGroupLabel(){return this.options.groupLabel}showBorder(){return this.options.showBorder||!1}getValue(){return this.options.value}getButtons(){return this.options.buttons||[]}}t.QuickOpenItem=c;var p;(function(s){s[s.ELEMENT_SELECTED=0]="ELEMENT_SELECTED",s[s.FOCUS_LOST=1]="FOCUS_LOST",s[s.CANCELED=2]="CANCELED"})(p||(t.HideReason=p={})),t.QuickOpenService=Symbol("QuickOpenService");var v;(function(s){s.defaultOptions=Object.freeze({enabled:!0,prefix:"",placeholder:"",onClose:()=>{},onSelect:()=>{},onChangeValue:()=>{},onConfirm:()=>{},valueSelection:[-1,-1],fuzzyMatchLabel:!1,fuzzyMatchDetail:!1,fuzzyMatchDescription:!1,fuzzySort:!1,skipPrefix:0,ignoreFocusOut:!1,password:!1,showItemsWithoutHighlight:!1,selectIndex:()=>-1,title:""});function g(l={},h=s.defaultOptions){return Object.assign({},h,l)}s.resolve=g})(v||(t.QuickOpenOptions=v={})),t.QuickPickService=Symbol("QuickPickService"),t.PrefixQuickOpenService=Symbol("PrefixQuickOpenService"),t.IQuickInputService=Symbol("IQuickInputService");var m;(function(s){s[s.LEFT=0]="LEFT",s[s.RIGHT=1]="RIGHT"})(m||(t.QuickTitleButtonSide=m={}));class _{constructor(g){this.id=g}}_.File=new _("file"),_.Folder=new _("folder"),t.QuickOpenContribution=Symbol("QuickOpenContribution"),n.__exportStar(e(95263),t)},95263:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecentFilesManager=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(17010),p=e(98881),v=e(77273),m="OPENED_FILE",_="OPENED_FILES_POSITION";let s=class extends c.WithEventBus{async updateMostRecentlyOpenedFile(l,h){const u=await this.recentStorage.getScopeStorage(),d=u.get(_)||{};d[l]=`#${h.lineNumber},${h.column}`,u.set(_,d)}async setMostRecentlyOpenedFile(l,h){const u=await this.recentStorage.getScopeStorage();let d=await this.getMostRecentlyOpenedFiles();const E=d.findIndex(f=>f===l);E>-1&&d.splice(E,1),h||d.unshift(l),d.length>50&&(d=d.slice(0,50)),u.set(m,d)}async getMostRecentlyOpenedFiles(l){const h=await this.recentStorage.getScopeStorage(),u=h.get(m)||[],d=h.get(_)||{};return l?u.map(E=>d[E]?E+d[E]:E):u}handleFilesDelete(l){l.payload.forEach(h=>{h.type===o.FileChangeType.DELETED&&h.uri&&this.setMostRecentlyOpenedFile(h.uri,!0)})}};t.RecentFilesManager=s,n.__decorate([(0,r.Autowired)(p.RecentStorage),n.__metadata("design:type",p.RecentStorage)],s.prototype,"recentStorage",void 0),n.__decorate([(0,o.OnEvent)(v.FilesChangeEvent),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[v.FilesChangeEvent]),n.__metadata("design:returntype",void 0)],s.prototype,"handleFilesDelete",null),t.RecentFilesManager=s=n.__decorate([(0,r.Injectable)()],s)},40191:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawContextKey=t.IRawContextKey=void 0;class e{}t.IRawContextKey=e;function n(o,c){const p=[];if(Array.isArray(o)&&o.length)for(const v of o)v instanceof r?p.push(v.raw):p.push(v);return p.join(" "+c+" ")}class r{static and(...c){return c.length?n(c,"&&"):""}static or(...c){return c.length?n(c,"||"):""}constructor(c,p){this.key=c,this.defaultValue=p}bind(c){return c.createKey(this.key,this.defaultValue)}getValue(c){return c.getContextKeyValue(this.key)}get raw(){return this.key}get not(){return"!"+this.raw}equalsTo(c){return this.raw+" == "+c}notEqualTo(c){return this.raw+" != "+c}regexMatches(c){const p=c?`/${c.source}/${c.ignoreCase?"i":""}`:"/invalid/";return this.raw+" =~ "+p}evaluate(c){return!!c.getValue(this.key)}}t.RawContextKey=r},1932:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdateOnEvent=p,t.useUpdateOnEventBusEvent=v,t.useEventEffect=m;const r=e(85608).__importDefault(e(14041)),o=e(43718),c=e(95422);function p(_,s=[],g){const[,l]=r.default.useState(),h=r.default.useCallback(()=>l({}),[]);r.default.useEffect(()=>{const u=new o.Disposable;return u.addDispose(_(d=>{u.disposed||(g?g(d)&&h():h())})),()=>{u.dispose()}},s)}function v(_,s=[],g){const[,l]=r.default.useState(),h=r.default.useCallback(()=>l({}),[]),u=(0,c.useInjectable)(o.IEventBus);r.default.useEffect(()=>{const d=new o.Disposable;return d.addDispose(u.on(_,E=>{d.disposed||(g?g(E.payload)&&h():h())})),()=>{d.dispose()}},s)}function m(_,s,g=[]){r.default.useEffect(()=>{const l=_(s);return l.dispose.bind(l)},g)}},81175:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gitMergeChangesSet=void 0,t.useInMergeChanges=p;const n=e(14041),r=e(53736),o=e(95422),c="git.mergeChangesObj";t.gitMergeChangesSet=new Set([c]);function p(v){const m=(0,o.useInjectable)(r.IContextKeyService),[_,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{function g(){const h=m.getValue(c)||{};s(h[v]||!1)}g();const l=m.onDidChangeContext(({payload:h})=>{h.affectsSome(t.gitMergeChangesSet)&&g()});return()=>l.dispose()},[v]),_}},40525:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHotKey=void 0;const r=e(85608).__importDefault(e(39396)),o=e(14041),c=(p,v)=>{const m=(0,o.useCallback)(()=>p.reduce((h,u)=>{const d=(0,r.default)(u);return typeof d=="number"&&(h[d]=!1),h},{}),[p]),[_,s]=(0,o.useState)(m);function g(h){s(u=>h in u?{...u,[h]:!0}:u)}function l(){Object.values(_).every(h=>h===!0)&&v(),s(h=>Object.keys(_).reduce((u,d)=>(u[d]=!1,u),{}))}return{onKeyDown:g,onKeyUp:l}};t.useHotKey=c},73358:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHover=o;const r=e(85608).__importStar(e(14041));function o(){const c=r.default.useRef(null),[p,v]=r.default.useState(!1),m=()=>v(!0),_=()=>v(!1);return(0,r.useEffect)(()=>{const s=c.current;if(s)return s.addEventListener("mouseenter",m),s.addEventListener("mouseleave",_),()=>{s.removeEventListener("mouseenter",m),s.removeEventListener("mouseleave",_)}},[]),[c,p]}},48560:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(95422),t),n.__exportStar(e(86781),t),n.__exportStar(e(1932),t),n.__exportStar(e(99372),t),n.__exportStar(e(73358),t),n.__exportStar(e(3757),t)},95422:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useInjectable=p,t.useEventDrivenState=v;const n=e(14041),r=e(11050),o=e(30505);function c(m){return m&&m.dispose&&!m.disposed}function p(m,_){const{injector:s}=(0,n.useContext)(r.ConfigContext),g=(0,n.useMemo)(()=>s?.get(m,_),[s,m]);return(0,n.useEffect)(()=>()=>{let l=s;for(;l&&!l.hasInstance(g);)l=l.parent;l||c(g)&&g.dispose()},[g]),g}function v(m,_,s){const g=(0,o.useMemorizeFn)(s),[l,h]=(0,n.useState)(g(m));return(0,n.useEffect)(()=>{const u=(...d)=>{h(()=>g(m))};return u(),m.on(_,u),()=>m.off(_,u)},[m]),l}},30505:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMemorizeFn=r;const n=e(14041);function r(o){const c=(0,n.useRef)(o);return c.current=(0,n.useMemo)(()=>o,[o]),(0,n.useCallback)((...p)=>c.current(...p),[])}},86781:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePortal=o;const n=e(14041);function r(c,p){const v=document.createElement("div");return v.id=c,p&&(v.className=p),v}function o(c,p){const v=(0,n.useRef)(null);return(0,n.useEffect)(()=>{const m=document.querySelector(`#${c}`),_=m||r(c,p);return m||document.body.appendChild(_),v.current&&_.appendChild(v.current),()=>{v.current&&v.current.remove(),_.childNodes.length===-1&&_.remove()}},[]),v.current||(v.current=document.createElement("div")),v.current}},99372:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useChange=o;const r=e(85608).__importDefault(e(14041));function o(c,p){const v=r.default.useRef(c);r.default.useEffect(()=>{v.current!==c&&(p(c),v.current=c)},[c])}},39572:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=e(85608).__importDefault(e(97331)),o=e(14041);function c(p,v,m){const _=(0,o.useRef)(p);_.current=p;const s=(0,o.useMemo)(()=>(0,r.default)((...g)=>_.current(...g),v,m),[]);return(0,o.useEffect)(()=>()=>{s.cancel()},[]),{run:s,cancel:s.cancel,flush:s.flush}}t.default=c},3757:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUUID=o;const n=e(14041),r=e(43718);function o(){return(0,n.useMemo)(()=>(0,r.uuid)(6),[])}},11050:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.AppConfig=void 0,t.ConfigProvider=o,t.getCDNHref=p,t.getTreeSitterWasmCDNUri=v;const r=e(85608).__importDefault(e(14041));t.AppConfig=Symbol("AppConfig"),t.ConfigContext=r.default.createContext({workspaceDir:"",injector:null,wsPath:"",layoutConfig:{},extWorkerHost:"",isElectronRenderer:!1});function o(m){const{extraContextProvider:_,...s}=m.value,g=r.default.createElement(t.ConfigContext.Provider,{value:s},r.default.createElement(t.ConfigContext.Consumer,null,l=>s===l?m.children:null));return _?r.default.createElement(_,{children:g}):g}const c={alipay:"https://gw.alipayobjects.com/os/lib",npmmirror:"https://registry.npmmirror.com",unpkg:"https://unpkg.com/browse",jsdelivr:"https://cdn.jsdelivr.net/npm"};function p(m,_,s,g="alipay"){return g==="alipay"?`${c.alipay}/${m.slice(1)}/${s}/${_}`:g==="npmmirror"?`${c.npmmirror}/${m}/${s}/files/${_}`:`${c[g]}/${m}@${s}/${_}`}function v(m="npmmirror"){return p("@opensumi/tree-sitter-wasm","","0.0.2",m)}},38578:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(11050),t),n.__exportStar(e(52564),t)},52564:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SlotRendererContribution=t.slotRendererRegistry=t.SlotRendererRegistry=t.SlotDecorator=t.allSlot=t.ErrorBoundary=t.TabbarContextKeys=t.SlotLocation=void 0,t.getSlotLocation=h,t.getTabbarCtxKey=d,t.SlotRenderer=b,t.ComponentRenderer=y;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(97267),p=e(43718),v=e(36206),m=e(11949),_=e(48560),s=e(11050),g=n.__importDefault(e(76487)),l=(0,p.getDebugLogger)();t.SlotLocation={top:"top",left:"left",right:"right",main:"main",statusBar:"statusBar",bottom:"bottom",extra:"extra",float:"float",action:"action",bottomBar:"bottomBar",bottomPanel:"bottomPanel",leftBar:"leftBar",leftPanel:"leftPanel",rightBar:"rightBar",rightPanel:"rightPanel"};function h(A,S){if(!S)return"";for(const w of Object.keys(S))if(S[w].modules&&S[w].modules.indexOf(A)>-1)return w;return l.warn(`Cannot find the location with ${A}`),""}var u;(function(A){A.activeViewlet="activeViewlet",A.activePanel="activePanel",A.activeExtendViewlet="activeExtendViewlet"})(u||(t.TabbarContextKeys=u={}));function d(A){return{[t.SlotLocation.left]:u.activeViewlet,[t.SlotLocation.right]:u.activeExtendViewlet,[t.SlotLocation.bottom]:u.activePanel}[A]||"activeExtendViewlet"}class E extends o.default.Component{constructor(){super(...arguments),this.state={error:null,errorInfo:null}}componentDidCatch(S,w){this.setState({error:S,errorInfo:w}),setTimeout(()=>{throw S}),l.error(w)}update(){this.setState({error:null,errorInfo:null})}render(){return this.state.errorInfo?o.default.createElement("div",{className:g.default.error_message},o.default.createElement("h2",{className:g.default.title},(0,p.localize)("view.component.renderedError")),o.default.createElement("details",{className:g.default.detial},o.default.createElement("div",{className:g.default.label},this.state.error&&this.state.error.toString()),o.default.createElement("div",{className:g.default.message},this.state.errorInfo.componentStack)),o.default.createElement(c.Button,{onClick:()=>this.update()},(0,p.localize)("view.component.tryAgain"))):this.props.children}}t.ErrorBoundary=E,t.allSlot=[];const f=({slot:A,id:S,children:w,className:T})=>{const D=o.default.useRef();return o.default.useEffect(()=>{D.current&&t.allSlot.push({slot:A,dom:D.current})},[D]),o.default.createElement("div",{id:S,ref:I=>D.current=I,className:(0,r.default)("resize-wrapper",T)},w)};t.SlotDecorator=f;class a{constructor(){this.tabbarLocation=new Set,this.rendererRegistry=new Map}static DefaultRenderer({components:S}){return S&&o.default.createElement(E,null,S.map((w,T)=>{const D=w.views[0].component;if(D)return o.default.createElement(D,{...w.options&&w.options.initialProps,key:`${D.name||D.displayName}-${T}`})}))}registerSlotRenderer(S,w){this.rendererRegistry.set(S,w)}getSlotRenderer(S){return this.rendererRegistry.get(S)||a.DefaultRenderer}addTabbar(S){this.tabbarLocation.has(S)||this.tabbarLocation.add(S)}isTabbar(S){return this.tabbarLocation.has(S)}}t.SlotRendererRegistry=a,t.slotRendererRegistry=new a;function b({slot:A,isTabbar:S,id:w,...T}){const D=(0,_.useInjectable)(m.ComponentRegistry),I=o.default.useContext(s.ConfigContext),O=(0,_.useInjectable)(v.IClientApp);S&&t.slotRendererRegistry.addTabbar(A);const[M,R]=o.default.useState([]),P=()=>{var F,L;const B=(L=(F=I.layoutConfig[A])===null||F===void 0?void 0:F.modules)!==null&&L!==void 0?L:[],j=[];(!B||!B.length)&&l.warn(`No ${A} view declared by location.`),B.forEach(W=>{const U=D.getComponentRegistryInfo(W);U?j.push(U):l.warn(`${W} view isn't registered, please check.`)}),R(j)};o.default.useEffect(()=>{O.appInitialized.promise.then(P)},[]);const k=t.slotRendererRegistry.getSlotRenderer(A);return o.default.createElement(E,null,o.default.createElement(t.SlotDecorator,{slot:A,id:w},o.default.createElement(k,{components:M,...T})))}t.SlotRendererContribution=Symbol("SlotRendererContribution");function y({Component:A,initialProps:S}){return Array.isArray(A)?A&&o.default.createElement(E,null,A.map((w,T)=>o.default.createElement(w,{...S||{},key:`${w.name}-${T}`}))):A&&o.default.createElement(E,null,o.default.createElement(A,{...S||{}}))}},52993:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserClipboardService=t.IClipboardService=t.CLIPBOARD_FILE_TOKEN=void 0;const n=e(85608),r=e(76003),o=e(43718);Object.defineProperty(t,"CLIPBOARD_FILE_TOKEN",{enumerable:!0,get:function(){return o.CLIPBOARD_FILE_TOKEN}}),Object.defineProperty(t,"IClipboardService",{enumerable:!0,get:function(){return o.IClipboardService}});const c=e(75694),p=e(7369);let v=class{async writeText(_){try{return await navigator.clipboard.writeText(_)}catch(l){this.logger.error(l)}const s=document.activeElement,g=document.createElement("textarea");g.setAttribute("aria-hidden","true"),document.body.appendChild(g),g.style.height="1px",g.style.width="1px",g.style.position="absolute",g.value=_,g.focus({preventScroll:!0}),g.select(),document.execCommand("copy"),s instanceof HTMLElement&&s.focus({preventScroll:!0}),document.body.removeChild(g)}async readText(){try{if(!navigator.clipboard)throw new Error("The current environment does not support the `clipboard` API");return await navigator.clipboard.readText()}catch(_){return this.logger.error(_),""}}async writeResources(_,s=o.CLIPBOARD_FILE_TOKEN){this.browserStorage.setData(s,_.filter(g=>!!g).map(g=>g.toString()))}async readResources(_=o.CLIPBOARD_FILE_TOKEN){const s=this.browserStorage.getData(_);return!Array.isArray(s)||!s.length||!s.every(g=>typeof g=="string"&&o.URI.isUriString(g))?[]:s.map(g=>o.URI.parse(g))}async hasResources(_){var s;const g=(s=this.browserStorage.getData(_??o.CLIPBOARD_FILE_TOKEN))!==null&&s!==void 0?s:"";return!(!Array.isArray(g)||!g.length||!g.every(l=>typeof l=="string"&&o.URI.isUriString(l)))}};t.BrowserClipboardService=v,n.__decorate([(0,r.Autowired)(c.ILogger),n.__metadata("design:type",Object)],v.prototype,"logger",void 0),n.__decorate([(0,r.Autowired)(p.GlobalBrowserStorageService),n.__metadata("design:type",p.GlobalBrowserStorageService)],v.prototype,"browserStorage",void 0),t.BrowserClipboardService=v=n.__decorate([(0,r.Injectable)()],v)},38670:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CredentialsService=t.ICredentialsService=void 0;const n=e(85608),r=e(76003),o=e(43718);t.ICredentialsService=Symbol("ICredentialsService");let c=class{constructor(){this.onDidChangePasswordEmitter=new o.Emitter,this.onDidChangePassword=this.onDidChangePasswordEmitter.event,this.credentialsProvider=new p(this.keytarService)}async getPassword(m,_){return this.credentialsProvider.getPassword(m,_)}async setPassword(m,_,s){await this.credentialsProvider.setPassword(m,_,s),this.onDidChangePasswordEmitter.fire({service:m,account:_})}async deletePassword(m,_){const s=await this.credentialsProvider.deletePassword(m,_);return this.onDidChangePasswordEmitter.fire({service:m,account:_}),s}async findPassword(m){return await this.credentialsProvider.findPassword(m)}async findCredentials(m){return await this.credentialsProvider.findCredentials(m)}};t.CredentialsService=c,n.__decorate([(0,r.Autowired)(o.KeytarServicePath),n.__metadata("design:type",Object)],c.prototype,"keytarService",void 0),t.CredentialsService=c=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],c);class p{constructor(m){this.keytarService=m}deletePassword(m,_){return this.keytarService.deletePassword(m,_)}findCredentials(m){return this.keytarService.findCredentials(m)}async findPassword(m){return await this.keytarService.findPassword(m)}async getPassword(m,_){return await this.keytarService.getPassword(m,_)}async setPassword(m,_,s){return await this.keytarService.setPassword(m,_,s)}}},82367:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CryptoService=t.ICryptoService=void 0;const n=e(85608),r=e(76003),o=e(43718);t.ICryptoService=Symbol("ICryptoService");let c=class{async encrypt(v){return await this.cryptoService.encrypt(v)}async decrypt(v){return await this.cryptoService.decrypt(v)}};t.CryptoService=c,n.__decorate([(0,r.Autowired)(o.CryptoServicePath),n.__metadata("design:type",Object)],c.prototype,"cryptoService",void 0),t.CryptoService=c=n.__decorate([(0,r.Injectable)()],c)},10845:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalUriService=t.IExternalUriService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(11050);t.IExternalUriService=Symbol("IExternalUriService");let p=class{resolveExternalUri(m){const _=this.extractLocalHost(m);return _?this.toRemoteUrl(m,_):m}toRemoteUrl(m,_){const s=this.toRemoteHost(_);return o.URI.from({scheme:o.URI.parse(window.location.href).scheme,authority:s,path:m.path.toString(),fragment:m.fragment,query:m.query})}toRemoteHost(m){return`${this.appConfig.remoteHostname||window.location.hostname}:${m.port}`}extractLocalHost(m){if(m.scheme!=="http"&&m.scheme!=="https")return;const _=/^(localhost|127\.0\.0\.1|0\.0\.0\.0):(\d+)$/.exec(m.authority);if(_)return{address:_[1],port:+_[2]}}};t.ExternalUriService=p,n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],p.prototype,"appConfig",void 0),t.ExternalUriService=p=n.__decorate([(0,r.Injectable)()],p)},26542:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(63214),t),n.__exportStar(e(7369),t),n.__exportStar(e(29220),t),n.__exportStar(e(52993),t),n.__exportStar(e(10845),t),n.__exportStar(e(38670),t),n.__exportStar(e(82367),t)},63214:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceLabelOrIconChangedEvent=t.LabelService=t.DefaultUriLabelProvider=t.DataUri=void 0,t.serializeLabelOptions=h,t.deserializeLabelOptions=u,t.cssEscape=A,t.basenameOrAuthority=S,t.detectModeId=w,t.getLanguageIdFromMonaco=T;const n=e(85608),r=n.__importDefault(e(53373)),o=e(76003),c=e(43718),p=e(26592),v=e(14162),m=e(87822),_=e(16781),s=e(67304),{addElement:g}=c.arrays;var l;(function(I){I.META_DATA_LABEL="label",I.META_DATA_DESCRIPTION="description",I.META_DATA_SIZE="size",I.META_DATA_MIME="mime";function O(M){const R=new Map,P=M.path;P.substring(P.indexOf(";")+1,P.lastIndexOf(";")).split(";").forEach(L=>{const[B,j]=L.split(":");B&&j&&R.set(B,j)});const F=P.substring(0,P.indexOf(";"));return F&&R.set(I.META_DATA_MIME,F),R}I.parseMetaData=O})(l||(t.DataUri=l={}));function h(I){return I?[I.isDirectory?"0":"1",I.isOpenedDirectory?"0":"1",I.isSymbolicLink?"0":"1"].join(""):"default"}function u(I){if(I!=="default")return{isDirectory:I[0]==="0",isOpenedDirectory:I[1]==="0",isSymbolicLink:I[2]==="0"}}let d=class extends c.Disposable{constructor(){super(...arguments),this._onDidChange=this.registerDispose(new c.Emitter),this.onDidChange=this._onDidChange.event}canHandle(O,M){return O instanceof c.URI?1:0}getIcon(O,M){const{iconClass:R,onDidChange:P}=y(O,M);if(P){const k=P(()=>{this._onDidChange.fire(O),k.dispose()});this.addDispose(k)}return R||(0,s.getIcon)("ellipsis")}getName(O){return O.displayName}getLongName(O){return O.path.toString()}};t.DefaultUriLabelProvider=d,t.DefaultUriLabelProvider=d=n.__decorate([(0,o.Injectable)()],d);let E=class extends c.WithEventBus{constructor(){super(),this.providers=[],this.cachedProviderMap=new c.LRUMap(1e3,500),this.onDidChangeEmitter=new c.Emitter,this.registerLabelProvider(this.defaultLabelProvider)}get onDidChange(){return this.onDidChangeEmitter.event}getProviderForUri(O,M){const R=O.toString();this.cachedProviderMap.has(R)||this.cachedProviderMap.set(R,{});const P=this.cachedProviderMap.get(R),k=h(M);if(P[k])return P[k];{let F,L=-1;for(const B of this.providers){const j=B.canHandle(O,M);j>L&&(F=B,L=j)}return P[k]=F,F}}registerLabelProvider(O){const M=Array.from(this.cachedProviderMap.entries());this.cachedProviderMap.clear();const R=new c.Disposable;return O.onDidChange&&R.addDispose(O.onDidChange(P=>{this.onDidChangeEmitter.fire(P),this.cachedProviderMap.delete(P.toString())})),R.addDispose(g(this.providers,O,!0)),R.addDispose({dispose:()=>{this.cachedProviderMap.clear()}}),M.forEach(([P,k])=>{const F=new c.URI(P);for(const L of Object.keys(k)){const B=u(L);if(this.getProviderForUri(F,B)!==k[L]){this.onDidChangeEmitter.fire(F);return}}}),R}getIcon(O,M){const R=this.getProviderForUri(O,M);return R?R.getIcon(O,M):""}getName(O){const M=this.getProviderForUri(O);return M?M.getName(O):""}getLongName(O){const M=this.getProviderForUri(O);return M?M.getLongName(O):""}};t.LabelService=E,n.__decorate([(0,o.Autowired)(),n.__metadata("design:type",d)],E.prototype,"defaultLabelProvider",void 0),t.LabelService=E=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],E);let f,a,b;const y=(I,O)=>{const M=O&&O.isDirectory?["folder-icon"]:["file-icon"];let R;I.scheme==="data"?R=l.parseMetaData(p.URI.file(I.toString())).get(l.META_DATA_LABEL):R=A(S(I).toLowerCase());let P;if(O&&O.isDirectory)M.push(`${R}-name-folder-icon`);else{if(R){M.push(`${R}-name-file-icon`);const F=R.split(".");for(let L=1;L<F.length;L++)M.push(`${F.slice(L).join(".")}-ext-file-icon`);M.push("ext-file-icon")}b||(b=_.StandaloneServices.get(v.ILanguageService)),a||(a=_.StandaloneServices.get(m.IModelService));const k=w(a,b,p.URI.file(I.withoutQuery().toString()));k?M.push(`${A(k)}-lang-file-icon`):(P=new c.Emitter,c.Event.any(b.onDidRequestBasicLanguageFeatures,b.onDidRequestRichLanguageFeatures)(()=>{w(a,b,p.URI.file(I.withoutQuery().toString()))&&(P?.fire(),P?.dispose())}))}return M.push("icon-label"),{iconClass:(0,r.default)(M),onDidChange:P?.event}};function A(I){return I.replace(/[\x09\x0a\x0c\x0d\x20]/g,"/")}function S(I){return I.path.base||I.authority}function w(I,O,M){if(!M)return null;let R=null;if(M.scheme==="data"){const F=l.parseMetaData(M).get(l.META_DATA_MIME);F&&(R=O.getLanguageIdByMimeType(F))}else{const k=I.getModel(M);k&&(R=k.getLanguageId())}if(R&&R!=="plaintext")return R;const P=O.guessLanguageIdByFilepathOrFirstLine(M);return P==="unknown"?null:P}function T(I){return b=_.StandaloneServices.get(v.ILanguageService),a=_.StandaloneServices.get(m.IModelService),w(a,b,p.URI.parse(I.toString()))}class D extends c.BasicEvent{}t.ResourceLabelOrIconChangedEvent=D},29220:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarCommand=t.StatusBarAlignment=t.IStatusBarService=void 0,t.IStatusBarService=Symbol("IStatusBarService");var e;(function(r){r[r.LEFT=0]="LEFT",r[r.RIGHT=1]="RIGHT"})(e||(t.StatusBarAlignment=e={}));var n;(function(r){r.changeColor={id:"statusbar.changeColor"},r.changeBackgroundColor={id:"statusbar.changeBackgroundColor"},r.addElement={id:"statusbar.addElement"},r.toggleElement={id:"statusbar.toggleElement"}})(n||(t.StatusBarCommand=n={}))},7369:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ScopedBrowserStorageService=t.GlobalBrowserStorageService=t.StorageService=t.SCOPED_BROWSER_STORAGE_PREFIX=t.GLOBAL_BROWSER_STORAGE_PREFIX=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(75694),v=e(38578);t.GLOBAL_BROWSER_STORAGE_PREFIX="global",t.SCOPED_BROWSER_STORAGE_PREFIX="scoped",t.StorageService=Symbol("IStorageService");let m=n=class{constructor(){this._enableExpired=!1,this.init()}setExpires(l){this._enableExpired=l}get storage(){return window.localStorage}init(){typeof window<"u"&&window.localStorage?(0,c.runWhenIdle)(()=>{this.clearLocalStorage(),this.testLocalStorage()}):this.logger.warn("The browser doesn't support localStorage. state will not be persisted across sessions.")}setData(l,h){if(h!==void 0)try{(0,c.isObject)(h)&&this._enableExpired&&(h.expires=Date.now()+n.EXPIRES_DAY*24*60*60*1e3),this.storage.setItem(this.prefix(l),JSON.stringify(h))}catch{this.removeExpiringStorage()}else this.removeData(l)}getData(l,h){const u=this.storage.getItem(this.prefix(l));let d;if((0,c.isUndefinedOrNull)(u))return h;try{d=JSON.parse(u)}catch(E){this.logger.error(`storage getDate error: ${E}, use defaultValue as result.`),d=h}return d&&(0,c.isObject)(d)&&delete d.expires,d}removeData(l){this.storage.removeItem(this.prefix(l))}testLocalStorage(){const l=this.prefix("Test");try{this.storage.setItem(l,JSON.stringify(new Array(6e4)))}catch{this.removeExpiringStorage()}finally{this.storage.removeItem(l)}}clearLocalStorage(){const l=Object.keys(this.storage);for(const h of l)try{const u=JSON.parse(this.storage[h]);(0,c.isObject)(u)&&u.expires&&u.expires<Date.now()&&this.storage.removeItem(h)}catch{continue}}async removeExpiringStorage(){const h=Object.keys(this.storage).filter(u=>{var d;return((d=this.storage[u])===null||d===void 0?void 0:d.indexOf("expires"))>0}).sort((u,d)=>{var E,f;try{const a=(E=JSON.parse(this.storage[u]))===null||E===void 0?void 0:E.expires,b=(f=JSON.parse(this.storage[d]))===null||f===void 0?void 0:f.expires;return a-b}catch{return 0}});for(const u of h.slice(0,n.EXPIRES_LIMITE_NUMBER))this.storage.removeItem(u)}};m.EXPIRES_DAY=14,m.EXPIRES_LIMITE_NUMBER=20,r.__decorate([(0,o.Autowired)(),r.__metadata("design:type",p.Logger)],m.prototype,"logger",void 0),m=n=r.__decorate([(0,o.Injectable)(),r.__metadata("design:paramtypes",[])],m);let _=class extends m{prefix(l){return`${t.GLOBAL_BROWSER_STORAGE_PREFIX}:${l}`}};t.GlobalBrowserStorageService=_,t.GlobalBrowserStorageService=_=r.__decorate([(0,o.Injectable)()],_);let s=class extends m{constructor(l){super(),this.pathname="unknown",this.pathname=l||this.appConfig.workspaceDir,this.setExpires(!0)}prefix(l){return`${t.SCOPED_BROWSER_STORAGE_PREFIX}:${this.pathname}:${l}`}};t.ScopedBrowserStorageService=s,r.__decorate([(0,o.Autowired)(v.AppConfig),r.__metadata("design:type",Object)],s.prototype,"appConfig",void 0),t.ScopedBrowserStorageService=s=r.__decorate([(0,o.Injectable)(),r.__param(0,(0,o.Optional)()),r.__metadata("design:paramtypes",[String])],s)},40827:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticResourceClientAppContribution=void 0;const n=e(85608),r=e(76003),o=e(31470),c=e(98295),p=e(66549),v=e(32242);n.__exportStar(e(32242),t);let m=class{initialize(){for(const s of this.contributions.getContributions())s.registerStaticResolver(this.staticResourceService)}};t.StaticResourceClientAppContribution=m,n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",v.StaticResourceService)],m.prototype,"staticResourceService",void 0),n.__decorate([(0,r.Autowired)(v.StaticResourceContribution),n.__metadata("design:type",Object)],m.prototype,"contributions",void 0),t.StaticResourceClientAppContribution=m=n.__decorate([(0,c.Domain)(p.ClientAppContribution)],m)},32242:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticResourceContributionProvider=t.StaticResourceContribution=t.StaticResourceService=void 0;const n=e(85608),r=e(76003);let o=class{};t.StaticResourceService=o,t.StaticResourceService=o=n.__decorate([(0,r.Injectable)()],o),t.StaticResourceContribution=Symbol("StaticResourceContribution"),t.StaticResourceContributionProvider=Symbol("StaticResourceContributionProvider")},99e3:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticResourceServiceImpl=void 0;const n=e(85608),r=e(76003);let o=class{constructor(){this.providers=new Map,this.resourceRoots=new Set}registerStaticResourceProvider(p){return this.providers.set(p.scheme,p),p.roots&&p.roots.forEach(v=>{this.resourceRoots.add(v)}),{dispose:()=>{this.providers.get(p.scheme)===p&&this.providers.delete(p.scheme)}}}removeStaticResourceProvider(p){this.providers.delete(p)}resolveStaticResource(p){if(!this.providers.has(p.scheme))return p;const v=this.providers.get(p.scheme).resolveStaticResource(p);return v.toString=v.toString.bind(v,!0),v}};t.StaticResourceServiceImpl=o,t.StaticResourceServiceImpl=o=n.__decorate([(0,r.Injectable)()],o)},67304:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIcon=t.KTICON_OWNER=t.CODICON_OWNER=t.IDE_CODICONS_CN_CSS=t.IDE_OCTICONS_CN_CSS=t.DEFAULT_CDN_ICON=t.getIcon=t.updateIconMap=void 0,t.getOctIcon=p,t.getExternalIcon=s,t.asClassNameArrayWrapper=g;const n=e(43718),r=e(40540),o=e(2630);Object.defineProperty(t,"IDE_CODICONS_CN_CSS",{enumerable:!0,get:function(){return o.IDE_CODICONS_CN_CSS}}),Object.defineProperty(t,"IDE_OCTICONS_CN_CSS",{enumerable:!0,get:function(){return o.IDE_OCTICONS_CN_CSS}});var c=e(76577);Object.defineProperty(t,"updateIconMap",{enumerable:!0,get:function(){return c.updateIconMap}}),Object.defineProperty(t,"getIcon",{enumerable:!0,get:function(){return c.getIcon}}),t.DEFAULT_CDN_ICON=o.IDE_ICONFONT_CN_CSS;function p(l){return`octicon octicon-${l}`}t.CODICON_OWNER="codicon",t.KTICON_OWNER="kticon";const v=["add","plus","gist-new","repo-create","lightbulb","light-bulb","repo","repo-delete","gist-fork","repo-forked","git-pull-request","git-pull-request-abandoned","record-keys","keyboard","tag","git-pull-request-label","tag-add","tag-remove","person","person-follow","person-outline","person-filled","git-branch","git-branch-create","git-branch-delete","source-control","mirror","mirror-public","star","star-add","star-delete","star-empty","comment","comment-add","alert","warning","search","search-save","log-out","sign-out","log-in","sign-in","eye","eye-unwatch","eye-watch","circle-filled","primitive-dot","close-dirty","debug-breakpoint","debug-breakpoint-disabled","debug-hint","terminal-decoration-success","primitive-square","edit","pencil","info","issue-opened","gist-private","git-fork-private","lock","mirror-private","close","remove-close","x","repo-sync","sync","clone","desktop-download","beaker","microscope","vm","device-desktop","file","file-text","more","ellipsis","kebab-horizontal","mail-reply","reply","organization","organization-filled","organization-outline","new-file","file-add","new-folder","file-directory-create","trash","trashcan","history","clock","folder","file-directory","symbol-folder","logo-github","mark-github","github","terminal","console","repl","zap","symbol-event","error","stop","variable","symbol-variable","array","symbol-array","symbol-module","symbol-package","symbol-namespace","symbol-object","symbol-method","symbol-function","symbol-constructor","symbol-boolean","symbol-null","symbol-numeric","symbol-number","symbol-structure","symbol-struct","symbol-parameter","symbol-type-parameter","symbol-key","symbol-text","symbol-reference","go-to-file","symbol-enum","symbol-value","symbol-ruler","symbol-unit","activate-breakpoints","archive","arrow-both","arrow-down","arrow-left","arrow-right","arrow-small-down","arrow-small-left","arrow-small-right","arrow-small-up","arrow-up","bell","bold","book","bookmark","debug-breakpoint-conditional-unverified","debug-breakpoint-conditional","debug-breakpoint-conditional-disabled","debug-breakpoint-data-unverified","debug-breakpoint-data","debug-breakpoint-data-disabled","debug-breakpoint-log-unverified","debug-breakpoint-log","debug-breakpoint-log-disabled","briefcase","broadcast","browser","bug","calendar","case-sensitive","check","checklist","chevron-down","chevron-left","chevron-right","chevron-up","chrome-close","chrome-maximize","chrome-minimize","chrome-restore","circle-outline","circle","debug-breakpoint-unverified","terminal-decoration-incomplete","circle-slash","circuit-board","clear-all","clippy","close-all","cloud-download","cloud-upload","code","collapse-all","color-mode","comment-discussion","credit-card","dash","dashboard","database","debug-continue","debug-disconnect","debug-pause","debug-restart","debug-start","debug-step-into","debug-step-out","debug-step-over","debug-stop","debug","device-camera-video","device-camera","device-mobile","diff-added","diff-ignored","diff-modified","diff-removed","diff-renamed","diff","discard","editor-layout","empty-window","exclude","extensions","eye-closed","file-binary","file-code","file-media","file-pdf","file-submodule","file-symlink-directory","file-symlink-file","file-zip","files","filter","flame","fold-down","fold-up","fold","folder-active","folder-opened","gear","gift","gist-secret","gist","git-commit","git-compare","compare-changes","git-merge","github-action","github-alt","globe","grabber","graph","gripper","heart","home","horizontal-rule","hubot","inbox","issue-reopened","issues","italic","jersey","json","kebab-vertical","key","law","lightbulb-autofix","link-external","link","list-ordered","list-unordered","live-share","loading","location","mail-read","mail","markdown","megaphone","mention","milestone","git-pull-request-milestone","mortar-board","move","multiple-windows","mute","no-newline","note","octoface","open-preview","package","paintcan","pin","play","run","plug","preserve-case","preview","project","pulse","question","quote","radio-tower","reactions","references","refresh","regex","remote-explorer","remote","remove","replace-all","replace","repo-clone","repo-force-push","repo-pull","repo-push","report","request-changes","rocket","root-folder-opened","root-folder","rss","ruby","save-all","save-as","save","screen-full","screen-normal","search-stop","server","settings-gear","settings","shield","smiley","sort-precedence","split-horizontal","split-vertical","squirrel","star-full","star-half","symbol-class","symbol-color","symbol-constant","symbol-enum-member","symbol-field","symbol-file","symbol-interface","symbol-keyword","symbol-misc","symbol-operator","symbol-property","wrench","wrench-subaction","symbol-snippet","tasklist","telescope","text-size","three-bars","thumbsdown","thumbsup","tools","triangle-down","triangle-left","triangle-right","triangle-up","twitter","unfold","unlock","unmute","unverified","verified","versions","vm-active","vm-outline","vm-running","watch","whitespace","whole-word","window","word-wrap","zoom-in","zoom-out","list-filter","list-flat","list-selection","selection","list-tree","debug-breakpoint-function-unverified","debug-breakpoint-function","debug-breakpoint-function-disabled","debug-stackframe-active","circle-small-filled","debug-stackframe-dot","terminal-decoration-mark","debug-stackframe","debug-stackframe-focused","debug-breakpoint-unsupported","symbol-string","debug-reverse-continue","debug-step-back","debug-restart-frame","debug-alt","call-incoming","call-outgoing","menu","expand-all","feedback","git-pull-request-reviewer","group-by-ref-type","ungroup-by-ref-type","account","git-pull-request-assignee","bell-dot","debug-console","library","output","run-all","sync-ignored","pinned","github-inverted","server-process","server-environment","pass","issue-closed","stop-circle","play-circle","record","debug-alt-small","vm-connect","cloud","merge","export","graph-left","magnet","notebook","redo","check-all","pinned-dirty","pass-filled","circle-large-filled","circle-large","circle-large-outline","combine","gather","table","variable-group","type-hierarchy","type-hierarchy-sub","type-hierarchy-super","git-pull-request-create","run-above","run-below","notebook-template","debug-rerun","workspace-trusted","workspace-untrusted","workspace-unknown","terminal-cmd","terminal-debian","terminal-linux","terminal-powershell","terminal-tmux","terminal-ubuntu","terminal-bash","arrow-swap","copy","person-add","filter-filled","wand","debug-line-by-line","inspect","layers","layers-dot","layers-active","compass","compass-dot","compass-active","azure","issue-draft","git-pull-request-closed","git-pull-request-draft","debug-all","debug-coverage","run-errors","folder-library","debug-continue-small","beaker-stop","graph-line","graph-scatter","pie-chart","bracket","bracket-dot","bracket-error","lock-small","azure-devops","verified-filled","newline","layout","layout-activitybar-left","layout-activitybar-right","layout-panel-left","layout-panel-center","layout-panel-justify","layout-panel-right","layout-panel","layout-sidebar-left","layout-sidebar-right","layout-statusbar","layout-menubar","layout-centered","target","indent","record-small","error-small","terminal-decoration-error","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","layout-sidebar-right-off","layout-panel-off","layout-sidebar-left-off","blank","heart-filled","map","map-filled","circle-small","bell-slash","bell-slash-dot","comment-unresolved","git-pull-request-go-to-changes","git-pull-request-new-changes","search-fuzzy","comment-draft","send","sparkle","insert","mic","thumbsdown-filled","thumbsup-filled","coffee","snake","game","vr","chip","piano","music","mic-filled","git-fetch","copilot"],m=new Set(v),_=new Set(["magic-wand"]);function s(l,h=t.CODICON_OWNER,u=h===t.CODICON_OWNER){return u&&h===t.CODICON_OWNER&&!m.has(l)?p(l):h===t.KTICON_OWNER?`kaitian-icon ${h}-${l}`:`${h} ${h}-${l}`}function g(l){return _.has(l.id)?["kaitian-icon",`${t.KTICON_OWNER}-${l.id}`]:n.ThemeIcon.asClassNameArray(l)}t.getSymbolIcon=(()=>{const l=Object.create(null);return l[r.SymbolKind.File]="file",l[r.SymbolKind.Module]="module",l[r.SymbolKind.Namespace]="namespace",l[r.SymbolKind.Package]="package",l[r.SymbolKind.Class]="class",l[r.SymbolKind.Method]="method",l[r.SymbolKind.Property]="property",l[r.SymbolKind.Field]="field",l[r.SymbolKind.Constructor]="constructor",l[r.SymbolKind.Enum]="enum",l[r.SymbolKind.Interface]="interface",l[r.SymbolKind.Function]="function",l[r.SymbolKind.Variable]="variable",l[r.SymbolKind.Constant]="constant",l[r.SymbolKind.String]="string",l[r.SymbolKind.Number]="number",l[r.SymbolKind.Boolean]="boolean",l[r.SymbolKind.Array]="array",l[r.SymbolKind.Object]="object",l[r.SymbolKind.Key]="key",l[r.SymbolKind.Null]="null",l[r.SymbolKind.EnumMember]="enum-member",l[r.SymbolKind.Struct]="struct",l[r.SymbolKind.Event]="event",l[r.SymbolKind.Operator]="operator",l[r.SymbolKind.TypeParameter]="type-parameter",function(u,d){return s(`symbol-${l[u]||"property"}`)}})()},2630:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IDE_CODICONS_CN_CSS=t.IDE_OCTICONS_CN_CSS=t.IDE_ICONFONT_CN_JS=t.IDE_ICONFONT_CN_CSS=void 0,t.IDE_ICONFONT_CN_CSS="//at.alicdn.com/t/a/font_1432262_dmfdujwulz.css",t.IDE_ICONFONT_CN_JS=t.IDE_ICONFONT_CN_CSS.replace(/\.css$/,".js"),t.IDE_OCTICONS_CN_CSS="//gw.alipayobjects.com/os/Kaitian/c7ae5acb-da70-4f05-b83d-93b345dc5c53/octicons-cdn.css";const n="@vscode/codicons",r="vscode/codicons",o=e(61434).El[n];t.IDE_CODICONS_CN_CSS=`//gw.alipayobjects.com/os/lib/${r}/${o}/dist/codicon.css`},89378:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalClientAttachEvent=void 0;const n=e(43718);class r extends n.BasicEvent{}t.TerminalClientAttachEvent=r},21860:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionBtnClickEvent=t.ToolbarActionBtn=void 0,t.createToolbarActionBtn=f;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=n.__importDefault(e(43144)),p=n.__importDefault(e(25873)),v=e(76003),m=e(97267),_=e(43718),s=e(22366),g=e(78132),l=e(48560),h=e(11050),u=e(79540);var d;(function(S){S.HORIZONTAL="horizontal",S.VERTICAL="vertical"})(d||(d={}));const E=S=>{const w=(0,l.useInjectable)(h.AppConfig),T=o.default.useRef(),[D,I]=o.default.useState(S.defaultState||"default"),O=o.default.useRef(D);O.current=D;const[M,R]=o.default.useState(""),P=(0,l.useInjectable)(g.PreferenceService),[,k]=o.default.useState(),F=o.default.useCallback(()=>k({}),[]),{defaultButtonStyle:L={}}=S.preferences||{},B={title:S.title,iconClass:S.iconClass,showTitle:P.get("toolbar.buttonDisplay")!=="icon",btnStyle:"button",...L,...S.defaultStyle,...(S.styles||{})[D]||{}};M&&(B.title=M),B.btnStyle!=="button"&&(B.showTitle=!1);const j=o.default.useRef(),W=o.default.useRef(S.inDropDown);o.default.useEffect(()=>{W.current=S.inDropDown},[S.inDropDown]),o.default.useEffect(()=>{const K=new _.Disposable;if(K.addDispose(P.onSpecificPreferenceChange("toolbar.buttonDisplay",()=>{F()})),T.current&&S.delegate){const Z=()=>W.current?document.querySelector(`#toolbar-location-${S.location} .kt-toolbar-more`):T.current;j.current=w.injector.get(A,[T.current,S.id,(X,ie)=>{I(X),R(ie)},()=>O.current,w,Z,S.popoverComponent,S.popoverStyle,S.popoverId]),S.delegate(j.current),K.addDispose(j.current),K.addDispose({dispose:()=>{S.delegate&&S.delegate(void 0)}})}return()=>K.dispose()},[]);const U=B.btnTitleStyle||P.get("toolbar.buttonTitleStyle"),Q=B.btnStyle==="button"&&U===d.VERTICAL,V=S.inDropDown?null:o.default.createElement("div",{className:B.iconClass+" kt-toolbar-action-btn-icon",title:B.title,style:{color:B.iconForeground,backgroundColor:B.iconBackground,marginRight:B.showTitle&&!Q?5:0,...B.width?{width:B.width}:null,...B.height?{height:B.height}:null,...B.iconSize?{fontSize:B.iconSize,WebkitMaskSize:B.iconSize}:null}}),$=B.showTitle||S.inDropDown?o.default.createElement("div",{className:"kt-toolbar-action-btn-title",style:{color:B.titleForeground,backgroundColor:B.titleBackground,fontSize:B.titleSize}},B.title):null,Y={onClick:K=>{j.current&&j.current._onClick.fire(K),S.inDropDown&&S.closeDropDown()},onMouseLeave:K=>{j.current&&j.current._onMouseLeave.fire(K)},onMouseEnter:K=>{j.current&&j.current._onMouseEnter.fire(K)}},z={style:{backgroundColor:B.background,...B.width?{padding:0}:null}};let H;return S.inDropDown?H=o.default.createElement("div",{className:(0,r.default)({"kt-toolbar-action-btn":!0,"action-btn-in-dropdown":!0}),...Y,...z,ref:T},V,$):B.btnStyle==="button"&&U!==d.VERTICAL?H=o.default.createElement(m.Button,{type:"default",size:"small",...Y,...z},V,$):(U===d.VERTICAL&&(z.style.minWidth="42px"),H=o.default.createElement("div",{className:(0,r.default)({"kt-toolbar-action-btn":!0,"kt-toolbar-action-btn-button":B.btnStyle==="button","kt-toolbar-action-btn-inline":B.btnStyle!=="button","kt-toolbar-action-btn-vertical":U===d.VERTICAL,"kt-toolbar-action-btn-horizontal":U!==d.VERTICAL}),...Y},o.default.createElement(m.Button,{type:"default",size:"small",...z},V),$)),o.default.createElement("div",{className:"kt-toolbar-action-btn-wrapper",ref:T},H,S.popoverComponent&&o.default.createElement("div",{className:"kt-toolbar-popover","data-toolbar-no-context":!0}))};t.ToolbarActionBtn=E;function f(S){return w=>o.default.createElement(t.ToolbarActionBtn,{...w,...S})}class a extends _.BasicEvent{}t.ToolbarActionBtnClickEvent=a;const b=new Map,y=S=>{const[w,T]=o.default.useState();o.default.useEffect(()=>{const I=S.delegate.onChangeContext(O=>{T(O)});return()=>{I.dispose()}},[]);const D=o.default.Children.map(S.children,I=>o.default.isValidElement(I)?o.default.cloneElement(I,{context:w}):null);return o.default.createElement(o.default.Fragment,null,D)};let A=class{dispose(){this._onClick.dispose(),this._onMouseEnter.dispose(),this._onMouseLeave.dispose(),this.popOverContainer&&(this.popOverContainer.remove(),this.popOverContainer=void 0),this._popOverClickOutsideDisposer&&this._popOverClickOutsideDisposer.dispose()}constructor(w,T,D,I,O,M,R,P,k){this.element=w,this.actionId=T,this._setState=D,this._getState=I,this.context=O,this.getPopoverParent=M,this.popoverComponent=R,this.popoverStyle=P,this.popoverId=k,this._onClick=new _.Emitter,this.onClick=this._onClick.event,this._onMouseLeave=new _.Emitter,this.onMouseLeave=this._onClick.event,this._onMouseEnter=new _.Emitter,this.onMouseEnter=this._onClick.event,this._onChangeState=new _.Emitter,this.onChangeState=this._onChangeState.event,this.onChangeContextEvent=new _.Emitter,this.onChangeContext=this.onChangeContextEvent.event,this._onDidChangePopoverVisibility=new _.Emitter,this.onDidChangePopoverVisibility=this._onDidChangePopoverVisibility.event,this.popoverComponent&&(this._popOverElement=b.get(T),this.popOverContainer=w.querySelector(".kt-toolbar-popover")),this.toolbarPopover.onDidRegisterPopoverEvent(F=>{F===this.popoverId&&(this.popoverComponent=this.toolbarPopover.getComponent(this.popoverId),this._popOverElement&&this.hidePopOver().then(()=>this.showPopOver()))})}getState(){return this._getState()}setState(w,T){const D=this._getState();this._setState(w,T),this._onChangeState.fire({from:D,to:w})}setContext(w){this.onChangeContextEvent.fire(w)}getRect(){return this.element.getBoundingClientRect()}getPopOverContainer(){return this.popOverContainer}async showPopOver(w){if(!this.popOverContainer)return;this._popOverElement||(this._popOverElement=new Promise(R=>{const P=document.createElement("div"),k=this.popoverComponent;p.default.createRoot(P).render(o.default.createElement(h.ConfigProvider,{value:this.context},o.default.createElement(y,{delegate:this},o.default.createElement(k,null)))),R(P)}),b.set(this.actionId,this._popOverElement));const T={...this.popoverStyle,...w};T.position==="top"?(this.popOverContainer.classList.add("kt-toolbar-popover-top"),this.popOverContainer.classList.remove("kt-toolbar-popover-bottom")):(this.popOverContainer.classList.remove("kt-toolbar-popover-top"),this.popOverContainer.classList.add("kt-toolbar-popover-bottom")),this.popOverContainer.remove();const D=this.getPopoverParent()||this.element;D.append(this.popOverContainer);const I=D.getBoundingClientRect();this.popOverContainer.style.setProperty("--button-width",I.width+"px");let O=typeof T.horizontalOffset=="number"?T.horizontalOffset:30;O=Math.min(O,window.innerWidth-I.left-I.width-2),this.popOverContainer.style.setProperty("--offset-size",O+"px"),this.popOverContainer.classList.add("kt-toolbar-popover-visible"),T.noContainerStyle?this.popOverContainer.classList.remove("kt-toolbar-popover-default"):this.popOverContainer.classList.add("kt-toolbar-popover-default");const M=new s.DomListener(this.popOverContainer,"animationend",()=>{var R;M.dispose(),(R=this.popOverContainer)===null||R===void 0||R.classList.add("kt-toolbar-popover-animationend")});return this._popOverElement.then(R=>{this._popOverClickOutsideDisposer&&(this._popOverClickOutsideDisposer.dispose(),this._popOverClickOutsideDisposer=void 0),this.popOverContainer&&R.parentElement!==this.popOverContainer&&this.popOverContainer.append(R),this._onDidChangePopoverVisibility.fire(!0),T.hideOnClickOutside!==!1&&setTimeout(()=>{this._popOverClickOutsideDisposer&&(this._popOverClickOutsideDisposer.dispose(),this._popOverClickOutsideDisposer=void 0);const P=new _.Disposable;P.addDispose(new s.DomListener(window,"click",k=>{if(k.target&&R.contains(k.target))return;const F=R.getBoundingClientRect();F.x<=k.clientX&&F.x+F.width>=k.clientX&&F.y<=k.clientY&&F.y+F.height>=k.clientY||this.hidePopOver()},!0)),this._popOverClickOutsideDisposer=P})})}async hidePopOver(){var w;if(this._popOverElement){const T=await this._popOverElement;c.default.unmountComponentAtNode(T),T.remove(),this._popOverElement=void 0}this._popOverClickOutsideDisposer&&(this._popOverClickOutsideDisposer.dispose(),this._popOverClickOutsideDisposer=void 0),this.popOverContainer&&this.popOverContainer.classList.remove("kt-toolbar-popover-visible"),(w=this.popOverContainer)===null||w===void 0||w.classList.remove("kt-toolbar-popover-animationend"),this._onDidChangePopoverVisibility.fire(!1)}};n.__decorate([(0,v.Autowired)(u.IToolbarPopoverRegistry),n.__metadata("design:type",Object)],A.prototype,"toolbarPopover",void 0),A=n.__decorate([(0,v.Injectable)({multiple:!0}),n.__metadata("design:paramtypes",[HTMLElement,String,Object,Object,Object,Function,Function,Object,String])],A)},44006:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionDropdownButton=void 0,t.createToolbarActionDropdownButton=s;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(45803),v=e(43718),m=n.__importDefault(e(53849)),_=g=>{const l=(0,o.useRef)(new v.Emitter),[h,...u]=g.options;(0,o.useEffect)(()=>{const a=new v.Emitter,b={onSelect:l.current.event};return g.delegate&&g.delegate(b),()=>{g.delegate&&g.delegate(void 0),a.dispose()}},[]);const d=(0,o.useMemo)(()=>{var a;return(a=g.trigger)!==null&&a!==void 0?a:["click"]},[g.trigger]),E=(0,o.useCallback)(a=>{l.current.fire(a)},[]),f=(0,o.useMemo)(()=>o.default.createElement(p.Menu,{className:(0,r.default)("kt-menu",m.default.menu),selectable:!1,motion:{motionLeave:!1,motionEnter:!1}},u.map(a=>o.default.createElement(p.Menu.Item,{key:a.label,onClick:()=>E(a.value)},a.label))),[]);return o.default.createElement(c.DropdownButton,{size:"small",onClick:()=>E(h.value),overlay:f,trigger:d},h.label)};t.ToolbarActionDropdownButton=_;function s(g){return l=>o.default.createElement(t.ToolbarActionDropdownButton,{...g,...l})}},33910:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(21860),t),n.__exportStar(e(48220),t),n.__exportStar(e(44006),t)},48220:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionSelect=m,t.createToolbarActionSelect=_;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(97267),p=e(43718),v=e(67304);function m(s){const[g,l]=o.default.useState(s.defaultState||"default"),h=(s.styles||{})[g]||{},u={color:h.labelForegroundColor,backgroundColor:h.backgroundColor,minWidth:h.minWidth===void 0?150:h.minWidth},d={color:h.labelForegroundColor,backgroundColor:h.backgroundColor},[E,f]=o.default.useState(s.defaultValue),[a,b]=o.default.useState(void 0),[y,A]=o.default.useState(!1),S=o.default.useRef(null),w=o.default.useRef(null),T=o.default.useRef(new p.Emitter);o.default.useEffect(()=>{const I=new p.Emitter;let O=E;const M={setState:P=>{const k=g;l(P),I.fire({from:k,to:P})},setSelect:f,setOptions:P=>{b(P)},getValue:()=>O,onChangeState:I.event,onSelect:T.current.event};s.delegate&&s.delegate(M);const R=T.current.event(P=>{O=P});return()=>{s.delegate&&s.delegate(void 0),I.dispose(),R.dispose()}},[]);function D(I){const O=a||s.options||[];if((0,c.isDataOptionGroups)(O)){for(const M of O)for(const R of M.options)if(s.equals){if(s.equals(R.value,I))return R.label}else if(R.value===I)return R.label}else for(const M of O)if(s.equals){if(s.equals(M.value,I))return M.label}else if(M.value===I)return M.label}if(o.default.useEffect(()=>{if(S.current&&w.current){const I=w.current.getBoundingClientRect();window.innerWidth-I.x-I.width<S.current.offsetWidth?(S.current.style.right="calc(100% + 5px)",S.current.style.left="",S.current.style.top="0",S.current.style.visibility="visible"):(S.current.style.left="calc(100% + 5px)",S.current.style.right="",S.current.style.top="0",S.current.style.visibility="visible")}if(y){const I=()=>{A(!1)};return document.addEventListener("click",I),()=>{document.removeEventListener("click",I)}}},[y]),s.inDropDown){const I={options:s.options,optionRenderer:s.customOptionRenderer,currentValue:E,className:"kt-toolbar-action-select-dropdown",onSelect:M=>{f(M),s.closeDropDown(),s.onSelect&&s.onSelect(M),T.current.fire(M)},equals:s.equals,size:"small",renderCheck:!0},O=o.default.createElement(c.SelectOptionsList,{...I,ref:S});return o.default.createElement("div",{className:(0,r.default)({"kt-toolbar-action-btn":!0,"action-btn-in-dropdown":!0,"kt-toolbar-action-select":!0}),ref:w,onClick:()=>{A(!0)}},s.name||D(E),o.default.createElement("div",{className:(0,r.default)("kt-toolbar-action-btn-icon",(0,v.getIcon)("right"),"kt-toolbar-action-select-right")}),y?O:null)}return o.default.createElement(c.Select,{value:E,options:a||s.options,size:"small",optionRenderer:s.customOptionRenderer,onChange:I=>{s.onSelect&&s.onSelect(I),T.current.fire(I),f(I)},optionStyle:d,style:u})}function _(s){return g=>o.default.createElement(m,{...s,...g})}},42637:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarLocation=void 0;const n=e(85608);n.__exportStar(e(79540),t);var r=e(48254);Object.defineProperty(t,"ToolbarLocation",{enumerable:!0,get:function(){return r.ToolbarLocation}}),n.__exportStar(e(33910),t)},48254:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionRenderWrapper=t.ToolbarLocation=t.DEFAULT_TOOLBAR_MORE_WIDTH=t.DEFAULT_TOOLBAR_ACTION_MARGIN=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(97331)),c=n.__importDefault(e(14041)),p=n.__importDefault(e(25873)),v=e(43718),m=e(22366),_=e(93899),s=e(78132),g=e(48560),l=e(11050),h=e(67304),u=e(79540);t.DEFAULT_TOOLBAR_ACTION_MARGIN=5,t.DEFAULT_TOOLBAR_MORE_WIDTH=14;const d=new Map,E=new v.Emitter,f=new v.Emitter,a=M=>{const R=(0,g.useInjectable)(u.IToolbarRegistry),P=(0,g.useInjectable)(_.AbstractMenuService),k=(0,g.useInjectable)(_.ICtxMenuRenderer);R.hasLocation(M.location)||R.addLocation(M.location);const F=c.default.useContext(l.ConfigContext),L=(0,g.useInjectable)(v.IEventBus),B=c.default.useRef(),j=(0,g.useInjectable)(s.PreferenceService),{location:W,preferences:U={}}=M;let Q;const V=Y=>{Q=Y.slice()};V((j.get("toolbar.ignoreActions",{})||{})[W]||[]);const $=!R.isReady();return c.default.useEffect(()=>{if(B.current){const Y=new v.Disposable,z=(0,o.default)(()=>{H()},200),H=()=>{B.current&&(V((j.get("toolbar.ignoreActions",{})||{})[W]||[]),y(B.current,W,U,R,F,Q))};if($&&Y.addDispose(L.once(u.ToolbarRegistryReadyEvent,K=>{H()})),Y.addDispose(L.on(u.ToolbarActionsWhenChangeEvent,()=>{H()})),Y.addDispose(L.on(u.ToolbarActionGroupsChangedEvent,K=>{K.payload.location===W&&z()})),Y.addDispose(L.on(u.ToolbarActionsChangedEvent,K=>{K.payload.position.location===W&&z()})),Y.addDispose(E.event(K=>{const Z=R.getActionPosition(K);Z&&Z.location===W&&z()})),Y.addDispose(j.onPreferenceChanged(K=>{if(K.preferenceName==="toolbar.ignoreActions"){const Z=(j.get("toolbar.ignoreActions",{})||{})[W]||[];for(const X of Z)if(Q.indexOf(X)===-1){H();return}for(const X of Q)if(Z.indexOf(X)===-1){H();return}}})),U.noDropDown)y(B.current,W,U,R,F,Q);else{let K=B.current.offsetWidth;y(B.current,W,U,R,F,Q);const Z=new ResizeObserver(X=>{const ie=X[0].contentRect;ie.width!==K&&z(),K=ie.width});Z.observe(B.current),Y.addDispose({dispose:()=>Z.disconnect()})}return()=>Y.dispose()}},[U.noDropDown]),c.default.createElement("div",{...M,className:(0,r.default)("kt-toolbar-location",M.className),id:"toolbar-location-"+W,ref:B,onContextMenu:Y=>{if(Y.nativeEvent.composedPath().find(K=>K.getAttribute&&K.getAttribute("data-toolbar-no-context")))return;Y.preventDefault();const z=P.createMenu(_.MenuId.KTToolbarLocationContext),H=(0,_.generateCtxMenu)({menus:z});k.show({menuNodes:H[1],anchor:{x:Y.clientX,y:Y.clientY}})}})};t.ToolbarLocation=a;function b(M){return M.type==="split"}function y(M,R,P,k,F,L){const B=P.actionMargin===void 0?t.DEFAULT_TOOLBAR_ACTION_MARGIN:P.actionMargin,j=P.moreActionWidth===void 0?t.DEFAULT_TOOLBAR_MORE_WIDTH:P.moreActionWidth;for(let X=0;X<M.children.length;X++)M.children[X].remove(),X--;const W=document.createElement("div");W.classList.add("kt-toolbar-location-visible"),W.id="toolbar-location-visible-"+R;const U="toolbar-location-dropdown-"+R;let Q;if(document.getElementById(U)){Q=document.getElementById(U);for(let X=0;X<Q.children.length;X++)Q.children[X].remove(),X--}else Q=document.createElement("div"),Q.classList.add("kt-toolbar-location-dropdown"),Q.id=U;M.append(W),document.body.append(Q);const V=D(W);let $=0;const Y=["_head",...(k.getActionGroups(R)||[]).map(X=>X.id),"_tail"],z=[],H=[],K=[];for(const X of Y){const ie=k.getToolbarActions({location:R,group:X}),oe=ie?.actions.filter(le=>L.indexOf(le.id)===-1);if(oe&&oe.length>0){z.length>0&&!z[z.length-1].noGroupSplit&&z.push({action:{type:"split"},marginLeft:B});const le=oe.map((pe,q)=>{var Ee,_e,te;const ge=!((Ee=ie.group)===null||Ee===void 0)&&Ee.compact?0:B,Te=[];return!((_e=ie?.group)===null||_e===void 0)&&_e.compact&&(Te.push("kt-toolbar-action-wrapper-compact"),q===oe.length-1&&Te.push("kt-toolbar-action-wrapper-compact-tail"),q===0&&Te.push("kt-toolbar-action-wrapper-compact-head"),q!==0&&q!==oe.length-1&&Te.push("kt-toolbar-action-wrapper-compact-middle")),{action:pe,marginLeft:q===0?B:ge,extraClassNames:Te,noGroupSplit:!!(!((te=ie.group)===null||te===void 0)&&te.compact)}});z.push(...le),H.push(le)}}z.length===0?W.classList.add("kt-toolbar-location-no-actions"):W.classList.remove("kt-toolbar-location-no-actions");let Z=!1;if(!P.noDropDown)for(let X=0;X<z.length;X++){const ie=z[X],oe=S(ie.action,!1);if(!Z&&$+(X!==0?ie.marginLeft:0)+oe+B+j>V){let le=0;for(let pe=X;pe<z.length;pe++)le+=(pe!==0?ie.marginLeft:0)+S(z[pe].action,!1);if(le<B+j)break;Z=!0}$+=(X!==0?ie.marginLeft:0)+oe}if(Z){const X=[],ie=[];for(H.forEach((le,pe)=>{le.forEach((q,Ee)=>{q.action.neverCollapse||X.push([pe,Ee])}),ie.push([])});$+B+j>V&&X.length!==0;){const le=X.pop(),[pe]=H[le[0]].splice(le[1],1);ie[le[0]].push(pe.action),$-=B+S(pe.action,!1),H.length>1&&H[le[0]].length===0&&($-=B+1)}z.splice(0);const oe=H.filter(le=>le.length>0);oe.map((le,pe)=>{pe!==0&&!oe[pe-1][0].noGroupSplit&&z.push({action:{type:"split"},marginLeft:B}),z.push(...le)}),K.splice(0),ie.reverse().filter(le=>le.length>0).map((le,pe)=>{pe!==0&&K.push({type:"split"}),K.push(...le)}),K.reverse()}if(z.forEach(X=>{if(b(X.action)){const ie=document.createElement("div");ie.classList.add("kt-toolbar-action-split"),W.append(ie)}else w(W,X,F,!1,R,P)}),K.length>0){const X=document.createElement("div");X.classList.add("kt-toolbar-more");const ie=document.createElement("div");(0,m.addClassName)(ie,(0,h.getIcon)("more")),X.append(ie),W.append(X),ie.addEventListener("mousedown",()=>{A(X,R)})}K.forEach((X,ie)=>{if(b(X)){if(ie===0)return;const oe=document.createElement("div");oe.classList.add("kt-toolbar-action-split"),Q.appendChild(oe)}else w(Q,{action:X,marginLeft:0},F,!0,R,P)})}function A(M,R){const P="toolbar-location-visible-"+R,k="toolbar-location-dropdown-"+R,F=document.getElementById(P),L=document.getElementById(k);if(F&&L){if(L.style.display==="block")return;const B=F.getBoundingClientRect();L.style.top=B.y+B.height+"px",L.style.right=window.innerWidth-B.x-B.width+"px",L.style.display="block",setTimeout(()=>{const j=new v.Disposable;j.addDispose(new m.DomListener(M,"mousedown",W=>{f.fire(R),j.dispose(),W.stopPropagation()})),j.addDispose(new m.DomListener(L,"mousedown",W=>{W.stopPropagation()})),j.addDispose(new m.DomListener(document.body,"mousedown",W=>{j.dispose(),L.style.display="none"})),j.addDispose(f.event(W=>{W===R&&(j.dispose(),L.style.display="none")}))})}}function S(M,R){var P,k;if(b(M))return 1;{const F=R?(P=d.get(M.id))===null||P===void 0?void 0:P.size.inDropDown:(k=d.get(M.id))===null||k===void 0?void 0:k.size.visible;return F?F.width:M.suggestSize?M.suggestSize.width:20}}async function w(M,R,P,k,F,L){const B=document.createElement("div");return M.appendChild(B),T(R,B,P,k,F,L)}async function T(M,R,P,k,F,L){return d.has(M.action.id)||d.set(M.action.id,new I(M,P)),d.get(M.action.id).attachTo(R,k,F,L)}function D(M){const R=getComputedStyle(M);return M.clientWidth-parseFloat(R.paddingLeft)-parseFloat(R.paddingRight)}class I{constructor(R,P){this.resolvedToolbarAction=R,this.context=P,this.targetInDropDown=!1,this.size={},this.toolbarAction=R.action}render(R,P,k){return this.renderPromise&&this.renderPromise.inDropDown===R?this.renderPromise.promise:(this.renderPromise&&this.renderPromise.cancel(),this.doRender(R,P,k))}get element(){return this.renderPromise&&this.renderPromise.resolved}attachTo(R,P,k,F){return this.targetContainer=R,this.targetInDropDown=P,this.render(P,k,F).then(L=>{this.targetContainer===R&&P===this.targetInDropDown&&(L.parentElement&&L.remove(),R.replaceWith(L),setTimeout(()=>{if(!L||L.offsetWidth===0)return;let B;P?(B=this.size.inDropDown||this.toolbarAction.suggestSize||{width:20,height:30},this.size.inDropDown={width:L.offsetWidth,height:L.offsetHeight}):(B=this.size.visible||this.toolbarAction.suggestSize||{width:20,height:30},this.size.visible={width:L.offsetWidth,height:L.offsetHeight}),L.offsetWidth!==B.width&&E.fire(this.toolbarAction.id)}))})}doRender(R,P,k){let F=!1;return this.renderPromise={cancel:()=>{F=!0},promise:new Promise((L,B)=>{if(this.reactElement)this.reactElement.setInDropDown(R),L(this.reactElement.element);else{const j=document.createElement("div");j.classList.add("kt-toolbar-action-wrapper"),j.setAttribute("data-toolbar-action-id",this.toolbarAction.id),this.resolvedToolbarAction.extraClassNames&&j.classList.add(...this.resolvedToolbarAction.extraClassNames);let W;p.default.createRoot(j).render(c.default.createElement(t.ToolbarActionRenderWrapper,{initialInDropDown:R,action:this.toolbarAction,preferences:k,setInDropDownHandle:U=>W=U,context:this.context,component:this.toolbarAction.component,closeDropdown:()=>{f.fire(P)},location:P})),F?B("canceled render toolbar"):(this.reactElement={element:j,setInDropDown:U=>{W&&W(U)}},L(j))}}).then(L=>(this.renderPromise.resolved=L,this.renderPromise.resolved)),inDropDown:R},this.renderPromise.promise}}const O=M=>{const[R,P]=c.default.useState(M.initialInDropDown),k=M.component;return c.default.useEffect(()=>{M.setInDropDownHandle(F=>{P(F)})},[]),c.default.createElement(l.ConfigProvider,{value:M.context},c.default.createElement(k,{inDropDown:R,action:M.action,preferences:M.preferences,closeDropDown:M.closeDropdown,location:M.location}))};t.ToolbarActionRenderWrapper=O},62652:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarPopoverRegistry=void 0;const n=e(85608),r=e(76003),o=e(43718);let c=class{constructor(){this.registerPopoverEvent=new o.Emitter,this.onDidRegisterPopoverEvent=this.registerPopoverEvent.event,this.popOverComponents=new Map,this.getComponent=v=>this.popOverComponents.get(v)}registerComponent(v,m){return this.popOverComponents.has(v)?(console.error(`Component ${v} is already registered!`),o.Disposable.NULL):(this.popOverComponents.set(v,m),this.registerPopoverEvent.fire(v),{dispose:()=>{this.popOverComponents.delete(v)}})}};t.ToolbarPopoverRegistry=c,t.ToolbarPopoverRegistry=c=n.__decorate([(0,r.Injectable)()],c)},27957:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarClientAppContribution=t.NextToolbarRegistryImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(66963),p=e(53736),v=e(79540);let m=class extends o.WithEventBus{constructor(){super(...arguments),this.locations=[],this._preferredDefaultLocation=void 0,this.groups=new Map,this.actions=new Map,this.computed=new Map,this.computedReverse=new Map,this.computedGroups=new Map,this._onGroupDisposed=new o.Emitter,this._onGroupAdded=new o.Emitter,this._onLocationAdded=new o.Emitter,this._onActionDisposed=new o.Emitter,this._onActionAdded=new o.Emitter,this._contextKeys=new Set,this._inited=!1}isReady(){return this._inited}get defaultLocation(){return this._preferredDefaultLocation&&this.locations.indexOf(this._preferredDefaultLocation)>-1?this._preferredDefaultLocation:this.locations[0]||"default"}getAllLocations(){return this.locations}init(){this.contributions.getContributions().forEach(l=>{l.registerToolbarActions&&l.registerToolbarActions(this)}),this.actions.forEach(l=>{this.calculateActionPosition(l)}),this._inited=!0,this._onActionDisposed.event(l=>{this.applyPosition(l,null)}),this._onGroupDisposed.event(l=>{let h;for(const u of this.computed.values())if(u.has(l)){h=u.get(l);break}h&&h.forEach(u=>{this.calculateActionPosition(u)})}),this._onGroupAdded.event(l=>{this.actions.forEach(h=>{(h.strictPosition&&h.strictPosition.group===l||h.preferredPosition&&h.preferredPosition.group===l)&&this.calculateActionPosition(h)})}),this._onActionAdded.event(l=>{this.calculateActionPosition(l)}),this.addDispose(o.Event.debounce(this.globalContextKeyService.onDidChangeContext,(l,h)=>l||h.payload.affectsSome(this._contextKeys),50)(l=>l&&this.eventBus.fire(new v.ToolbarActionsWhenChangeEvent),this)),this.eventBus.fire(new v.ToolbarRegistryReadyEvent)}hasLocation(g){return g==="default"||this.locations.indexOf(g)!==-1}addLocation(g){this.locations.indexOf(g)===-1&&(this.locations.push(g),this._onLocationAdded.fire(g))}setDefaultLocation(g){this._preferredDefaultLocation=g}fillKeysInWhenExpr(g){this.globalContextKeyService.getKeysInWhen(g).forEach(h=>{this._contextKeys.add(h)})}registerToolbarActionGroup(g){return this.groups.set(g.id,g),this._onGroupAdded.fire(g.id),{dispose:()=>{this.groups.delete(g.id),this._onGroupDisposed.fire(g.id)}}}calculateActionPosition(g){if(g.strictPosition){if(g.strictPosition.group!=="_head"&&g.strictPosition.group!=="_tail"){const l=this.groups.get(g.strictPosition.group);if(!l)return;const h=this.getGroupLocation(l);if(g.strictPosition.location&&g.strictPosition.location!==h)return}else if(this.locations.indexOf(g.strictPosition.location)===-1)return;this.applyPosition(g,g.strictPosition)}else{const l=this.getPositionFromPreferred(g.preferredPosition||{});this.applyPosition(g,l)}}getPositionFromPreferred(g){const l={location:this.defaultLocation,group:"_tail"};if(g.location&&this.locations.indexOf(g.location)>-1&&(l.location=g.location),g.group)if(g.group==="_tail"||g.group==="_head")l.group=g.group;else{const h=this.groups.get(g.group);if(h){const u=this.getGroupLocation(h);l.location=u,l.group=h.id}}return l}applyPosition(g,l){const h=[];if(this.computedReverse.has(g.id)){const u=this.computedReverse.get(g.id);if(l&&u.location===l.location&&u.group===l.group)return;const d=this.computed.get(u.location).get(u.group),E=d.indexOf(g);E>-1&&d.splice(E,1),h.push(u),this.computedReverse.delete(g.id)}if(l){this.computed.has(l.location)||this.initLocation(l.location);const u=this.computed.get(l.location).get(l.group);let d=0;for(;d<u.length&&!(u[d]&&(u[d].weight||0)<(g.weight||0));d++);u.splice(d,0,g),h.push(l),this.computedReverse.set(g.id,l)}this._inited&&h.forEach(u=>{this.eventBus.fire(new v.ToolbarActionsChangedEvent({position:u}))})}getGroupLocation(g){for(const d of this.computed.keys())if(this.computed.has(d)&&this.computed.get(d).has(g.id))return d;let l=this.defaultLocation;g.preferredLocation&&this.locations.indexOf(g.preferredLocation)>-1&&(l=g.preferredLocation),this.computed.has(l)||this.initLocation(l),this.computed.get(l).set(g.id,[]);const h=this.computedGroups.get(l);let u=0;for(;u<h.length&&!(h[u]&&(h[u].weight||0)<(g.weight||0));u++);return h.splice(u,0,g),this.eventBus.fire(new v.ToolbarActionGroupsChangedEvent({location:l})),l}initLocation(g){this.computed.set(g,new Map),this.computed.get(g).set("_head",[]),this.computed.get(g).set("_tail",[]),this.computedGroups.set(g,[])}registerToolbarAction(g){return this.actions.set(g.id,g),this._onActionAdded.fire(g),g.when&&this.fillKeysInWhenExpr(g.when),{dispose:()=>{this.actions.delete(g.id),this._onActionDisposed.fire(g)}}}getToolbarActions(g){var l;const h=this.computed.get(g.location);if(!h||!this.isValidGroup(g.group))return;const u=(l=h.get(g.group))===null||l===void 0?void 0:l.filter(d=>d.when?this.globalContextKeyService.match(d.when):!0);if(u)return{group:this.groups.get(g.group),position:g,actions:u}}getActionGroups(g){return this.computedGroups.get(g)}isValidGroup(g){return g==="_head"||g==="_tail"||this.groups.has(g)}getActionPosition(g){return this.computedReverse.get(g)}};t.NextToolbarRegistryImpl=m,n.__decorate([(0,r.Autowired)(p.IContextKeyService),n.__metadata("design:type",Object)],m.prototype,"globalContextKeyService",void 0),n.__decorate([(0,r.Autowired)(v.ToolBarActionContribution),n.__metadata("design:type",Object)],m.prototype,"contributions",void 0),t.NextToolbarRegistryImpl=m=n.__decorate([(0,r.Injectable)()],m);let _=class{onStart(){this.toolbarRegistry.init()}};t.ToolbarClientAppContribution=_,n.__decorate([(0,r.Autowired)(v.IToolbarRegistry),n.__metadata("design:type",Object)],_.prototype,"toolbarRegistry",void 0),t.ToolbarClientAppContribution=_=n.__decorate([(0,o.Domain)(c.ClientAppContribution)],_)},79540:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IToolbarPopoverRegistry=t.ToolBarActionContribution=t.ToolbarActionGroupsChangedEvent=t.ToolbarActionsChangedEvent=t.ToolbarActionsWhenChangeEvent=t.ToolbarRegistryReadyEvent=t.IToolbarRegistry=void 0;const n=e(43718);t.IToolbarRegistry=Symbol("IToolbarRegistry");class r extends n.BasicEvent{}t.ToolbarRegistryReadyEvent=r;class o extends n.BasicEvent{}t.ToolbarActionsWhenChangeEvent=o;class c extends n.BasicEvent{}t.ToolbarActionsChangedEvent=c;class p extends n.BasicEvent{}t.ToolbarActionGroupsChangedEvent=p,t.ToolBarActionContribution=Symbol("ToolBarActionContribution"),t.IToolbarPopoverRegistry=Symbol("IToolbarPopoverRegistry")},42101:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IElectronNativeDialogService=t.electronEnv=void 0,t.createElectronMainApi=o,t.createNetSocketConnection=c;const n=e(90750),r=()=>{var p;if(!((p=window.__OPENSUMI_DEVTOOLS_GLOBAL_HOOK__)===null||p===void 0)&&p.captureIPC)return window.__OPENSUMI_DEVTOOLS_GLOBAL_HOOK__.captureIPC};function o(p,v){let m=0;const _=r(),s=g=>{_&&_(g)};return new Proxy({on:(g,l)=>{const h=(u,d,...E)=>{if(d===g)return v&&s({type:"event",service:p,method:g,args:E}),l(...E)};return ElectronIpcRenderer.on("event:"+p,h),{dispose:()=>{ElectronIpcRenderer.removeListener("event:"+p,h)}}}},{get:(g,l)=>(g[l]||(g[l]=async(...h)=>new Promise((u,d)=>{const E=m++;ElectronIpcRenderer.send("request:"+p,l,E,...h),v&&s({type:"request",service:p,method:String(l),requestId:E,args:h});const f=(a,b,y,A)=>{if(b===E){if(ElectronIpcRenderer.removeListener("response:"+p,f),y){const S=new Error(y.message);S.stack=y.stack,d(S)}else u(A);v&&s({type:"response",service:p,method:String(l),requestId:E,args:[y,A]})}};switch(l){case"dispose":return u(void 0);default:ElectronIpcRenderer.on("response:"+p,f)}})),g[l])})}t.electronEnv=e.g||{},typeof ElectronIpcRenderer<"u"&&(t.electronEnv.ipcRenderer=ElectronIpcRenderer),t.IElectronNativeDialogService=Symbol("IElectronNativeDialogService");function c(p){let v;return p?v=t.electronEnv.createNetConnection(p):v=t.electronEnv.createRPCNetConnection(),new n.NetSocketConnection(v)}},66310:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconClass=e;function e(n){const r=/\$\(([^\)]*)\)(.*)/,o=n.match(r);return o?[o[1],o[2].trim()]:[null,n]}},79951:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(42101),t),n.__exportStar(e(55693),t),n.__exportStar(e(66310),t),n.__exportStar(e(95777),t),n.__exportStar(e(69589),t)},95777:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONUtils=void 0,t.parseWithComments=c,t.stripTrailingComma=p;const r=e(85608).__importDefault(e(26518));var o;(function(m){m.emptyObject=Object.freeze({}),m.emptyArray=Object.freeze([]);function _(a){return a===null||typeof a=="boolean"||typeof a=="number"||typeof a=="string"}m.isPrimitive=_;function s(a){return Array.isArray(a)}m.isArray=s;function g(a){return!_(a)&&!s(a)}m.isObject=g;function l(a,b){if(a===b)return!0;if(_(a)||_(b))return!1;const y=s(a),A=s(b);return y!==A?!1:y&&A?u(a,b):d(a,b)}m.deepEqual=l;function h(a){return _(a)?a:s(a)?E(a):f(a)}m.deepCopy=h;function u(a,b){if(a===b)return!0;if(a.length!==b.length)return!1;for(let y=0,A=a.length;y<A;++y)if(!l(a[y],b[y]))return!1;return!0}function d(a,b){if(a===b)return!0;for(const y in a)if(!(y in b))return!1;for(const y in b)if(!(y in a))return!1;for(const y in a)if(!l(a[y],b[y]))return!1;return!0}function E(a){const b=new Array(a.length);for(let y=0,A=a.length;y<A;++y)b[y]=h(a[y]);return b}function f(a){const b={};for(const y in a)b[y]=h(a[y]);return b}})(o||(t.JSONUtils=o={}));function c(m){return m=p((0,r.default)(m)),JSON.parse(m)}function p(m){const _=[];let s=0,g=!1,l=0;for(;l<m.length;){if(g)m[l]==='"'&&m[l-1]!=="\\"&&(g=!1);else if(m[l]===","){const h=l;for(;m[l+1]&&v(m[l+1]);)l++;(m[l+1]==="]"||m[l+1]==="}")&&(_.push(m.substring(s,h)),s=h+1)}else m[l]==='"'&&(g=!0);l++}return s>0?(_.push(m.substr(s)),_.join("")):m}function v(m){return m===" "||m===" "||m===`
31503
- `||m==="\r"}},69589:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformLabelWithCodicon=m,t.transformLabelWithCodiconHtml=_;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(80564),p=e(43718),v=" ";function m(s,g={},l,h){const u=/\$\(([a-z.]+\/)?([a-z-]+)(~[a-z]+)?\)/gi,d=/\$\(([a-z.]+\/)?([a-z-]+)~([a-z]+)\)/gi,E=/\$\(([a-z.]+\/)?([a-z-]+)?(~[a-z]+)?\)/gi,f=(y,A)=>typeof A=="string"?{className:(0,r.default)(y,A)}:{className:y,style:A},a=s.split(v),b=a.length;return a.map((y,A)=>{if(!l)return y;const S=l(y);if(S)return o.default.createElement(c.Icon,{...f(S,g),key:`${A}-${S}`});if(u.test(y)){if(y.includes("~")){const[,,T,D]=d.exec(y)||[];if(D&&T)return o.default.createElement(c.Icon,{...f(l(`$(${T})`),g),animate:D,key:`${A}-${T}`})}const w=y.replaceAll(u,T=>`${v}${T}${v}`);return m(w,g,l)}else{if(E.test(y))return m(y.replaceAll(E,""),g,l,h);{const w=y+(A===b-1?"":v);return(0,p.isFunction)(h)?h(w,A):o.default.createElement("span",{key:`${A}-${y}`},w)}}})}function _(s,g){const l=/\$\(([a-z.]+\/)?([a-z-]+)(~[a-z]+)?\)/gi,h=/\$\(([a-z.]+\/)?([a-z-]+)~([a-z]+)\)/gi,u=/\$\(([a-z.]+\/)?([a-z-]+)?(~[a-z]+)?\)/gi,d=s.split(v),E=d.length;return d.map((f,a)=>{if(!g)return f;const b=g(f);if(b)return`<span class="kt-icon ${b}" style="font-size: 14px;" ></span>`;if(l.test(f)){if(f.includes("~")){const[,,A,S]=h.exec(f)||[];if(S&&A)return`<span class="kt-icon ${A} codicon-animation-${S}" style="font-size: 14px;" ></span>`}const y=f.replaceAll(l,A=>`${v}${A}${v}`);return _(y,g)}else return u.test(f)?_(f.replaceAll(u,""),g):f+(a===E-1?"":v)}).join(v)}},55693:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAutorun=t.useLatest=void 0,t.useDebounce=g,t.useDisposable=l,t.useMenus=h,t.useContextMenus=u,t.usePreference=d,t.useDesignStyles=E;const r=e(85608).__importDefault(e(12784)),o=e(14041),c=e(43718),p=e(55987),v=e(80832),m=e(81741),_=e(67889),s=e(95422);function g(b,y){const[A,S]=(0,o.useState)(b);return(0,o.useEffect)(()=>{const w=setTimeout(()=>{S(b)},y);return()=>{clearTimeout(w)}},[b,y]),A}function l(b,y=[]){(0,o.useEffect)(()=>{const A=new c.DisposableStore,S=b();return Array.isArray(S)?S.forEach(w=>{A.add(w)}):A.add(S),()=>{A.dispose()}},y)}function h(b,y,A,S){const[w,T]=(0,o.useState)([[],[]]);return l(()=>{let D=()=>{const I=(0,m.generateInlineActions)({menus:b,separator:y,args:A});T(I)};return S&&(D=(0,r.default)(D,S.delay,{maxWait:S.maxWait})),D(),[b.onDidChange(()=>{D()})]},[b,A]),w}function u(b){const[y,A]=(0,o.useState)([[],[]]);return l(()=>{S(b);function S(w){const T=w.getGroupedMenuNodes();A(T)}return[b.onDidChange(()=>{S(b)})]},[b]),y}function d(b,y){var A;const S=(0,s.useInjectable)(_.PreferenceService),[w,T]=(0,o.useState)((A=S.get(b,y))!==null&&A!==void 0?A:y);return(0,o.useEffect)(()=>{const D=new c.Disposable(S.onSpecificPreferenceChange(b,I=>{T(I.newValue)}));return()=>{D.dispose()}},[]),w}function E(b,y){const A=(0,s.useInjectable)(v.IDesignStyleService);return b?(0,o.useMemo)(()=>A.wrapStyles(b,y),[A,b,y]):""}const f=b=>{const y=(0,o.useRef)(b);return y.current=b,y};t.useLatest=f;const a=b=>{const[y,A]=(0,o.useState)(b.get());return l(()=>(0,p.autorun)(S=>{A(b.read(S))}),[b]),y};t.useAutorun=a},85084:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acquireAjv=void 0;let n;const r=()=>{if(!n){const o=e(82174);return n=new o,n}return n};t.acquireAjv=r},45670:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(35584),t)},35584:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VariableRegistryImpl=t.VariableRegistry=t.VariableContribution=void 0;const n=e(85608),r=e(76003),o=e(43718);t.VariableContribution=Symbol("VariableContribution"),t.VariableRegistry=Symbol("VariableRegistry");let c=class{constructor(){this.variables=new Map,this.toDispose=new o.DisposableCollection}dispose(){this.toDispose.dispose()}registerVariable(v){if(this.variables.has(v.name))return console.warn(`A variables with name ${v.name} is already registered.`),o.Disposable.NULL;this.variables.set(v.name,v);const m={dispose:()=>this.variables.delete(v.name)};return this.toDispose.push(m),m}getVariables(){return[...this.variables.values()]}getVariable(v){return this.variables.get(v)}registerVariables(v){return v.map(m=>this.registerVariable(m))}};t.VariableRegistryImpl=c,t.VariableRegistryImpl=c=n.__decorate([(0,r.Injectable)()],c)},66894:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IWindowService=void 0,t.IWindowService=Symbol("WindowService")},63921:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WindowService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(37406),p=e(75694),v=e(11050),m=e(26542),_=e(42101);let s=class{openNewWindow(l,h){if(this.appConfig.isElectronRenderer){this.injector.get(c.IElectronMainUIService).openExternal(l);return}else{h?.external&&(l=this.injector.get(m.IExternalUriService).resolveExternalUri(new o.URI(l)).toString(!0));const u=window.open(l);if(u===null)throw new Error("Cannot open a new window for URL: "+l);return u}}openWorkspace(l,h={}){if(this.appConfig.isElectronRenderer){const u=this.injector.get(c.IElectronMainLifeCycleService);h.newWindow?u.openWorkspace(l.toString()):u.openWorkspace(l.toString(),{windowId:_.electronEnv.currentWindowId,replace:!0})}else try{const u=new o.URI(l.toString());let d;if(u.scheme==="file"?d=u.codeUri.fsPath:d=u.path.toString(),!d)throw new Error("Invalid workspace path");const E=`${window.location.protocol}//${window.location.host}?workspaceDir=${encodeURIComponent(d)}`;if(this.logger.debug(`Opening workspace with URL: ${E}`),h.newWindow){if(!window.open(E))throw this.logger.error("Failed to open new window"),new Error("Unable to open new window, please check if your browser blocks pop-ups")}else parent.window.location.href=E}catch(u){throw this.logger.error("Failed to open workspace:",u),u}}close(){if(this.appConfig.isElectronRenderer)window.close();else throw new Error("Method not implemented.")}maximize(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).maximizeWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}unmaximize(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).unmaximizeWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}fullscreen(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).fullscreenWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}minimize(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).minimizeWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}};t.WindowService=s,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],s.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(v.AppConfig),n.__metadata("design:type",Object)],s.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",p.Logger)],s.prototype,"logger",void 0),t.WindowService=s=n.__decorate([(0,r.Injectable)()],s)},17544:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWorkerBootstrapUrl=e;function e(n,r,o){if(o)return n;if(/^(http:)|(https:)|(file:)/.test(n)){const c=String(window.location),p=c.substr(0,c.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(n.substring(0,p.length)!==p){const v=`/*${r}*/importScripts('${n}');/*${r}*/`,m=new Blob([v],{type:"application/javascript"});return URL.createObjectURL(m)}}return n}},3611:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(46105),t)},46105:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AIInlineInputChatContentWidgetId=t.AIInlineHintLineContentWidgetId=t.AIInlineChatContentWidgetId=void 0,t.AIInlineChatContentWidgetId="AI-Inline-Chat-Content-Widget",t.AIInlineHintLineContentWidgetId="AI-Inline-Hint-Line-Content-Widget",t.AIInlineInputChatContentWidgetId="AI-Inline-Input-Chat-Content-Widget"},59430:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppLifeCycleServiceToken=void 0,t.AppLifeCycleServiceToken=Symbol("AppLifeCycleService")},43163:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureDir=m;const r=e(85608).__importDefault(e(49156)),o=e(17567),c="/";class p{access(s){return new Promise(g=>{r.default.exists(s,l=>{g(l)})})}mkdir(s){return(0,o.promisify)(r.default.mkdir)(s)}}const v=new p;async function m(_,s=v){const g=(_.startsWith(c)?_.slice(1):_).split(c);let l=0;for(;l<g.length;){const h=c+g.slice(0,l+1).join(c);await s.access(h)||await s.mkdir(c+h),l=l+1}}},17567:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promisify=e;function e(n){return function(...r){const o=this;return new Promise((c,p)=>{const v=(_,s)=>{_&&p(_),c(s)},m=r.concat(v);n.apply(o,m)})}}},79924:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLIPBOARD_FILE_TOKEN=t.IClipboardService=void 0,t.IClipboardService=Symbol("IClipboardService"),t.CLIPBOARD_FILE_TOKEN="clipboard/file-list"},3908:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sumiicon=t.Sumicon=t.Codicon=void 0,t.getCodiconFontCharacters=v,t.getSumiiconFontCharacters=m,t.getAllCodicons=_;const n=e(70392),r=Object.create(null),o=Object.create(null);function c(s,g,l){if((0,n.isString)(g)){const h=r[g];if(h===void 0)throw new Error(`${s} references an unknown codicon: ${g}`);g=h}return r[s]=g,{id:s}}function p(s,g,l){if((0,n.isString)(g)){const h=o[g];if(h===void 0)throw new Error(`${s} references an unknown sumiicon: ${g}`);g=h}return o[s]=g,{id:s,alias:l}}function v(){return r}function m(){return o}function _(){return Object.values(t.Codicon)}t.Codicon={add:c("add",6e4),plus:c("plus",6e4),gistNew:c("gist-new",6e4),repoCreate:c("repo-create",6e4),lightbulb:c("lightbulb",60001),lightBulb:c("light-bulb",60001),repo:c("repo",60002),repoDelete:c("repo-delete",60002),gistFork:c("gist-fork",60003),repoForked:c("repo-forked",60003),gitPullRequest:c("git-pull-request",60004),gitPullRequestAbandoned:c("git-pull-request-abandoned",60004),recordKeys:c("record-keys",60005),keyboard:c("keyboard",60005),tag:c("tag",60006),tagAdd:c("tag-add",60006),tagRemove:c("tag-remove",60006),gitPullRequestLabel:c("git-pull-request-label",60006),person:c("person",60007),personFollow:c("person-follow",60007),personOutline:c("person-outline",60007),personFilled:c("person-filled",60007),gitBranch:c("git-branch",60008),gitBranchCreate:c("git-branch-create",60008),gitBranchDelete:c("git-branch-delete",60008),sourceControl:c("source-control",60008),mirror:c("mirror",60009),mirrorPublic:c("mirror-public",60009),star:c("star",60010),starAdd:c("star-add",60010),starDelete:c("star-delete",60010),starEmpty:c("star-empty",60010),comment:c("comment",60011),commentAdd:c("comment-add",60011),alert:c("alert",60012),warning:c("warning",60012),search:c("search",60013),searchSave:c("search-save",60013),logOut:c("log-out",60014),signOut:c("sign-out",60014),logIn:c("log-in",60015),signIn:c("sign-in",60015),eye:c("eye",60016),eyeUnwatch:c("eye-unwatch",60016),eyeWatch:c("eye-watch",60016),circleFilled:c("circle-filled",60017),primitiveDot:c("primitive-dot",60017),closeDirty:c("close-dirty",60017),debugBreakpoint:c("debug-breakpoint",60017),debugBreakpointDisabled:c("debug-breakpoint-disabled",60017),debugBreakpointPending:c("debug-breakpoint-pending",60377),debugHint:c("debug-hint",60017),primitiveSquare:c("primitive-square",60018),edit:c("edit",60019),pencil:c("pencil",60019),info:c("info",60020),issueOpened:c("issue-opened",60020),gistPrivate:c("gist-private",60021),gitForkPrivate:c("git-fork-private",60021),lock:c("lock",60021),mirrorPrivate:c("mirror-private",60021),close:c("close",60022),removeClose:c("remove-close",60022),x:c("x",60022),repoSync:c("repo-sync",60023),sync:c("sync",60023),clone:c("clone",60024),desktopDownload:c("desktop-download",60024),beaker:c("beaker",60025),microscope:c("microscope",60025),vm:c("vm",60026),deviceDesktop:c("device-desktop",60026),file:c("file",60027),fileText:c("file-text",60027),more:c("more",60028),ellipsis:c("ellipsis",60028),kebabHorizontal:c("kebab-horizontal",60028),mailReply:c("mail-reply",60029),reply:c("reply",60029),organization:c("organization",60030),organizationFilled:c("organization-filled",60030),organizationOutline:c("organization-outline",60030),newFile:c("new-file",60031),fileAdd:c("file-add",60031),newFolder:c("new-folder",60032),fileDirectoryCreate:c("file-directory-create",60032),trash:c("trash",60033),trashcan:c("trashcan",60033),history:c("history",60034),clock:c("clock",60034),folder:c("folder",60035),fileDirectory:c("file-directory",60035),symbolFolder:c("symbol-folder",60035),logoGithub:c("logo-github",60036),markGithub:c("mark-github",60036),github:c("github",60036),terminal:c("terminal",60037),console:c("console",60037),repl:c("repl",60037),zap:c("zap",60038),symbolEvent:c("symbol-event",60038),error:c("error",60039),stop:c("stop",60039),variable:c("variable",60040),symbolVariable:c("symbol-variable",60040),array:c("array",60042),symbolArray:c("symbol-array",60042),symbolModule:c("symbol-module",60043),symbolPackage:c("symbol-package",60043),symbolNamespace:c("symbol-namespace",60043),symbolObject:c("symbol-object",60043),symbolMethod:c("symbol-method",60044),symbolFunction:c("symbol-function",60044),symbolConstructor:c("symbol-constructor",60044),symbolBoolean:c("symbol-boolean",60047),symbolNull:c("symbol-null",60047),symbolNumeric:c("symbol-numeric",60048),symbolNumber:c("symbol-number",60048),symbolStructure:c("symbol-structure",60049),symbolStruct:c("symbol-struct",60049),symbolParameter:c("symbol-parameter",60050),symbolTypeParameter:c("symbol-type-parameter",60050),symbolKey:c("symbol-key",60051),symbolText:c("symbol-text",60051),symbolReference:c("symbol-reference",60052),goToFile:c("go-to-file",60052),symbolEnum:c("symbol-enum",60053),symbolValue:c("symbol-value",60053),symbolRuler:c("symbol-ruler",60054),symbolUnit:c("symbol-unit",60054),activateBreakpoints:c("activate-breakpoints",60055),archive:c("archive",60056),arrowBoth:c("arrow-both",60057),arrowDown:c("arrow-down",60058),arrowLeft:c("arrow-left",60059),arrowRight:c("arrow-right",60060),arrowSmallDown:c("arrow-small-down",60061),arrowSmallLeft:c("arrow-small-left",60062),arrowSmallRight:c("arrow-small-right",60063),arrowSmallUp:c("arrow-small-up",60064),arrowUp:c("arrow-up",60065),bell:c("bell",60066),bold:c("bold",60067),book:c("book",60068),bookmark:c("bookmark",60069),debugBreakpointConditionalUnverified:c("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:c("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:c("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:c("debug-breakpoint-data-unverified",60072),debugBreakpointData:c("debug-breakpoint-data",60073),debugBreakpointDataDisabled:c("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:c("debug-breakpoint-log-unverified",60074),debugBreakpointLog:c("debug-breakpoint-log",60075),debugBreakpointLogDisabled:c("debug-breakpoint-log-disabled",60075),briefcase:c("briefcase",60076),broadcast:c("broadcast",60077),browser:c("browser",60078),bug:c("bug",60079),calendar:c("calendar",60080),caseSensitive:c("case-sensitive",60081),check:c("check",60082),checklist:c("checklist",60083),chevronDown:c("chevron-down",60084),dropDownButton:c("drop-down-button",60084),chevronLeft:c("chevron-left",60085),chevronRight:c("chevron-right",60086),chevronUp:c("chevron-up",60087),chromeClose:c("chrome-close",60088),chromeMaximize:c("chrome-maximize",60089),chromeMinimize:c("chrome-minimize",60090),chromeRestore:c("chrome-restore",60091),circle:c("circle",60092),circleOutline:c("circle-outline",60092),debugBreakpointUnverified:c("debug-breakpoint-unverified",60092),circleSlash:c("circle-slash",60093),circuitBoard:c("circuit-board",60094),clearAll:c("clear-all",60095),clippy:c("clippy",60096),closeAll:c("close-all",60097),cloudDownload:c("cloud-download",60098),cloudUpload:c("cloud-upload",60099),code:c("code",60100),collapseAll:c("collapse-all",60101),colorMode:c("color-mode",60102),commentDiscussion:c("comment-discussion",60103),compareChanges:c("compare-changes",60157),creditCard:c("credit-card",60105),dash:c("dash",60108),dashboard:c("dashboard",60109),database:c("database",60110),debugContinue:c("debug-continue",60111),debugDisconnect:c("debug-disconnect",60112),debugPause:c("debug-pause",60113),debugRestart:c("debug-restart",60114),debugStart:c("debug-start",60115),debugStepInto:c("debug-step-into",60116),debugStepOut:c("debug-step-out",60117),debugStepOver:c("debug-step-over",60118),debugStop:c("debug-stop",60119),debug:c("debug",60120),deviceCameraVideo:c("device-camera-video",60121),deviceCamera:c("device-camera",60122),deviceMobile:c("device-mobile",60123),diffAdded:c("diff-added",60124),diffIgnored:c("diff-ignored",60125),diffModified:c("diff-modified",60126),diffRemoved:c("diff-removed",60127),diffRenamed:c("diff-renamed",60128),diff:c("diff",60129),discard:c("discard",60130),editorLayout:c("editor-layout",60131),emptyWindow:c("empty-window",60132),exclude:c("exclude",60133),extensions:c("extensions",60134),eyeClosed:c("eye-closed",60135),fileBinary:c("file-binary",60136),fileCode:c("file-code",60137),fileMedia:c("file-media",60138),filePdf:c("file-pdf",60139),fileSubmodule:c("file-submodule",60140),fileSymlinkDirectory:c("file-symlink-directory",60141),fileSymlinkFile:c("file-symlink-file",60142),fileZip:c("file-zip",60143),files:c("files",60144),filter:c("filter",60145),flame:c("flame",60146),foldDown:c("fold-down",60147),foldUp:c("fold-up",60148),fold:c("fold",60149),folderActive:c("folder-active",60150),folderOpened:c("folder-opened",60151),gear:c("gear",60152),gift:c("gift",60153),gistSecret:c("gist-secret",60154),gist:c("gist",60155),gitCommit:c("git-commit",60156),gitCompare:c("git-compare",60157),gitMerge:c("git-merge",60158),githubAction:c("github-action",60159),githubAlt:c("github-alt",60160),globe:c("globe",60161),grabber:c("grabber",60162),graph:c("graph",60163),gripper:c("gripper",60164),heart:c("heart",60165),home:c("home",60166),horizontalRule:c("horizontal-rule",60167),hubot:c("hubot",60168),inbox:c("inbox",60169),issueClosed:c("issue-closed",60324),issueReopened:c("issue-reopened",60171),issues:c("issues",60172),italic:c("italic",60173),jersey:c("jersey",60174),json:c("json",60175),bracket:c("bracket",60175),kebabVertical:c("kebab-vertical",60176),key:c("key",60177),law:c("law",60178),lightbulbAutofix:c("lightbulb-autofix",60179),linkExternal:c("link-external",60180),link:c("link",60181),listOrdered:c("list-ordered",60182),listUnordered:c("list-unordered",60183),liveShare:c("live-share",60184),loading:c("loading",60185),location:c("location",60186),mailRead:c("mail-read",60187),mail:c("mail",60188),markdown:c("markdown",60189),megaphone:c("megaphone",60190),mention:c("mention",60191),milestone:c("milestone",60192),gitPullRequestMilestone:c("git-pull-request-milestone",60192),mortarBoard:c("mortar-board",60193),move:c("move",60194),multipleWindows:c("multiple-windows",60195),mute:c("mute",60196),noNewline:c("no-newline",60197),note:c("note",60198),octoface:c("octoface",60199),openPreview:c("open-preview",60200),package:c("package",60201),paintcan:c("paintcan",60202),pin:c("pin",60203),play:c("play",60204),run:c("run",60204),plug:c("plug",60205),preserveCase:c("preserve-case",60206),preview:c("preview",60207),project:c("project",60208),pulse:c("pulse",60209),question:c("question",60210),quote:c("quote",60211),radioTower:c("radio-tower",60212),reactions:c("reactions",60213),references:c("references",60214),refresh:c("refresh",60215),regex:c("regex",60216),remoteExplorer:c("remote-explorer",60217),remote:c("remote",60218),remove:c("remove",60219),replaceAll:c("replace-all",60220),replace:c("replace",60221),repoClone:c("repo-clone",60222),repoForcePush:c("repo-force-push",60223),repoPull:c("repo-pull",60224),repoPush:c("repo-push",60225),report:c("report",60226),requestChanges:c("request-changes",60227),rocket:c("rocket",60228),rootFolderOpened:c("root-folder-opened",60229),rootFolder:c("root-folder",60230),rss:c("rss",60231),ruby:c("ruby",60232),saveAll:c("save-all",60233),saveAs:c("save-as",60234),save:c("save",60235),screenFull:c("screen-full",60236),screenNormal:c("screen-normal",60237),searchStop:c("search-stop",60238),server:c("server",60240),settingsGear:c("settings-gear",60241),settings:c("settings",60242),shield:c("shield",60243),smiley:c("smiley",60244),sortPrecedence:c("sort-precedence",60245),splitHorizontal:c("split-horizontal",60246),splitVertical:c("split-vertical",60247),squirrel:c("squirrel",60248),starFull:c("star-full",60249),starHalf:c("star-half",60250),symbolClass:c("symbol-class",60251),symbolColor:c("symbol-color",60252),symbolCustomColor:c("symbol-customcolor",60252),symbolConstant:c("symbol-constant",60253),symbolEnumMember:c("symbol-enum-member",60254),symbolField:c("symbol-field",60255),symbolFile:c("symbol-file",60256),symbolInterface:c("symbol-interface",60257),symbolKeyword:c("symbol-keyword",60258),symbolMisc:c("symbol-misc",60259),symbolOperator:c("symbol-operator",60260),symbolProperty:c("symbol-property",60261),wrench:c("wrench",60261),wrenchSubaction:c("wrench-subaction",60261),symbolSnippet:c("symbol-snippet",60262),tasklist:c("tasklist",60263),telescope:c("telescope",60264),textSize:c("text-size",60265),threeBars:c("three-bars",60266),thumbsdown:c("thumbsdown",60267),thumbsup:c("thumbsup",60268),tools:c("tools",60269),triangleDown:c("triangle-down",60270),triangleLeft:c("triangle-left",60271),triangleRight:c("triangle-right",60272),triangleUp:c("triangle-up",60273),twitter:c("twitter",60274),unfold:c("unfold",60275),unlock:c("unlock",60276),unmute:c("unmute",60277),unverified:c("unverified",60278),verified:c("verified",60279),versions:c("versions",60280),vmActive:c("vm-active",60281),vmOutline:c("vm-outline",60282),vmRunning:c("vm-running",60283),watch:c("watch",60284),whitespace:c("whitespace",60285),wholeWord:c("whole-word",60286),window:c("window",60287),wordWrap:c("word-wrap",60288),zoomIn:c("zoom-in",60289),zoomOut:c("zoom-out",60290),listFilter:c("list-filter",60291),listFlat:c("list-flat",60292),listSelection:c("list-selection",60293),selection:c("selection",60293),listTree:c("list-tree",60294),debugBreakpointFunctionUnverified:c("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:c("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:c("debug-breakpoint-function-disabled",60296),debugStackframeActive:c("debug-stackframe-active",60297),circleSmallFilled:c("circle-small-filled",60298),debugStackframeDot:c("debug-stackframe-dot",60298),debugStackframe:c("debug-stackframe",60299),debugStackframeFocused:c("debug-stackframe-focused",60299),debugBreakpointUnsupported:c("debug-breakpoint-unsupported",60300),symbolString:c("symbol-string",60301),debugReverseContinue:c("debug-reverse-continue",60302),debugStepBack:c("debug-step-back",60303),debugRestartFrame:c("debug-restart-frame",60304),callIncoming:c("call-incoming",60306),callOutgoing:c("call-outgoing",60307),menu:c("menu",60308),expandAll:c("expand-all",60309),feedback:c("feedback",60310),gitPullRequestReviewer:c("git-pull-request-reviewer",60310),groupByRefType:c("group-by-ref-type",60311),ungroupByRefType:c("ungroup-by-ref-type",60312),account:c("account",60313),gitPullRequestAssignee:c("git-pull-request-assignee",60313),bellDot:c("bell-dot",60314),debugConsole:c("debug-console",60315),library:c("library",60316),output:c("output",60317),runAll:c("run-all",60318),syncIgnored:c("sync-ignored",60319),pinned:c("pinned",60320),githubInverted:c("github-inverted",60321),debugAlt:c("debug-alt",60305),serverProcess:c("server-process",60322),serverEnvironment:c("server-environment",60323),pass:c("pass",60324),stopCircle:c("stop-circle",60325),playCircle:c("play-circle",60326),record:c("record",60327),debugAltSmall:c("debug-alt-small",60328),vmConnect:c("vm-connect",60329),cloud:c("cloud",60330),merge:c("merge",60331),exportIcon:c("export",60332),graphLeft:c("graph-left",60333),magnet:c("magnet",60334),notebook:c("notebook",60335),redo:c("redo",60336),checkAll:c("check-all",60337),pinnedDirty:c("pinned-dirty",60338),passFilled:c("pass-filled",60339),circleLargeFilled:c("circle-large-filled",60340),circleLarge:c("circle-large",60341),circleLargeOutline:c("circle-large-outline",60341),combine:c("combine",60342),gather:c("gather",60342),table:c("table",60343),variableGroup:c("variable-group",60344),typeHierarchy:c("type-hierarchy",60345),typeHierarchySub:c("type-hierarchy-sub",60346),typeHierarchySuper:c("type-hierarchy-super",60347),gitPullRequestCreate:c("git-pull-request-create",60348),runAbove:c("run-above",60349),runBelow:c("run-below",60350),notebookTemplate:c("notebook-template",60351),debugRerun:c("debug-rerun",60352),workspaceTrusted:c("workspace-trusted",60353),workspaceUntrusted:c("workspace-untrusted",60354),workspaceUnspecified:c("workspace-unspecified",60355),terminalCmd:c("terminal-cmd",60356),terminalDebian:c("terminal-debian",60357),terminalLinux:c("terminal-linux",60358),terminalPowershell:c("terminal-powershell",60359),terminalTmux:c("terminal-tmux",60360),terminalUbuntu:c("terminal-ubuntu",60361),terminalBash:c("terminal-bash",60362),arrowSwap:c("arrow-swap",60363),copy:c("copy",60364),personAdd:c("person-add",60365),filterFilled:c("filter-filled",60366),wand:c("wand",60367),debugLineByLine:c("debug-line-by-line",60368),inspect:c("inspect",60369),layers:c("layers",60370),layersDot:c("layers-dot",60371),layersActive:c("layers-active",60372),compass:c("compass",60373),compassDot:c("compass-dot",60374),compassActive:c("compass-active",60375),azure:c("azure",60376),issueDraft:c("issue-draft",60377),gitPullRequestClosed:c("git-pull-request-closed",60378),gitPullRequestDraft:c("git-pull-request-draft",60379),debugAll:c("debug-all",60380),debugCoverage:c("debug-coverage",60381),runErrors:c("run-errors",60382),folderLibrary:c("folder-library",60383),debugContinueSmall:c("debug-continue-small",60384),beakerStop:c("beaker-stop",60385),graphLine:c("graph-line",60386),graphScatter:c("graph-scatter",60387),pieChart:c("pie-chart",60388),bracketDot:c("bracket-dot",60389),bracketError:c("bracket-error",60390),lockSmall:c("lock-small",60391),azureDevops:c("azure-devops",60392),verifiedFilled:c("verified-filled",60393),newLine:c("newline",60394),layout:c("layout",60395),layoutActivitybarLeft:c("layout-activitybar-left",60396),layoutActivitybarRight:c("layout-activitybar-right",60397),layoutPanelLeft:c("layout-panel-left",60398),layoutPanelCenter:c("layout-panel-center",60399),layoutPanelJustify:c("layout-panel-justify",60400),layoutPanelRight:c("layout-panel-right",60401),layoutPanel:c("layout-panel",60402),layoutSidebarLeft:c("layout-sidebar-left",60403),layoutSidebarRight:c("layout-sidebar-right",60404),layoutStatusbar:c("layout-statusbar",60405),layoutMenubar:c("layout-menubar",60406),layoutCentered:c("layout-centered",60407),layoutSidebarRightOff:c("layout-sidebar-right-off",60416),layoutPanelOff:c("layout-panel-off",60417),layoutSidebarLeftOff:c("layout-sidebar-left-off",60418),target:c("target",60408),indent:c("indent",60409),recordSmall:c("record-small",60410),errorSmall:c("error-small",60411),arrowCircleDown:c("arrow-circle-down",60412),arrowCircleLeft:c("arrow-circle-left",60413),arrowCircleRight:c("arrow-circle-right",60414),arrowCircleUp:c("arrow-circle-up",60415),heartFilled:c("heart-filled",60420),map:c("map",60421),mapFilled:c("map-filled",60422),circleSmall:c("circle-small",60423),bellSlash:c("bell-slash",60424),bellSlashDot:c("bell-slash-dot",60425),commentUnresolved:c("comment-unresolved",60426),gitPullRequestGoToChanges:c("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:c("git-pull-request-new-changes",60428),searchFuzzy:c("search-fuzzy",60429),commentDraft:c("comment-draft",60430),send:c("send",60431),sparkle:c("sparkle",60432),insert:c("insert",60433),mic:c("mic",60434),thumbsDownFilled:c("thumbsdown-filled",60435),thumbsUpFilled:c("thumbsup-filled",60436),coffee:c("coffee",60437),snake:c("snake",60438),game:c("game",60439),vr:c("vr",60440),chip:c("chip",60441),piano:c("piano",60442),music:c("music",60443),micFilled:c("mic-filled",60444),gitFetch:c("git-fetch",60445),copilot:c("copilot",60446),lightbulbSparkle:c("lightbulb-sparkle",60447),lightbulbSparkleAutofix:c("lightbulb-sparkle-autofix",60447),robot:c("robot",60448),sparkleFilled:c("sparkle-filled",60449),diffSingle:c("diff-single",60450),diffMultiple:c("diff-multiple",60451),surroundWith:c("surround-with",60452),gitStash:c("git-stash",60454),gitStashApply:c("git-stash-apply",60455),gitStashPop:c("git-stash-pop",60456),dialogError:c("dialog-error","error"),dialogWarning:c("dialog-warning","warning"),dialogInfo:c("dialog-info","info"),dialogClose:c("dialog-close","close"),treeItemExpanded:c("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:c("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:c("tree-filter-on-type-off","list-selection"),treeFilterClear:c("tree-filter-clear","close"),treeItemLoading:c("tree-item-loading","loading"),menuSelection:c("menu-selection","check"),menuSubmenu:c("menu-submenu","chevron-right"),menuBarMore:c("menubar-more","more"),scrollbarButtonLeft:c("scrollbar-button-left","triangle-left"),scrollbarButtonRight:c("scrollbar-button-right","triangle-right"),scrollbarButtonUp:c("scrollbar-button-up","triangle-up"),scrollbarButtonDown:c("scrollbar-button-down","triangle-down"),toolBarMore:c("toolbar-more","more"),quickInputBack:c("quick-input-back","arrow-left")},t.Sumicon={explorer:p("files",59166,["files","explorer-view-icon"]),search:p("search",59152,["search","search-editor-label-icon","search-view-icon"]),debug:p("debug-alt",59154,["debug-alt","debug-view-icon","watch-view-icon","breakpoints-view-icon","callstack-view-icon","loaded-scripts-view-icon","run-view-icon","testing-debug-icon"]),scm:p("source-control",59153,["source-control","source-control-view-icon"]),extension:p("extensions",59155,["extensions-view-icon","extensions"]),embed:p("split-horizontal",59333,["split-horizontal"]),setting:p("settings-gear",59278,["settings-gear","notebook-kernel-configure","settings-view-bar-icon"]),sync:p("sync",59278,["sync","settings-sync-view-icon","extensions-sync-enabled","repo-sync"]),zsh:p("terminal",59016,["terminal"]),bash:p("terminal-bash",58902,["terminal-bash"]),clear:p("clear-all",59648,["clear-all","debug-console-clear-all","preferences-clear-input","notifications-clear-all","notebook-clear","extensions-clear-search-results","search-clear-results"]),newFile:p("new-file",59218,["new-file","search-new-editor"]),newFolder:p("new-folder",59217,["new-folder"]),refresh:p("refresh",59037,["refresh","timeline-refresh","extensions-refresh","search-refresh"]),more:p("more",59973,["more"]),open:p("go-to-file",59158,["go-to-file","preferences-open-settings"]),close:p("close",59389,["close","diff-review-close","notifications-clear","panel-close","search-remove","settings-remove","tasks-remove","testing-cancel-icon","testing-failed-icon","widget-close"]),delete:p("trash",59331,["trash","trashcan","notebook-delete-cell","terminal-kill"]),right:p("chevron-right",59371,["chevron-right","view-pane-container-collapsed","suggest-more-info","search-hide-replace","notebook-collapsed","folding-collapsed","find-collapsed","debug-console-evaluation-prompt"]),left:p("chevron-left",59376,["chevron-left"]),down:p("chevron-down",59377,["chevron-down","view-pane-container-expanded","settings-group-expanded","search-show-replace","parameter-hints-next","panel-restore","notifications-hide","notifications-collapse","notebook-expanded","markers-view-multi-line-collapsed","marker-navigation-next","folding-expanded","find-expanded","tree-item-expanded"]),up:p("chevron-up",59372,["chevron-up","marker-navigation-previous","markers-view-multi-line-expanded","notifications-expand","panel-maximize","parameter-hints-previous","review-comment-collapse"]),arrowRight:p("arrow-right",58886,["arrow-right"]),arrowUp:p("arrow-up",59186,["arrow-up","notebook-move-up","goto-previous-location","find-previous-match","diff-editor-previous-change"]),arrowLeft:p("arrow-left",58884,["arrow-left"]),arrowDown:p("arrow-down",59187,["arrow-down","notebook-move-down","goto-next-location","find-next-match","diff-editor-next-change"]),start:p("play",59967,["play","notebook-execute"]),saveAll:p("save-all",59163,["save-all","notebook-save-all"]),closeAll:p("close-all",59164,["close-all","watch-expressions-remove-all","breakpoints-remove-all"]),collapseAll:p("collapse-all",59327,["collapse-all","debug-collapse-all","search-collapse-results"]),expandAll:p("expand-all",58899,["expand-all","debug-expand-all","search-expand-results"]),retrieval:p("sumi-retrieval",60001,[]),eyeClose:p("eye-closed",59647,["eye-closed"]),ellipsis:p("ellipsis",59388,["ellipsis","search-details"]),magicWand:p("magic-wand",58894,["magic-wand"])},t.Sumiicon=t.Sumicon},55563:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultiKeyMap=void 0;class e{constructor(r){this.keyLength=r,this.rootMap=new Map}static create(r,o){const c=new e(r);for(const p of o)c.set(p[0],p[1]);return c}set(r,o){if(this.keyLength!==r.length)throw new Error(`inappropriate key length: ${r.length}, should be ${this.keyLength}`);let c=this.rootMap;for(let v=0;v<this.keyLength-1;v++){let m=c.get(r[v]);m||(m=new Map,c.set(r[v],m)),c=m}const p=c.get(r[this.keyLength-1]);return c.set(r[this.keyLength-1],o),p}get(r){if(this.keyLength!==r.length)throw new Error(`inappropriate key length: ${r.length}, should be ${this.keyLength}`);let o=this.rootMap;for(let c=0;c<this.keyLength-1;c++)if(o=o.get(r[c]),!o)return;return o.get(r[this.keyLength-1])}has(r){if(this.keyLength<r.length)throw new Error(`inappropriate key length: ${r.length}, should <= ${this.keyLength}`);let o=this.rootMap;for(let c=0;c<r.length-1;c++)if(o=o.get(r[c]),!o)return!1;return o.has(r[r.length-1])}delete(r){if(this.keyLength<r.length)throw new Error(`inappropriate key length: ${r.length}, should <= ${this.keyLength}`);let o=this.rootMap;for(let c=0;c<this.keyLength-1;c++)if(o=o.get(r[c]),!o)return!1;return o.delete(r[r.length-1])}forEach(r){this.doForeach(r,this.rootMap,[])}doForeach(r,o,c){c.length===this.keyLength-1?o.forEach((p,v)=>{r(p,[...c,v])}):o.forEach((p,v)=>{this.doForeach(r,p,[...c,v])})}}t.MultiKeyMap=e},92323:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommandServiceImpl=t.CommandRegistryImpl=t.CoreCommandRegistryImpl=t.HANDLER_NOT_FOUND=t.CommandRegistry=t.CommandService=t.CommandContribution=t.Command=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(31470),p=e(33783),v=e(4892);var m;(function(l){function h(d){return!!d&&d===Object(d)&&"id"in d}l.is=h;function u(d,E){if(d.label&&E.label){const f=d.category?d.category+d.label:d.label,a=E.category?E.category+E.label:E.label;return f.localeCompare(a)}else return 0}l.compareCommands=u})(m||(t.Command=m={})),t.CommandContribution=Symbol("CommandContribution"),t.CommandService=Symbol("CommandService"),t.CommandRegistry=Symbol("CommandRegistry"),t.HANDLER_NOT_FOUND="HANDLER_NOT_FOUND";let _=class{constructor(){this._commands={},this._handlers={},this.unregisterCommands=new Map,this._recent=[],this.preCommandInterceptors=[],this.postCommandInterceptors=[],this.preCommandInterceptorMap=new Map,this.postCommandInterceptor=new Map,this.logger=(0,v.getDebugLogger)()}async executeCommand(h,...u){const d=this.getCommand(h);if(d&&d.delegate)return this.executeCommand(d.delegate,...u);const E=this.preCommandInterceptorMap.get(h),a=[...(E??[]).map(S=>(w,T)=>S(T)),...this.preCommandInterceptors];for(const S of a){const w=await S(h,u);if(w===!1){this.logger.log(`command ${h} is prevented by pre interceptor`,S.name);return}else Array.isArray(w)&&(u=w)}const b=this.getActiveHandler(h,...u);if(b){let S=await b.execute(...u);const w=this.postCommandInterceptor.get(h);if(w)for(const T of w)S=await T(S);for(const T of this.postCommandInterceptors)S=await T(h,S);return S}let y="";try{y=u&&u.length>0?` (args: ${JSON.stringify(u)})`:""}catch{y="args cannot be convert to JSON"}const A=new Error(`The command '${h}' cannot be executed. There are no active handlers available for the command.${y}`);throw A.name=`${t.HANDLER_NOT_FOUND}:${h}`,A}getCommands(){return Object.keys(this._commands).map(h=>this.getCommand(h))}registerCommand(h,u){if(this._commands[h.id])return this.logger.warn(`A command ${h.id} is already registered.`),o.Disposable.NULL;const d=new o.Disposable;return d.addDispose(this.doRegisterCommand(h)),u&&d.addDispose(this.registerHandler(h.id,u)),this.unregisterCommands.set(h.id,d),d.addDispose(o.Disposable.create(()=>this.unregisterCommands.delete(h.id))),d}updateCommandDetailById(h,u){if(!this._commands[h]){this.logger.warn(`Command ${h} not found.`);return}this._commands[h]={...this._commands[h],...u}}unregisterCommand(h){const u=m.is(h)?h.id:h,d=this.unregisterCommands.get(u);d&&d.dispose()}registerHandler(h,u){let d=this._handlers[h];return d||(this._handlers[h]=d=[]),d.unshift(u),{dispose:()=>{const E=d.indexOf(u);E>=0&&d.splice(E,1)}}}isEnabled(h,...u){return this._handlers[h]?this.getActiveHandler(h,...u)!==void 0:!0}isVisible(h,...u){return this._handlers[h]?this.getVisibleHandler(h,...u)!==void 0:!0}isToggled(h,...u){const d=this.getToggledHandler(h);return d&&d.isToggled?d.isToggled(...u):!1}getVisibleHandler(h,...u){const d=this._handlers[h];if(d){for(const E of d)if(!E.isVisible||E.isVisible(...u))return E}}getActiveHandler(h,...u){const d=this.getCommand(h);if(d&&d.delegate)return this.getActiveHandler(d.delegate,...u);const E=this._handlers[h];if(E){for(const f of E)if(!f.isEnabled||f.isEnabled(...u))return f}}isPermittedCommand(h,u,...d){const E=this.getCommand(h);if(E&&E.delegate)return this.isPermittedCommand(E.delegate,u,...d);const f=this._handlers[h];return!Array.isArray(f)||f.every(a=>!a.isPermitted||a.isPermitted(u,...d))}getToggledHandler(h){const u=this._handlers[h];if(u){for(const d of u)if(d.isToggled)return d}}getRawCommand(h){return this._commands[h]}getCommand(h){const u=this._commands[h];return u?{...u,label:(0,p.replaceLocalizePlaceholder)(u.label),category:(0,p.replaceLocalizePlaceholder)(u.category)}:void 0}localizeCommand(h){return h.label&&!h.labelLocalized&&(h.labelLocalized=(0,p.createLocalizedStr)(h.label)),h.category&&!h.categoryLocalized&&(h.categoryLocalized=(0,p.createLocalizedStr)(h.category)),h.shortLabel&&!h.shortLabelLocalized&&(h.shortLabelLocalized=(0,p.createLocalizedStr)(h.shortLabel)),h}doRegisterCommand(h){return this._commands[h.id]=this.localizeCommand(h),{dispose:()=>{delete this._commands[h.id]}}}beforeExecuteCommand(h,u){if(typeof h=="string"){const d=this.preCommandInterceptorMap.get(h);return d?u&&d.push(u):u&&this.preCommandInterceptorMap.set(h,[u]),{dispose:()=>{const E=this.preCommandInterceptorMap.get(h);if(E&&u){const f=E.indexOf(u);f!==-1&&E.splice(f,1)}}}}else return this.preCommandInterceptors.push(h),{dispose:()=>{const d=this.preCommandInterceptors.indexOf(h);d!==-1&&this.preCommandInterceptors.splice(d,1)}}}afterExecuteCommand(h,u){if(typeof h=="string"){const d=this.postCommandInterceptor.get(h);return d?u&&d.push(u):u&&this.postCommandInterceptor.set(h,[u]),{dispose:()=>{const E=this.postCommandInterceptor.get(h);if(E&&u){const f=E.indexOf(u);f!==-1&&E.splice(f,1)}}}}else return this.postCommandInterceptors.push(h),{dispose:()=>{const d=this.postCommandInterceptors.indexOf(h);d!==-1&&this.postCommandInterceptors.splice(d,1)}}}getRecentCommands(){return this._recent}setRecentCommands(h){return h.forEach(u=>{this.addRecentCommand(u)}),this._recent}addRecentCommand(h){if(!h||!h.label)return;const u=this._recent.findIndex(d=>d.id===h.id);u>=0&&this._recent.splice(u,1),this._recent.unshift(h)}};t.CoreCommandRegistryImpl=_,t.CoreCommandRegistryImpl=_=n.__decorate([(0,r.Injectable)()],_);let s=class extends _{initialize(){const h=this.contributionProvider.getContributions();for(const u of h)u.registerCommands(this)}};t.CommandRegistryImpl=s,n.__decorate([(0,r.Autowired)(t.CommandContribution),n.__metadata("design:type",Object)],s.prototype,"contributionProvider",void 0),t.CommandRegistryImpl=s=n.__decorate([(0,r.Injectable)()],s);let g=class{constructor(){this._onWillExecuteCommand=new o.Emitter,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new o.Emitter,this.onDidExecuteCommand=this._onDidExecuteCommand.event}executeCommand(h,...u){this._onWillExecuteCommand.fire({commandId:h,args:u});const d=this.commandRegistry.executeCommand(h,...u).finally(()=>{this._onDidExecuteCommand.fire({commandId:h,args:u})});return Promise.resolve(d)}async tryExecuteCommand(h,...u){try{return await this.executeCommand(h,...u)}catch(d){(0,v.getDebugLogger)().warn(d)}}};t.CommandServiceImpl=g,n.__decorate([(0,r.Autowired)(t.CommandRegistry),n.__metadata("design:type",s)],g.prototype,"commandRegistry",void 0),t.CommandServiceImpl=g=n.__decorate([(0,r.Injectable)()],g)},27833:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GitCommands=void 0,t.GitCommands={Stage:"git.stage",StageAllMerge:"git.stageAllMerge"}},22774:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareFileNames=c,t.comparePaths=v,t.compareAnything=m,t.compareByPrefix=_,t.compareRangesUsingStarts=s;const n=e(70392),{sep:r}=n.path,o=new n.IdleValue(()=>{const g=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:g,collatorIsNumeric:g.resolvedOptions().numeric}});function c(g,l,h=!1){const u=g||"",d=l||"",E=o.getValue().collator.compare(u,d);return o.getValue().collatorIsNumeric&&E===0&&u!==d?u<d?-1:1:E}function p(g,l,h=!1){return h||(g=g&&g.toLowerCase(),l=l&&l.toLowerCase()),g===l?0:g<l?-1:1}function v(g,l,h=!1){const u=g.split(r),d=l.split(r),E=u.length-1,f=d.length-1;let a,b;for(let y=0;;y++){if(a=E===y,b=f===y,a&&b)return c(u[y],d[y],h);if(a)return-1;if(b)return 1;const A=p(u[y],d[y],h);if(A!==0)return A}}function m(g,l,h){const u=g.toLowerCase(),d=l.toLowerCase(),E=_(g,l,h);if(E)return E;const f=u.endsWith(h),a=d.endsWith(h);if(f!==a)return f?-1:1;const b=c(u,d);return b!==0?b:u.localeCompare(d)}function _(g,l,h){const u=g.toLowerCase(),d=l.toLowerCase(),E=u.startsWith(h),f=d.startsWith(h);if(E!==f)return E?-1:1;if(E&&f){if(u.length<d.length)return-1;if(u.length>d.length)return 1}return 0}function s(g,l){if(g&&l){const d=g.startLineNumber|0,E=l.startLineNumber|0;if(d===E){const f=g.startColumn|0,a=l.startColumn|0;if(f===a){const b=g.endLineNumber|0,y=l.endLineNumber|0;if(b===y){const A=g.endColumn|0,S=l.endColumn|0;return A-S}return b-y}return f-a}return d-E}return(g?1:0)-(l?1:0)}},27356:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserConnectionErrorEvent=t.BrowserConnectionOpenEvent=t.BrowserConnectionCloseEvent=void 0;const n=e(17010);class r extends n.BasicEvent{}t.BrowserConnectionCloseEvent=r;class o extends n.BasicEvent{}t.BrowserConnectionOpenEvent=o;class c extends n.BasicEvent{}t.BrowserConnectionErrorEvent=c},4588:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_VSCODE_ENGINE_VERSION=t.DEFAULT_OPENVSX_REGISTRY=t.DEFAULT_URI_SCHEME=t.DEFAULT_APPLICATION_WEB_HOST=t.DEFAULT_APPLICATION_DESKTOP_HOST=t.DEFAULT_APPLICATION_NAME=void 0,t.DEFAULT_APPLICATION_NAME="OpenSumi",t.DEFAULT_APPLICATION_DESKTOP_HOST="desktop",t.DEFAULT_APPLICATION_WEB_HOST="web",t.DEFAULT_URI_SCHEME="sumi",t.DEFAULT_OPENVSX_REGISTRY="https://open-vsx.org",t.DEFAULT_VSCODE_ENGINE_VERSION="1.96.2"},69734:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(4588),t),n.__exportStar(e(47206),t)},47206:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_TYPES=void 0,t.LOCALE_TYPES={EN_US:"en-US",ZH_CN:"zh-CN"}},31470:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseContributionProvider=t.ContributionProvider=void 0,t.createContributionProvider=n,t.ContributionProvider=Symbol("ContributionProvider");class e{constructor(o,c){this.domain=o,this.injector=c}addContribution(...o){for(const c of o)this.injector.addProviders(c),this.services&&this.services.push(this.injector.get(c))}getContributions(){return this.injector.getFromDomain(this.domain)}reload(){return this.services=this.injector.getFromDomain(this.domain),this.services}}t.BaseContributionProvider=e;function n(r,o){const c=new e(o,r);r.addProviders({token:o,useValue:c})}},21921:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INativeCredentialService=t.KeytarServicePath=void 0,t.KeytarServicePath="/services/keytar",t.INativeCredentialService=Symbol("INativeCredentialService")},54937:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INativeCryptoService=t.CryptoServicePath=void 0,t.CryptoServicePath="/services/crypto",t.INativeCryptoService=Symbol("INativeCryptoService")},91368:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65265:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DevtoolsLantencyCommand=t.EDevtoolsEvent=void 0;var e;(function(r){r.Latency="devtools:latency"})(e||(t.EDevtoolsEvent=e={}));var n;(function(r){r.Start="start",r.Stop="stop"})(n||(t.DevtoolsLantencyCommand=n={}))},3288:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Domain=r;const n=e(76003);function r(...o){return c=>{const p=(0,n.getInjectableOpts)(c)||{};p.domain=o,(0,n.markInjectable)(c,p)}}},98295:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(3288),t)},10725:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CUSTOM_EDITOR_SCHEME=void 0,t.CUSTOM_EDITOR_SCHEME="vscode_customEditor"},37406:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IElectronURLService=t.IElectronMainLifeCycleService=t.IElectronMainUIService=void 0,t.IElectronMainUIService="IElectronMainUIService",t.IElectronMainLifeCycleService="IElectronMainLifeCycleService",t.IElectronURLService="IElectronURLService"},76997:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstSessionDateStorageKey=void 0,t.firstSessionDateStorageKey="sumi.env.firstSessionDate"},39156:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwNonElectronError=e;function e(n){throw new Error(`This method(${n}) is not implemented for non-electron environment`)}},97033:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasicEvent=void 0;class e{constructor(r){this.payload=r}}t.BasicEvent=e},62797:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IEventBus=void 0,t.IEventBus=Symbol("IEventBus")},96373:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventBusImpl=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(97033);let p=class{constructor(){this.emitterMap=new Map}fire(m,_={}){const s=m&&m.constructor;if(typeof s=="function"&&c.BasicEvent.isPrototypeOf(s)){const g=this.emitterMap.get(s);g&&g.fire(m)}}async fireAndAwait(m,_={timeout:2e3}){const s=m&&m.constructor;if(typeof s=="function"&&c.BasicEvent.isPrototypeOf(s)){const g=this.emitterMap.get(s);if(g)return g.fireAndAwait(m,_.timeout)}return[]}on(m,_){return this.getOrCreateEmitter(m).event(_)}once(m,_){const s=this.getOrCreateEmitter(m);return o.Event.once(s.event)(_)}getOrCreateEmitter(m){const _=this.emitterMap.get(m);if(_)return _;const s=new o.Emitter;return this.emitterMap.set(m,s),s}onDirective(m,_){return this.getOrCreateEmitter(m).event(_)}fireDirective(m,_){const s=this.emitterMap.get(m);s&&s.fire(_)}};t.EventBusImpl=p,t.EventBusImpl=p=n.__decorate([(0,r.Injectable)()],p)},25234:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WithEventBus=void 0,t.OnEvent=m;const n=e(85608),r=e(76003),o=e(70392),c=e(62797),p=Symbol("EVENT_TOKEN");class v extends o.Disposable{constructor(...s){super(...s);const g=Reflect.getMetadata(p,this)||new Map;for(const[l,h]of g.entries()){const u=this.eventBus.on(h,d=>this[l](d));this.addDispose(u)}}}t.WithEventBus=v,n.__decorate([(0,r.Autowired)(c.IEventBus),n.__metadata("design:type",Object)],v.prototype,"eventBus",void 0);function m(_){return(s,g,l)=>{const h=Reflect.getMetadata(p,s)||new Map;h.set(g,_),Reflect.defineMetadata(p,h,s)}}},17010:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(97033),t),n.__exportStar(e(62797),t),n.__exportStar(e(96373),t),n.__exportStar(e(25234),t)},34022:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IExtensionsSchemaService=void 0,t.IExtensionsSchemaService=Symbol("IExtensionsSchemaService")},62917:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HEAP=void 0,t.WASMInterface=v;const n=e(62777),r=e(29692);t.MAX_HEAP=16384;const o=4,c=new n.Mutex,p=new Map;async function v(m,_){let s=null,g=null,l=!1;if(typeof WebAssembly>"u")throw new Error("WebAssembly is not supported in this environment!");const h=(P,k=0)=>{g?.set(P,k)},u=()=>g,d=()=>s?.exports,E=P=>{(s?.exports).Hash_SetMemorySize(P);const k=(s?.exports).Hash_GetBuffer(),F=(s?.exports).memory.buffer;g=new Uint8Array(F,k,P)},f=()=>new DataView((s?.exports).memory.buffer).getUint32((s?.exports).STATE_SIZE,!0),a=c.dispatch(async()=>{if(!p.has(m.name)){const k=(0,r.decodeBase64)(m.data),F=WebAssembly.compile(k);p.set(m.name,F)}const P=await p.get(m.name);s=await WebAssembly.instantiate(P)}),b=async()=>{s||await a;const P=(s?.exports).Hash_GetBuffer(),k=(s?.exports).memory.buffer;g=new Uint8Array(k,P,t.MAX_HEAP)},y=(P=null)=>{l=!0,(s?.exports).Hash_Init(P)},A=P=>{let k=0;for(;k<P.length;){const F=P.subarray(k,k+t.MAX_HEAP);k+=F.length,g?.set(F),(s?.exports).Hash_Update(F.length)}},S=P=>{if(!l)throw new Error("update() called before init()");const k=(0,r.getUInt8Buffer)(P);A(k)},w=new Uint8Array(_*2),T=(P,k=null)=>{if(!l)throw new Error("digest() called before init()");return l=!1,(s?.exports).Hash_Final(k),P==="binary"?g.slice(0,_):(0,r.getDigestHex)(w,g,_)},D=()=>{if(!l)throw new Error("save() can only be called after init() and before digest()");const P=(s?.exports).Hash_GetState(),k=f(),F=(s?.exports).memory.buffer,L=new Uint8Array(F,P,k),B=new Uint8Array(o+k);return(0,r.writeHexToUInt8)(B,m.hash),B.set(L,o),B},I=P=>{if(!(P instanceof Uint8Array))throw new Error("load() expects an Uint8Array generated by save()");const k=(s?.exports).Hash_GetState(),F=f(),L=o+F,B=(s?.exports).memory.buffer;if(P.length!==L)throw new Error(`Bad state length (expected ${L} bytes, got ${P.length})`);if(!(0,r.hexStringEqualsUInt8)(m.hash,P.subarray(0,o)))throw new Error("This state was written by an incompatible hash implementation");const j=P.subarray(o);new Uint8Array(B,k,F).set(j),l=!0},O=P=>typeof P=="string"?P.length<t.MAX_HEAP/4:P.byteLength<t.MAX_HEAP;let M=O;switch(m.name){case"argon2":case"scrypt":M=()=>!0;break;case"blake2b":case"blake2s":M=(P,k)=>k<=512&&O(P);break;case"blake3":M=(P,k)=>k===0&&O(P);break;case"xxhash64":case"xxhash3":case"xxhash128":M=()=>!1;break;default:break}const R=(P,k=null,F=null)=>{if(!M(P,k))return y(k),S(P),T("hex",F);const L=(0,r.getUInt8Buffer)(P);return g?.set(L),(s?.exports).Hash_Calculate(L.length,k,F),(0,r.getDigestHex)(w,g,_)};return await b(),{getMemory:u,writeMemory:h,getExports:d,setMemorySize:E,init:y,update:S,digest:T,save:D,load:I,calculate:R,hashLength:_}}},96405:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashCalculateServiceImpl=t.IHashCalculateService=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(17198),p=n.__importDefault(e(87661)),v=e(62777);t.IHashCalculateService=Symbol("IHashCalculateService");function m(){const s=new v.Mutex;return(0,c.lockedCreate)(s,p.default,16)}let _=class{constructor(){this._initialized=!1}get initialized(){return this._initialized}async initialize(){this.cachedCalculator||(this.cachedCalculator=await m()),this._initialized=!0}calculate(g){if(!this.initialized)throw new Error("Please call #initialize first!");return this.cachedCalculator.calculate(g)}};t.HashCalculateServiceImpl=_,n.__decorate([o.memoize,n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[]),n.__metadata("design:returntype",Promise)],_.prototype,"initialize",null),t.HashCalculateServiceImpl=_=n.__decorate([(0,r.Injectable)()],_)},17198:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lockedCreate=r;const n=e(62917);async function r(o,c,p){const v=await o.lock(),m=await(0,n.WASMInterface)(c,p);return v(),m}},62777:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutex=void 0;class e{constructor(){this.mutex=Promise.resolve()}lock(){let r=()=>{};return this.mutex=this.mutex.then(()=>new Promise(r)),new Promise(o=>{r=o})}async dispatch(r){const o=await this.lock();try{return await Promise.resolve(r())}finally{o()}}}t.Mutex=e},29692:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUInt8Buffer=void 0,t.intArrayToString=r,t.writeHexToUInt8=c,t.hexStringEqualsUInt8=p,t.getDigestHex=_,t.encodeBase64=l,t.getDecodeBase64Length=h,t.decodeBase64=u;var n=e(65880);Object.defineProperty(t,"getUInt8Buffer",{enumerable:!0,get:function(){return n.getUInt8Buffer}});function r(d,E){return String.fromCharCode(...d.subarray(0,E))}function o(d,E){return(d&15)+(d>>6|d>>3&8)<<4|(E&15)+(E>>6|E>>3&8)}function c(d,E){const f=E.length>>1;for(let a=0;a<f;a++){const b=a<<1;d[a]=o(E.charCodeAt(b),E.charCodeAt(b+1))}}function p(d,E){if(d.length!==E.length*2)return!1;for(let f=0;f<E.length;f++){const a=f<<1;if(E[f]!==o(d.charCodeAt(a),d.charCodeAt(a+1)))return!1}return!0}const v=87,m=48;function _(d,E,f){let a=0;for(let b=0;b<f;b++){let y=E[b]>>>4;d[a++]=y>9?y+v:y+m,y=E[b]&15,d[a++]=y>9?y+v:y+m}return String.fromCharCode.apply(null,d)}const s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=new Uint8Array(256);for(let d=0;d<s.length;d++)g[s.charCodeAt(d)]=d;function l(d,E=!0){const f=d.length,a=f%3,b=[],y=f-a;for(let A=0;A<y;A+=3){const S=(d[A]<<16&16711680)+(d[A+1]<<8&65280)+(d[A+2]&255),w=s.charAt(S>>18&63)+s.charAt(S>>12&63)+s.charAt(S>>6&63)+s.charAt(S&63);b.push(w)}if(a===1){const A=d[f-1],S=s.charAt(A>>2),w=s.charAt(A<<4&63);b.push(`${S}${w}`),E&&b.push("==")}else if(a===2){const A=(d[f-2]<<8)+d[f-1],S=s.charAt(A>>10),w=s.charAt(A>>4&63),T=s.charAt(A<<2&63);b.push(`${S}${w}${T}`),E&&b.push("=")}return b.join("")}function h(d){let E=Math.floor(d.length*.75);const f=d.length;return d[f-1]==="="&&(E-=1,d[f-2]==="="&&(E-=1)),E}function u(d){const E=h(d),f=d.length,a=new Uint8Array(E);let b=0;for(let y=0;y<f;y+=4){const A=g[d.charCodeAt(y)],S=g[d.charCodeAt(y+1)],w=g[d.charCodeAt(y+2)],T=g[d.charCodeAt(y+3)];a[b]=A<<2|S>>4,b+=1,a[b]=(S&15)<<4|w>>2,b+=1,a[b]=(w&3)<<6|T&63,b+=1}return a}},6397:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGenerator=t.IdGenerator=void 0;class e{constructor(r){this._prefix=r,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}t.IdGenerator=e,t.defaultGenerator=new e("id#")},43718:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(98295),t),n.__exportStar(e(17010),t),n.__exportStar(e(31470),t),n.__exportStar(e(91368),t),n.__exportStar(e(10725),t),n.__exportStar(e(6859),t),n.__exportStar(e(85200),t),n.__exportStar(e(92323),t),n.__exportStar(e(52015),t),n.__exportStar(e(33783),t),n.__exportStar(e(9380),t),n.__exportStar(e(67607),t),n.__exportStar(e(9331),t),n.__exportStar(e(10484),t),n.__exportStar(e(4892),t),n.__exportStar(e(82288),t),n.__exportStar(e(7421),t),n.__exportStar(e(27356),t),n.__exportStar(e(22774),t),n.__exportStar(e(66926),t),n.__exportStar(e(29574),t),n.__exportStar(e(64779),t),n.__exportStar(e(72148),t),n.__exportStar(e(26298),t),n.__exportStar(e(13639),t),n.__exportStar(e(76997),t),n.__exportStar(e(21921),t),n.__exportStar(e(54937),t),n.__exportStar(e(48669),t),n.__exportStar(e(71990),t),n.__exportStar(e(86560),t),n.__exportStar(e(79924),t),n.__exportStar(e(3092),t),n.__exportStar(e(59430),t),n.__exportStar(e(34022),t),n.__exportStar(e(3611),t),n.__exportStar(e(69383),t),n.__exportStar(e(55563),t)},82288:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},26298:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(27315),t),n.__exportStar(e(16872),t)},16872:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutChangeNotifierService=t.KeyboardNativeLayoutService=t.keyboardPath=void 0,t.keyboardPath="/services/keyboard",t.KeyboardNativeLayoutService=Symbol("KeyboardNativeLayoutService"),t.KeyboardLayoutChangeNotifierService=Symbol("KeyboardLayoutChangeNotifierService")},27315:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeymapInfo=void 0,t.getKeyboardLayoutId=o;const n=e(70392);function r(p){const v=p,m={};for(const _ in v){const s=v[_];if(s.length){const g=s[0],l=s[1],h=s[2],u=s[3],d=Number(s[4]),E=s.length===6?s[5]:void 0;m[_]={value:g,vkey:E,withShift:l,withAltGr:h,withShiftAltGr:u,valueIsDeadKey:(d&1)>0,withShiftIsDeadKey:(d&2)>0,withAltGrIsDeadKey:(d&4)>0,withShiftAltGrIsDeadKey:(d&8)>0}}else m[_]={value:"",valueIsDeadKey:!1,withShift:"",withShiftIsDeadKey:!1,withAltGr:"",withAltGrIsDeadKey:!1,withShiftAltGr:"",withShiftAltGrIsDeadKey:!1}}return m}function o(p){return p.name?p.name:p.id?p.id:p.layout}class c{constructor(v,m,_,s){this.layout=v,this.secondaryLayouts=m,this.mapping=r(_),this.isUserKeyboardLayout=!!s,this.layout.isUserKeyboardLayout=!!s}static createKeyboardLayoutFromDebugInfo(v,m,_){const s=new c(v,[],{},!0);return s.mapping=m,s}update(v){this.layout=v.layout,this.secondaryLayouts=v.secondaryLayouts,this.mapping=v.mapping,this.isUserKeyboardLayout=v.isUserKeyboardLayout,this.layout.isUserKeyboardLayout=v.isUserKeyboardLayout}getScore(v){let m=0;for(const _ in v){if(n.isWindows&&(_==="Backslash"||_==="KeyQ")||n.isLinux&&(_==="Backspace"||_==="Escape"))continue;const s=this.mapping[_];s===void 0&&(m-=1);const g=v[_];s&&g&&s.value!==g.value&&(m-=1)}return m}equal(v){return this.isUserKeyboardLayout!==v.isUserKeyboardLayout||o(this.layout)!==o(v.layout)?!1:this.fuzzyEqual(v.mapping)}fuzzyEqual(v){for(const m in v){if(n.isWindows&&(m==="Backslash"||m==="KeyQ"))continue;if(this.mapping[m]===void 0)return!1;const _=this.mapping[m],s=v[m];if(_.value!==s.value)return!1}return!0}}t.KeymapInfo=c},72148:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasicTextLines=void 0;class e{constructor(r,o){this._lines=r,this._eol=o}getContent(){return this._lines.join(this._eol)}_setLineText(r,o){this._lines[r]=o}acceptEol(r){this._eol=r}acceptChange(r){this._acceptDeleteRange(r.range),this._acceptInsertText({lineNumber:r.range.startLineNumber,column:r.range.startColumn},r.text||"")}_getLineContent(r){return this._lines[r]||""}_acceptDeleteRange(r){if(r.startLineNumber===r.endLineNumber){if(r.startColumn===r.endColumn)return;this._setLineText(r.startLineNumber-1,this._getLineContent(r.startLineNumber-1).substring(0,r.startColumn-1)+this._getLineContent(r.startLineNumber-1).substring(r.endColumn-1));return}this._setLineText(r.startLineNumber-1,this._getLineContent(r.startLineNumber-1).substring(0,r.startColumn-1)+this._getLineContent(r.endLineNumber-1).substring(r.endColumn-1)),this._lines.splice(r.startLineNumber,r.endLineNumber-r.startLineNumber)}_acceptInsertText(r,o){if(o.length===0)return;const c=o.split(/\r\n|\r|\n/);if(c.length===1){this._setLineText(r.lineNumber-1,this._getLineContent(r.lineNumber-1).substring(0,r.column-1)+c[0]+this._getLineContent(r.lineNumber-1).substring(r.column-1));return}c[c.length-1]+=this._getLineContent(r.lineNumber-1).substring(r.column-1),this._setLineText(r.lineNumber-1,this._getLineContent(r.lineNumber-1).substring(0,r.column-1)+c[0]);const p=new Uint32Array(c.length-1);for(let v=1;v<c.length;v++)this._lines.splice(r.lineNumber+v-1,0,c[v]),p[v-1]=c[v].length+this._eol.length}}t.BasicTextLines=e},33783:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localizationRegistryMap=void 0,t.localize=p,t.formatLocalize=v,t.registerLocalizationBundle=m,t.getLanguageId=g,t.getCodeLanguage=l,t.getCurrentLanguageInfo=h,t.setLanguageId=u,t.getAvailableLanguages=d,t.replaceLocalizePlaceholder=f,t.replaceNlsField=a,t.createLocalizedStr=b,t.createFormatLocalizedStr=y;const n=e(70392),{format:r,mnemonicButtonLabel:o}=n.strings;let c="zh-CN";t.localizationRegistryMap=new n.CaseInsensitiveMap;function p(A,S,w="host",T=c){return E(w).getLocalizeString(A,S,T)}function v(A,...S){return r(p(A),...S)}function m(A,S="host"){return E(S).registerLocalizationBundle(A)}function _(A){return typeof A=="object"&&A.message}class s{constructor(){this.localizationMap=new n.CaseInsensitiveMap,this.localizationInfo=new n.CaseInsensitiveMap}registerLocalizationBundle(S){const w=S.languageId;if(!w)return;const T=this.getContents(w);Object.keys(S.contents).forEach(D=>{const I=S.contents[D];let O;_(I)?O=I.message:O=I,T[D]=o(O,!0)}),this.localizationInfo.has(w)||this.localizationInfo.set(w,Object.assign({},S,{contents:void 0}))}getLocalizeString(S,w,T=c){return this.getContents(T)[S]||this.getContents("default")[S]||w||""}getContents(S="zh-CN"){return S?(this.localizationMap.has(S)||this.localizationMap.set(S,{}),this.localizationMap.get(S)):{}}getAllLanguages(){return Array.from(this.localizationInfo.values())}}function g(){return c}function l(){var A;const S=c.toLowerCase();return(A={"en-us":"en"}[S])!==null&&A!==void 0?A:S}function h(A="host"){return E(A).localizationInfo.get(c)}function u(A){c=A}function d(A="host"){return E(A).getAllLanguages()}function E(A){return t.localizationRegistryMap.has(A)||t.localizationRegistryMap.set(A,new s),t.localizationRegistryMap.get(A)}function f(A,S){return A&&A.replace(/%(.*?)%/g,(w,T)=>p(T,w,S).replace(/\"/g,'\\"'))}function a(A,S,w=void 0,T=c){if(A){const I=/^%([\w\d.-]+)%$/i.exec(A);if(I)return p(I[1],w,S,T)}return A}function b(A,S,w,T,D="en-US"){const I=a(A,S,w,T)||A,O=a(A,S,void 0,D);return{raw:A,localized:I,alias:O||I}}function y(A,...S){const w="en-US",T=r(p(A,A,void 0),...S)||A,D=r(p(A,A,void 0,w),...S);return{raw:A,localized:T,alias:D||T}}},4892:(x,t,e)=>{"use strict";var n=e(39907);Object.defineProperty(t,"__esModule",{value:!0}),t.ILogger=t.DebugLog=t.ILoggerManagerClient=t.LogServiceForClientPath=t.ILogServiceManager=t.SupportLogNamespace=t.LogLevel=void 0,t.getDebugLogger=m;var r;(function(_){_[_.Verbose=0]="Verbose",_[_.Debug=1]="Debug",_[_.Info=2]="Info",_[_.Warning=3]="Warning",_[_.Error=4]="Error",_[_.Critical=5]="Critical",_[_.Off=6]="Off"})(r||(t.LogLevel=r={}));var o;(function(_){_.Main="main",_.Render="render",_.Node="node",_.Browser="browser",_.ExtensionHost="extHost",_.WatcherHost="watcherHost",_.App="app",_.OTHER="other"})(o||(t.SupportLogNamespace=o={})),t.ILogServiceManager=Symbol("ILogServiceManager"),t.LogServiceForClientPath="LogServiceForClientPath",t.ILoggerManagerClient=Symbol("ILoggerManagerClient");const c=typeof n<"u"&&n.release,p=!c&&/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);class v{constructor(s){this.isEnable=!1,this.verbose=(...g)=>{if(this.isEnable)return console.debug(this.getPre("verbose","green"),...g)},this.debug=(...g)=>{if(this.isEnable)return console.debug(this.getPre("debug","blue"),...g)},this.log=(...g)=>{if(this.isEnable)return console.log(this.getPre("log","green"),...g)},this.error=(...g)=>console.error(this.getPre("error","red"),...g),this.warn=(...g)=>{if(this.isEnable)return console.warn(this.getPre("warn","yellow"),...g)},this.info=(...g)=>{if(this.isEnable)return console.info(this.getPre("log","green"),...g)},typeof n<"u"&&n.env&&n.env.KTLOG_SHOW_DEBUG&&(this.isEnable=!0),this.namespace=s||""}getPre(s,g){let l=this.getColor("green",`[${new Date().toLocaleString("zh-CN")}] `);return l+=this.namespace?`[${this.namespace}:${s}]`:`[${s}]`,this.getColor(g,l)}getColor(s,g){if(!c&&!p)return g;const l={reset:"\x1B[0m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",blackBg:"\x1B[40m",redBg:"\x1B[41m",greenBg:"\x1B[42m",yellowBg:"\x1B[43m",blueBg:"\x1B[44m",magentaBg:"\x1B[45m",cyanBg:"\x1B[46m",whiteBg:"\x1B[47m"};return(l[s]||"")+g+l.reset}destroy(){}}t.DebugLog=v,t.ILogger=Symbol("ILogger");function m(_){function s(){}const g=new v(_);return{get verbose(){return g.verbose},get log(){return g.log},get debug(){return g.debug},get error(){return g.error},get info(){return g.info},get warn(){return g.warn},destroy(){}}}},48669:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toMarkdownString=e;function e(n,r){return{value:n,...r}}},52015:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IElectronMainMenuService=void 0,t.IElectronMainMenuService="IElectronMainMenuService"},3092:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mimes=void 0,t.normalizeMimeType=n,t.isTextStreamMime=r,t.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"});const e=/^(.+)\/(.+?)(;.+)?$/;function n(o,c){var p;const v=e.exec(o);return v?`${v[1].toLowerCase()}/${v[2].toLowerCase()}${(p=v[3])!==null&&p!==void 0?p:""}`:c?void 0:o}function r(o){return["application/vnd.code.notebook.stdout","application/vnd.code.notebook.stderr"].includes(o)}},85200:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleDependenciesKey=t.BasicModule=void 0,t.ModuleDependencies=c,t.getModuleDependencies=p;const n=e(85608),r=e(76003);let o=class{};t.BasicModule=o,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],o.prototype,"injector",void 0),t.BasicModule=o=n.__decorate([(0,r.Injectable)()],o),t.ModuleDependenciesKey="dependencies";function c(v){return m=>{Reflect.defineMetadata(t.ModuleDependenciesKey,v,m)}}function p(v){return Reflect.getMetadata(t.ModuleDependenciesKey,v)}},10484:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Schemes=void 0;var e;(function(n){n.inMemory="inmemory",n.vscode="vscode",n.internal="private",n.walkThrough="walkThrough",n.walkThroughSnippet="walkThroughSnippet",n.http="http",n.https="https",n.file="file",n.mailto="mailto",n.untitled="untitled",n.data="data",n.command="command",n.vscodeRemote="vscode-remote",n.userData="vscode-userdata",n.userStorage="user_storage",n.design="design",n.wasm="wasm",n.monaco="monaco",n.notebookCell="vscode-notebook-cell"})(e||(t.Schemes=e={}))},87863:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultFilesWatcherExcludes=void 0,t.flattenExcludes=e,t.defaultFilesWatcherExcludes={"**/.git/objects/**":!0,"**/.git/subtree-cache/**":!0,"**/node_modules/**/*":!0,"**/.hg/store/**":!0};function e(n){const r=[];for(const o of Object.keys(n))n[o]&&r.push(o);return r}},67607:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(18292),t),n.__exportStar(e(87023),t)},18292:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PREFERENCE_PROPERTY_TYPE=t.PreferenceDataProperty=t.PreferenceSchemaProperties=t.PreferenceSchema=void 0;const n=e(87023);var r;(function(p){function v(_){return!!_&&"properties"in _&&o.is(_.properties)}p.is=v;function m(_){let s=n.PreferenceScope.Workspace;return n.PreferenceScope.is(_.scope)?s=_.scope:s=n.PreferenceScope.fromString(_.scope)||n.PreferenceScope.Workspace,s}p.getDefaultScope=m})(r||(t.PreferenceSchema=r={}));var o;(function(p){function v(m){return!!m&&typeof m=="object"}p.is=v})(o||(t.PreferenceSchemaProperties=o={}));var c;(function(p){function v(m,_=n.PreferenceScope.Workspace){if(!m.scope)m.scope=_;else if(typeof m.scope=="string")return Object.assign(m,{scope:n.PreferenceScope.fromString(m.scope)||_});return m}p.fromPreferenceSchemaProperty=v})(c||(t.PreferenceDataProperty=c={})),t.PREFERENCE_PROPERTY_TYPE={STRING:"string",ARRAY:"array",INT:"integer",NUMBER:"number",OBJECT:"object",BOOLEAN:"boolean",NULL:"null",STRING_ARRAY:"string[]"}},87023:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VSCODE_WORKSPACE_CONFIGURATION_DIR_NAME=t.DEFAULT_WORKSPACE_CONFIGURATION_DIR_NAME=t.UserScope=t.WorkspaceScope=t.PreferenceScope=void 0;var e;(function(n){n[n.Default=0]="Default",n[n.User=1]="User",n[n.Workspace=2]="Workspace",n[n.Folder=3]="Folder"})(e||(t.PreferenceScope=e={})),t.WorkspaceScope={id:e.Workspace,label:"preference.tab.workspace"},t.UserScope={id:e.User,label:"preference.tab.user"},function(n){function r(m){return typeof m=="number"&&o().findIndex(_=>_===m)>=0}n.is=r;function o(){return Object.keys(n).filter(m=>typeof n[m]=="string").map(m=>Number(m))}n.getScopes=o;function c(){return o().reverse()}n.getReversedScopes=c;function p(m){const _=[],s=Object.keys(n).filter(g=>typeof n[g]=="number");if(m)for(const g of s)n[g]<=m&&_.push(g);return _}n.getScopeNames=p;function v(m){switch(m){case"application":return n.User;case"window":return n.Folder;case"resource":return n.Folder}}n.fromString=v}(e||(t.PreferenceScope=e={})),t.DEFAULT_WORKSPACE_CONFIGURATION_DIR_NAME=".sumi",t.VSCODE_WORKSPACE_CONFIGURATION_DIR_NAME=".vscode"},29574:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProblemMatchersRegistryImpl=t.IProblemMatcherRegistry=t.WatchingMatcher=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(66926);var p;(function(m){function _(s){if(s)return{activeOnStart:!!s.activeOnStart,beginsPattern:typeof s.beginsPattern=="string"?{regexp:s.beginsPattern}:s.beginsPattern,endsPattern:typeof s.endsPattern=="string"?{regexp:s.endsPattern}:s.endsPattern}}m.fromWatchingMatcherContribution=_})(p||(t.WatchingMatcher=p={})),t.IProblemMatcherRegistry=Symbol("IProblemMatcherRegistry");let v=class{constructor(){this.onDidChangeProblemMatcherEmitter=new o.Emitter,this.matchers=new Map,this.get=_=>_.startsWith("$")?this.matchers.get(_.slice(1)):this.matchers.get(_),this.init()}init(){this.fillDefaults()}getAll(){const _=[];for(const s of this.matchers.keys())_.push(this.get(s));return _.sort((s,g)=>s.name.localeCompare(g.name)),_}register(_){if(!_.name)return console.error("Only named Problem Matchers can be registered."),o.Disposable.NULL;const s=new o.DisposableCollection(o.Disposable.create(()=>{this.onDidChangeProblemMatcherEmitter.fire(void 0)}));return this.doRegister(_,s).then(()=>this.onDidChangeProblemMatcherEmitter.fire(void 0)),s}async doRegister(_,s){const g=await this.getProblemMatcherFromContribution(_);s.disposed||s.push(this.add(g))}add(_){return this.matchers.set(_.name,_),o.Disposable.create(()=>this.matchers.delete(_.name))}async getProblemMatcherFromContribution(_){let s;_.base&&(s=this.get(_.base));let g,l;if(_.fileLocation===void 0)g=s?s.fileLocation:c.FileLocationKind.Relative,l=s?s.filePrefix:"${workspaceFolder}";else{const b=this.getFileLocationKindAndPrefix(_);g=b.fileLocation,l=b.filePrefix}const h=[];if(_.pattern)if(typeof _.pattern=="string"){await this.problemPattern.onReady();const b=this.problemPattern.get(_.pattern);Array.isArray(b)?h.push(...b):b&&h.push(b)}else Array.isArray(_.pattern)?h.push(..._.pattern.map(b=>c.ProblemPattern.fromProblemPatternContribution(b))):h.push(c.ProblemPattern.fromProblemPatternContribution(_.pattern));else s&&h.push(...s.pattern);let u=_.deprecated;u===void 0&&s&&(u=s.deprecated);let d;_.applyTo===void 0?d=s?s.applyTo:c.ApplyToKind.allDocuments:d=c.ApplyToKind.fromString(_.applyTo)||c.ApplyToKind.allDocuments;let E=c.Severity.fromValue(_.severity);_.severity===void 0&&s&&s.severity!==void 0&&(E=s.severity);let f=p.fromWatchingMatcherContribution(_.background||_.watching);return f===void 0&&s&&(f=s.watching),{name:_.name||(s?s.name:void 0),label:_.label||(s?s.label:void 0),deprecated:u,owner:_.owner||(s?s.owner:""),source:_.source||(s?s.source:void 0),applyTo:d,fileLocation:g,filePrefix:l,pattern:h,severity:E,watching:f}}getFileLocationKindAndPrefix(_){let s=c.FileLocationKind.Relative,g="${workspaceFolder}";if(_.fileLocation!==void 0)if(Array.isArray(_.fileLocation)){if(_.fileLocation.length>0){const l=c.FileLocationKind.fromString(_.fileLocation[0]);_.fileLocation.length===1&&l===c.FileLocationKind.Absolute?s=l:_.fileLocation.length===2&&l===c.FileLocationKind.Relative&&_.fileLocation[1]&&(s=l,g=_.fileLocation[1])}}else{const l=c.FileLocationKind.fromString(_.fileLocation);l&&(s=l,l===c.FileLocationKind.Relative&&(g="${workspaceFolder}"))}return{fileLocation:s,filePrefix:g}}fillDefaults(){this.add({name:"msCompile",label:"Microsoft compiler problems",owner:"msCompile",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("msCompile")}),this.add({name:"lessCompile",label:"Less problems",deprecated:!0,owner:"lessCompile",source:"less",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("lessCompile"),severity:c.Severity.Error}),this.add({name:"gulp-tsc",label:"Gulp TSC Problems",owner:"typescript",source:"ts",applyTo:c.ApplyToKind.closedDocuments,fileLocation:c.FileLocationKind.Relative,filePrefix:"${workspaceFolder}",pattern:this.problemPattern.get("gulp-tsc")}),this.add({name:"jshint",label:"JSHint problems",owner:"jshint",source:"jshint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("jshint")}),this.add({name:"jshint-stylish",label:"JSHint stylish problems",owner:"jshint",source:"jshint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("jshint-stylish")}),this.add({name:"eslint-compact",label:"ESLint compact problems",owner:"eslint",source:"eslint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,filePrefix:"${workspaceFolder}",pattern:this.problemPattern.get("eslint-compact")}),this.add({name:"eslint-stylish",label:"ESLint stylish problems",owner:"eslint",source:"eslint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("eslint-stylish")}),this.add({name:"go",label:"Go problems",owner:"go",source:"go",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Relative,filePrefix:"${workspaceFolder}",pattern:this.problemPattern.get("go")})}};t.ProblemMatchersRegistryImpl=v,n.__decorate([(0,r.Autowired)(c.IProblemPatternRegistry),n.__metadata("design:type",Object)],v.prototype,"problemPattern",void 0),t.ProblemMatchersRegistryImpl=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},66926:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProblemPatternRegistryImpl=t.IProblemPatternRegistry=t.Severity=t.ProblemMatchData=t.ProblemPattern=t.NamedMultiLineCheckedProblemPattern=t.NamedProblemPattern=t.MultiLineCheckedProblemPattern=t.MultiLineProblemPattern=t.CheckedProblemPattern=t.FileLocationKind=t.ProblemLocationKind=t.ApplyToKind=void 0,t.rangeAreEqual=d,t.diagnosticAreEquals=f;const n=e(85608),r=e(76003),o=e(70392);var c;(function(A){A[A.allDocuments=0]="allDocuments",A[A.openDocuments=1]="openDocuments",A[A.closedDocuments=2]="closedDocuments"})(c||(t.ApplyToKind=c={}));var p;(function(A){A[A.Error=1]="Error",A[A.Warning=2]="Warning",A[A.Information=3]="Information",A[A.Hint=4]="Hint"})(p||(p={})),function(A){function S(w){if(w){if(w=w.toLowerCase(),w==="alldocuments")return A.allDocuments;if(w==="opendocuments")return A.openDocuments;if(w==="closeddocuments")return A.closedDocuments}}A.fromString=S}(c||(t.ApplyToKind=c={}));var v;(function(A){A[A.File=0]="File",A[A.Location=1]="Location"})(v||(t.ProblemLocationKind=v={})),function(A){function S(w){return w=w.toLowerCase(),w==="file"?A.File:w==="location"?A.Location:void 0}A.fromString=S}(v||(t.ProblemLocationKind=v={}));var m;(function(A){function S(w){return w=w.toLowerCase(),w==="absolute"?A.Absolute:w==="relative"?A.Relative:void 0}A.fromString=S})(m||(t.FileLocationKind=m={})),function(A){A[A.Default=0]="Default",A[A.Relative=1]="Relative",A[A.Absolute=2]="Absolute",A[A.AutoDetect=3]="AutoDetect"}(m||(t.FileLocationKind=m={}));var _;(function(A){function S(w){const T=w;return T&&(0,o.isString)(T.regexp)}A.is=S})(_||(t.CheckedProblemPattern=_={}));var s;(function(A){function S(w){return w&&(0,o.isArray)(w)}A.is=S})(s||(t.MultiLineProblemPattern=s={}));var g;(function(A){function S(w){if(!s.is(w))return!1;for(const T of w)if(!_.is(T))return!1;return!0}A.is=S})(g||(t.MultiLineCheckedProblemPattern=g={}));var l;(function(A){function S(w){const T=w;return T&&(0,o.isString)(T.name)}A.is=S})(l||(t.NamedProblemPattern=l={}));var h;(function(A){function S(w){const T=w;return T&&(0,o.isString)(T.name)&&(0,o.isArray)(T.patterns)&&g.is(T.patterns)}A.is=S})(h||(t.NamedMultiLineCheckedProblemPattern=h={}));var u;(function(A){function S(w){return{name:w.name,regexp:w.regexp,kind:w.kind?v.fromString(w.kind):void 0,file:w.file,message:w.message,location:w.location,line:w.line,character:w.column||w.character,endLine:w.endLine,endCharacter:w.endColumn||w.endCharacter,code:w.code,severity:w.severity,loop:w.loop}}A.fromProblemPatternContribution=S})(u||(t.ProblemPattern=u={}));function d(A,S){return typeof A>"u"&&typeof S>"u"?!0:A.start.line===S.start.line&&A.start.character===S.start.character&&A.end.line===S.end.line&&A.end.character===S.end.character}function E(A,S){return typeof A=="object"&&typeof S=="object"?A.value===S.value&&A.target===S.target:A===S}function f(A,S){return E(A?.code,S?.code)&&A?.message===S?.message&&A?.source===S?.source&&d(A?.range,S?.range)}var a;(function(A){function S(w){return"marker"in w}A.is=S})(a||(t.ProblemMatchData=a={}));var b;(function(A){A[A.Ignore=0]="Ignore",A[A.Error=1]="Error",A[A.Warning=2]="Warning",A[A.Info=3]="Info",A[A.Log=4]="Log"})(b||(t.Severity=b={})),function(A){const S="Errors",w="Warnings",T="Info",D="Log",I="All";function O(k){return k=k&&k.toLowerCase(),k?["error","errors"].indexOf(k)!==-1?A.Error:["warn","warning","warnings"].indexOf(k)!==-1?A.Warning:k==="info"?A.Info:k==="log"?A.Log:A.Ignore:A.Ignore}A.fromValue=O;function M(k){switch(k){case A.Ignore:return p.Hint;case A.Info:return p.Information;case A.Log:return p.Information;case A.Warning:return p.Warning;case A.Error:return p.Error;default:return p.Error}}A.toDiagnosticSeverity=M;function R(k){switch(k){case A.Error:return S;case A.Warning:return w;case A.Info:return T;case A.Log:return D;default:return I}}A.toString=R;function P(){return[I,S,w,T,D]}A.toArray=P}(b||(t.Severity=b={})),t.IProblemPatternRegistry=Symbol("ProblemPatternRegistry");let y=class{constructor(){this.patterns=new Map,this.init()}init(){this.fillDefaults(),this.readyPromise=new Promise((S,w)=>S(void 0))}onReady(){return this.readyPromise}register(S){if(Array.isArray(S)){const T=new o.DisposableCollection;return S.forEach(D=>T.push(this.register(D))),T}if(!S.name)return console.error("Only named Problem Patterns can be registered."),o.Disposable.NULL;const w=u.fromProblemPatternContribution(S);return this.add(w.name,w)}get(S){return S.startsWith("$")?this.patterns.get(S.slice(1)):this.patterns.get(S)}add(S,w){let T;return Array.isArray(w)?T=w.map(D=>Object.assign(D,{name:S})):T=Object.assign(w,{name:S}),this.patterns.set(S,T),o.Disposable.create(()=>this.patterns.delete(S))}fillDefaults(){this.add("msCompile",{regexp:/^(?:\s+\d+\>)?([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w{1,2}\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("gulp-tsc",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(\d+)\s+(.*)$/.source,kind:v.Location,file:1,location:2,code:3,message:4}),this.add("cpp",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(error|warning|info)\s+(C\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("csc",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(error|warning|info)\s+(CS\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("vb",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(error|warning|info)\s+(BC\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("lessCompile",{regexp:/^\s*(.*) in file (.*) line no. (\d+)$/.source,kind:v.Location,message:1,file:2,line:3}),this.add("jshint",{regexp:/^(.*):\s+line\s+(\d+),\s+col\s+(\d+),\s(.+?)(?:\s+\((\w)(\d+)\))?$/.source,kind:v.Location,file:1,line:2,character:3,message:4,severity:5,code:6}),this.add("jshint-stylish",[{regexp:/^(.+)$/.source,kind:v.Location,file:1},{regexp:/^\s+line\s+(\d+)\s+col\s+(\d+)\s+(.+?)(?:\s+\((\w)(\d+)\))?$/.source,line:1,character:2,message:3,severity:4,code:5,loop:!0}]),this.add("eslint-compact",{regexp:/^(.+):\sline\s(\d+),\scol\s(\d+),\s(Error|Warning|Info)\s-\s(.+)\s\((.+)\)$/.source,file:1,kind:v.Location,line:2,character:3,severity:4,message:5,code:6}),this.add("eslint-stylish",[{regexp:/^([^\s].*)$/.source,kind:v.Location,file:1},{regexp:/^\s+(\d+):(\d+)\s+(error|warning|info)\s+(.+?)(?:\s\s+(.*))?$/.source,line:1,character:2,severity:3,message:4,code:5,loop:!0}]),this.add("go",{regexp:/^([^:]*: )?((.:)?[^:]*):(\d+)(:(\d+))?: (.*)$/.source,kind:v.Location,file:2,line:4,character:6,message:7})}};t.ProblemPatternRegistryImpl=y,t.ProblemPatternRegistryImpl=y=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],y)},6859:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ref=t.ReferenceManager=void 0,t.normalizeFileUrl=r;const n=e(70392);function r(p){return p.replace(/\w+\/\/\w+/gi,v=>v.replace("//","/"))}class o{constructor(v){this.factory=v,this.instances=new Map,this.refs=new Map,this._onReferenceAllDisposed=new n.Emitter,this._onInstanceCreated=new n.Emitter,this.onReferenceAllDisposed=this._onReferenceAllDisposed.event,this.onInstanceCreated=this._onInstanceCreated.event,this._creating=new Map}async getReference(v,m){const _=r(v);if(!this.instances.has(_)){if(!this._creating.has(_)){const g=(async()=>{const l=await this.factory(_);this.instances.set(_,l),this._onInstanceCreated.fire(l)})();this._creating.set(_,g)}try{await this._creating.get(_)}catch(g){throw this._creating.delete(_),g}}const s=this.createRef(_,m);if(this._creating.get(_)){const g=this._creating.get(_);this._creating.delete(_),g?.then(()=>{this.removeRef(_,void 0)})}return s}getReferenceIfHasInstance(v,m){return this.instances.has(v)?this.createRef(v,m):null}createRef(v,m){const _=this.instances.get(v),s=new c(_,m,g=>this.createRef(v,g));return s.addDispose({dispose:()=>{this.removeRef(v,s)}}),this.addRef(v,s),s}addRef(v,m){this.refs.get(v)||this.refs.set(v,[]),this.refs.get(v).push(m)}removeRef(v,m){if(this.refs.get(v)){if(m){const _=this.refs.get(v).indexOf(m);_!==-1&&this.refs.get(v).splice(_,1)}if(this.refs.get(v).length===0){if(this._creating.has(v))return;this.refs.delete(v),this.instances.delete(v),this._onReferenceAllDisposed.fire(v)}}}}t.ReferenceManager=o;class c extends n.Disposable{constructor(v,m,_){super(),this._instance=v,this.reason=m,this._clone=_,this.addDispose({dispose:()=>{this._instance=null,this._clone=null}})}get instance(){if(this.disposed)throw new Error("Ref has been disposed!");return this._instance}hold(v){if(this.disposed)throw new Error("Ref has been disposed!");return this._clone(v)}}t.Ref=c},83176:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GDataStore=p,t.SessionDataStore=v,t.injectGDataStores=_,t.injectSessionDataStores=s;const n=e(76003),r=e(13581),o={GDataStore:{},SessionDataStore:{}};function c(g,l,h){if(o[g][l])return o[g][l].sym;const u=Symbol(`${g}:${l}`);return o[g][l]={sym:u,options:h},u}function p(g,l){const h=c("GDataStore",g,l);return(0,n.Autowired)(h)}function v(g,l){const h=c("SessionDataStore",g,l);return(0,n.Autowired)(h)}function m(g,l){const h=o[g];h&&l.addProviders(...Object.values(h).map(u=>({token:u.sym,useValue:new r.InMemoryDataStore(u.options)})))}function _(g){m("GDataStore",g)}function s(g){m("SessionDataStore",g)}},50068:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(83176),t),n.__exportStar(e(13581),t)},29746:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=o;const n=e(70392);function r(c){const p=[];Object.entries(c).forEach(([m,_])=>{p.push(`item[${JSON.stringify(m)}] === ${JSON.stringify(_)}`)});const v=`
31502
+ ${a}`)}return this.keybindingsChanged.fire({affectsCommands:[E.command]}),{dispose:()=>{this.unregisterKeybinding(E,f)}}}resolveKeybinding(E,f){if(!E.resolved||f){const a=m.KeySequence.parse(E.keybinding);E.resolved=a.map(b=>this.keyboardLayoutService.resolveKeyCode(b))}return E.resolved}clearResolvedKeybindings(){for(let E=s.DEFAULT;E<s.END;E++){const f=this.keymaps[E];for(const a of f){const b=a;b.resolved=void 0}}}containsKeybinding(E,f){const a=this.resolveKeybinding(f),b=this.getKeySequenceCollisions(E,a).filter(y=>y.when===f.when);return b.full.length>0?(this.logger.warn("Collided keybinding is ignored; ",l.stringify(f)," collided with ",b.full.map(y=>l.stringify(y)).join(", ")),!0):b.partial.length>0?(this.logger.warn("Shadowing keybinding is ignored; ",l.stringify(f)," shadows ",b.partial.map(y=>l.stringify(y)).join(", ")),!0):b.shadow.length>0?(this.logger.warn("Shadowed keybinding is ignored; ",l.stringify(f)," would be shadowed by ",b.shadow.map(y=>l.stringify(y)).join(", ")),!0):!1}validateKeybinding(E,f){const a=this.resolveKeybinding(f),b=this.getKeySequenceCollisions(E,a).filter(y=>y.when===f.when);if(b.full.length>0){const y=b.full[0],A=this.commandRegistry.getCommand(y.command);return(0,c.formatLocalize)("keymaps.keybinding.full.collide",`${A?A?.label||A.id:y.command}${y.when?`{${y.when}}`:y.when}`)}if(b.partial.length>0){const y=b.partial[0],A=this.commandRegistry.getCommand(y.command);return(0,c.formatLocalize)("keymaps.keybinding.partial.collide",`${A?A?.label||A.id:y.command}${y.when?`{${y.when}}`:y.when}`)}if(b.shadow.length>0){const y=b.shadow[0],A=this.commandRegistry.getCommand(y.command);return(0,c.formatLocalize)("keymaps.keybinding.shadow.collide",`${A?A?.label||A.id:y.command}${y.when?`{${y.when}}`:y.when}`)}return""}containsKeybindingInScope(E,f=s.USER){return this.containsKeybinding(this.keymaps[f],E)}validateKeybindingInScope(E,f=s.USER){return this.validateKeybinding(this.keymaps[f],E)}acceleratorFor(E,f=" "){const a=this.resolveKeybinding(E);return this.acceleratorForSequence(a,f)}acceleratorForSequence(E,f=" "){return E.map(a=>this.acceleratorForKeyCode(a,f))}acceleratorForKeyString(E,f=" "){const a=m.KeyCode.parse(E);return this.acceleratorForKeyCode(a,f)}capitalizeFirstLetter(E){return E.replace(/^\S/,function(f){return f.toUpperCase()})}acceleratorForKeyCode(E,f=" "){const a=[];return E.ctrl&&a.push(this.capitalizeFirstLetter(m.SpecialCases.CTRL)),E.alt&&a.push(this.capitalizeFirstLetter(m.SpecialCases.ALT)),E.shift&&a.push(this.capitalizeFirstLetter(m.SpecialCases.SHIFT)),E.meta&&(c.isOSX?a.push(m.SpecialCases.MACMETA):a.push(this.capitalizeFirstLetter(m.SpecialCases.META))),E.key&&a.push(this.acceleratorForKey(E.key)),a.join(f)}acceleratorForKey(E){if(c.isOSX){if(E===m.Key.ARROW_LEFT)return m.SpecialCases.ARROW_LEFT;if(E===m.Key.ARROW_RIGHT)return m.SpecialCases.ARROW_RIGHT;if(E===m.Key.ARROW_UP)return m.SpecialCases.ARROW_UP;if(E===m.Key.ARROW_DOWN)return m.SpecialCases.ARROW_DOWN;if(E===m.Key.BACKSPACE)return m.SpecialCases.BACKSPACE;if(E===m.Key.ENTER)return m.SpecialCases.ENTER}const f=this.keyboardLayoutService.getKeyboardCharacter(E);return E.keyCode>=m.Key.KEY_A.keyCode&&E.keyCode<=m.Key.KEY_Z.keyCode||E.keyCode>=m.Key.F1.keyCode&&E.keyCode<=m.Key.F24.keyCode?f.toUpperCase():f.length>1?f.charAt(0).toUpperCase()+f.slice(1):f===" "?m.SpecialCases.SPACE.charAt(0).toUpperCase()+m.SpecialCases.SPACE.slice(1):f}getKeySequenceCollisions(E,f){const a=new h.KeybindingsResult;for(const b of E)try{const y=this.resolveKeybinding(b);switch(m.KeySequence.compare(f,y)){case m.KeySequence.CompareResult.FULL:{a.full.push(b);break}case m.KeySequence.CompareResult.PARTIAL:{a.partial.push(b);break}case m.KeySequence.CompareResult.SHADOW:{a.shadow.push(b);break}}}catch(y){this.logger.warn(y)}return a}getKeybindingsForKeySequence(E,f){const a=new h.KeybindingsResult;for(let y=s.END;--y>=s.DEFAULT;){const A=this.getKeySequenceCollisions(this.keymaps[y],E);A.full=A.full.sort(this.sortKeybindingsByPriority),A.partial=A.partial.sort(this.sortKeybindingsByPriority),a.merge(A)}const b=a.partial.filter(y=>this.isEnabled(y,f));return a.partial=b,a}getKeybindingsForCommand(E){const f=[];for(let a=s.END-1;a>=s.DEFAULT;a--)if(this.keymaps[a].forEach(b=>{const y=this.commandRegistry.getCommand(b.command);y&&y.id===E&&f.push({...b,scope:a})}),f.length>0)return f;return f}getScopedKeybindingsForCommand(E,f){const a=[];return E>=s.END?[]:(this.keymaps[E].forEach(b=>{const y=this.commandRegistry.getCommand(b.command);y&&y.id===f&&a.push(b)}),a)}sortKeybindingsByPriority(E,f){if(E.when&&!f.when)return-1;if(!E.when&&f.when)return 1;const a=(0,c.isUndefined)(E.priority)?g.Default:E.priority;return((0,c.isUndefined)(f.priority)?g.Default:f.priority)-a}isActive(E){if(this.isPseudoCommand(E.command))return!0;const f=this.commandRegistry.getCommand(E.command);return!!f&&!!this.commandRegistry.getActiveHandler(f.id)}isEnabled(E,f){return!(E.when&&!this.whenContextService.match(E.when,f&&f.target))}isPseudoCommand(E){return E===n.PASSTHROUGH_PSEUDO_COMMAND}resetKeybindings(){for(let E=s.DEFAULT+1;E<s.END;E++)this.keymaps[E]=[]}resolveModifierKey(E){if(E.defaultPrevented)return;this.modifierKeySequenceTimer&&clearTimeout(this.modifierKeySequenceTimer);const f=m.KeyCode.createKeyCode(E);if(!f.isModifierOnly()){this.modifierKeySequence=[];return}this.modifierKeySequence.push(f);const a=this.getKeybindingsForKeySequence(this.modifierKeySequence,E);this.tryKeybindingExecution(a.full,E)?this.modifierKeySequence=[]:a.partial.length>0?(E.preventDefault(),E.stopPropagation(),this.modifierKeySequenceTimer=setTimeout(()=>{this.modifierKeySequence=[]},n.MODIFIER_KEYSEQUENCE_TIMEOUT)):this.modifierKeySequence=[]}run(E){if(E.defaultPrevented)return;this.keySequenceTimer&&clearTimeout(this.keySequenceTimer);const f=m.KeyCode.createKeyCode(E);if(f.isModifierOnly())return;this.keyboardLayoutService.validateKeyCode(f),this.keySequence.push(f);const a=this.getKeybindingsForKeySequence(this.keySequence,E);this.tryKeybindingExecution(a.full,E)?(this.keySequence=[],this.statusBar.removeElement("keybinding-status")):a.partial.length>0?(E.preventDefault(),E.stopPropagation(),this.statusBar.addElement("keybinding-status",{text:(0,c.formatLocalize)("keybinding.combination.tip",this.acceleratorForSequence(this.keySequence,"+")),alignment:_.StatusBarAlignment.LEFT,priority:2}),this.keySequenceTimer=setTimeout(()=>{this.keySequence=[],this.statusBar.removeElement("keybinding-status")},n.KEYSEQUENCE_TIMEOUT)):(this.keySequence=[],this.statusBar.removeElement("keybinding-status"))}convert(E,f=" "){const a=m.KeyCode.createKeyCode(E);return a.isModifierOnly()?this.acceleratorForSequence(this.convertKeySequence,"+").join(f):(this.keyboardLayoutService.validateKeyCode(a),this.convertKeySequence.length<=1?this.convertKeySequence.push(a):this.convertKeySequence=[a],this.acceleratorForSequence(this.convertKeySequence,"+").join(f))}clearConvert(){this.convertKeySequence=[]}tryKeybindingExecution(E,f){if(E.length===0)return!1;for(const a of E)if(this.isEnabled(a,f)){if(this.isPseudoCommand(a.command))return!0;{const b=this.commandRegistry.getCommand(a.command);if(b)return this.commandService.executeCommand(b.id,a.args).catch(y=>this.logger.error("Failed to execute command:",y,a.command)),f.preventDefault(),f.stopPropagation(),!0}return!1}return!1}getKeybindingByScope(E){return this.keymaps[E]}};t.KeybindingRegistryImpl=u,u.PASSTHROUGH_PSEUDO_COMMAND="passthrough",u.KEYSEQUENCE_TIMEOUT=5e3,u.MODIFIER_KEYSEQUENCE_TIMEOUT=300,r.__decorate([(0,o.Autowired)(v.KeyboardLayoutService),r.__metadata("design:type",v.KeyboardLayoutService)],u.prototype,"keyboardLayoutService",void 0),r.__decorate([(0,o.Autowired)(t.KeybindingContribution),r.__metadata("design:type",Object)],u.prototype,"keybindingContributionProvider",void 0),r.__decorate([(0,o.Autowired)(c.CommandRegistry),r.__metadata("design:type",Object)],u.prototype,"commandRegistry",void 0),r.__decorate([(0,o.Autowired)(c.CommandService),r.__metadata("design:type",Object)],u.prototype,"commandService",void 0),r.__decorate([(0,o.Autowired)(c.ILogger),r.__metadata("design:type",Object)],u.prototype,"logger",void 0),r.__decorate([(0,o.Autowired)(p.IContextKeyService),r.__metadata("design:type",Object)],u.prototype,"whenContextService",void 0),r.__decorate([(0,o.Autowired)(_.IStatusBarService),r.__metadata("design:type",Object)],u.prototype,"statusBar",void 0),t.KeybindingRegistryImpl=u=n=r.__decorate([(0,o.Injectable)()],u),t.NO_KEYBINDING_NAME="no_keybinding"},37015:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(7967),t),n.__exportStar(e(81331),t),n.__exportStar(e(40504),t)},40504:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardTester=t.BrowserKeyboardLayoutImpl=t.KeyValidator=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(26298),p=e(26542),v=e(5153);t.KeyValidator=Symbol("KeyValidator");let m=class{get onDidChangeNativeLayout(){return this.nativeLayoutChanged.event}get allLayoutData(){return this.tester.keymapInfos.slice()}get currentLayoutData(){return this.currentLayout}get currentLayoutSource(){return this.source}constructor(){this.initialized=new o.Deferred,this.nativeLayoutChanged=new o.Emitter,this.tester=new _,this.source="pressed-keys",this.initialize()}get whenReady(){return this.initialized.promise}async initialize(){this.loadState();const g=navigator.keyboard;g&&g.addEventListener&&g.addEventListener("layoutchange",async()=>{const l=await this.getNativeLayout();l&&this.nativeLayoutChanged.fire(l)}),this.initialized.resolve()}async getNativeLayout(){if(await this.whenReady,this.source==="user-choice"&&this.currentLayout)return this.currentLayout;const[g,l]=await this.autodetect();if(g)return this.setCurrent(g,l),g}async setLayoutData(g){if(g==="autodetect"){if(this.source==="user-choice"){const[l,h]=await this.autodetect();if(l)return this.setCurrent(l,h),this.nativeLayoutChanged.fire(l),l}return this.currentLayout}else return(this.source!=="user-choice"||g!==this.currentLayout)&&(this.setCurrent(g,"user-choice"),this.nativeLayoutChanged.fire(g)),g}validateKeyCode(g){g.key&&g.character&&this.validateKey({code:g.key.code,character:g.character,shiftKey:g.shift,ctrlKey:g.ctrl,altKey:g.alt})}validateKey(g){if(this.source!=="pressed-keys"||!this.tester.updateScores(g))return;const h=this.selectLayout();h&&h!==this.currentLayout&&(this.setCurrent(h,"pressed-keys"),this.nativeLayoutChanged.fire(h))}setCurrent(g,l){if(this.currentLayout=g,this.source=l,this.saveState(),this.tester.inputCount&&(l==="pressed-keys"||l==="navigator.keyboard")){const h=l==="pressed-keys"?"pressed keys":"browser API";this.logger.debug(`Detected keyboard layout from ${h}: ${JSON.stringify(g.layout)}`)}}async autodetect(){const g=navigator.keyboard;if(g&&g.getLayoutMap)try{const l=await g.getLayoutMap();return this.testLayoutMap(l),[this.selectLayout(),"navigator.keyboard"]}catch(l){this.logger.warn("Failed to obtain keyboard layout map.",l)}return[this.selectLayout(),"pressed-keys"]}testLayoutMap(g){this.tester.reset();for(const[l,h]of g.entries())this.tester.updateScores({code:l,character:h})}selectLayout(){const g=this.tester.keymapInfos,l=this.tester.scores,h=this.tester.topScore,u=navigator.language;let d=0;for(let E=0;E<g.length;E++)if(l[E]===h){const f=g[E];if(o.isOSX){if(u&&u.startsWith(f.layout.lang))return f}else if(!o.isWindows&&u&&u.startsWith(f.layout.layout))return f;d++}return d>=1?g.find((E,f)=>l[f]===h):this.tester.getUSStandardLayout()}saveState(){var g;const l={tester:this.tester.getState(),source:this.source,currentLayoutId:this.currentLayout?(0,c.getKeyboardLayoutId)((g=this.currentLayout)===null||g===void 0?void 0:g.layout):void 0};return this.browserStorageService.setData("keyboard",l)}loadState(){const g=this.browserStorageService.getData("keyboard");if(g)if(this.tester.setState(g.tester||{}),this.source=g.source||"pressed-keys",g.currentLayoutId){const l=this.tester.keymapInfos.find(h=>(0,c.getKeyboardLayoutId)(h.layout)===g.currentLayoutId);l&&(this.currentLayout=l)}else this.currentLayout=this.tester.getUSStandardLayout()}};t.BrowserKeyboardLayoutImpl=m,n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],m.prototype,"logger",void 0),n.__decorate([(0,r.Autowired)(p.GlobalBrowserStorageService),n.__metadata("design:type",p.GlobalBrowserStorageService)],m.prototype,"browserStorageService",void 0),t.BrowserKeyboardLayoutImpl=m=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],m);class _{get inputCount(){return this.testedInputs.size}get keymapInfos(){return this._keymapInfos}constructor(){this.topScore=0,this.testedInputs=new Map,this._keymapInfos=[],this.initialized=new o.Deferred,(0,v.requireRegister)();const g=v.KeyboardLayoutContribution.INSTANCE.layoutInfos;this._keymapInfos.push(...g.map(l=>new c.KeymapInfo(l.layout,l.secondaryLayouts,l.mapping,l.isUserKeyboardLayout))),this.initialized.resolve(!0),this.scores=this.keymapInfos.map(()=>0)}reset(){for(let g=0;g<this.scores.length;g++)this.scores[g]=0;this.topScore=0,this.testedInputs.clear()}updateScores(g){let l;g.shiftKey&&g.altKey?l="withShiftAltGr":g.shiftKey?l="withShift":g.altKey?l="withAltGr":l="value";const h=`${g.code}.${l}`;if(this.testedInputs.has(h)){if(this.testedInputs.get(h)===g.character)return!1;this.reset()}const u=this.scores;for(let d=0;d<this.keymapInfos.length;d++)u[d]+=this.testCandidate(this.keymapInfos[d],g,l),u[d]>this.topScore&&(this.topScore=u[d]);return this.testedInputs.set(h,g.character),!0}testCandidate(g,l,h){const u=g.mapping[l.code];return u&&u[h]&&u[h]===l.character?1:0}getState(){const g={};for(let h=0;h<this.scores.length;h++)g[(0,c.getKeyboardLayoutId)(this.keymapInfos[h].layout)]=this.scores[h];const l={};for(const[h,u]of this.testedInputs.entries())l[h]=u;return{scores:g,topScore:this.topScore,testedInputs:l}}setState(g){if(this.reset(),g.scores){const l=this.keymapInfos.map(h=>(0,c.getKeyboardLayoutId)(h.layout));for(const h in g.scores)if(g.scores.hasOwnProperty(h)){const u=l.indexOf(h);u>0&&(this.scores[u]=g.scores[h])}}if(g.topScore&&(this.topScore=g.topScore),g.testedInputs)for(const l in g.testedInputs)g.testedInputs.hasOwnProperty(l)&&this.testedInputs.set(l,g.testedInputs[l])}getUSStandardLayout(){const g=this.keymapInfos.filter(l=>l.layout.isUSStandard);return g.length?g[0]:null}}t.KeyboardTester=_},81331:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(26298),p=e(40504),v=e(7967);let m=class{constructor(){this.keyboardLayoutChanged=new o.Emitter}updateLayout(l){const h=this.transformNativeLayout(l);return this.currentLayout=h,this.keyboardLayoutChanged.fire(h),h}get onKeyboardLayoutChanged(){return this.keyboardLayoutChanged.event}async initialize(){this.layoutChangeNotifier.onDidChangeNativeLayout(h=>this.updateLayout(h));const l=await this.layoutProvider.getNativeLayout();l&&this.updateLayout(l)}resolveKeyCode(l){const h=this.currentLayout;if(h&&l.key)for(let u=0;u<=1;u++){const d=this.getCharacterIndex(l.key,!!u),E=h.key2KeyCode[d];if(E){const f=this.transformKeyCode(l,E,!!u);if(f)return f}}return l}getKeyboardCharacter(l){const h=this.currentLayout;if(h){const u=h.code2Character[l.code];if(u)return u}return l.easyString}validateKeyCode(l){this.keyValidator.validateKeyCode(l)}transformKeyCode(l,h,u){if(!(!l.shift&&u)&&!(h.alt&&(l.alt||l.ctrl||l.shift&&!u)))return new v.KeyCode({key:h.key,meta:l.meta,ctrl:l.ctrl||h.alt,shift:l.shift&&!u||h.shift,alt:l.alt||h.alt})}transformNativeLayout(l){const h=new Array(2*(v.Key.MAX_KEY_CODE+1)),u={},d=l.mapping;for(const E in d)if(d.hasOwnProperty(E)){const f=d[E],a=v.Key.getKey(E);a&&this.shouldIncludeKey(E)&&(o.isWindows?this.addWindowsKeyMapping(h,a,f.vkey,f.value):(f.value&&this.addKeyMapping(h,a,f.value,!1,!1),f.withShift&&this.addKeyMapping(h,a,f.withShift,!0,!1),f.withAltGr&&this.addKeyMapping(h,a,f.withAltGr,!1,!0),f.withShiftAltGr&&this.addKeyMapping(h,a,f.withShiftAltGr,!0,!0))),f.value&&(u[E]=f.value)}return{key2KeyCode:h,code2Character:u}}shouldIncludeKey(l){return!l.startsWith("Numpad")}addKeyMapping(l,h,u,d,E){const f=_[u];if(f){const a=this.getCharacterIndex(f.key,f.shift);l[a]===void 0&&(l[a]=new v.KeyCode({key:h,shift:d,alt:E,character:u}))}}addWindowsKeyMapping(l,h,u,d){const E=s[u];if(E){const f=this.getCharacterIndex(E);l[f]===void 0&&(l[f]=new v.KeyCode({key:h,character:d}))}}getCharacterIndex(l,h){return h?v.Key.MAX_KEY_CODE+l.keyCode+1:l.keyCode}};t.KeyboardLayoutService=m,n.__decorate([(0,r.Autowired)(c.KeyboardNativeLayoutService),n.__metadata("design:type",Object)],m.prototype,"layoutProvider",void 0),n.__decorate([(0,r.Autowired)(c.KeyboardLayoutChangeNotifierService),n.__metadata("design:type",Object)],m.prototype,"layoutChangeNotifier",void 0),n.__decorate([(0,r.Autowired)(p.KeyValidator),n.__metadata("design:type",Object)],m.prototype,"keyValidator",void 0),t.KeyboardLayoutService=m=n.__decorate([(0,r.Injectable)()],m);const _={"`":{key:v.Key.BACKQUOTE},"~":{key:v.Key.BACKQUOTE,shift:!0},1:{key:v.Key.DIGIT1},"!":{key:v.Key.DIGIT1,shift:!0},2:{key:v.Key.DIGIT2},"@":{key:v.Key.DIGIT2,shift:!0},3:{key:v.Key.DIGIT3},"#":{key:v.Key.DIGIT3,shift:!0},4:{key:v.Key.DIGIT4},$:{key:v.Key.DIGIT4,shift:!0},5:{key:v.Key.DIGIT5},"%":{key:v.Key.DIGIT5,shift:!0},6:{key:v.Key.DIGIT6},"^":{key:v.Key.DIGIT6,shift:!0},7:{key:v.Key.DIGIT7},"&":{key:v.Key.DIGIT7,shift:!0},8:{key:v.Key.DIGIT8},"*":{key:v.Key.DIGIT8,shift:!0},9:{key:v.Key.DIGIT9},"(":{key:v.Key.DIGIT9,shift:!0},0:{key:v.Key.DIGIT0},")":{key:v.Key.DIGIT0,shift:!0},"-":{key:v.Key.MINUS},_:{key:v.Key.MINUS,shift:!0},"=":{key:v.Key.EQUAL},"+":{key:v.Key.EQUAL,shift:!0},a:{key:v.Key.KEY_A},A:{key:v.Key.KEY_A,shift:!0},b:{key:v.Key.KEY_B},B:{key:v.Key.KEY_B,shift:!0},c:{key:v.Key.KEY_C},C:{key:v.Key.KEY_C,shift:!0},d:{key:v.Key.KEY_D},D:{key:v.Key.KEY_D,shift:!0},e:{key:v.Key.KEY_E},E:{key:v.Key.KEY_E,shift:!0},f:{key:v.Key.KEY_F},F:{key:v.Key.KEY_F,shift:!0},g:{key:v.Key.KEY_G},G:{key:v.Key.KEY_G,shift:!0},h:{key:v.Key.KEY_H},H:{key:v.Key.KEY_H,shift:!0},i:{key:v.Key.KEY_I},I:{key:v.Key.KEY_I,shift:!0},j:{key:v.Key.KEY_J},J:{key:v.Key.KEY_J,shift:!0},k:{key:v.Key.KEY_K},K:{key:v.Key.KEY_K,shift:!0},l:{key:v.Key.KEY_L},L:{key:v.Key.KEY_L,shift:!0},m:{key:v.Key.KEY_M},M:{key:v.Key.KEY_M,shift:!0},n:{key:v.Key.KEY_N},N:{key:v.Key.KEY_N,shift:!0},o:{key:v.Key.KEY_O},O:{key:v.Key.KEY_O,shift:!0},p:{key:v.Key.KEY_P},P:{key:v.Key.KEY_P,shift:!0},q:{key:v.Key.KEY_Q},Q:{key:v.Key.KEY_Q,shift:!0},r:{key:v.Key.KEY_R},R:{key:v.Key.KEY_R,shift:!0},s:{key:v.Key.KEY_S},S:{key:v.Key.KEY_S,shift:!0},t:{key:v.Key.KEY_T},T:{key:v.Key.KEY_T,shift:!0},u:{key:v.Key.KEY_U},U:{key:v.Key.KEY_U,shift:!0},v:{key:v.Key.KEY_V},V:{key:v.Key.KEY_V,shift:!0},w:{key:v.Key.KEY_W},W:{key:v.Key.KEY_W,shift:!0},x:{key:v.Key.KEY_X},X:{key:v.Key.KEY_X,shift:!0},y:{key:v.Key.KEY_Y},Y:{key:v.Key.KEY_Y,shift:!0},z:{key:v.Key.KEY_Z},Z:{key:v.Key.KEY_Z,shift:!0},"[":{key:v.Key.BRACKET_LEFT},"{":{key:v.Key.BRACKET_LEFT,shift:!0},"]":{key:v.Key.BRACKET_RIGHT},"}":{key:v.Key.BRACKET_RIGHT,shift:!0},";":{key:v.Key.SEMICOLON},":":{key:v.Key.SEMICOLON,shift:!0},"'":{key:v.Key.QUOTE},'"':{key:v.Key.QUOTE,shift:!0},",":{key:v.Key.COMMA},"<":{key:v.Key.COMMA,shift:!0},".":{key:v.Key.PERIOD},">":{key:v.Key.PERIOD,shift:!0},"/":{key:v.Key.SLASH},"?":{key:v.Key.SLASH,shift:!0},"\\":{key:v.Key.BACKSLASH},"|":{key:v.Key.BACKSLASH,shift:!0}," ":{key:v.Key.TAB},"\r":{key:v.Key.ENTER},"\n":{key:v.Key.ENTER}," ":{key:v.Key.SPACE}},s={VK_SHIFT:v.Key.SHIFT_LEFT,VK_LSHIFT:v.Key.SHIFT_LEFT,VK_RSHIFT:v.Key.SHIFT_RIGHT,VK_CONTROL:v.Key.CONTROL_LEFT,VK_LCONTROL:v.Key.CONTROL_LEFT,VK_RCONTROL:v.Key.CONTROL_RIGHT,VK_MENU:v.Key.ALT_LEFT,VK_COMMAND:v.Key.OS_LEFT,VK_LWIN:v.Key.OS_LEFT,VK_RWIN:v.Key.OS_RIGHT,VK_0:v.Key.DIGIT0,VK_1:v.Key.DIGIT1,VK_2:v.Key.DIGIT2,VK_3:v.Key.DIGIT3,VK_4:v.Key.DIGIT4,VK_5:v.Key.DIGIT5,VK_6:v.Key.DIGIT6,VK_7:v.Key.DIGIT7,VK_8:v.Key.DIGIT8,VK_9:v.Key.DIGIT9,VK_A:v.Key.KEY_A,VK_B:v.Key.KEY_B,VK_C:v.Key.KEY_C,VK_D:v.Key.KEY_D,VK_E:v.Key.KEY_E,VK_F:v.Key.KEY_F,VK_G:v.Key.KEY_G,VK_H:v.Key.KEY_H,VK_I:v.Key.KEY_I,VK_J:v.Key.KEY_J,VK_K:v.Key.KEY_K,VK_L:v.Key.KEY_L,VK_M:v.Key.KEY_M,VK_N:v.Key.KEY_N,VK_O:v.Key.KEY_O,VK_P:v.Key.KEY_P,VK_Q:v.Key.KEY_Q,VK_R:v.Key.KEY_R,VK_S:v.Key.KEY_S,VK_T:v.Key.KEY_T,VK_U:v.Key.KEY_U,VK_V:v.Key.KEY_V,VK_W:v.Key.KEY_W,VK_X:v.Key.KEY_X,VK_Y:v.Key.KEY_Y,VK_Z:v.Key.KEY_Z,VK_OEM_1:v.Key.SEMICOLON,VK_OEM_2:v.Key.SLASH,VK_OEM_3:v.Key.BACKQUOTE,VK_OEM_4:v.Key.BRACKET_LEFT,VK_OEM_5:v.Key.BACKSLASH,VK_OEM_6:v.Key.BRACKET_RIGHT,VK_OEM_7:v.Key.QUOTE,VK_OEM_PLUS:v.Key.EQUAL,VK_OEM_COMMA:v.Key.COMMA,VK_OEM_MINUS:v.Key.MINUS,VK_OEM_PERIOD:v.Key.PERIOD,VK_F1:v.Key.F1,VK_F2:v.Key.F2,VK_F3:v.Key.F3,VK_F4:v.Key.F4,VK_F5:v.Key.F5,VK_F6:v.Key.F6,VK_F7:v.Key.F7,VK_F8:v.Key.F8,VK_F9:v.Key.F9,VK_F10:v.Key.F10,VK_F11:v.Key.F11,VK_F12:v.Key.F12,VK_F13:v.Key.F13,VK_F14:v.Key.F14,VK_F15:v.Key.F15,VK_F16:v.Key.F16,VK_F17:v.Key.F17,VK_F18:v.Key.F18,VK_F19:v.Key.F19,VK_BACK:v.Key.BACKSPACE,VK_TAB:v.Key.TAB,VK_RETURN:v.Key.ENTER,VK_CAPITAL:v.Key.CAPS_LOCK,VK_ESCAPE:v.Key.ESCAPE,VK_SPACE:v.Key.SPACE,VK_PRIOR:v.Key.PAGE_UP,VK_NEXT:v.Key.PAGE_DOWN,VK_END:v.Key.END,VK_HOME:v.Key.HOME,VK_INSERT:v.Key.INSERT,VK_DELETE:v.Key.DELETE,VK_LEFT:v.Key.ARROW_LEFT,VK_UP:v.Key.ARROW_UP,VK_RIGHT:v.Key.ARROW_RIGHT,VK_DOWN:v.Key.ARROW_DOWN,VK_NUMLOCK:v.Key.NUM_LOCK,VK_NUMPAD0:v.Key.DIGIT0,VK_NUMPAD1:v.Key.DIGIT1,VK_NUMPAD2:v.Key.DIGIT2,VK_NUMPAD3:v.Key.DIGIT3,VK_NUMPAD4:v.Key.DIGIT4,VK_NUMPAD5:v.Key.DIGIT5,VK_NUMPAD6:v.Key.DIGIT6,VK_NUMPAD7:v.Key.DIGIT7,VK_NUMPAD8:v.Key.DIGIT8,VK_NUMPAD9:v.Key.DIGIT9,VK_MULTIPLY:v.Key.NUMPAD_MULTIPLY,VK_ADD:v.Key.NUMPAD_ADD,VK_SUBTRACT:v.Key.NUMPAD_SUBTRACT,VK_DECIMAL:v.Key.NUMPAD_DECIMAL,VK_DIVIDE:v.Key.NUMPAD_DIVIDE}},7967:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeysOrKeyCodes=t.Key=t.SpecialCases=t.KeyModifier=t.KeyCode=t.KeySequence=void 0;const n=e(43718);var r;(function(d){function E(y,A){if(y.length!==A.length)return!1;for(let S=0;S<y.length;S++)if(!y[S].equals(A[S]))return!1;return!0}d.equals=E;let f;(function(y){y[y.NONE=0]="NONE",y[y.PARTIAL=1]="PARTIAL",y[y.SHADOW=2]="SHADOW",y[y.FULL=3]="FULL"})(f=d.CompareResult||(d.CompareResult={}));function a(y,A){let S=y,w=A,T=!1;A.length<y.length&&(S=A,w=y,T=!0);for(let D=0;D<S.length;D++)if(S[D].equals(w[D])===!1)return d.CompareResult.NONE;return S.length<w.length?T===!1?d.CompareResult.PARTIAL:d.CompareResult.SHADOW:d.CompareResult.FULL}d.compare=a;function b(y){const A=[],S=y.trim().split(/\s+/g);for(const w of S){const T=c.parse(w);T!==void 0&&A.push(T)}return A}d.parse=b})(r||(t.KeySequence=r={}));function o(d){return d.substr(0,1).toUpperCase()+d.substr(1)}class c{constructor(E){const f=E.key;f&&(f.code&&f.keyCode&&f.easyString?this.key=f:f.code?this.key=h.getKey(f.code):f.keyCode&&(this.key=h.getKey(f.keyCode))),this.ctrl=!!E.ctrl,this.shift=!!E.shift,this.alt=!!E.alt,this.meta=!!E.meta,this.character=E.character}isModifierOnly(){return this.key===void 0}equals(E){return this.key&&(!E.key||this.key.code!==E.key.code)||!this.key&&E.key?!1:this.ctrl===E.ctrl&&this.alt===E.alt&&this.shift===E.shift&&this.meta===E.meta}toString(){const E=[];return this.meta&&E.push(n.isOSX?"Cmd":"Win"),this.shift&&E.push(o(h.SHIFT_LEFT.easyString)),this.alt&&E.push(o(h.ALT_LEFT.easyString)),this.ctrl&&E.push(o(h.CONTROL_LEFT.easyString)),this.key&&E.push(o(this.key.easyString)),E.join("+")}static createKeyCode(E){if(typeof E=="string"){const f=E.split("+");return c.isModifierString(f[0])?c.createKeyCode({modifiers:f}):c.createKeyCode({first:h.getKey(f[0]),modifiers:f.slice(1)})}else if(c.isKeyboardEvent(E)){const f=c.toKey(E);return new c({key:h.isModifier(f.code)?void 0:f,meta:n.isOSX&&E.metaKey||f===h.OS_RIGHT||f===h.OS_LEFT,shift:E.shiftKey||f===h.SHIFT_RIGHT||f===h.SHIFT_LEFT,alt:E.altKey||f===h.ALT_RIGHT||f===h.ALT_LEFT,ctrl:E.ctrlKey||f===h.CONTROL_RIGHT||f===h.CONTROL_LEFT,character:c.toCharacter(E)})}else if(E.first||E.modifiers){const f=E,a={key:f.first};return f.modifiers&&(n.isOSX?(a.meta=f.modifiers.some(b=>b===p.CtrlCmd),a.ctrl=f.modifiers.some(b=>b===p.MacCtrl)):(a.meta=!1,a.ctrl=f.modifiers.some(b=>b===p.CtrlCmd)),a.shift=f.modifiers.some(b=>b===p.Shift),a.alt=f.modifiers.some(b=>b===p.Alt)),new c(a)}else return new c(E)}static parse(E,f="+"){if(c.keybindings[E])return c.keybindings[E];const a={},b=E.trim().toLowerCase().split(f);for(let y of b){g[y]!==void 0&&(y=g[y]);const A=_[y];if(y===l.META)if(n.isOSX)a.meta=!0;else throw new Error(`Can't parse keybinding ${E} meta is for OSX only`);else if(y===l.MACMETA)if(n.isOSX)a.meta=!0;else throw new Error(`Can't parse keybinding ${E} meta is for OSX only`);else if(y===l.CTRLCMD)n.isOSX?a.meta=!0:a.ctrl=!0;else if(y===l.CTRL)a.ctrl=!0;else if(y===l.SHIFT)a.shift=!0;else if(y===l.ALT)a.alt=!0;else if(y===l.ARROW_DOWN)a.key=h.ARROW_DOWN;else if(y===l.ARROW_UP)a.key=h.ARROW_UP;else if(y===l.ARROW_LEFT)a.key=h.ARROW_LEFT;else if(y===l.ARROW_RIGHT)a.key=h.ARROW_RIGHT;else if(y===l.BACKSPACE)a.key=h.BACKSPACE;else if(y===l.ENTER)a.key=h.ENTER;else if(h.isKey(A))h.isModifier(A.code)?A.code===h.CONTROL_LEFT.code||A.code===h.CONTROL_RIGHT.code?a.ctrl=!0:A.code===h.SHIFT_LEFT.code||A.code===h.SHIFT_RIGHT.code?a.shift=!0:(A.code===h.ALT_LEFT.code||A.code===h.ALT_RIGHT.code)&&(a.alt=!0):a.key=A;else throw new Error(`Unrecognized key '${y}' in '${E}'`)}return c.keybindings[E]=new c(a),c.keybindings[E]}}t.KeyCode=c,c.keybindings={},function(d){function E(y){return y===p.CtrlCmd||y===p.Shift||y===p.Alt||y===p.MacCtrl}d.isModifierString=E;function f(y){if(typeof KeyboardEvent>"u")return!1;if(y instanceof KeyboardEvent)return!0;const{type:A}=y;return A?A==="keypress"||A==="keydown"||A==="keyup":!1}d.isKeyboardEvent=f;function a(y){const A=y.code;if(A){if(n.isOSX){const D=y.key;if(A===h.INTL_BACKSLASH.code&&(D==="`"||D==="~"))return h.BACKQUOTE;if(A===h.BACKQUOTE.code&&(D==="\xA7"||D==="\xB1"))return h.INTL_BACKSLASH}if(A===h.SHIFT_LEFT.code&&!y.ctrlKey&&!y.altKey&&!y.metaKey)return h.SHIFT_LEFT;if(A===h.SHIFT_RIGHT.code&&!y.ctrlKey&&!y.altKey&&!y.metaKey)return h.SHIFT_RIGHT;if(A===h.CONTROL_LEFT.code&&!y.shiftKey&&!y.altKey&&!y.metaKey)return h.CONTROL_LEFT;if(A===h.CONTROL_RIGHT.code&&!y.shiftKey&&!y.altKey&&!y.metaKey)return h.CONTROL_RIGHT;if(A===h.ALT_LEFT.code&&!y.shiftKey&&!y.ctrlKey&&!y.metaKey)return h.ALT_LEFT;if(A===h.ALT_RIGHT.code&&!y.shiftKey&&!y.ctrlKey&&!y.metaKey)return h.ALT_RIGHT;if(v[A]===h.OS_LEFT&&!y.shiftKey&&!y.ctrlKey&&!y.altKey)return h.OS_LEFT;if(v[A]===h.OS_RIGHT&&!y.shiftKey&&!y.ctrlKey&&!y.altKey)return h.OS_RIGHT;if(A.startsWith("Numpad")&&y.key&&y.key.length>1){const D=h.getKey(y.key);if(D)return D}const T=h.getKey(A);if(T)return T}const S=y.keyCode;if(S){const T=h.getKey(S);if(T)return T}const w=y.keyIdentifier;if(w){const T=h.getKey(w);if(T)return T}throw new Error(`Cannot get key code from the keyboard event with code: ${A}, keyCode: ${S}, keyIdentifier: ${w}`)}d.toKey=a;function b(y){const A=y.key;if(A&&Array.from(A).length===1)return A;const S=y.charCode;if(S&&S>31&&!(S>=128&&S<=159))return String.fromCharCode(S)}d.toCharacter=b}(c||(t.KeyCode=c={}));var p;(function(d){d.CtrlCmd="M1",d.Shift="M2",d.Alt="M3",d.MacCtrl="M4"})(p||(t.KeyModifier=p={})),function(d){d.CTRL=n.isOSX?d.MacCtrl:d.CtrlCmd,d.SHIFT=d.Shift;function E(f){if(f)switch(f){case"M1":case"M2":case"M3":case"M4":return!0;default:return!1}return!1}d.isModifier=E}(p||(t.KeyModifier=p={}));const v={},m={},_={},s=[],g={option:"alt",command:"meta",cmd:"meta",return:"enter",esc:"escape",mod:"ctrl",ins:"insert",del:"delete",control:"ctrl"};var l;(function(d){d.META=n.isOSX?"meta":n.isWindows?"win":"meta",d.MACMETA="\u2318",d.CTRL=n.isOSX?"\u2303":"ctrl",d.ALT=n.isOSX?"\u2325":"alt",d.SHIFT=n.isOSX?"\u21E7":"shift",d.CTRLCMD="ctrlcmd",d.ARROW_LEFT="\u2190",d.ARROW_RIGHT="\u2192",d.ARROW_UP="\u2191",d.ARROW_DOWN="\u2193",d.BACKSPACE="\u232B",d.ENTER="\u23CE",d.SPACE="space",d.NUMPAD="numpad"})(l||(t.SpecialCases=l={}));var h;(function(d){function E(y){return typeof y=="object"&&"code"in y&&"keyCode"in y}d.isKey=E;function f(y){return typeof y=="number"?m[y]:v[y]}d.getKey=f;function a(y){return typeof y=="number"?s.find(A=>A.keyCode===y)!==void 0:s.find(A=>A.code===y)!==void 0}d.isModifier=a;function b(y,A){return!!A.key&&y.keyCode===A.key.keyCode}d.equals=b,d.BACKSPACE={code:"Backspace",keyCode:8,easyString:"backspace"},d.TAB={code:"Tab",keyCode:9,easyString:"tab"},d.ENTER={code:"Enter",keyCode:13,easyString:"enter"},d.ESCAPE={code:"Escape",keyCode:27,easyString:"escape"},d.SPACE={code:"Space",keyCode:32,easyString:"space"},d.PAGE_UP={code:"PageUp",keyCode:33,easyString:"pageup"},d.PAGE_DOWN={code:"PageDown",keyCode:34,easyString:"pagedown"},d.END={code:"End",keyCode:35,easyString:"end"},d.HOME={code:"Home",keyCode:36,easyString:"home"},d.ARROW_LEFT={code:"ArrowLeft",keyCode:37,easyString:"left"},d.ARROW_UP={code:"ArrowUp",keyCode:38,easyString:"up"},d.ARROW_RIGHT={code:"ArrowRight",keyCode:39,easyString:"right"},d.ARROW_DOWN={code:"ArrowDown",keyCode:40,easyString:"down"},d.INSERT={code:"Insert",keyCode:45,easyString:"insert"},d.DELETE={code:"Delete",keyCode:46,easyString:"delete"},d.SHIFT_LEFT={code:"ShiftLeft",keyCode:16,easyString:"shift"},d.SHIFT_RIGHT={code:"ShiftRight",keyCode:16,easyString:"shift"},d.CONTROL_LEFT={code:"ControlLeft",keyCode:17,easyString:"ctrl"},d.CONTROL_RIGHT={code:"ControlRight",keyCode:17,easyString:"ctrl"},d.ALT_LEFT={code:"AltLeft",keyCode:18,easyString:"alt"},d.ALT_RIGHT={code:"AltRight",keyCode:18,easyString:"alt"},d.CAPS_LOCK={code:"CapsLock",keyCode:20,easyString:"capslock"},d.OS_LEFT={code:"OSLeft",keyCode:91,easyString:"super"},d.OS_RIGHT={code:"OSRight",keyCode:92,easyString:"super"},d.DIGIT0={code:"Digit0",keyCode:48,easyString:"0"},d.DIGIT1={code:"Digit1",keyCode:49,easyString:"1"},d.DIGIT2={code:"Digit2",keyCode:50,easyString:"2"},d.DIGIT3={code:"Digit3",keyCode:51,easyString:"3"},d.DIGIT4={code:"Digit4",keyCode:52,easyString:"4"},d.DIGIT5={code:"Digit5",keyCode:53,easyString:"5"},d.DIGIT6={code:"Digit6",keyCode:54,easyString:"6"},d.DIGIT7={code:"Digit7",keyCode:55,easyString:"7"},d.DIGIT8={code:"Digit8",keyCode:56,easyString:"8"},d.DIGIT9={code:"Digit9",keyCode:57,easyString:"9"},d.NUMPAD0={code:"Numpad0",keyCode:48,easyString:"numpad0"},d.NUMPAD1={code:"Numpad1",keyCode:49,easyString:"numpad1"},d.NUMPAD2={code:"Numpad2",keyCode:50,easyString:"numpad2"},d.NUMPAD3={code:"Numpad3",keyCode:51,easyString:"numpad3"},d.NUMPAD4={code:"Numpad4",keyCode:52,easyString:"numpad4"},d.NUMPAD5={code:"Numpad5",keyCode:53,easyString:"numpad5"},d.NUMPAD6={code:"Numpad6",keyCode:54,easyString:"numpad6"},d.NUMPAD7={code:"Numpad7",keyCode:55,easyString:"numpad7"},d.NUMPAD8={code:"Numpad8",keyCode:56,easyString:"numpad8"},d.NUMPAD9={code:"Numpad9",keyCode:57,easyString:"numpad9"},d.KEY_A={code:"KeyA",keyCode:65,easyString:"a"},d.KEY_B={code:"KeyB",keyCode:66,easyString:"b"},d.KEY_C={code:"KeyC",keyCode:67,easyString:"c"},d.KEY_D={code:"KeyD",keyCode:68,easyString:"d"},d.KEY_E={code:"KeyE",keyCode:69,easyString:"e"},d.KEY_F={code:"KeyF",keyCode:70,easyString:"f"},d.KEY_G={code:"KeyG",keyCode:71,easyString:"g"},d.KEY_H={code:"KeyH",keyCode:72,easyString:"h"},d.KEY_I={code:"KeyI",keyCode:73,easyString:"i"},d.KEY_J={code:"KeyJ",keyCode:74,easyString:"j"},d.KEY_K={code:"KeyK",keyCode:75,easyString:"k"},d.KEY_L={code:"KeyL",keyCode:76,easyString:"l"},d.KEY_M={code:"KeyM",keyCode:77,easyString:"m"},d.KEY_N={code:"KeyN",keyCode:78,easyString:"n"},d.KEY_O={code:"KeyO",keyCode:79,easyString:"o"},d.KEY_P={code:"KeyP",keyCode:80,easyString:"p"},d.KEY_Q={code:"KeyQ",keyCode:81,easyString:"q"},d.KEY_R={code:"KeyR",keyCode:82,easyString:"r"},d.KEY_S={code:"KeyS",keyCode:83,easyString:"s"},d.KEY_T={code:"KeyT",keyCode:84,easyString:"t"},d.KEY_U={code:"KeyU",keyCode:85,easyString:"u"},d.KEY_V={code:"KeyV",keyCode:86,easyString:"v"},d.KEY_W={code:"KeyW",keyCode:87,easyString:"w"},d.KEY_X={code:"KeyX",keyCode:88,easyString:"x"},d.KEY_Y={code:"KeyY",keyCode:89,easyString:"y"},d.KEY_Z={code:"KeyZ",keyCode:90,easyString:"z"},d.NUMPAD_MULTIPLY={code:"NumpadMultiply",keyCode:106,easyString:"numpad_multiply"},d.NUMPAD_ADD={code:"NumpadAdd",keyCode:107,easyString:"numpad_add"},d.NUMPAD_DECIMAL={code:"NumpadDecimal",keyCode:108,easyString:"numpad_decimal"},d.NUMPAD_SUBTRACT={code:"NumpadSubtract",keyCode:109,easyString:"numpad_subtract"},d.NUMPAD_DIVIDE={code:"NumpadDivide",keyCode:111,easyString:"numpad_divide"},d.F1={code:"F1",keyCode:112,easyString:"f1"},d.F2={code:"F2",keyCode:113,easyString:"f2"},d.F3={code:"F3",keyCode:114,easyString:"f3"},d.F4={code:"F4",keyCode:115,easyString:"f4"},d.F5={code:"F5",keyCode:116,easyString:"f5"},d.F6={code:"F6",keyCode:117,easyString:"f6"},d.F7={code:"F7",keyCode:118,easyString:"f7"},d.F8={code:"F8",keyCode:119,easyString:"f8"},d.F9={code:"F9",keyCode:120,easyString:"f9"},d.F10={code:"F10",keyCode:121,easyString:"f10"},d.F11={code:"F11",keyCode:122,easyString:"f11"},d.F12={code:"F12",keyCode:123,easyString:"f12"},d.F13={code:"F13",keyCode:124,easyString:"f13"},d.F14={code:"F14",keyCode:125,easyString:"f14"},d.F15={code:"F15",keyCode:126,easyString:"f15"},d.F16={code:"F16",keyCode:127,easyString:"f16"},d.F17={code:"F17",keyCode:128,easyString:"f17"},d.F18={code:"F18",keyCode:129,easyString:"f18"},d.F19={code:"F19",keyCode:130,easyString:"f19"},d.F20={code:"F20",keyCode:131,easyString:"f20"},d.F21={code:"F21",keyCode:132,easyString:"f21"},d.F22={code:"F22",keyCode:133,easyString:"f22"},d.F23={code:"F23",keyCode:134,easyString:"f23"},d.F24={code:"F24",keyCode:135,easyString:"f24"},d.NUM_LOCK={code:"NumLock",keyCode:144,easyString:"numlock"},d.SEMICOLON={code:"Semicolon",keyCode:186,easyString:";"},d.EQUAL={code:"Equal",keyCode:187,easyString:"="},d.COMMA={code:"Comma",keyCode:188,easyString:","},d.MINUS={code:"Minus",keyCode:189,easyString:"-"},d.PERIOD={code:"Period",keyCode:190,easyString:"."},d.SLASH={code:"Slash",keyCode:191,easyString:"/"},d.BACKQUOTE={code:"Backquote",keyCode:192,easyString:"`"},d.INTL_RO={code:"IntlRo",keyCode:193,easyString:"intlro"},d.BRACKET_LEFT={code:"BracketLeft",keyCode:219,easyString:"["},d.BACKSLASH={code:"Backslash",keyCode:220,easyString:"\\"},d.BRACKET_RIGHT={code:"BracketRight",keyCode:221,easyString:"]"},d.QUOTE={code:"Quote",keyCode:222,easyString:"'"},d.INTL_BACKSLASH={code:"IntlBackslash",keyCode:229,easyString:"intlbackslash"},d.INTL_YEN={code:"IntlYen",keyCode:255,easyString:"intlyen"},d.MAX_KEY_CODE=d.INTL_YEN.keyCode})(h||(t.Key=h={})),Object.keys(h).map(d=>Reflect.get(h,d)).filter(d=>h.isKey(d)).forEach(d=>{v[d.code]=d,m[d.keyCode]=d,_[d.easyString]=d}),v.Numpad0=h.DIGIT0,m[96]=h.DIGIT0,v.Numpad1=h.DIGIT1,m[97]=h.DIGIT1,v.Numpad2=h.DIGIT2,m[98]=h.DIGIT2,v.Numpad3=h.DIGIT3,m[99]=h.DIGIT3,v.Numpad4=h.DIGIT4,m[100]=h.DIGIT4,v.Numpad5=h.DIGIT5,m[101]=h.DIGIT5,v.Numpad6=h.DIGIT6,m[102]=h.DIGIT6,v.Numpad7=h.DIGIT7,m[103]=h.DIGIT7,v.Numpad8=h.DIGIT8,m[104]=h.DIGIT8,v.Numpad9=h.DIGIT9,m[105]=h.DIGIT9,v.NumpadEnter=h.ENTER,v.NumpadEqual=h.EQUAL,v.MetaLeft=h.OS_LEFT,m[224]=h.OS_LEFT,v.MetaRight=h.OS_RIGHT,m[93]=h.OS_RIGHT,m[225]=h.ALT_RIGHT,m[110]=h.NUMPAD_DECIMAL,m[59]=h.SEMICOLON,m[61]=h.EQUAL,m[173]=h.MINUS,m[226]=h.BACKSLASH,m[60]=h.BACKSLASH,s.push(h.ALT_LEFT,h.ALT_RIGHT,h.CONTROL_LEFT,h.CONTROL_RIGHT,h.OS_LEFT,h.OS_RIGHT,h.SHIFT_LEFT,h.SHIFT_RIGHT);var u;(function(d){d.toKeyCode=E=>E instanceof c?E:c.createKeyCode({first:E}),d.toKeyCodes=E=>E instanceof c?[E]:Array.isArray(E)?E.slice().map(d.toKeyCode):[d.toKeyCode(E)]})(u||(t.KeysOrKeyCodes=u={}))},62100:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutContribution=void 0;class e{get layoutInfos(){return this._layoutInfos}constructor(){this._layoutInfos=[]}registerKeyboardLayout(r){this._layoutInfos.push(r)}}t.KeyboardLayoutContribution=e,e.INSTANCE=new e},98582:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000405",id:"",text:"Czech"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","{","",0,"VK_B"],KeyC:["c","C","&","",0,"VK_C"],KeyD:["d","D","\u0110","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","[","",0,"VK_F"],KeyG:["g","G","]","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","\u0142","",0,"VK_K"],KeyL:["l","L","\u0141","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","}","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","\\","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\u0111","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","@","",0,"VK_V"],KeyW:["w","W","|","",0,"VK_W"],KeyX:["x","X","#","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y","","",0,"VK_Y"],Digit1:["+","1","~","",0,"VK_1"],Digit2:["\u011B","2","\u02C7","",0,"VK_2"],Digit3:["\u0161","3","^","",0,"VK_3"],Digit4:["\u010D","4","\u02D8","",0,"VK_4"],Digit5:["\u0159","5","\xB0","",0,"VK_5"],Digit6:["\u017E","6","\u02DB","",0,"VK_6"],Digit7:["\xFD","7","`","",0,"VK_7"],Digit8:["\xE1","8","\u02D9","",0,"VK_8"],Digit9:["\xED","9","\xB4","",0,"VK_9"],Digit0:["\xE9","0","\u02DD","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["=","%","\xA8","",0,"VK_OEM_PLUS"],Equal:["\xB4","\u02C7","\xB8","",0,"VK_OEM_2"],BracketLeft:["\xFA","/","\xF7","",0,"VK_OEM_4"],BracketRight:[")","(","\xD7","",0,"VK_OEM_6"],Backslash:["\xA8","'","\xA4","",0,"VK_OEM_5"],Semicolon:["\u016F",'"',"$","",0,"VK_OEM_1"],Quote:["\xA7","!","\xDF","",0,"VK_OEM_7"],Backquote:[";","\xB0","","",0,"VK_OEM_3"],Comma:[",","?","<","",0,"VK_OEM_COMMA"],Period:[".",":",">","",0,"VK_OEM_PERIOD"],Slash:["-","_","*","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},61330:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000807",id:"",text:"Swiss German"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y","","",0,"VK_Y"],Digit1:["1","+","\xA6","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","*","#","",0,"VK_3"],Digit4:["4","\xE7","\xB0","",0,"VK_4"],Digit5:["5","%","\xA7","",0,"VK_5"],Digit6:["6","&","\xAC","",0,"VK_6"],Digit7:["7","/","|","",0,"VK_7"],Digit8:["8","(","\xA2","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","\xB4","",0,"VK_OEM_4"],Equal:["^","`","~","",0,"VK_OEM_6"],BracketLeft:["\xFC","\xE8","[","",0,"VK_OEM_1"],BracketRight:["\xA8","!","]","",0,"VK_OEM_3"],Backslash:["$","\xA3","}","",0,"VK_OEM_8"],Semicolon:["\xF6","\xE9","","",0,"VK_OEM_7"],Quote:["\xE4","\xE0","{","",0,"VK_OEM_5"],Backquote:["\xA7","\xB0","","",0,"VK_OEM_2"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","\\","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},69315:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.German",lang:"de",localizedName:"German"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u2039",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\u2122",0],KeyE:["e","E","\u20AC","\u2030",0],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\xCC",0],KeyH:["h","H","\xAA","\xD3",0],KeyI:["i","I","\u2044","\xDB",0],KeyJ:["j","J","\xBA","\u0131",0],KeyK:["k","K","\u2206","\u02C6",0],KeyL:["l","L","@","\uFB02",0],KeyM:["m","M","\xB5","\u02D8",0],KeyN:["n","N","~","\u203A",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\xAB","\xBB",0],KeyR:["r","R","\xAE","\xB8",0],KeyS:["s","S","\u201A","\xCD",0],KeyT:["t","T","\u2020","\u02DD",0],KeyU:["u","U","\xA8","\xC1",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\xD9",0],KeyY:["z","Z","\u03A9","\u02C7",0],KeyZ:["y","Y","\xA5","\u2021",0],Digit1:["1","!","\xA1","\xAC",0],Digit2:["2",'"',"\u201C","\u201D",0],Digit3:["3","\xA7","\xB6","#",0],Digit4:["4","$","\xA2","\xA3",0],Digit5:["5","%","[","\uFB01",0],Digit6:["6","&","]","^",8],Digit7:["7","/","|","\\",0],Digit8:["8","(","{","\u02DC",0],Digit9:["9",")","}","\xB7",0],Digit0:["0","=","\u2260","\xAF",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["\xDF","?","\xBF","\u02D9",0],Equal:["\xB4","`","'","\u02DA",3],BracketLeft:["\xFC","\xDC","\u2022","\xB0",0],BracketRight:["+","*","\xB1","\uF8FF",0],Backslash:["#","'","\u2018","\u2019",0],Semicolon:["\xF6","\xD6","\u0153","\u0152",0],Quote:["\xE4","\xC4","\xE6","\xC6",0],Backquote:["<",">","\u2264","\u2265",0],Comma:[",",";","\u221E","\u02DB",0],Period:[".",":","\u2026","\xF7",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",",",".",".",0],IntlBackslash:["^","\xB0","\u201E","\u201C",1],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},41872:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc104",layout:"de",variant:"",options:"",rules:"base"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE6","\xC6",0],KeyB:["b","B","\u201C","\u2018",0],KeyC:["c","C","\xA2","\xA9",0],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\u20AC","\u20AC",0],KeyF:["f","F","\u0111","\xAA",0],KeyG:["g","G","\u014B","\u014A",0],KeyH:["h","H","\u0127","\u0126",0],KeyI:["i","I","\u2192","\u0131",0],KeyJ:["j","J","\u0323","\u0307",0],KeyK:["k","K","\u0138","&",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:["m","M","\xB5","\xBA",0],KeyN:["n","N","\u201D","\u2019",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\xFE","\xDE",0],KeyQ:["q","Q","@","\u03A9",0],KeyR:["r","R","\xB6","\xAE",0],KeyS:["s","S","\u017F","\u1E9E",0],KeyT:["t","T","\u0167","\u0166",0],KeyU:["u","U","\u2193","\u2191",0],KeyV:["v","V","\u201E","\u201A",0],KeyW:["w","W","\u0142","\u0141",0],KeyX:["x","X","\xAB","\u2039",0],KeyY:["z","Z","\u2190","\xA5",0],KeyZ:["y","Y","\xBB","\u203A",0],Digit1:["1","!","\xB9","\xA1",0],Digit2:["2",'"',"\xB2","\u215B",0],Digit3:["3","\xA7","\xB3","\xA3",0],Digit4:["4","$","\xBC","\xA4",0],Digit5:["5","%","\xBD","\u215C",0],Digit6:["6","&","\xAC","\u215D",0],Digit7:["7","/","{","\u215E",0],Digit8:["8","(","[","\u2122",0],Digit9:["9",")","]","\xB1",0],Digit0:["0","=","}","\xB0",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["\xDF","?","\\","\xBF",0],Equal:["\u0301","\u0300","\u0327","\u0328",0],BracketLeft:["\xFC","\xDC","\u0308","\u030A",0],BracketRight:["+","*","~","\xAF",0],Backslash:["#","'","\u2019","\u0306",0],Semicolon:["\xF6","\xD6","\u030B","\u0323",0],Quote:["\xE4","\xC4","\u0302","\u030C",0],Backquote:["\u0302","\xB0","\u2032","\u2033",0],Comma:[",",";","\xB7","\xD7",0],Period:[".",":","\u2026","\xF7",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:["","","","",0],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:["/","/","/","/",0],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:[],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",",","",",",0],IntlBackslash:["<",">","|","\u0331",0],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:[],NumpadParenRight:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:["\r","\r","\r","\r",0],MetaRight:[".",".",".",".",0],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},47288:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000407",id:"",text:"German"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","@","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y","","",0,"VK_Y"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"\xB2","",0,"VK_2"],Digit3:["3","\xA7","\xB3","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["\xDF","?","\\","\u1E9E",0,"VK_OEM_4"],Equal:["\xB4","`","","",0,"VK_OEM_6"],BracketLeft:["\xFC","\xDC","","",0,"VK_OEM_1"],BracketRight:["+","*","~","",0,"VK_OEM_PLUS"],Backslash:["#","'","","",0,"VK_OEM_2"],Semicolon:["\xF6","\xD6","","",0,"VK_OEM_3"],Quote:["\xE4","\xC4","","",0,"VK_OEM_7"],Backquote:["^","\xB0","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","|","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},81682:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000406",id:"",text:"Danish"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","\xA4","$","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["+","?","","",0,"VK_OEM_PLUS"],Equal:["\xB4","`","|","",0,"VK_OEM_4"],BracketLeft:["\xE5","\xC5","","",0,"VK_OEM_6"],BracketRight:["\xA8","^","~","",0,"VK_OEM_1"],Backslash:["'","*","","",0,"VK_OEM_2"],Semicolon:["\xE6","\xC6","","",0,"VK_OEM_3"],Quote:["\xF8","\xD8","","",0,"VK_OEM_7"],Backquote:["\xBD","\xA7","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","\\","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},33695:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Dvorak",localizedName:"Dvorak",lang:"en"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["x","X","\u2248","\u02DB",0],KeyC:["j","J","\u2206","\xD4",0],KeyD:["e","E","\xB4","\xB4",4],KeyE:[".",">","\u2265","\u02D8",0],KeyF:["u","U","\xA8","\xA8",4],KeyG:["i","I","\u02C6","\u02C6",4],KeyH:["d","D","\u2202","\xCE",0],KeyI:["c","C","\xE7","\xC7",0],KeyJ:["h","H","\u02D9","\xD3",0],KeyK:["t","T","\u2020","\u02C7",0],KeyL:["n","N","\u02DC","\u02DC",4],KeyM:["m","M","\xB5","\xC2",0],KeyN:["b","B","\u222B","\u0131",0],KeyO:["r","R","\xAE","\u2030",0],KeyP:["l","L","\xAC","\xD2",0],KeyQ:["'",'"',"\xE6","\xC6",0],KeyR:["p","P","\u03C0","\u220F",0],KeyS:["o","O","\xF8","\xD8",0],KeyT:["y","Y","\xA5","\xC1",0],KeyU:["g","G","\xA9","\u02DD",0],KeyV:["k","K","\u02DA","\uF8FF",0],KeyW:[",","<","\u2264","\xAF",0],KeyX:["q","Q","\u0153","\u0152",0],KeyY:["f","F","\u0192","\xCF",0],KeyZ:[";",":","\u2026","\xDA",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["[","{","\u201C","\u201D",0],Equal:["]","}","\u2018","\u2019",0],BracketLeft:["/","?","\xF7","\xBF",0],BracketRight:["=","+","\u2260","\xB1",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:["s","S","\xDF","\xCD",0],Quote:["-","_","\u2013","\u2014",0],Backquote:["`","~","`","`",4],Comma:["w","W","\u2211","\u201E",0],Period:["v","V","\u221A","\u25CA",0],Slash:["z","Z","\u03A9","\xB8",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},84905:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000813",id:"",text:"Belgian (Period)"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["q","Q","","",0,"VK_Q"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:[",","?","","",0,"VK_OEM_COMMA"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["a","A","","",0,"VK_A"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["z","Z","","",0,"VK_Z"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["w","W","","",0,"VK_W"],Digit1:["&","1","|","",0,"VK_1"],Digit2:["\xE9","2","@","",0,"VK_2"],Digit3:['"',"3","#","",0,"VK_3"],Digit4:["'","4","{","",0,"VK_4"],Digit5:["(","5","[","",0,"VK_5"],Digit6:["\xA7","6","^","",0,"VK_6"],Digit7:["\xE8","7","","",0,"VK_7"],Digit8:["!","8","","",0,"VK_8"],Digit9:["\xE7","9","{","",0,"VK_9"],Digit0:["\xE0","0","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:[")","\xB0","","",0,"VK_OEM_4"],Equal:["-","_","","",0,"VK_OEM_MINUS"],BracketLeft:["^","\xA8","[","",0,"VK_OEM_6"],BracketRight:["$","*","]","",0,"VK_OEM_1"],Backslash:["\xB5","\xA3","`","`",0,"VK_OEM_5"],Semicolon:["m","M","","",0,"VK_M"],Quote:["\xF9","%","\xB4","\xB4",0,"VK_OEM_3"],Backquote:["\xB2","\xB3","","",0,"VK_OEM_7"],Comma:[";",".","","",0,"VK_OEM_PERIOD"],Period:[":","/","","",0,"VK_OEM_2"],Slash:["=","+","~","~",0,"VK_OEM_PLUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","\\","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},72817:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.USExtended",lang:"en",localizedName:"ABC - Extended"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xAF","\u0304",4],KeyB:["b","B","\u02D8","\u0306",4],KeyC:["c","C","\xB8","\u0327",4],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\xB4","\u0301",4],KeyF:["f","F","\u0192","",0],KeyG:["g","G","\xA9","\u2038",8],KeyH:["h","H","\u02CD","\u0331",4],KeyI:["i","I","\u02BC","\u031B",4],KeyJ:["j","J","\u02DD","\u030B",4],KeyK:["k","K","\u02DA","\u030A",4],KeyL:["l","L","-","\u0335",4],KeyM:["m","M","\u02DB","\u0328",4],KeyN:["n","N","\u02DC","\u0303",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P",",","\u0326",4],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","",0],KeyT:["t","T","\xFE","\xDE",0],KeyU:["u","U","\xA8","\u0308",4],KeyV:["v","V","\u02C7","\u030C",4],KeyW:["w","W","\u02D9","\u0307",4],KeyX:["x","X",".","\u0323",4],KeyY:["y","Y","\xA5","",0],KeyZ:["z","Z","\u02C0","\u0309",4],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\xA7","\u2020",0],Digit6:["6","^","\u02C6","\u0302",4],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\u2116",8],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","\u0300",4],Comma:[",","<","\u2264","\u201E",0],Period:[".",">","\u2265","\u0294",8],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},74306:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00004009",id:"",text:"India"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\u0101","\u0100",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","\u1E0D","\u1E0C",0,"VK_D"],KeyE:["e","E","\u0113","\u0112",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","\u1E45","\u1E44",0,"VK_G"],KeyH:["h","H","\u1E25","\u1E24",0,"VK_H"],KeyI:["i","I","\u012B","\u012A",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","l\u0325","L\u0325",0,"VK_L"],KeyM:["m","M","\u1E41","\u1E40",0,"VK_M"],KeyN:["n","N","\u1E47","\u1E46",0,"VK_N"],KeyO:["o","O","\u014D","\u014C",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","\xE6","\xC6",0,"VK_Q"],KeyR:["r","R","r\u0325","R\u0325",0,"VK_R"],KeyS:["s","S","\u015B","\u015A",0,"VK_S"],KeyT:["t","T","\u1E6D","\u1E6C",0,"VK_T"],KeyU:["u","U","\u016B","\u016A",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","\u1E63","\u1E62",0,"VK_X"],KeyY:["y","Y","\xF1","\xD1",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2","@","","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","\u20B9","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","\u02C6",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","\u02D8",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","-","\u02CD",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["\\","|","","",0,"VK_OEM_5"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'",'"',"","",0,"VK_OEM_7"],Backquote:["`","~","","~",0,"VK_OEM_3"],Comma:[",","<",",","<",0,"VK_OEM_COMMA"],Period:[".",">",".","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},52973:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.USInternational-PC",lang:"en",localizedName:"U.S. International - PC"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","\u02C6","\xA7","\uFB02",2],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",3],Backquote:["`","\u02DC","`","`",7],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},63962:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00020409",id:"0001",text:"United States-International"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE1","\xC1",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","\xA9","\xA2",0,"VK_C"],KeyD:["d","D","\xF0","\xD0",0,"VK_D"],KeyE:["e","E","\xE9","\xC9",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","\xED","\xCD",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","\xF8","\xD8",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","\xF1","\xD1",0,"VK_N"],KeyO:["o","O","\xF3","\xD3",0,"VK_O"],KeyP:["p","P","\xF6","\xD6",0,"VK_P"],KeyQ:["q","Q","\xE4","\xC4",0,"VK_Q"],KeyR:["r","R","\xAE","",0,"VK_R"],KeyS:["s","S","\xDF","\xA7",0,"VK_S"],KeyT:["t","T","\xFE","\xDE",0,"VK_T"],KeyU:["u","U","\xFA","\xDA",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","\xE5","\xC5",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","\xFC","\xDC",0,"VK_Y"],KeyZ:["z","Z","\xE6","\xC6",0,"VK_Z"],Digit1:["1","!","\xA1","\xB9",0,"VK_1"],Digit2:["2","@","\xB2","",0,"VK_2"],Digit3:["3","#","\xB3","",0,"VK_3"],Digit4:["4","$","\xA4","\xA3",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","^","\xBC","",0,"VK_6"],Digit7:["7","&","\xBD","",0,"VK_7"],Digit8:["8","*","\xBE","",0,"VK_8"],Digit9:["9","(","\u2018","",0,"VK_9"],Digit0:["0",")","\u2019","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","\xA5","",0,"VK_OEM_MINUS"],Equal:["=","+","\xD7","\xF7",0,"VK_OEM_PLUS"],BracketLeft:["[","{","\xAB","",0,"VK_OEM_4"],BracketRight:["]","}","\xBB","",0,"VK_OEM_6"],Backslash:["\\","|","\xAC","\xA6",0,"VK_OEM_5"],Semicolon:[";",":","\xB6","\xB0",0,"VK_OEM_1"],Quote:["'",'"',"\xB4","\xA8",0,"VK_OEM_7"],Backquote:["`","~","","",0,"VK_OEM_3"],Comma:[",","<","\xE7","\xC7",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","\xBF","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},42204:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.British",lang:"en",localizedName:"British"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\u2030",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\xCC",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","^","\xC8",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\u02DC",0],KeyN:["n","N","~","\u02C6",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\xC2",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\xCA",0],KeyU:["u","U","\xA8","\xCB",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\xD9",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xDB",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u20AC","\u2122",0],Digit3:["3","\xA3","#","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","\u0178",4],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","","",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},44321:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000809",id:"",text:"United Kingdom"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE1","\xC1",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\xE9","\xC9",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","\xED","\xCD",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","\xF3","\xD3",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","\xFA","\xDA",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","\xA3","","",0,"VK_3"],Digit4:["4","$","\u20AC","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["#","~","\\","|",0,"VK_OEM_7"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'","@","","",0,"VK_OEM_3"],Backquote:["`","\xAC","\xA6","",0,"VK_OEM_8"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_5"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},1835:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.US",lang:"en",localizedName:"U.S.",isUSStandard:!0},secondaryLayouts:[{id:"com.apple.keylayout.ABC",lang:"en",localizedName:"ABC"},{id:"com.sogou.inputmethod.sogou.pinyin",lang:"zh-Hans",localizedName:"Pinyin - Simplified"},{id:"com.apple.inputmethod.Kotoeri.Roman",lang:"en",localizedName:"Romaji"},{id:"com.apple.inputmethod.Kotoeri.Japanese",lang:"ja",localizedName:"Hiragana"},{id:"com.apple.keylayout.Australian",lang:"en",localizedName:"Australian"},{id:"com.apple.keylayout.Canadian",lang:"en",localizedName:"Canadian English"},{id:"com.apple.keylayout.Brazilian",lang:"pt",localizedName:"Brazilian"}],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","`",4],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},67496:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc105",layout:"us",variant:"",options:"",rules:"evdev",isUSStandard:!0},secondaryLayouts:[{model:"pc105",layout:"cn",variant:"",options:"",rules:"evdev"}],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","a","A",0],KeyB:["b","B","b","B",0],KeyC:["c","C","c","C",0],KeyD:["d","D","d","D",0],KeyE:["e","E","e","E",0],KeyF:["f","F","f","F",0],KeyG:["g","G","g","G",0],KeyH:["h","H","h","H",0],KeyI:["i","I","i","I",0],KeyJ:["j","J","j","J",0],KeyK:["k","K","k","K",0],KeyL:["l","L","l","L",0],KeyM:["m","M","m","M",0],KeyN:["n","N","n","N",0],KeyO:["o","O","o","O",0],KeyP:["p","P","p","P",0],KeyQ:["q","Q","q","Q",0],KeyR:["r","R","r","R",0],KeyS:["s","S","s","S",0],KeyT:["t","T","t","T",0],KeyU:["u","U","u","U",0],KeyV:["v","V","v","V",0],KeyW:["w","W","w","W",0],KeyX:["x","X","x","X",0],KeyY:["y","Y","y","Y",0],KeyZ:["z","Z","z","Z",0],Digit1:["1","!","1","!",0],Digit2:["2","@","2","@",0],Digit3:["3","#","3","#",0],Digit4:["4","$","4","$",0],Digit5:["5","%","5","%",0],Digit6:["6","^","6","^",0],Digit7:["7","&","7","&",0],Digit8:["8","*","8","*",0],Digit9:["9","(","9","(",0],Digit0:["0",")","0",")",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["-","_","-","_",0],Equal:["=","+","=","+",0],BracketLeft:["[","{","[","{",0],BracketRight:["]","}","]","}",0],Backslash:["\\","|","\\","|",0],Semicolon:[";",":",";",":",0],Quote:["'",'"',"'",'"',0],Backquote:["`","~","`","~",0],Comma:[",","<",",","<",0],Period:[".",">",".",">",0],Slash:["/","?","/","?",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:["","","","",0],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:["\r","\r","\r","\r",0],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",".","",".",0],IntlBackslash:["<",">","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[".",".",".",".",0],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:["(","(","(","(",0],NumpadParenRight:[")",")",")",")",0],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},20752:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000409",id:"",text:"US",isUSStandard:!0},secondaryLayouts:[{name:"00000804",id:"",text:"Chinese (Simplified) - US Keyboard"},{name:"00000411",id:"",text:"Japanese"},{name:"00000412",id:"",text:"Korean"},{name:"00000404",id:"",text:"Chinese (Traditional) - US Keyboard"}],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2","@","","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["\\","|","","",0,"VK_OEM_5"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'",'"',"","",0,"VK_OEM_7"],Backquote:["`","~","","",0,"VK_OEM_3"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},91844:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000080A",id:"",text:"Latin American"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","@","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","","",0,"VK_7"],Digit8:["8","(","","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","\\","",0,"VK_OEM_4"],Equal:["\xBF","\xA1","","",0,"VK_OEM_6"],BracketLeft:["\xB4","\xA8","","",0,"VK_OEM_1"],BracketRight:["+","*","~","",0,"VK_OEM_PLUS"],Backslash:["}","]","`","",0,"VK_OEM_2"],Semicolon:["\xF1","\xD1","","",0,"VK_OEM_3"],Quote:["{","[","^","",0,"VK_OEM_7"],Backquote:["|","\xB0","\xAC","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},39982:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Spanish-ISO",lang:"es",localizedName:"Spanish - ISO"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\xDF","",0],KeyC:["c","C","\xA9"," ",0],KeyD:["d","D","\u2202","\u2206",0],KeyE:["e","E","\u20AC","\u20AC",0],KeyF:["f","F","\u0192","\uFB01",0],KeyG:["g","G","\uF8FF","\uFB02",0],KeyH:["h","H","\u2122"," ",0],KeyI:["i","I"," "," ",0],KeyJ:["j","J","\xB6","\xAF",0],KeyK:["k","K","\xA7","\u02C7",0],KeyL:["l","L"," ","\u02D8",0],KeyM:["m","M","\xB5","\u02DA",0],KeyN:["n","N"," ","\u02D9",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE"," ",0],KeyS:["s","S","\u222B"," ",0],KeyT:["t","T","\u2020","\u2021",0],KeyU:["u","U"," "," ",0],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\xE6","\xC6",0],KeyX:["x","X","\u2211","\u203A",0],KeyY:["y","Y","\xA5"," ",0],KeyZ:["z","Z","\u03A9","\u2039",0],Digit1:["1","!","|","\u0131",0],Digit2:["2",'"',"@","\u02DD",0],Digit3:["3","\xB7","#","\u2022",0],Digit4:["4","$","\xA2","\xA3",0],Digit5:["5","%","\u221E","\u2030",0],Digit6:["6","&","\xAC"," ",0],Digit7:["7","/","\xF7","\u2044",0],Digit8:["8","(","\u201C","\u2018",0],Digit9:["9",")","\u201D","\u2019",0],Digit0:["0","=","\u2260","\u2248",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["'","?","\xB4","\xB8",0],Equal:["\xA1","\xBF","\u201A","\u02DB",0],BracketLeft:["`","^","[","\u02C6",3],BracketRight:["+","*","]","\xB1",0],Backslash:["\xE7","\xC7","}","\xBB",0],Semicolon:["\xF1","\xD1","~","\u02DC",4],Quote:["\xB4","\xA8","{","\xAB",3],Backquote:["<",">","\u2264","\u2265",0],Comma:[",",";","\u201E","",0],Period:[".",":","\u2026","\u2026",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",",",",",",",0],IntlBackslash:["\xBA","\xAA","\\","\xB0",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},28735:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc105",layout:"es",variant:"",options:"",rules:"evdev"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE6","\xC6",0],KeyB:["b","B","\u201D","\u2019",0],KeyC:["c","C","\xA2","\xA9",0],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\u20AC","\xA2",0],KeyF:["f","F","\u0111","\xAA",0],KeyG:["g","G","\u014B","\u014A",0],KeyH:["h","H","\u0127","\u0126",0],KeyI:["i","I","\u2192","\u0131",0],KeyJ:["j","J","\u0309","\u031B",0],KeyK:["k","K","\u0138","&",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:["m","M","\xB5","\xBA",0],KeyN:["n","N","n","N",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\xFE","\xDE",0],KeyQ:["q","Q","@","\u03A9",0],KeyR:["r","R","\xB6","\xAE",0],KeyS:["s","S","\xDF","\xA7",0],KeyT:["t","T","\u0167","\u0166",0],KeyU:["u","U","\u2193","\u2191",0],KeyV:["v","V","\u201C","\u2018",0],KeyW:["w","W","\u0142","\u0141",0],KeyX:["x","X","\xBB",">",0],KeyY:["y","Y","\u2190","\xA5",0],KeyZ:["z","Z","\xAB","<",0],Digit1:["1","!","|","\xA1",0],Digit2:["2",'"',"@","\u215B",0],Digit3:["3","\xB7","#","\xA3",0],Digit4:["4","$","~","$",0],Digit5:["5","%","\xBD","\u215C",0],Digit6:["6","&","\xAC","\u215D",0],Digit7:["7","/","{","\u215E",0],Digit8:["8","(","[","\u2122",0],Digit9:["9",")","]","\xB1",0],Digit0:["0","=","}","\xB0",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["'","?","\\","\xBF",0],Equal:["\xA1","\xBF","\u0303","~",0],BracketLeft:["\u0300","\u0302","[","\u030A",0],BracketRight:["+","*","]","\u0304",0],Backslash:["\xE7","\xC7","}","\u0306",0],Semicolon:["\xF1","\xD1","~","\u030B",0],Quote:["\u0301","\u0308","{","{",0],Backquote:["\xBA","\xAA","\\","\\",0],Comma:[",",";","\u2500","\xD7",0],Period:[".",":","\xB7","\xF7",0],Slash:["-","_","\u0323","\u0307",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:["","","","",0],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:["\r","\r","\r","\r",0],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",".","",".",0],IntlBackslash:["<",">","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[".",".",".",".",0],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:["(","(","(","(",0],NumpadParenRight:[")",")",")",")",0],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},66411:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000040A",id:"",text:"Spanish"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","|","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","\xB7","#","",0,"VK_3"],Digit4:["4","$","~","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","\xAC","",0,"VK_6"],Digit7:["7","/","","",0,"VK_7"],Digit8:["8","(","","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","","",0,"VK_OEM_4"],Equal:["\xA1","\xBF","","",0,"VK_OEM_6"],BracketLeft:["`","^","[","",0,"VK_OEM_1"],BracketRight:["+","*","]","",0,"VK_OEM_PLUS"],Backslash:["\xE7","\xC7","}","",0,"VK_OEM_2"],Semicolon:["\xF1","\xD1","","",0,"VK_OEM_3"],Quote:["\xB4","\xA8","{","",0,"VK_OEM_7"],Backquote:["\xBA","\xAA","\\","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},58794:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.French",lang:"fr",localizedName:"French"},secondaryLayouts:[],mapping:{KeyA:["q","Q","\u2021","\u03A9",0],KeyB:["b","B","\xDF","\u222B",0],KeyC:["c","C","\xA9","\xA2",0],KeyD:["d","D","\u2202","\u2206",0],KeyE:["e","E","\xEA","\xCA",0],KeyF:["f","F","\u0192","\xB7",0],KeyG:["g","G","\uFB01","\uFB02",0],KeyH:["h","H","\xCC","\xCE",0],KeyI:["i","I","\xEE","\xEF",0],KeyJ:["j","J","\xCF","\xCD",0],KeyK:["k","K","\xC8","\xCB",0],KeyL:["l","L","\xAC","|",0],KeyM:[",","?","\u221E","\xBF",0],KeyN:["n","N","~","\u0131",4],KeyO:["o","O","\u0153","\u0152",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["a","A","\xE6","\xC6",0],KeyR:["r","R","\xAE","\u201A",0],KeyS:["s","S","\xD2","\u2211",0],KeyT:["t","T","\u2020","\u2122",0],KeyU:["u","U","\xBA","\xAA",0],KeyV:["v","V","\u25CA","\u221A",0],KeyW:["z","Z","\xC2","\xC5",0],KeyX:["x","X","\u2248","\u2044",0],KeyY:["y","Y","\xDA","\u0178",0],KeyZ:["w","W","\u2039","\u203A",0],Digit1:["&","1","\uF8FF","\xB4",8],Digit2:["\xE9","2","\xEB","\u201E",0],Digit3:['"',"3","\u201C","\u201D",0],Digit4:["'","4","\u2018","\u2019",0],Digit5:["(","5","{","[",0],Digit6:["\xA7","6","\xB6","\xE5",0],Digit7:["\xE8","7","\xAB","\xBB",0],Digit8:["!","8","\xA1","\xDB",0],Digit9:["\xE7","9","\xC7","\xC1",0],Digit0:["\xE0","0","\xF8","\xD8",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:[")","\xB0","}","]",0],Equal:["-","_","\u2014","\u2013",0],BracketLeft:["^","\xA8","\xF4","\xD4",3],BracketRight:["$","*","\u20AC","\xA5",0],Backslash:["`","\xA3","@","#",1],Semicolon:["m","M","\xB5","\xD3",0],Quote:["\xF9","%","\xD9","\u2030",0],Backquote:["<",">","\u2264","\u2265",0],Comma:[";",".","\u2026","\u2022",0],Period:[":","/","\xF7","\\",0],Slash:["=","+","\u2260","\xB1",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",".",",",".",0],IntlBackslash:["@","#","\u2022","\u0178",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},62035:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc104",layout:"fr",variant:"",options:"",rules:"base"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["q","Q","@","\u03A9",0],KeyB:["b","B","\u201D","\u2019",0],KeyC:["c","C","\xA2","\xA9",0],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\u20AC","\xA2",0],KeyF:["f","F","\u0111","\xAA",0],KeyG:["g","G","\u014B","\u014A",0],KeyH:["h","H","\u0127","\u0126",0],KeyI:["i","I","\u2192","\u0131",0],KeyJ:["j","J","\u0309","\u031B",0],KeyK:["k","K","\u0138","&",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:[",","?","\u0301","\u030B",0],KeyN:["n","N","n","N",0],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\xFE","\xDE",0],KeyQ:["a","A","\xE6","\xC6",0],KeyR:["r","R","\xB6","\xAE",0],KeyS:["s","S","\xDF","\xA7",0],KeyT:["t","T","\u0167","\u0166",0],KeyU:["u","U","\u2193","\u2191",0],KeyV:["v","V","\u201C","\u2018",0],KeyW:["z","Z","\xAB","<",0],KeyX:["x","X","\xBB",">",0],KeyY:["y","Y","\u2190","\xA5",0],KeyZ:["w","W","\u0142","\u0141",0],Digit1:["&","1","\xB9","\xA1",0],Digit2:["\xE9","2","~","\u215B",0],Digit3:['"',"3","#","\xA3",0],Digit4:["'","4","{","$",0],Digit5:["(","5","[","\u215C",0],Digit6:["-","6","|","\u215D",0],Digit7:["\xE8","7","`","\u215E",0],Digit8:["_","8","\\","\u2122",0],Digit9:["\xE7","9","^","\xB1",0],Digit0:["\xE0","0","@","\xB0",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:[")","\xB0","]","\xBF",0],Equal:["=","+","}","\u0328",0],BracketLeft:["\u0302","\u0308","\u0308","\u030A",0],BracketRight:["$","\xA3","\xA4","\u0304",0],Backslash:["*","\xB5","\u0300","\u0306",0],Semicolon:["m","M","\xB5","\xBA",0],Quote:["\xF9","%","\u0302","\u030C",0],Backquote:["\xB2","~","\xAC","\xAC",0],Comma:[";",".","\u2500","\xD7",0],Period:[":","/","\xB7","\xF7",0],Slash:["!","\xA7","\u0323","\u0307",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:["","","","",0],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:["/","/","/","/",0],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:[],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",".","",".",0],IntlBackslash:["<",">","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:[],NumpadParenRight:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:["\r","\r","\r","\r",0],MetaRight:[".",".",".",".",0],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},74519:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000040C",id:"",text:"French"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["q","Q","","",0,"VK_Q"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:[",","?","","",0,"VK_OEM_COMMA"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["a","A","","",0,"VK_A"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["z","Z","","",0,"VK_Z"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["w","W","","",0,"VK_W"],Digit1:["&","1","","",0,"VK_1"],Digit2:["\xE9","2","~","",0,"VK_2"],Digit3:['"',"3","#","",0,"VK_3"],Digit4:["'","4","{","",0,"VK_4"],Digit5:["(","5","[","",0,"VK_5"],Digit6:["-","6","|","",0,"VK_6"],Digit7:["\xE8","7","`","",0,"VK_7"],Digit8:["_","8","\\","",0,"VK_8"],Digit9:["\xE7","9","^","",0,"VK_9"],Digit0:["\xE0","0","@","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:[")","\xB0","]","",0,"VK_OEM_4"],Equal:["=","+","}","",0,"VK_OEM_PLUS"],BracketLeft:["^","\xA8","","",0,"VK_OEM_6"],BracketRight:["$","\xA3","\xA4","",0,"VK_OEM_1"],Backslash:["*","\xB5","","",0,"VK_OEM_5"],Semicolon:["m","M","","",0,"VK_M"],Quote:["\xF9","%","","",0,"VK_OEM_3"],Backquote:["\xB2","","","",0,"VK_OEM_7"],Comma:[";",".","","",0,"VK_OEM_PERIOD"],Period:[":","/","","",0,"VK_OEM_2"],Slash:["!","\xA7","","",0,"VK_OEM_8"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},99940:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000040E",id:"",text:"Hungarian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE4","",0,"VK_A"],KeyB:["b","B","{","",0,"VK_B"],KeyC:["c","C","&","",0,"VK_C"],KeyD:["d","D","\u0110","",0,"VK_D"],KeyE:["e","E","\xC4","",0,"VK_E"],KeyF:["f","F","[","",0,"VK_F"],KeyG:["g","G","]","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","\xCD","",0,"VK_I"],KeyJ:["j","J","\xED","",0,"VK_J"],KeyK:["k","K","\u0142","",0,"VK_K"],KeyL:["l","L","\u0141","",0,"VK_L"],KeyM:["m","M","<","",0,"VK_M"],KeyN:["n","N","}","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","\\","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\u0111","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","\u20AC","",0,"VK_U"],KeyV:["v","V","@","",0,"VK_V"],KeyW:["w","W","|","",0,"VK_W"],KeyX:["x","X","#","",0,"VK_X"],KeyY:["z","Z","","",0,"VK_Z"],KeyZ:["y","Y",">","",0,"VK_Y"],Digit1:["1","'","~","",0,"VK_1"],Digit2:["2",'"',"\u02C7","",0,"VK_2"],Digit3:["3","+","^","",0,"VK_3"],Digit4:["4","!","\u02D8","",0,"VK_4"],Digit5:["5","%","\xB0","",0,"VK_5"],Digit6:["6","/","\u02DB","",0,"VK_6"],Digit7:["7","=","`","",0,"VK_7"],Digit8:["8","(","\u02D9","",0,"VK_8"],Digit9:["9",")","\xB4","",0,"VK_9"],Digit0:["\xF6","\xD6","\u02DD","",0,"VK_OEM_3"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["\xFC","\xDC","\xA8","",0,"VK_OEM_2"],Equal:["\xF3","\xD3","\xB8","",0,"VK_OEM_PLUS"],BracketLeft:["\u0151","\u0150","\xF7","",0,"VK_OEM_4"],BracketRight:["\xFA","\xDA","\xD7","",0,"VK_OEM_6"],Backslash:["\u0171","\u0170","\xA4","",0,"VK_OEM_5"],Semicolon:["\xE9","\xC9","$","",0,"VK_OEM_1"],Quote:["\xE1","\xC1","\xDF","",0,"VK_OEM_7"],Backquote:["0","\xA7","","",0,"VK_0"],Comma:[",","?",";","",0,"VK_OEM_COMMA"],Period:[".",":",">","",0,"VK_OEM_PERIOD"],Slash:["-","_","*","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\xED","\xCD","<","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},1661:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Italian-Pro",lang:"it",localizedName:"Italian"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\xCD",0],KeyC:["c","C","\xA9","\xC1",0],KeyD:["d","D","\u2202","\u02D8",0],KeyE:["e","E","\u20AC","\xC8",0],KeyF:["f","F","\u0192","\u02D9",0],KeyG:["g","G","\u221E","\u02DA",0],KeyH:["h","H","\u2206","\xB8",0],KeyI:["i","I","\u0153","\u0152",0],KeyJ:["j","J","\xAA","\u02DD",0],KeyK:["k","K","\xBA","\u02DB",0],KeyL:["l","L","\xAC","\u02C7",0],KeyM:["m","M","\xB5","\xDA",0],KeyN:["n","N","\u02DC","\xD3",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u201E","\u201A",0],KeyR:["r","R","\xAE","\xCC",0],KeyS:["s","S","\xDF","\xAF",0],KeyT:["t","T","\u2122","\xD2",0],KeyU:["u","U","\xA8","\xD9",4],KeyV:["v","V","\u221A","\xC9",0],KeyW:["w","W","\u03A9","\xC0",0],KeyX:["x","X","\u2020","\u2021",0],KeyY:["y","Y","\xE6","\xC6",0],KeyZ:["z","Z","\u2211"," ",0],Digit1:["1","!","\xAB","\xBB",0],Digit2:["2",'"',"\u201C","\u201D",0],Digit3:["3","\xA3","\u2018","\u2019",0],Digit4:["4","$","\xA5","\xA2",0],Digit5:["5","%","~","\u2030",0],Digit6:["6","&","\u2039","\u203A",0],Digit7:["7","/","\xF7","\u2044",0],Digit8:["8","(","\xB4","\uF8FF",4],Digit9:["9",")","`"," ",4],Digit0:["0","=","\u2260","\u2248",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["'","?","\xA1","\xBF",0],Equal:["\xEC","^","\u02C6","\xB1",4],BracketLeft:["\xE8","\xE9","[","{",0],BracketRight:["+","*","]","}",0],Backslash:["\xF9","\xA7","\xB6","\u25CA",0],Semicolon:["\xF2","\xE7","@","\xC7",0],Quote:["\xE0","\xB0","#","\u221E",0],Backquote:["<",">","\u2264","\u2265",0],Comma:[",",";","\u2026"," ",0],Period:[".",":","\u2022","\xB7",0],Slash:["-","_","\u2013","\u2014",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",".",",",".",0],IntlBackslash:["\\","|","`","\u0131",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},51562:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000410",id:"",text:"Italian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","\xA3","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","","",0,"VK_7"],Digit8:["8","(","","",0,"VK_8"],Digit9:["9",")","","",0,"VK_9"],Digit0:["0","=","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","","",0,"VK_OEM_4"],Equal:["\xEC","^","","",0,"VK_OEM_6"],BracketLeft:["\xE8","\xE9","[","{",0,"VK_OEM_1"],BracketRight:["+","*","]","}",0,"VK_OEM_PLUS"],Backslash:["\xF9","\xA7","","",0,"VK_OEM_2"],Semicolon:["\xF2","\xE7","@","",0,"VK_OEM_3"],Quote:["\xE0","\xB0","#","",0,"VK_OEM_7"],Backquote:["\\","|","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},59084:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.google.inputmethod.Japanese.Roman",lang:"en",localizedName:"Alphanumeric (Google)"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xAF","\u0304",4],KeyB:["b","B","\u02D8","\u0306",4],KeyC:["c","C","\xB8","\u0327",4],KeyD:["d","D","\xF0","\xD0",0],KeyE:["e","E","\xB4","\u0301",4],KeyF:["f","F","\u0192","",0],KeyG:["g","G","\xA9","\u2038",8],KeyH:["h","H","\u02CD","\u0331",4],KeyI:["i","I","\u02BC","\u031B",4],KeyJ:["j","J","\u02DD","\u030B",4],KeyK:["k","K","\u02DA","\u030A",4],KeyL:["l","L","-","\u0335",4],KeyM:["m","M","\u02DB","\u0328",4],KeyN:["n","N","\u02DC","\u0303",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P",",","\u0326",4],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","",0],KeyT:["t","T","\xFE","\xDE",0],KeyU:["u","U","\xA8","\u0308",4],KeyV:["v","V","\u02C7","\u030C",4],KeyW:["w","W","\u02D9","\u0307",4],KeyX:["x","X",".","\u0323",4],KeyY:["y","Y","\xA5","",0],KeyZ:["z","Z","\u02C0","\u0309",4],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\xA7","\u2020",0],Digit6:["6","^","\u02C6","\u0302",4],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\u2116",8],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","\u0300",4],Comma:[",","<","\u2264","\u201E",0],Period:[".",">","\u2265","\u0294",8],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},51972:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.inputmethod.Kotoeri.Japanese",lang:"ja",localizedName:"Hiragana"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","^","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["`","~","`","`",4],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},12484:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.inputmethod.Korean.2SetKorean",lang:"ko",localizedName:"2-Set Korean"},secondaryLayouts:[],mapping:{KeyA:["\u3141","\u3141","a","A",0],KeyB:["\u3160","\u3160","b","B",0],KeyC:["\u314A","\u314A","c","C",0],KeyD:["\u3147","\u3147","d","D",0],KeyE:["\u3137","\u3138","e","E",0],KeyF:["\u3139","\u3139","f","F",0],KeyG:["\u314E","\u314E","g","G",0],KeyH:["\u3157","\u3157","h","H",0],KeyI:["\u3151","\u3151","i","I",0],KeyJ:["\u3153","\u3153","j","J",0],KeyK:["\u314F","\u314F","k","K",0],KeyL:["\u3163","\u3163","l","L",0],KeyM:["\u3161","\u3161","m","M",0],KeyN:["\u315C","\u315C","n","N",0],KeyO:["\u3150","\u3152","o","O",0],KeyP:["\u3154","\u3156","p","P",0],KeyQ:["\u3142","\u3143","q","Q",0],KeyR:["\u3131","\u3132","r","R",0],KeyS:["\u3134","\u3134","s","S",0],KeyT:["\u3145","\u3146","t","T",0],KeyU:["\u3155","\u3155","u","U",0],KeyV:["\u314D","\u314D","v","V",0],KeyW:["\u3148","\u3149","w","W",0],KeyX:["\u314C","\u314C","x","X",0],KeyY:["\u315B","\u315B","y","Y",0],KeyZ:["\u314B","\u314B","z","Z",0],Digit1:["1","!","1","!",0],Digit2:["2","@","2","@",0],Digit3:["3","#","3","#",0],Digit4:["4","$","4","$",0],Digit5:["5","%","5","%",0],Digit6:["6","^","6","^",0],Digit7:["7","&","7","&",0],Digit8:["8","*","8","*",0],Digit9:["9","(","9","(",0],Digit0:["0",")","0",")",0],Enter:[],Escape:["","","","\u200C",0],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","-","_",0],Equal:["=","+","=","+",0],BracketLeft:["[","{","[","{",0],BracketRight:["]","}","]","}",0],Backslash:["\\","|","\\","|",0],Semicolon:[";",":",";",":",0],Quote:["'",'"',"'",'"',0],Backquote:["\u20A9","~","`","~",0],Comma:[",","<",",","<",0],Period:[".",">",".",">",0],Slash:["/","?","/","?",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},3892:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireRegister=void 0;const n=()=>{e(1835),e(55005),e(42204),e(39982),e(59084),e(69315),e(52973),e(72817),e(58794),e(51972),e(76878),e(1661),e(30665),e(70646),e(12484),e(33695)};t.requireRegister=n},5153:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutContribution=t.requireRegister=void 0;const n=e(43718),r=e(3892),o=e(24505),c=e(95849);t.requireRegister=n.isWindows?c.requireRegister:n.isOSX?r.requireRegister:o.requireRegister;var p=e(62100);Object.defineProperty(t,"KeyboardLayoutContribution",{enumerable:!0,get:function(){return p.KeyboardLayoutContribution}})},24505:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireRegister=void 0;const n=()=>{e(67496),e(28735),e(41872),e(62035),e(55794)};t.requireRegister=n},95849:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requireRegister=void 0;const n=()=>{e(20752),e(91844),e(74306),e(47288),e(44321),e(74519),e(95072),e(66411),e(63962),e(8422),e(65803),e(51562),e(6650),e(68457),e(29987),e(81682),e(1644),e(86185),e(99940),e(61330),e(84905),e(98582)};t.requireRegister=n},1644:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000414",id:"",text:"Norwegian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","\xA4","$","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["+","?","","",0,"VK_OEM_PLUS"],Equal:["\\","`","\xB4","",0,"VK_OEM_4"],BracketLeft:["\xE5","\xC5","","",0,"VK_OEM_6"],BracketRight:["\xA8","^","~","",0,"VK_OEM_1"],Backslash:["'","*","","",0,"VK_OEM_2"],Semicolon:["\xF8","\xD8","","",0,"VK_OEM_3"],Quote:["\xE6","\xC6","","",0,"VK_OEM_7"],Backquote:["|","\xA7","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},76878:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.PolishPro",lang:"pl",localizedName:"Polish - Pro"},secondaryLayouts:[],mapping:{KeyA:["a","A","\u0105","\u0104",0],KeyB:["b","B","\u013C","\u0171",0],KeyC:["c","C","\u0107","\u0106",0],KeyD:["d","D","\u2202","\u017D",0],KeyE:["e","E","\u0119","\u0118",0],KeyF:["f","F","\u0144","\u017E",0],KeyG:["g","G","\xA9","\u016A",0],KeyH:["h","H","\u0137","\xD3",0],KeyI:["i","I","^","\u0165",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u017B","\u016B",0],KeyL:["l","L","\u0142","\u0141",0],KeyM:["m","M","\u0136","\u0173",0],KeyN:["n","N","\u0144","\u0143",0],KeyO:["o","O","\xF3","\xD3",0],KeyP:["p","P","\u013B","\u0142",0],KeyQ:["q","Q","\u014C","\u0151",0],KeyR:["r","R","\xAE","\xA3",0],KeyS:["s","S","\u015B","\u015A",0],KeyT:["t","T","\u2020","\u015B",0],KeyU:["u","U","\xA8","\u0164",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u017A","\u0179",0],KeyY:["y","Y","\u012B","\xC1",0],KeyZ:["z","Z","\u017C","\u017B",0],Digit1:["1","!","\u0143","\u0155",0],Digit2:["2","@","\u2122","\u0158",0],Digit3:["3","#","\u20AC","\u2039",0],Digit4:["4","$","\xDF","\u203A",0],Digit5:["5","%","\u012F","\u0159",0],Digit6:["6","^","\xA7","\u0156",0],Digit7:["7","&","\xB6","\u0157",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\u013D","\u0160",0],Digit0:["0",")","\u013E","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\u012A",0],BracketLeft:["[","{","\u201E","\u201D",0],BracketRight:["]","}","\u201A","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\u013A","\u0123",0],Backquote:["`","~","`","\u0154",4],Comma:[",","<","\u2264","\xDD",0],Period:[".",">","\u2265","\xFD",0],Slash:["/","?","\xF7","\u0146",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xA3","\xAC","\xAC",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},65803:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000415",id:"",text:"Polish (Programmers)"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\u0105","\u0104",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","\u0107","\u0106",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u0119","\u0118",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","\u0142","\u0141",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","\u0144","\u0143",0,"VK_N"],KeyO:["o","O","\xF3","\xD3",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\u015B","\u015A",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","\u20AC","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","\u017A","\u0179",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","\u017C","\u017B",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2","@","","",0,"VK_2"],Digit3:["3","#","","",0,"VK_3"],Digit4:["4","$","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6","^","","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["[","{","","",0,"VK_OEM_4"],BracketRight:["]","}","","",0,"VK_OEM_6"],Backslash:["\\","|","","",0,"VK_OEM_5"],Semicolon:[";",":","","",0,"VK_OEM_1"],Quote:["'",'"',"","",0,"VK_OEM_7"],Backquote:["`","~","","",0,"VK_OEM_3"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:["/","?","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},95072:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000416",id:"",text:"Portuguese (Brazilian ABNT)"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","\u20A2","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\xB0","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","/","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","?","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","\xB9","",0,"VK_1"],Digit2:["2","@","\xB2","",0,"VK_2"],Digit3:["3","#","\xB3","",0,"VK_3"],Digit4:["4","$","\xA3","",0,"VK_4"],Digit5:["5","%","\xA2","",0,"VK_5"],Digit6:["6","\xA8","\xAC","",0,"VK_6"],Digit7:["7","&","","",0,"VK_7"],Digit8:["8","*","","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","\xA7","",0,"VK_OEM_PLUS"],BracketLeft:["\xB4","`","","",0,"VK_OEM_4"],BracketRight:["[","{","\xAA","",0,"VK_OEM_6"],Backslash:["]","}","\xBA","",0,"VK_OEM_5"],Semicolon:["\xE7","\xC7","","",0,"VK_OEM_1"],Quote:["~","^","","",0,"VK_OEM_7"],Backquote:["'",'"',"","",0,"VK_OEM_3"],Comma:[",","<","","",0,"VK_OEM_COMMA"],Period:[".",">","","",0,"VK_OEM_PERIOD"],Slash:[";",":","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","|","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[".",".","","",0,"VK_ABNT_C2"],IntlRo:["/","?","\xB0","",0,"VK_ABNT_C1"],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},70646:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Brazilian-Pro",lang:"pt"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","!","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","$","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","\u02C6","\xA7","\uFB02",2],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","(","\xAA","\xB7",0],Digit0:["0",")","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["[","{","\u201C","\u201D",0],BracketRight:["]","}","\u2018","\u2019",0],Backslash:["\\","|","\xAB","\xBB",0],Semicolon:[";",":","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",3],Backquote:["`","\u02DC","`","`",7],Comma:[",","<","\u2264","\xAF",0],Period:[".",">","\u2265","\u02D8",0],Slash:["/","?","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},29987:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000816",id:"",text:"Portuguese"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","$","\xA7","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["'","?","","",0,"VK_OEM_4"],Equal:["\xAB","\xBB","","",0,"VK_OEM_6"],BracketLeft:["+","*","\xA8","",0,"VK_OEM_PLUS"],BracketRight:["\xB4","`","]","",0,"VK_OEM_1"],Backslash:["~","^","","",0,"VK_OEM_2"],Semicolon:["\xE7","\xC7","","",0,"VK_OEM_3"],Quote:["\xBA","\xAA","","",0,"VK_OEM_7"],Backquote:["\\","|","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},30665:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.keylayout.Russian",lang:"ru",localizedName:"Russian"},secondaryLayouts:[],mapping:{KeyA:["\u0444","\u0424","\u0192","\u0192",0],KeyB:["\u0438","\u0418","\u0438","\u0418",0],KeyC:["\u0441","\u0421","\u2260","\u2260",0],KeyD:["\u0432","\u0412","\u045B","\u040B",0],KeyE:["\u0443","\u0423","\u045C","\u040C",0],KeyF:["\u0430","\u0410","\xF7","\xF7",0],KeyG:["\u043F","\u041F","\xA9","\xA9",0],KeyH:["\u0440","\u0420","\u20BD","\u20BD",0],KeyI:["\u0448","\u0428","\u0455","\u0405",0],KeyJ:["\u043E","\u041E","\xB0","\u2022",0],KeyK:["\u043B","\u041B","\u0459","\u0409",0],KeyL:["\u0434","\u0414","\u2206","\u2206",0],KeyM:["\u044C","\u042C","~","~",0],KeyN:["\u0442","\u0422","\u2122","\u2122",0],KeyO:["\u0449","\u0429","\u045E","\u040E",0],KeyP:["\u0437","\u0417","\u2018","\u2019",0],KeyQ:["\u0439","\u0419","\u0458","\u0408",0],KeyR:["\u043A","\u041A","\xAE","\xAE",0],KeyS:["\u044B","\u042B","\u044B","\u042B",0],KeyT:["\u0435","\u0415","\u2020","\u2020",0],KeyU:["\u0433","\u0413","\u0453","\u0403",0],KeyV:["\u043C","\u041C","\xB5","\xB5",0],KeyW:["\u0446","\u0426","\u045F","\u040F",0],KeyX:["\u0447","\u0427","\u2248","\u2248",0],KeyY:["\u043D","\u041D","\u045A","\u040A",0],KeyZ:["\u044F","\u042F","\u0452","\u0402",0],Digit1:["1","!","!","|",0],Digit2:["2",'"',"@",'"',0],Digit3:["3","\u2116","#","\xA3",0],Digit4:["4","%","$","\u20AC",0],Digit5:["5",":","%","\u221E",0],Digit6:["6",",","^","\xAC",0],Digit7:["7",".","&","\xB6",0],Digit8:["8",";","*","\u221A",0],Digit9:["9","(","{","'",0],Digit0:["0",")","}","`",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","_","\u2013","\u2014",0],Equal:["=","+","\xBB","\xAB",0],BracketLeft:["\u0445","\u0425","\u201C","\u201D",0],BracketRight:["\u044A","\u042A","\u044A","\u042A",0],Backslash:["\u0451","\u0401","\u0451","\u0401",0],Semicolon:["\u0436","\u0416","\u2026","\u2026",0],Quote:["\u044D","\u042D","\u044D","\u042D",0],Backquote:["]","[","]","[",0],Comma:["\u0431","\u0411","\u2264","<",0],Period:["\u044E","\u042E","\u2265",">",0],Slash:["/","?","\u201C","\u201E",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[",",".",",",",",0],IntlBackslash:[">","<","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},55794:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{model:"pc104",layout:"ru",variant:",",options:"",rules:"base"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["\u0444","\u0424","\u0444","\u0424",0],KeyB:["\u0438","\u0418","\u0438","\u0418",0],KeyC:["\u0441","\u0421","\u0441","\u0421",0],KeyD:["\u0432","\u0412","\u0432","\u0412",0],KeyE:["\u0443","\u0423","\u0443","\u0423",0],KeyF:["\u0430","\u0410","\u0430","\u0410",0],KeyG:["\u043F","\u041F","\u043F","\u041F",0],KeyH:["\u0440","\u0420","\u0440","\u0420",0],KeyI:["\u0448","\u0428","\u0448","\u0428",0],KeyJ:["\u043E","\u041E","\u043E","\u041E",0],KeyK:["\u043B","\u041B","\u043B","\u041B",0],KeyL:["\u0434","\u0414","\u0434","\u0414",0],KeyM:["\u044C","\u042C","\u044C","\u042C",0],KeyN:["\u0442","\u0422","\u0442","\u0422",0],KeyO:["\u0449","\u0429","\u0449","\u0429",0],KeyP:["\u0437","\u0417","\u0437","\u0417",0],KeyQ:["\u0439","\u0419","\u0439","\u0419",0],KeyR:["\u043A","\u041A","\u043A","\u041A",0],KeyS:["\u044B","\u042B","\u044B","\u042B",0],KeyT:["\u0435","\u0415","\u0435","\u0415",0],KeyU:["\u0433","\u0413","\u0433","\u0413",0],KeyV:["\u043C","\u041C","\u043C","\u041C",0],KeyW:["\u0446","\u0426","\u0446","\u0426",0],KeyX:["\u0447","\u0427","\u0447","\u0427",0],KeyY:["\u043D","\u041D","\u043D","\u041D",0],KeyZ:["\u044F","\u042F","\u044F","\u042F",0],Digit1:["1","!","1","!",0],Digit2:["2",'"',"2",'"',0],Digit3:["3","\u2116","3","\u2116",0],Digit4:["4",";","4",";",0],Digit5:["5","%","5","%",0],Digit6:["6",":","6",":",0],Digit7:["7","?","7","?",0],Digit8:["8","*","\u20BD","",0],Digit9:["9","(","9","(",0],Digit0:["0",")","0",")",0],Enter:["\r","\r","\r","\r",0],Escape:["\x1B","\x1B","\x1B","\x1B",0],Backspace:["\b","\b","\b","\b",0],Tab:[" ",""," ","",0],Space:[" "," "," "," ",0],Minus:["-","_","-","_",0],Equal:["=","+","=","+",0],BracketLeft:["\u0445","\u0425","\u0445","\u0425",0],BracketRight:["\u044A","\u042A","\u044A","\u042A",0],Backslash:["\\","/","\\","/",0],Semicolon:["\u0436","\u0416","\u0436","\u0416",0],Quote:["\u044D","\u042D","\u044D","\u042D",0],Backquote:["\u0451","\u0401","\u0451","\u0401",0],Comma:["\u0431","\u0411","\u0431","\u0411",0],Period:["\u044E","\u042E","\u044E","\u042E",0],Slash:[".",",",".",",",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:["","","","",0],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:["/","/","/","/",0],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:[],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["","1","","1",0],Numpad2:["","2","","2",0],Numpad3:["","3","","3",0],Numpad4:["","4","","4",0],Numpad5:["","5","","5",0],Numpad6:["","6","","6",0],Numpad7:["","7","","7",0],Numpad8:["","8","","8",0],Numpad9:["","9","","9",0],Numpad0:["","0","","0",0],NumpadDecimal:["",",","",",",0],IntlBackslash:["/","|","|","\xA6",0],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Open:[],Help:[],Select:[],Again:[],Undo:[],Cut:[],Copy:[],Paste:[],Find:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],Lang5:[],NumpadParenLeft:[],NumpadParenRight:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:["\r","\r","\r","\r",0],MetaRight:[".",".",".",".",0],BrightnessUp:[],BrightnessDown:[],MediaPlay:[],MediaRecord:[],MediaFastForward:[],MediaRewind:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],SelectTask:[],LaunchScreenSaver:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[],MailReply:[],MailForward:[],MailSend:[]}})},8422:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"00000419",id:"",text:"Russian"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["\u0444","\u0424","","",0,"VK_A"],KeyB:["\u0438","\u0418","","",0,"VK_B"],KeyC:["\u0441","\u0421","","",0,"VK_C"],KeyD:["\u0432","\u0412","","",0,"VK_D"],KeyE:["\u0443","\u0423","","",0,"VK_E"],KeyF:["\u0430","\u0410","","",0,"VK_F"],KeyG:["\u043F","\u041F","","",0,"VK_G"],KeyH:["\u0440","\u0420","","",0,"VK_H"],KeyI:["\u0448","\u0428","","",0,"VK_I"],KeyJ:["\u043E","\u041E","","",0,"VK_J"],KeyK:["\u043B","\u041B","","",0,"VK_K"],KeyL:["\u0434","\u0414","","",0,"VK_L"],KeyM:["\u044C","\u042C","","",0,"VK_M"],KeyN:["\u0442","\u0422","","",0,"VK_N"],KeyO:["\u0449","\u0429","","",0,"VK_O"],KeyP:["\u0437","\u0417","","",0,"VK_P"],KeyQ:["\u0439","\u0419","","",0,"VK_Q"],KeyR:["\u043A","\u041A","","",0,"VK_R"],KeyS:["\u044B","\u042B","","",0,"VK_S"],KeyT:["\u0435","\u0415","","",0,"VK_T"],KeyU:["\u0433","\u0413","","",0,"VK_U"],KeyV:["\u043C","\u041C","","",0,"VK_V"],KeyW:["\u0446","\u0426","","",0,"VK_W"],KeyX:["\u0447","\u0427","","",0,"VK_X"],KeyY:["\u043D","\u041D","","",0,"VK_Y"],KeyZ:["\u044F","\u042F","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"","",0,"VK_2"],Digit3:["3","\u2116","","",0,"VK_3"],Digit4:["4",";","","",0,"VK_4"],Digit5:["5","%","","",0,"VK_5"],Digit6:["6",":","","",0,"VK_6"],Digit7:["7","?","","",0,"VK_7"],Digit8:["8","*","\u20BD","",0,"VK_8"],Digit9:["9","(","","",0,"VK_9"],Digit0:["0",")","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["-","_","","",0,"VK_OEM_MINUS"],Equal:["=","+","","",0,"VK_OEM_PLUS"],BracketLeft:["\u0445","\u0425","","",0,"VK_OEM_4"],BracketRight:["\u044A","\u042A","","",0,"VK_OEM_6"],Backslash:["\\","/","","",0,"VK_OEM_5"],Semicolon:["\u0436","\u0416","","",0,"VK_OEM_1"],Quote:["\u044D","\u042D","","",0,"VK_OEM_7"],Backquote:["\u0451","\u0401","","",0,"VK_OEM_3"],Comma:["\u0431","\u0411","","",0,"VK_OEM_COMMA"],Period:["\u044E","\u042E","","",0,"VK_OEM_PERIOD"],Slash:[".",",","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\\","/","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},6650:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000041D",id:"",text:"Swedish"},secondaryLayouts:[{name:"0000040B",id:"",text:"Finnish"}],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","","",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["i","I","","",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","\xB5","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","","",0,"VK_S"],KeyT:["t","T","","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!","","",0,"VK_1"],Digit2:["2",'"',"@","",0,"VK_2"],Digit3:["3","#","\xA3","",0,"VK_3"],Digit4:["4","\xA4","$","",0,"VK_4"],Digit5:["5","%","\u20AC","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["+","?","\\","",0,"VK_OEM_PLUS"],Equal:["\xB4","`","","",0,"VK_OEM_4"],BracketLeft:["\xE5","\xC5","","",0,"VK_OEM_6"],BracketRight:["\xA8","^","~","",0,"VK_OEM_1"],Backslash:["'","*","","",0,"VK_OEM_2"],Semicolon:["\xF6","\xD6","","",0,"VK_OEM_3"],Quote:["\xE4","\xC4","","",0,"VK_OEM_7"],Backquote:["\xA7","\xBD","","",0,"VK_OEM_5"],Comma:[",",";","","",0,"VK_OEM_COMMA"],Period:[".",":","","",0,"VK_OEM_PERIOD"],Slash:["-","_","","",0,"VK_OEM_MINUS"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","|","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},86185:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000041E",id:"",text:"Thai Kedmanee"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["\u0E1F","\u0E24","","",0,"VK_A"],KeyB:["\u0E34","\u0E3A","","",0,"VK_B"],KeyC:["\u0E41","\u0E09","","",0,"VK_C"],KeyD:["\u0E01","\u0E0F","","",0,"VK_D"],KeyE:["\u0E33","\u0E0E","","",0,"VK_E"],KeyF:["\u0E14","\u0E42","","",0,"VK_F"],KeyG:["\u0E40","\u0E0C","","",0,"VK_G"],KeyH:["\u0E49","\u0E47","","",0,"VK_H"],KeyI:["\u0E23","\u0E13","","",0,"VK_I"],KeyJ:["\u0E48","\u0E4B","","",0,"VK_J"],KeyK:["\u0E32","\u0E29","","",0,"VK_K"],KeyL:["\u0E2A","\u0E28","","",0,"VK_L"],KeyM:["\u0E17","?","","",0,"VK_M"],KeyN:["\u0E37","\u0E4C","","",0,"VK_N"],KeyO:["\u0E19","\u0E2F","","",0,"VK_O"],KeyP:["\u0E22","\u0E0D","","",0,"VK_P"],KeyQ:["\u0E46","\u0E50","","",0,"VK_Q"],KeyR:["\u0E1E","\u0E11","","",0,"VK_R"],KeyS:["\u0E2B","\u0E06","","",0,"VK_S"],KeyT:["\u0E30","\u0E18","","",0,"VK_T"],KeyU:["\u0E35","\u0E4A","","",0,"VK_U"],KeyV:["\u0E2D","\u0E2E","","",0,"VK_V"],KeyW:["\u0E44",'"',"","",0,"VK_W"],KeyX:["\u0E1B",")","","",0,"VK_X"],KeyY:["\u0E31","\u0E4D","","",0,"VK_Y"],KeyZ:["\u0E1C","(","","",0,"VK_Z"],Digit1:["\u0E45","+","","",0,"VK_1"],Digit2:["/","\u0E51","","",0,"VK_2"],Digit3:["-","\u0E52","","",0,"VK_3"],Digit4:["\u0E20","\u0E53","","",0,"VK_4"],Digit5:["\u0E16","\u0E54","","",0,"VK_5"],Digit6:["\u0E38","\u0E39","","",0,"VK_6"],Digit7:["\u0E36","\u0E3F","","",0,"VK_7"],Digit8:["\u0E04","\u0E55","","",0,"VK_8"],Digit9:["\u0E15","\u0E56","","",0,"VK_9"],Digit0:["\u0E08","\u0E57","","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["\u0E02","\u0E58","","",0,"VK_OEM_MINUS"],Equal:["\u0E0A","\u0E59","","",0,"VK_OEM_PLUS"],BracketLeft:["\u0E1A","\u0E10","","",0,"VK_OEM_4"],BracketRight:["\u0E25",",","","",0,"VK_OEM_6"],Backslash:["\u0E03","\u0E05","","",0,"VK_OEM_5"],Semicolon:["\u0E27","\u0E0B","","",0,"VK_OEM_1"],Quote:["\u0E07",".","","",0,"VK_OEM_7"],Backquote:["_","%","","",0,"VK_OEM_3"],Comma:["\u0E21","\u0E12","","",0,"VK_OEM_COMMA"],Period:["\u0E43","\u0E2C","","",0,"VK_OEM_PERIOD"],Slash:["\u0E1D","\u0E26","","",0,"VK_OEM_2"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["\u0E03","\u0E05","","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},68457:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{name:"0000041F",id:"",text:"Turkish Q"},secondaryLayouts:[],mapping:{Sleep:[],WakeUp:[],KeyA:["a","A","\xE6","\xC6",0,"VK_A"],KeyB:["b","B","","",0,"VK_B"],KeyC:["c","C","","",0,"VK_C"],KeyD:["d","D","","",0,"VK_D"],KeyE:["e","E","\u20AC","",0,"VK_E"],KeyF:["f","F","","",0,"VK_F"],KeyG:["g","G","","",0,"VK_G"],KeyH:["h","H","","",0,"VK_H"],KeyI:["\u0131","I","i","\u0130",0,"VK_I"],KeyJ:["j","J","","",0,"VK_J"],KeyK:["k","K","","",0,"VK_K"],KeyL:["l","L","","",0,"VK_L"],KeyM:["m","M","","",0,"VK_M"],KeyN:["n","N","","",0,"VK_N"],KeyO:["o","O","","",0,"VK_O"],KeyP:["p","P","","",0,"VK_P"],KeyQ:["q","Q","@","",0,"VK_Q"],KeyR:["r","R","","",0,"VK_R"],KeyS:["s","S","\xDF","",0,"VK_S"],KeyT:["t","T","\u20BA","",0,"VK_T"],KeyU:["u","U","","",0,"VK_U"],KeyV:["v","V","","",0,"VK_V"],KeyW:["w","W","","",0,"VK_W"],KeyX:["x","X","","",0,"VK_X"],KeyY:["y","Y","","",0,"VK_Y"],KeyZ:["z","Z","","",0,"VK_Z"],Digit1:["1","!",">","",0,"VK_1"],Digit2:["2","'","\xA3","",0,"VK_2"],Digit3:["3","^","#","",0,"VK_3"],Digit4:["4","+","$","",0,"VK_4"],Digit5:["5","%","\xBD","",0,"VK_5"],Digit6:["6","&","","",0,"VK_6"],Digit7:["7","/","{","",0,"VK_7"],Digit8:["8","(","[","",0,"VK_8"],Digit9:["9",")","]","",0,"VK_9"],Digit0:["0","=","}","",0,"VK_0"],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," ","","",0,"VK_SPACE"],Minus:["*","?","\\","",0,"VK_OEM_8"],Equal:["-","_","|","",0,"VK_OEM_MINUS"],BracketLeft:["\u011F","\u011E","\xA8","",0,"VK_OEM_4"],BracketRight:["\xFC","\xDC","~","",0,"VK_OEM_6"],Backslash:[",",";","`","",0,"VK_OEM_COMMA"],Semicolon:["\u015F","\u015E","\xB4","",0,"VK_OEM_1"],Quote:["i","\u0130","","",0,"VK_OEM_7"],Backquote:['"',"\xE9","<","",0,"VK_OEM_3"],Comma:["\xF6","\xD6","","",0,"VK_OEM_2"],Period:["\xE7","\xC7","","",0,"VK_OEM_5"],Slash:[".",":","","",0,"VK_OEM_PERIOD"],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],PrintScreen:[],ScrollLock:[],Pause:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","","",0,"VK_DIVIDE"],NumpadMultiply:["*","*","","",0,"VK_MULTIPLY"],NumpadSubtract:["-","-","","",0,"VK_SUBTRACT"],NumpadAdd:["+","+","","",0,"VK_ADD"],NumpadEnter:[],Numpad1:[],Numpad2:[],Numpad3:[],Numpad4:[],Numpad5:[],Numpad6:[],Numpad7:[],Numpad8:[],Numpad9:[],Numpad0:[],NumpadDecimal:[],IntlBackslash:["<",">","|","",0,"VK_OEM_102"],ContextMenu:[],Power:[],NumpadEqual:[],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],F21:[],F22:[],F23:[],F24:[],Help:[],Undo:[],Cut:[],Copy:[],Paste:[],AudioVolumeMute:[],AudioVolumeUp:[],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],Convert:[],NonConvert:[],Lang1:[],Lang2:[],Lang3:[],Lang4:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[],MediaTrackNext:[],MediaTrackPrevious:[],MediaStop:[],Eject:[],MediaPlayPause:[],MediaSelect:[],LaunchMail:[],LaunchApp2:[],LaunchApp1:[],BrowserSearch:[],BrowserHome:[],BrowserBack:[],BrowserForward:[],BrowserStop:[],BrowserRefresh:[],BrowserFavorites:[]}})},55005:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(62100).KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({layout:{id:"com.apple.inputmethod.SCIM.ITABC",lang:"zh-Hans",localizedName:"\u641C\u72D7\u62FC\u97F3"},secondaryLayouts:[],mapping:{KeyA:["a","A","\xE5","\xC5",0],KeyB:["b","B","\u222B","\u0131",0],KeyC:["c","C","\xE7","\xC7",0],KeyD:["d","D","\u2202","\xCE",0],KeyE:["e","E","\xB4","\xB4",4],KeyF:["f","F","\u0192","\xCF",0],KeyG:["g","G","\xA9","\u02DD",0],KeyH:["h","H","\u02D9","\xD3",0],KeyI:["i","I","\u02C6","\u02C6",4],KeyJ:["j","J","\u2206","\xD4",0],KeyK:["k","K","\u02DA","\uF8FF",0],KeyL:["l","L","\xAC","\xD2",0],KeyM:["m","M","\xB5","\xC2",0],KeyN:["n","N","\u02DC","\u02DC",4],KeyO:["o","O","\xF8","\xD8",0],KeyP:["p","P","\u03C0","\u220F",0],KeyQ:["q","Q","\u0153","\u0152",0],KeyR:["r","R","\xAE","\u2030",0],KeyS:["s","S","\xDF","\xCD",0],KeyT:["t","T","\u2020","\u02C7",0],KeyU:["u","U","\xA8","\xA8",4],KeyV:["v","V","\u221A","\u25CA",0],KeyW:["w","W","\u2211","\u201E",0],KeyX:["x","X","\u2248","\u02DB",0],KeyY:["y","Y","\xA5","\xC1",0],KeyZ:["z","Z","\u03A9","\xB8",0],Digit1:["1","\uFF01","\xA1","\u2044",0],Digit2:["2","@","\u2122","\u20AC",0],Digit3:["3","#","\xA3","\u2039",0],Digit4:["4","\xA5","\xA2","\u203A",0],Digit5:["5","%","\u221E","\uFB01",0],Digit6:["6","","\xA7","\uFB02",0],Digit7:["7","&","\xB6","\u2021",0],Digit8:["8","*","\u2022","\xB0",0],Digit9:["9","\uFF08","\xAA","\xB7",0],Digit0:["0","\uFF09","\xBA","\u201A",0],Enter:[],Escape:[],Backspace:[],Tab:[],Space:[" "," "," "," ",0],Minus:["-","","\u2013","\u2014",0],Equal:["=","+","\u2260","\xB1",0],BracketLeft:["\u3010","\u300C","\u201C","\u201D",0],BracketRight:["\u3011","\u300D","\u2018","\u2019",0],Backslash:["\u3001","|","\xAB","\xBB",0],Semicolon:["\uFF1B","\uFF1A","\u2026","\xDA",0],Quote:["'",'"',"\xE6","\xC6",0],Backquote:["\xB7","\uFF5E","`","`",4],Comma:["\uFF0C","\u300A","\u2264","\xAF",0],Period:["\u3002","\u300B","\u2265","\u02D8",0],Slash:["/","\uFF1F","\xF7","\xBF",0],CapsLock:[],F1:[],F2:[],F3:[],F4:[],F5:[],F6:[],F7:[],F8:[],F9:[],F10:[],F11:[],F12:[],Insert:[],Home:[],PageUp:[],Delete:[],End:[],PageDown:[],ArrowRight:[],ArrowLeft:[],ArrowDown:[],ArrowUp:[],NumLock:[],NumpadDivide:["/","/","/","/",0],NumpadMultiply:["*","*","*","*",0],NumpadSubtract:["-","-","-","-",0],NumpadAdd:["+","+","+","+",0],NumpadEnter:[],Numpad1:["1","1","1","1",0],Numpad2:["2","2","2","2",0],Numpad3:["3","3","3","3",0],Numpad4:["4","4","4","4",0],Numpad5:["5","5","5","5",0],Numpad6:["6","6","6","6",0],Numpad7:["7","7","7","7",0],Numpad8:["8","8","8","8",0],Numpad9:["9","9","9","9",0],Numpad0:["0","0","0","0",0],NumpadDecimal:[".",".",".",".",0],IntlBackslash:["\xA7","\xB1","\xA7","\xB1",0],ContextMenu:[],NumpadEqual:["=","=","=","=",0],F13:[],F14:[],F15:[],F16:[],F17:[],F18:[],F19:[],F20:[],AudioVolumeMute:[],AudioVolumeUp:["","=","","=",0],AudioVolumeDown:[],NumpadComma:[],IntlRo:[],KanaMode:[],IntlYen:[],ControlLeft:[],ShiftLeft:[],AltLeft:[],MetaLeft:[],ControlRight:[],ShiftRight:[],AltRight:[],MetaRight:[]}})},9956:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarRegistry=t.TabBarToolbarContribution=void 0;const n=e(85608),r=e(76003),o=e(64102),c=e(39496);t.TabBarToolbarContribution=Symbol("TabBarToolbarContribution");let p=class{registerItem(m){if(typeof m.command=="string"){const _=m.tooltip||m.label;_&&(m.command={id:m.command,label:_})}return this.menuRegistry.registerMenuItem(c.MenuId.ViewTitle,{...m,when:`${m.when?m.when+" && ":""}view == ${m.viewId}`,group:m.group||"navigation"})}unregisterItem(m){this.menuRegistry.unregisterMenuItem(c.MenuId.ViewTitle,m)}};t.ToolbarRegistry=p,n.__decorate([(0,r.Autowired)(o.IMenuRegistry),n.__metadata("design:type",o.IMenuRegistry)],p.prototype,"menuRegistry",void 0),t.ToolbarRegistry=p=n.__decorate([(0,r.Injectable)()],p)},65051:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewContextKeyRegistry=void 0;const n=e(85608),r=e(76003),o=e(43718);let c=class{constructor(){this.contextKeyMap=new Map,this._onViewContextKeyServiceRegistered=new o.Emitter}getContextKeyService(v){return this.contextKeyMap.get(v)}registerContextKeyService(v,m){return this.contextKeyMap.set(v,m),this._onViewContextKeyServiceRegistered.fire(v),m}afterContextKeyServiceRegistered(v,m){if(this.contextKeyMap.has(v))m(this.getContextKeyService(v));else{const _=this._onViewContextKeyServiceRegistered.event(s=>{s===v&&(_.dispose(),m(this.getContextKeyService(v)))})}}};t.ViewContextKeyRegistry=c,t.ViewContextKeyRegistry=c=n.__decorate([(0,r.Injectable)()],c)},1149:(x,t,e)=>{"use strict";var n,r,o,c,p,v,m;Object.defineProperty(t,"__esModule",{value:!0}),t.DesignLayoutConfig=t.LayoutViewSizeConfig=t.ConfigPriority=t.DEFAULT_LAYOUT_VIEW_SIZE=void 0;const _=e(85608),s=_.__importDefault(e(82451)),g=e(76003),l=e(43718),h=e(42101);t.DEFAULT_LAYOUT_VIEW_SIZE={menubarHeight:35,editorTabsHeight:35,bigSurTitleBarHeight:28,titleBarHeight:22,panelTitleBarHeight:35,statusBarHeight:24,accordionHeaderSizeHeight:24};var u;(function(a){a[a.ModuleDefined=0]="ModuleDefined",a[a.UserDefined=1]="UserDefined"})(u||(t.ConfigPriority=u={}));class d{constructor(b){this.defaultValue=b,this._value=[]}setValue(b,y){this._value[y]=b}getValue(){let b=this.defaultValue;for(let y=this._value.length-1;y>=0;y--)if((0,l.isDefined)(this._value[y])){b=this._value[y];break}return b}}let E=class{constructor(){n.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.menubarHeight)),r.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.editorTabsHeight)),o.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.bigSurTitleBarHeight)),c.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.titleBarHeight)),p.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.panelTitleBarHeight)),v.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.statusBarHeight)),m.set(this,new d(t.DEFAULT_LAYOUT_VIEW_SIZE.accordionHeaderSizeHeight)),this.inited=!1,this.supportNewMacHeaderBar=h.electronEnv.osRelease?parseFloat(h.electronEnv.osRelease)>=20:!1}init(b={}){this.inited||(this.inited=!0,_.__classPrivateFieldGet(this,n,"f").setValue(b.menubarHeight,u.UserDefined),_.__classPrivateFieldGet(this,r,"f").setValue(b.editorTabsHeight,u.UserDefined),_.__classPrivateFieldGet(this,o,"f").setValue(b.bigSurTitleBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,c,"f").setValue(b.titleBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,p,"f").setValue(b.panelTitleBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,v,"f").setValue(b.statusBarHeight,u.UserDefined),_.__classPrivateFieldGet(this,m,"f").setValue(b.accordionHeaderSizeHeight,u.UserDefined))}get menubarHeight(){return _.__classPrivateFieldGet(this,n,"f").getValue()}setMenubarHeight(b,y){_.__classPrivateFieldGet(this,n,"f").setValue(b,y??u.ModuleDefined)}get editorTabsHeight(){return _.__classPrivateFieldGet(this,r,"f").getValue()}setEditorTabsHeight(b,y){_.__classPrivateFieldGet(this,r,"f").setValue(b,y??u.ModuleDefined)}get bigSurTitleBarHeight(){return _.__classPrivateFieldGet(this,o,"f").getValue()}setBigSurTitleBarHeight(b,y){_.__classPrivateFieldGet(this,o,"f").setValue(b,y??u.ModuleDefined)}get titleBarHeight(){return _.__classPrivateFieldGet(this,c,"f").getValue()}setTitleBarHeight(b,y){_.__classPrivateFieldGet(this,c,"f").setValue(b,y??u.ModuleDefined)}get panelTitleBarHeight(){return _.__classPrivateFieldGet(this,p,"f").getValue()}setPanelTitleBarHeight(b,y){_.__classPrivateFieldGet(this,p,"f").setValue(b,y??u.ModuleDefined)}get statusBarHeight(){return _.__classPrivateFieldGet(this,v,"f").getValue()}setStatusBarHeight(b,y){_.__classPrivateFieldGet(this,v,"f").setValue(b,y??u.ModuleDefined)}get accordionHeaderSizeHeight(){return _.__classPrivateFieldGet(this,m,"f").getValue()}setAccordionHeaderSizeHeight(b,y){_.__classPrivateFieldGet(this,m,"f").setValue(b,y??u.ModuleDefined)}calcElectronHeaderHeight(){return l.isMacintosh?this.supportNewMacHeaderBar?this.bigSurTitleBarHeight:this.titleBarHeight:this.menubarHeight}calcOnlyTitleBarHeight(){return l.isMacintosh&&this.supportNewMacHeaderBar?this.bigSurTitleBarHeight:this.titleBarHeight}};t.LayoutViewSizeConfig=E,n=new WeakMap,r=new WeakMap,o=new WeakMap,c=new WeakMap,p=new WeakMap,v=new WeakMap,m=new WeakMap,t.LayoutViewSizeConfig=E=_.__decorate([(0,g.Injectable)()],E);let f=class{constructor(){this.internalLayout={useMergeRightWithLeftPanel:!1,useMenubarView:!1,menubarLogo:"",supportExternalChatPanel:!1}}setLayout(...b){this.internalLayout=(0,s.default)(this.internalLayout,...b.filter(Boolean))}get useMergeRightWithLeftPanel(){return this.internalLayout.useMergeRightWithLeftPanel}get menubarLogo(){return this.internalLayout.menubarLogo}get supportExternalChatPanel(){return this.internalLayout.supportExternalChatPanel}};t.DesignLayoutConfig=f,t.DesignLayoutConfig=f=_.__decorate([(0,g.Injectable)()],f)},68456:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(596),t),n.__exportStar(e(5185),t),n.__exportStar(e(11949),t),n.__exportStar(e(65051),t),n.__exportStar(e(9956),t),n.__exportStar(e(60982),t)},5185:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useViewState=void 0;const n=e(85608),r=n.__importDefault(e(97331)),o=n.__importDefault(e(14041)),c=e(43718),p=e(22366),v=e(48560),m=e(11949),_=(s,g,l)=>{const h=(0,v.useInjectable)(c.IEventBus),[u,d]=o.default.useState({width:0,height:0}),E=o.default.useRef(u),f=(0,r.default)((a,b)=>{(b!==E.current.width||a!==E.current.height)&&(b!==0||a!==0)&&(d({width:b,height:a}),E.current={width:b,height:a})},16*3,{leading:!0,trailing:!0});return o.default.useEffect(()=>{const a=h.onDirective(m.ResizeEvent.createDirective(s),()=>{l||p.fastdom.measureAtNextFrame(()=>{if(g.current){const b=g.current.clientHeight,y=g.current.clientWidth;f(b,y)}})});return()=>{a.dispose()}},[]),o.default.useEffect(()=>{const a=window.ResizeObserver;if(l&&g.current){const b=new a(y=>{const A=y[0].contentRect.width,S=y[0].contentRect.height;f(S,A)});return b.observe(g.current),()=>{g.current&&b.unobserve(g.current)}}},[]),u};t.useViewState=_},95416:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LAYOUT_STATE=t.LayoutState=void 0;const n=e(85608),r=n.__importDefault(e(12784)),o=e(76003),c=e(43718),p=e(78132);let v=class{constructor(){this.disposableCollection=new c.DisposableCollection,this.debounceSave=(0,r.default)((s,g)=>{this.setStorageValue(s,g,m.isScoped(s)||this.saveLayoutWithWorkspace&&(m.isLayout(s)||m.isStatusBar(s)))},200)}async initStorage(){this.layoutStorage=await this.getStorage(c.STORAGE_NAMESPACE.LAYOUT),this.globalLayoutStorage=await this.getStorage(c.STORAGE_NAMESPACE.GLOBAL_LAYOUT),await this.preferenceService.ready,this.saveLayoutWithWorkspace=this.preferenceService.get("view.saveLayoutWithWorkspace")||!1,this.disposableCollection.push(this.preferenceService.onSpecificPreferenceChange("view.saveLayoutWithWorkspace",s=>{this.saveLayoutWithWorkspace=s.newValue}))}getState(s,g){let l;try{this.saveLayoutWithWorkspace?l=m.isScoped(s)||m.isLayout(s)||m.isStatusBar(s)?this.layoutStorage.get(s,g):this.globalLayoutStorage.get(s,g):l=m.isScoped(s)?this.layoutStorage.get(s,g):this.globalLayoutStorage.get(s,g)}catch{this.logger.warn("Layout state parse error, use default state"),l=g}return l}setState(s,g){this.debounceSave(s,g)}setStorageValue(s,g,l){l?this.layoutStorage.set(s,g):this.globalLayoutStorage.set(s,g),m.isLayout(s)&&localStorage.setItem(s,JSON.stringify(g))}};t.LayoutState=v,n.__decorate([(0,o.Autowired)(c.StorageProvider),n.__metadata("design:type",Function)],v.prototype,"getStorage",void 0),n.__decorate([(0,o.Autowired)(p.PreferenceService),n.__metadata("design:type",Object)],v.prototype,"preferenceService",void 0),n.__decorate([(0,o.Autowired)(c.ILogger),n.__metadata("design:type",Object)],v.prototype,"logger",void 0),t.LayoutState=v=n.__decorate([(0,o.Injectable)()],v);var m;(function(_){_.MAIN="layout",_.STATUSBAR="statusbar";function s(d){return`view/${d}`}_.getContainerSpace=s;function g(d){return d.startsWith("view/")}_.isScoped=g;function l(d){return d.startsWith(_.MAIN)}_.isLayout=l;function h(d){return d.startsWith(_.STATUSBAR)}_.isStatusBar=h;function u(d){return`tabbar/${d}`}_.getTabbarSpace=u})(m||(t.LAYOUT_STATE=m={}))},11949:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RenderedEvent=t.ResizeEvent=t.ResizePayload=t.ComponentRegistry=void 0;const n=e(43718);t.ComponentRegistry=Symbol("ComponentRegistry");class r{constructor(v){this.slotLocation=v}}t.ResizePayload=r;class o extends n.BasicEvent{static createDirective(v){return`resize:${v}`}}t.ResizeEvent=o;class c extends n.BasicEvent{}t.RenderedEvent=c},596:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentContribution=t.ComponentRegistryImpl=t.VisibleChangedEvent=t.VisibleChangedPayload=void 0,t.measurePriority=_;const r=e(85608),o=e(76003),c=e(43718),p=e(38578);class v{constructor(l,h){this.isVisible=l,this.slotLocation=h}}t.VisibleChangedPayload=v;class m extends c.BasicEvent{}t.VisibleChangedEvent=m;function _(g,l){if(!g.length)return g.splice(0,0,l||0),0;let h=g.length-1;if(!l)return g.splice(h+1,0,0),h+1;for(;h>=0&&!(l<g[h]);h--);return g.splice(h+1,0,l),h+1}let s=n=class{constructor(){this.componentsMap=new Map}static addLayoutModule(l,h,u,d=-1){let E=l[h];if(E||(E={modules:[]},l[h]=E),E.modules.indexOf(u)>-1){(0,c.getDebugLogger)().warn(`A ${u} module already exists on the ${h}`);return}d>=0?E.modules.splice(d,0,u):E.modules.push(u)}static replaceLayoutModule(l,h,...u){l[h]={modules:u}}register(l,h,u,d){Array.isArray(h)?this.componentsMap.set(l,{views:h,options:u}):this.componentsMap.set(l,{views:[h],options:u}),d&&n.addLayoutModule(this.config.layoutConfig,d,l)}getComponentRegistryInfo(l){return this.componentsMap.get(l)}};t.ComponentRegistryImpl=s,r.__decorate([(0,o.Autowired)(p.AppConfig),r.__metadata("design:type",Object)],s.prototype,"config",void 0),t.ComponentRegistryImpl=s=n=r.__decorate([(0,o.Injectable)()],s),t.ComponentContribution=Symbol("ComponentContribution")},60982:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderView=void 0;const n=e(85608),r=n.__importDefault(e(14041)),o=n.__importDefault(e(524)),c=e(38578),p=v=>r.default.createElement(r.default.Fragment,null,v&&o.default.isValidElementType(v.component)?r.default.createElement(c.ErrorBoundary,null,v.component&&r.default.createElement(v.component,v.initialProps)):null);t.renderView=p},63373:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VIEW_CONTAINERS=void 0;const e="opensumi";var n;(function(r){r.LEFT_TABBAR_PANEL=`${e}-left-tabbar-panel`,r.LEFT_TABBAR=`${e}-left-tabbar`,r.RIGHT_TABBAR_PANEL=`${e}-right-tabbar-panel`,r.RIGHT_TABBAR=`${e}-right-tabbar`,r.BOTTOM_TABBAR=`${e}-bottom-tabbar`,r.BOTTOM_TABBAR_PANEL=`${e}-bottom-tabbar-panel`,r.STATUSBAR=`${e}-statusbar`,r.MENUBAR=`${e}-menubar`,r.EDITOR=`${e}-editor`,r.EDITOR_TABS=`${e}-editor-tabs`,r.QUICKPICK=`${e}-quickpick`,r.QUICKPICK_INPUT=`${e}-quickpick-input`,r.QUICKPICK_TABS=`${e}-quickpick-tabs`,r.QUICKPICK_ITEM=`${e}-quickpick-item`,r.QUICKPICK_PROGRESS=`${e}-quickpick-progress`})(n||(t.VIEW_CONTAINERS=n={}))},93299:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=t.ILogger=void 0;const n=e(85608),r=e(76003),o=e(43718);var c=e(43718);Object.defineProperty(t,"ILogger",{enumerable:!0,get:function(){return c.ILogger}});class p{setup(_){this.logger=_}getLevel(){return this.logger.getLevel()}setLevel(_){return this.logger.setLevel(_)}error(..._){return this.logger.error(..._)}warn(..._){return this.logger.warn(..._)}log(..._){return this.logger.log(..._)}debug(..._){return this.logger.debug(..._)}verbose(..._){return this.logger.verbose(..._)}critical(..._){return this.logger.critical(..._)}dispose(){return this.logger.dispose()}}let v=class extends p{constructor(){super(),this.logger=this.loggerManager.getBrowserLogger(o.SupportLogNamespace.Browser)}reportToServer(){this.logger.dispose(),this.logger=this.loggerManager.getLogger(o.SupportLogNamespace.Browser)}};t.Logger=v,n.__decorate([(0,r.Autowired)(o.ILoggerManagerClient),n.__metadata("design:type",Object)],v.prototype,"loggerManager",void 0),t.Logger=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},75694:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(93299),t)},61943:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toMarkdownHtml=t.toMarkdown=void 0;const r=e(85608).__importDefault(e(14041)),o=e(39777),c=e(84605),p=e(43718),v=(_,s,g,l)=>l&&_&&(0,p.isString)(_)?r.default.createElement(o.RenderWrapper,{opener:s,html:_}):typeof _=="string"?r.default.createElement(o.RenderWrapper,{opener:s,html:(0,t.toMarkdownHtml)(_,g)}):_;t.toMarkdown=v;const m=(_,s)=>{const g=(0,c.createMarkedRenderer)();return g.link=(l,h,u)=>`<a rel="noopener" ${o.DATA_SET_COMMAND}="${l}" href="javascript:void(0)" title="${h}">${u}</a>`,(0,c.toMarkdownHtml)(_,{gfm:!0,breaks:!1,pedantic:!1,smartLists:!0,smartypants:!1,renderer:g,...s||{}})};t.toMarkdownHtml=m},64102:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MenuNode=t.MenuRegistryImpl=t.CoreMenuRegistryImpl=t.IMenuRegistry=t.NextMenuContribution=t.MenuContribution=void 0,t.isIMenuItem=l,t.isISubmenuItem=h,t.isIComponentMenuItem=u;const r=e(85608),o=r.__importDefault(e(524)),c=e(76003),p=e(84605),v=e(43718),m=e(39496);t.MenuContribution=Symbol("MenuContribution"),t.NextMenuContribution=t.MenuContribution;class _{}t.IMenuRegistry=_;let s=n=class{constructor(){this._menubarItems=new Map,this._onDidChangeMenubar=new v.Emitter,this.onDidChangeMenubar=this._onDidChangeMenubar.event,this._menuItems=new Map,this._menuExtendInfo=new Map,this._onDidChangeMenu=new v.Emitter,this.onDidChangeMenu=this._onDidChangeMenu.event,this._disabledMenuIds=new Set}registerMenubarItem(f,a){const b={...a,id:f};return this._menubarItems.get(f)?(this.logger.warn(`this menuId ${f} already existed`),v.Disposable.NULL):(this._menubarItems.set(f,b),this._onDidChangeMenubar.fire(f),v.Disposable.create(()=>this.removeMenubarItem(f)))}removeMenubarItem(f){this._menubarItems.get(f)&&(this._menubarItems.delete(f),this._onDidChangeMenubar.fire(f))}getMenubarItem(f){return this._menubarItems.get(f)}getMenubarItems(){return Array.from(this._menubarItems.keys()).reduce((a,b)=>{const y=this._menubarItems.get(b);return y&&a.push(y),a},[])}registerMenuExtendInfo(f,a){return this._menuExtendInfo.set(f,a),v.Disposable.create(()=>this._menuExtendInfo.delete(f))}registerMenuItem(f,a){let b=this._menuItems.get(f);return b?b.push(a):(b=[a],this._menuItems.set(f,b)),this._onDidChangeMenu.fire(f),v.Disposable.create(()=>{const y=b.indexOf(a);y>=0&&(b.splice(y,1),this._onDidChangeMenu.fire(f))})}unregisterMenuItem(f,a){const b=this._menuItems.get(f);if(b){const y=b.findIndex(A=>{const S=A.command;return S?typeof S=="string"?S===a:S.id===a:A.submenu===a});y>=0&&(b.splice(y,1),this._onDidChangeMenu.fire(f))}}registerMenuItems(f,a){const b=[];return a.forEach(y=>{b.push(this.registerMenuItem(f,y))}),(0,v.combinedDisposable)(b)}unregisterMenuId(f){return this._disabledMenuIds.add(f),this._onDidChangeMenu.fire(f),v.Disposable.create(()=>{this._disabledMenuIds.delete(f)&&this._onDidChangeMenu.fire(f)})}deleteAllItemsForMenuId(f){this._menuItems.delete(f),this._menuExtendInfo.delete(f)}getMenuItems(f){if(this._disabledMenuIds.has(f))return[];const a=(this._menuItems.get(f)||[]).slice(0).reduce((b,y)=>(u(y)?n.EnableComponentMenuIds.includes(f)&&b.push({...y,group:"navigation"}):b.push(y),b),[]);return f===m.MenuId.CommandPalette&&this.appendImplicitMenuItems(a),this._menuExtendInfo.has(f)?this.convertToMenuExtendInfo(this._menuExtendInfo.get(f),a):a}getMenuCommand(f){return typeof f=="string"?{id:f}:f}appendImplicitMenuItems(f){const a=f.filter(A=>l(A)),b=new Set(a.map(A=>this.getMenuCommand(A.command).id));this.commandRegistry.getCommands().forEach(A=>{b.has(A.id)||f.push({command:A.id})})}convertToMenuExtendInfo(f,a){return a.map(b=>{if(!l(b))return b;const{command:y}=b,A=f.find(S=>S.command===y);return A?{...b,...A}:b})}};t.CoreMenuRegistryImpl=s,s.EnableComponentMenuIds=[m.MenuId.EditorTitle],r.__decorate([(0,c.Autowired)(t.MenuContribution),r.__metadata("design:type",Object)],s.prototype,"contributions",void 0),r.__decorate([(0,c.Autowired)(v.CommandRegistry),r.__metadata("design:type",Object)],s.prototype,"commandRegistry",void 0),r.__decorate([(0,c.Autowired)(v.ILogger),r.__metadata("design:type",Object)],s.prototype,"logger",void 0),t.CoreMenuRegistryImpl=s=n=r.__decorate([(0,c.Injectable)()],s);let g=class extends s{initialize(){for(const f of this.contributions.getContributions())f.registerNextMenus&&(f.registerNextMenus(this),(0,p.warning)(!1,"`registerNextMenus` was deprecated in favor of `registerMenus`")),f.registerMenus&&f.registerMenus(this)}};t.MenuRegistryImpl=g,r.__decorate([(0,c.Autowired)(t.MenuContribution),r.__metadata("design:type",Object)],g.prototype,"contributions",void 0),t.MenuRegistryImpl=g=r.__decorate([(0,c.Injectable)()],g);function l(E){return E.command!==void 0}function h(E){return E.submenu!==void 0}function u(E){return o.default.isValidElementType(E.component)}class d{constructor(f){this.id=f.id,this.label=(0,v.replaceLocalizePlaceholder)(f.label),this.className=f.className||"",this.icon=f.icon||"",this.keybinding=f.keybinding||"",this.rawKeybinding=f.rawKeybinding||"",this.isKeyCombination=!!f.isKeyCombination,this.disabled=!!f.disabled,this.checked=!!f.checked,this.nativeRole=f.nativeRole||"",this.type=f.type,this.extraDesc=f.extraDesc||"",this._actionCallback=f.execute}getExecuteArgs(...f){return f}execute(...f){const a=this.getExecuteArgs(f);return this._actionCallback?this._actionCallback(...a):Promise.resolve(!0)}updateLabel(f){this.label=f}}t.MenuNode=d},98299:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContextMenu=t.ContextMenuServiceImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(81741),p=e(1237);let v=class{createMenu(s){return this.injector.get(m,[s])}};t.ContextMenuServiceImpl=v,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],v.prototype,"injector",void 0),t.ContextMenuServiceImpl=v=n.__decorate([(0,r.Injectable)()],v);let m=class extends o.Disposable{get onDidChange(){return this._onDidMenuChange.event}get onMenuChange(){return this._onMenuChange.event}get menuId(){return this._menuId}constructor(s){super(),this._onDidMenuChange=new o.Emitter,this._onMenuChange=new o.Emitter,this._menus=new Map,this._menuItems=[[],[]],this._menusListener=new Map,this._menuId=s.id,s.config&&(this.config=s.config),s.contextKeyService&&(this.contextKeyService=s.contextKeyService),this._build(),this.addDispose(o.Event.debounce(o.Event.filter(this.onMenuChange,g=>g===this._menuId),()=>{},50)(this._rebuildMenus,this)),this.addDispose(this._onDidMenuChange)}_build(){this._menuItems=[[],[]],this._buildMenus(this._menuId)}_rebuildMenus(){this._buildMenus(this._menuId),this._onDidMenuChange.fire(this._menuId)}_buildMenus(s){const g=this.menuService.createMenu(s,this.contextKeyService),l=this._menus.get(s);l&&(l.dispose(),this._menus.delete(s));const h=this._menusListener.get(s);h&&(h.dispose(),this._menusListener.delete(s)),this._menus.set(s,g),this._menusListener.set(s,g.onDidChange(()=>this._onMenuChange.fire(s),this,this.disposables));const u=[[],[]];(0,c.generateCtxMenu)({menus:g,...this.config}).forEach((E,f)=>{this._traverseMenuItems(E,u[f],s)}),this._menuItems=u}_traverseMenuItems(s,g,l){s.forEach(h=>{if(h instanceof p.SubmenuItemNode){const u=[],d=h.item.submenu;if(!this._menus.has(d)){const a=this.registerDispose(this.menuService.createMenu(d,this.contextKeyService));this._menus.set(d,a),this.registerDispose(a.onDidChange(()=>{this._onMenuChange.fire(l)}))}const E=this.menuService.createMenu(d,this.contextKeyService),f=(0,c.generateMergedCtxMenu)({menus:E,...this.config});this._traverseMenuItems(f,u,l),h.children=u,g.push(h),E.dispose()}else g.push(h)})}dispose(){this._menusListener.forEach(s=>s.dispose()),this._menusListener.clear(),this._menus.forEach(s=>s.dispose()),this._menus.clear(),super.dispose()}getMergedMenuNodes(){return(0,c.mergeTupleMenuNodeResult)(this._menuItems)}getGroupedMenuNodes(){return this._menuItems}};t.ContextMenu=m,n.__decorate([(0,r.Autowired)(p.AbstractMenuService),n.__metadata("design:type",p.AbstractMenuService)],m.prototype,"menuService",void 0),t.ContextMenu=m=n.__decorate([(0,r.Injectable)(),n.__param(0,(0,r.Optional)()),n.__metadata("design:paramtypes",[Object])],m)},93899:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(64102),t),n.__exportStar(e(28574),t),n.__exportStar(e(81741),t),n.__exportStar(e(39496),t),n.__exportStar(e(1237),t),n.__exportStar(e(35530),t),n.__exportStar(e(77661),t),n.__exportStar(e(93765),t),n.__exportStar(e(98299),t),n.__exportStar(e(77666),t)},39496:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuId=void 0,t.getTabbarCommonMenuId=n;var e;(function(r){r.AccountsContext="accounts/context",r.ActivityBarContext="activityBar/context",r.ActivityBarExtra="activityBar/extra",r.ActivityBarTopExtra="activityBar/top/extra",r.CommandPalette="commandPalette",r.DebugBreakpointsContext="debug/breakpoints/context",r.DebugCallStackContext="debug/callstack/context",r.DebugConsoleContext="debug/console/context",r.DebugVariablesContext="debug/variables/context",r.DebugWatchContext="debug/watch/context",r.DebugToolBar="debug/toolbar",r.EditorContext="editor/context",r.EditorTitle="editor/title",r.EditorTitleRun="editor/title/run",r.EditorTitleContext="editor/title/context",r.BreadcrumbsTitleContext="breadcrumbs/title/context",r.EmptyEditorGroupContext="empty/editor/group/context",r.ExplorerContext="explorer/context",r.IconMenubarContext="iconMenubar/context",r.MenubarAppearanceMenu="menubar/appearance",r.MenubarAppMenu="menubar/app",r.MenubarDebugMenu="menubar/debug",r.MenubarEditMenu="menubar/edit",r.MenubarFileMenu="menubar/file/menu",r.MenubarGoMenu="menubar/go",r.MenubarHelpMenu="menubar/help",r.MenubarLayoutMenu="menubar/layout",r.MenubarNewBreakpointMenu="menubar/new/breakpoint",r.MenubarPreferencesMenu="menubar/preferences",r.MenubarRecentMenu="menubar/recent",r.MenubarSelectionMenu="menubar/selection",r.MenubarSwitchEditorMenu="menubar/switch/editor",r.MenubarSwitchGroupMenu="menubar/switch/group",r.MenubarTerminalMenu="menubar/terminal",r.MenubarViewMenu="menubar/view",r.MenubarCompactMenu="menubar/compact/mode",r.DesignMenuBarTopExtra="design/menubar/top/extra",r.TerminalInstanceContext="terminal/instance/context",r.TerminalNewDropdownContext="terminal/newDropdown/context",r.TerminalTabContext="terminal/tab/context",r.TerminalPanelContext="terminal/panel/context",r.TerminalDefaultTypeMenu="terminal/menu/context",r.OpenEditorsContext="open/editors/context",r.ProblemsPanelContext="problems/panel/context",r.SCMChangeTitle="scm/change/title",r.SCMResourceContext="scm/resourceState/context",r.SCMResourceGroupContext="scm/resourceGroup/context",r.SCMResourceFolderContext="scm/resourceFolder/context",r.SCMSourceControl="scm/sourceControl",r.SCMTitle="scm/title",r.SCMInput="scm/input",r.SearchContext="search/context",r.StatusBarContext="statusbar/context",r.StatusBarWindowIndicatorMenu="statusbar/windowIndicator",r.TouchBarContext="touchBar/context",r.ViewItemContext="view/item/context",r.ViewTitle="view/title",r.GlobalActivity="global/activity",r.ExtensionContext="extension/context",r.SettingsIconMenu="settings/icon/menu",r.CommentsCommentThreadContext="comments/commentThread/context",r.CommentsCommentThreadTitle="comments/commentThread/title",r.CommentsCommentTitle="comments/comment/title",r.CommentsCommentContext="comments/comment/context",r.CommentReactionSwitcherMenu="comment/reaction/switcher/menu",r.CommentReactionSwitcherSubmenu="comment/reaction/switcher/submenu",r.KTToolbarLocationContext="kt/toolbar/context",r.MarketplaceNoResultsContext="marketplace/noResults/context",r.TestingGlyphMarginContext="testing/glyphMargin/context",r.TestPeekTitleContext="testing/outputPeek/title/context",r.OpenTypeSubmenuContext="editor/openType/submenu",r.AccordionContext="accordion",r.SettingJSONGlyphMarginContext="settingJson/glyphMargin/context",r.SubSettingJSONGlyphMarginContext="sub/settingJson/glyphMargin/context",r.MergeEditorResultTitleContext="mergeEditor/result/title/context"})(e||(t.MenuId=e={}));function n(r){return`tabbar/${r}/common`}},28574:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuServiceImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(53736),p=e(64102),v=e(1237);let m=class{createMenu(l,h){return this.injector.get(_,[l,h||this.globalCtxKeyService])}};t.MenuServiceImpl=m,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],m.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(c.IContextKeyService),n.__metadata("design:type",Object)],m.prototype,"globalCtxKeyService",void 0),t.MenuServiceImpl=m=n.__decorate([(0,r.Injectable)()],m);let _=class extends o.Disposable{get onDidChange(){return this._onDidChange.event}get menuId(){return this.id}constructor(l,h){super(),this.id=l,this.contextKeyService=h,this._onDidChange=new o.Emitter,this._build(),this.addDispose(o.Event.debounce(o.Event.filter(this.menuRegistry.onDidChangeMenu,u=>u===this.id),()=>{},50)(this._build,this)),this.addDispose(o.Event.debounce(this.contextKeyService.onDidChangeContext,(u,d)=>u||d.payload.affectsSome(this._contextKeys),50)(u=>u&&this._onDidChange.fire(void 0),this)),this.addDispose(this._onDidChange)}_build(){this._menuGroups=[],this._contextKeys=new Set;let l=this.menuRegistry.getMenuItems(this.id),h;l=l.sort(s);for(const u of l){const d=u.group||"";(!h||h[0]!==d)&&(h=[d,[]],this._menuGroups.push(h)),h[1].push(u),this.fillKeysInWhenExpr(this._contextKeys,u.when),(0,p.isIMenuItem)(u)&&this.fillKeysInWhenExpr(this._contextKeys,u.toggledWhen),(0,p.isIMenuItem)(u)&&u.enabledWhen&&this.fillKeysInWhenExpr(this._contextKeys,u.enabledWhen)}this._onDidChange.fire(this)}getMenuNodes(l={}){const h=[];for(const u of this._menuGroups){const[d,E]=u,f=[];for(const a of E){const b=this._getActiveAction(a,l);b&&f.push(b)}f.length>0&&h.push([d,f])}return h}_getActiveAction(l,h){if(this.contextKeyService.match(l.when,h.contextDom))if((0,p.isIMenuItem)(l)){const{args:u=[]}=h,d=this.menuRegistry.getMenuCommand(l.command),E=this.commandRegistry.getCommand(d.id),f={...E||{},...d};if(!f.label||E&&!this.commandRegistry.isVisible(f.id,...u))return;const a=E?this.commandRegistry.isEnabled(f.id,...u):!0;let b=!0;l.enabledWhen!==void 0?b=!this.contextKeyService.match(l.enabledWhen,h.contextDom):E?.enablement?b=!this.contextKeyService.match(E.enablement,h.contextDom):b=!a;const y=!!(E&&this.commandRegistry.isToggled(f.id,...u)),A=l.toggledWhen!==void 0?this.contextKeyService.match(l.toggledWhen,h.contextDom):y;return this.injector.get(v.MenuItemNode,[f,l.iconClass||E?.iconClass,h,b,A,l.type,l.nativeRole,l.extraDesc,l.extraTailArgs,l.argsTransformer])}else{if((0,p.isIComponentMenuItem)(l))return this.injector.get(v.ComponentMenuItemNode,[l,h,l.extraTailArgs,l.argsTransformer]);if(l.label||l.iconClass)return this.injector.get(v.SubmenuItemNode,[l])}}fillKeysInWhenExpr(l,h){this.contextKeyService.getKeysInWhen(h).forEach(d=>{l.add(d)})}};n.__decorate([(0,r.Autowired)(p.IMenuRegistry),n.__metadata("design:type",p.IMenuRegistry)],_.prototype,"menuRegistry",void 0),n.__decorate([(0,r.Autowired)(o.CommandRegistry),n.__metadata("design:type",Object)],_.prototype,"commandRegistry",void 0),n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],_.prototype,"injector",void 0),_=n.__decorate([(0,r.Injectable)(),n.__param(0,(0,r.Optional)()),n.__param(1,(0,r.Optional)()),n.__metadata("design:paramtypes",[String,Object])],_);function s(g,l){const h=g.group,u=l.group;if(h!==u){if(h){if(!u)return-1}else return 1;if(h==="navigation")return-1;if(u==="navigation")return 1;const f=h.localeCompare(u);if(f!==0)return f}const d=g.order||0,E=l.order||0;return d<E?-1:d>E?1:0}},81741:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInlineGroup=t.isPrimaryGroup=void 0,t.splitMenuItems=c,t.mergeTupleMenuNodeResult=p,t.generateMergedCtxMenu=v,t.generateCtxMenu=m,t.generateMergedInlineActions=_,t.generateInlineActions=s;const n=e(1237),r=g=>g==="navigation";t.isPrimaryGroup=r;const o=g=>/^inline/.test(g);t.isInlineGroup=o;function c(g,l="navigation"){const h=[[],[]];for(const u of g){const[d,E]=u;(l==="inline"?t.isInlineGroup:t.isPrimaryGroup)(d)?h[0].push(...E):(h[1].length>0&&h[1].push(new n.SeparatorMenuItemNode),h[1].push(...E))}return h}function p(g){const[l,h]=g,u=[...l];return u.length>0&&h.length>0&&u.push(new n.SeparatorMenuItemNode),u.concat(h)}function v(g){return p(m(g))}function m(g){const{menus:l,separator:h="navigation",...u}=g,d=l.getMenuNodes(u);return c(d,h)}function _(g){const l=s(g);return[...l[0],...l[1]]}function s(g){const{menus:l,separator:h,...u}=g,d=l.getMenuNodes(u);return c(d,h)}},35530:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1237:(x,t,e)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractContextMenuService=t.AbstractMenuService=t.LabelMenuItemNode=t.SeparatorMenuItemNode=t.ComponentMenuItemNode=t.SubmenuItemNode=t.MenuItemNode=void 0,t.isIMenu=d;const o=e(85608),c=e(76003),p=e(43718),v=e(41118),m=e(64102),_=e(77661);let s=class extends m.MenuNode{constructor(b,y,A={},S,w,T,D,I,O,M){super({id:b.id,icon:y,label:b.label,type:T,checked:w,disabled:S,nativeRole:D,extraDesc:I}),this.extraTailArgs=O,this.argsTransformer=M,this.className=void 0;const R=this.getShortcut(b.id);this.keybinding=R&&R.keybinding||"",this.rawKeybinding=R&&R.rawKeybinding||"",this.isKeyCombination=!!(R&&R.isKeyCombination),this._options=A,this.item=b}getExecuteArgs(b=[]){let y=[...this._options.args||[],...b||[],...this.extraTailArgs||[]];return this.argsTransformer&&(y=this.argsTransformer(...y)),y}execute(b=[]){return this.commandService.executeCommand(this.item.id,...this.getExecuteArgs(b))}getShortcut(b){if(b){const y=this.keybindings.getKeybindingsForCommand(b);if(y.length>0){const A=y.reduce((T,D)=>(T.priority||0)>(D.priority||0)?T:D),S=Array.isArray(A.resolved)&&A.resolved.length>1;let w=this.keybindings.acceleratorFor(A,p.isMacintosh?"":"+").join(" ");return S&&(w=`[${w}]`),{keybinding:w,rawKeybinding:A.keybinding,isKeyCombination:S}}}return null}};t.MenuItemNode=s,o.__decorate([(0,c.Autowired)(p.CommandService),o.__metadata("design:type",Object)],s.prototype,"commandService",void 0),o.__decorate([(0,c.Autowired)(v.KeybindingRegistry),o.__metadata("design:type",Object)],s.prototype,"keybindings",void 0),o.__decorate([(0,c.Autowired)(p.CommandRegistry),o.__metadata("design:type",Object)],s.prototype,"commandRegistry",void 0),t.MenuItemNode=s=o.__decorate([(0,c.Injectable)(),o.__param(0,(0,c.Optional)()),o.__param(1,(0,c.Optional)()),o.__param(2,(0,c.Optional)()),o.__param(3,(0,c.Optional)()),o.__param(4,(0,c.Optional)()),o.__param(5,(0,c.Optional)()),o.__param(6,(0,c.Optional)()),o.__param(7,(0,c.Optional)()),o.__param(8,(0,c.Optional)()),o.__param(9,(0,c.Optional)()),o.__metadata("design:paramtypes",[Object,Object,Object,Boolean,Boolean,String,String,String,Array,Function])],s);let g=n=class extends m.MenuNode{constructor(b){super({id:n.ID,label:b.label,type:b.type}),this.submenuId=b.submenu,this.icon=b.iconClass,this.item=b}execute(b){const[y,...A]=b;y&&this.ctxMenuRenderer.show({anchor:y,menuNodes:this.children||this.submenuId,args:A})}};t.SubmenuItemNode=g,g.ID="menu.item.node.submenu",o.__decorate([(0,c.Autowired)(_.ICtxMenuRenderer),o.__metadata("design:type",_.ICtxMenuRenderer)],g.prototype,"ctxMenuRenderer",void 0),t.SubmenuItemNode=g=n=o.__decorate([(0,c.Injectable)({multiple:!0}),o.__param(0,(0,c.Optional)()),o.__metadata("design:paramtypes",[Object])],g);let l=r=class extends m.MenuNode{constructor(b,y={},A,S){super({id:r.ID,label:""}),this.extraTailArgs=A,this.argsTransformer=S,r.nodeIndex++,this.nodeId=String(r.nodeIndex),this.item=b,this.component=b.component,this._options=y}getExecuteArgs(b=[]){let y=[...this._options.args||[],...b||[],...this.extraTailArgs||[]];return this.argsTransformer&&(y=this.argsTransformer(...y)),y}};t.ComponentMenuItemNode=l,l.ID="menu.item.node.component",l.nodeIndex=-1,t.ComponentMenuItemNode=l=r=o.__decorate([(0,c.Injectable)({multiple:!0}),o.__param(0,(0,c.Optional)()),o.__param(1,(0,c.Optional)()),o.__param(2,(0,c.Optional)()),o.__param(3,(0,c.Optional)()),o.__metadata("design:paramtypes",[Object,Object,Array,Function])],l);class h extends m.MenuNode{constructor(b,y){super({id:b||h.ID,label:y||"separator"})}}t.SeparatorMenuItemNode=h,h.ID="menu.item.node.separator";class u extends m.MenuNode{constructor(b){super({id:u.ID,label:b})}}t.LabelMenuItemNode=u,u.ID="menu.item.node.label";function d(a){return"getMenuNodes"in a&&typeof a.getMenuNodes=="function"}class E{}t.AbstractMenuService=E;class f{}t.AbstractContextMenuService=f},93765:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenubarServiceImpl=t.AbstractMenubarService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(64102),p=e(81741),v=e(1237);class m extends o.Disposable{}t.AbstractMenubarService=m;let _=class extends o.Disposable{get onDidMenubarChange(){return this._onDidMenuBarChange.event}get onDidMenuChange(){return this._onDidMenuChange.event}get onMenuChange(){return this._onMenuChange.event}constructor(){super(),this._onDidMenuBarChange=new o.Emitter,this._onDidMenuChange=new o.Emitter,this._onMenuChange=new o.Emitter,this._menubarIds=new Set,this._menus=new Map,this._menubarItems=[],this._menuItems=new Map,this._menusListener=new Map,this._build(),this.addDispose(o.Event.debounce(this.menuRegistry.onDidChangeMenubar,()=>{},50)(this._build,this));const l=new Set;this.addDispose(o.Event.debounce(this.onMenuChange,(h,u)=>(l.add(u),u),50)(()=>{const h=[...l.values()];l.clear(),h.forEach(u=>{this._rebuildSingleRootMenus(u)})},this)),this.addDispose(this._onDidMenuBarChange),this.addDispose(this._onDidMenuChange)}_build(){this._menubarItems=[],this._menubarIds=new Set,this._menuItems.clear();let l=this.menuRegistry.getMenubarItems();l=l.sort(s),l.forEach(h=>{const u=h.id;this._menubarItems.push(h),this._menubarIds.add(u),this._buildMenus(u)}),this._onDidMenuBarChange.fire()}_rebuildSingleRootMenus(l){this._buildMenus(l),this._onDidMenuChange.fire(l)}_buildMenus(l){const h=this.menuService.createMenu(l),u=this._menus.get(l);u&&(u.dispose(),this._menus.delete(l));const d=this._menusListener.get(l);d&&(d.dispose(),this._menusListener.delete(l)),this._menus.set(l,h),this._menusListener.set(l,h.onDidChange(()=>this._onMenuChange.fire(l),this,this.disposables));const E=[];this._traverseMenuItems(h,E,l),this._menuItems.set(l,E)}_traverseMenuItems(l,h,u){(0,p.generateMergedCtxMenu)({menus:l}).forEach(E=>{if(E instanceof v.SubmenuItemNode){const f=[],a=E.item.submenu;if(!this._menus.has(a)){const y=this.registerDispose(this.menuService.createMenu(a));this._menus.set(a,y),this.registerDispose(y.onDidChange(()=>{this._onMenuChange.fire(u)}))}const b=this.menuService.createMenu(a);this._traverseMenuItems(b,f,u),E.children=f,h.push(E),b.dispose()}else h.push(E)})}dispose(){this._menusListener.forEach(l=>l.dispose()),this._menusListener.clear(),this._menus.forEach(l=>l.dispose()),this._menus.clear(),super.dispose()}getMenubarItems(){return this._menubarItems}getMenubarItem(l){if(this._menubarIds.has(l))return this.menuRegistry.getMenubarItem(l)}getMenuNodes(l){return this._menuItems.get(l)||[]}rebuildMenuNodes(l){this._buildMenus(l)}};t.MenubarServiceImpl=_,n.__decorate([(0,r.Autowired)(v.AbstractMenuService),n.__metadata("design:type",v.AbstractMenuService)],_.prototype,"menuService",void 0),n.__decorate([(0,r.Autowired)(c.IMenuRegistry),n.__metadata("design:type",c.IMenuRegistry)],_.prototype,"menuRegistry",void 0),t.MenubarServiceImpl=_=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],_);function s(g,l){const h=g.order||0,u=l.order||0;return h<u?-1:h>u?1:0}},77661:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICtxMenuRenderer=void 0;class e{}t.ICtxMenuRenderer=e},97222:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserCtxMenuRenderer=t.IBrowserCtxMenu=void 0;const n=e(85608),r=n.__importDefault(e(3326)),o=e(76003),c=e(1237),p=e(77661);class v extends p.ICtxMenuRenderer{}t.IBrowserCtxMenu=v;let m=class{show(s){if(typeof s.menuNodes=="string"){const g=this.menuService.createMenu({id:s.menuNodes,config:{args:s.args},contextKeyService:s.contextKeyService});s.menuNodes=g.getMergedMenuNodes(),g.dispose()}this.browserCtxMenu.show((0,r.default)(s,["contextKeyService"]))}};t.BrowserCtxMenuRenderer=m,n.__decorate([(0,o.Autowired)(v),n.__metadata("design:type",v)],m.prototype,"browserCtxMenu",void 0),n.__decorate([(0,o.Autowired)(c.AbstractContextMenuService),n.__metadata("design:type",c.AbstractContextMenuService)],m.prototype,"menuService",void 0),t.BrowserCtxMenuRenderer=m=n.__decorate([(0,o.Injectable)()],m)},27790:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronMenuBarService=t.ElectronCtxMenuRenderer=t.ElectronMenuFactory=t.IElectronMenuBarService=t.IElectronMenuFactory=t.IElectronCtxMenuRenderer=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(37015),p=e(79951),v=e(1237),m=e(93765),_=e(77661);class s extends _.ICtxMenuRenderer{}t.IElectronCtxMenuRenderer=s,t.IElectronMenuFactory=Symbol("IElectronMenuFactory"),t.IElectronMenuBarService=Symbol("IElectronMenuBarService");let g=class extends o.Disposable{getTemplate(E,f,a){return E.map((b,y)=>{if(b.id===v.SeparatorMenuItemNode.ID)return{type:"separator"};if(b.id===v.SubmenuItemNode.ID){const A=this.getTemplate(b.children,f,a);return{label:`${o.strings.mnemonicButtonLabel(b.label,!0)}`,submenu:Array.isArray(A)&&A.length?A:void 0}}else return this.bindAction(b,f,y,a),{type:b.checked?"checkbox":void 0,checked:b.checked?b.checked:!1,label:`${o.strings.mnemonicButtonLabel(b.label,!0)} ${b.isKeyCombination?b.keybinding:""}`,id:`${b.id}-${y}`,action:!0,role:b.nativeRole,disabled:b.disabled,accelerator:b.rawKeybinding&&!b.isKeyCombination?h(b.rawKeybinding):void 0}})}bindAction(E,f,a,b){typeof E.execute=="function"&&f.set(`${E.id}-${a}`,()=>{E.execute(b)})}};t.ElectronMenuFactory=g,t.ElectronMenuFactory=g=n.__decorate([(0,r.Injectable)()],g);let l=class{constructor(){this.contextMenuActions=new Map}show(E){const{onHide:f,args:a}=E;let b;if(typeof E.menuNodes=="string"){const A=this.menuService.createMenu({id:E.menuNodes,config:{args:E.args},contextKeyService:E.contextKeyService});b=A.getMergedMenuNodes(),A.dispose()}else b=E.menuNodes;this.contextMenuActions.clear();const y=this.factory.getTemplate(b,this.contextMenuActions,a);this.createNativeContextMenu({submenu:y},f)}createNativeContextMenu(E,f){this.electronMainMenuService.showContextMenu(E,p.electronEnv.currentWebContentsId);const a=new o.Disposable;a.addDispose(this.electronMainMenuService.on("menuClose",(b,y)=>{b===p.electronEnv.currentWebContentsId+"-context"&&(a.dispose(),f&&f(!0))})),a.addDispose(this.electronMainMenuService.on("menuClick",(b,y)=>{if(b!==p.electronEnv.currentWebContentsId+"-context")return;const A=this.contextMenuActions.get(y);A&&A(),f&&f(!1),a.dispose()}))}};t.ElectronCtxMenuRenderer=l,n.__decorate([(0,r.Autowired)(o.CommandService),n.__metadata("design:type",Object)],l.prototype,"commandService",void 0),n.__decorate([(0,r.Autowired)(o.IElectronMainMenuService),n.__metadata("design:type",Object)],l.prototype,"electronMainMenuService",void 0),n.__decorate([(0,r.Autowired)(t.IElectronMenuFactory),n.__metadata("design:type",g)],l.prototype,"factory",void 0),n.__decorate([(0,r.Autowired)(v.AbstractContextMenuService),n.__metadata("design:type",v.AbstractContextMenuService)],l.prototype,"menuService",void 0),t.ElectronCtxMenuRenderer=l=n.__decorate([(0,r.Injectable)()],l);function h(d){return d.replace("ctrlcmd","CmdOrCtrl").replace(c.SpecialCases.MACMETA,"CmdOrCtrl").replace(c.SpecialCases.CTRL,"Ctrl").replace(c.SpecialCases.SHIFT,"Shift").replace(c.SpecialCases.ALT,"Alt")}let u=class{constructor(){this.menuBarActions=new Map}start(){this.electronMainMenuService.on("menuClick",(E,f)=>{if(E!==p.electronEnv.currentWindowId+"-app")return;const a=this.menuBarActions.get(f);a&&a()}),this.updateMenuBar(),this.menubarService.onDidMenubarChange(()=>{this.updateMenuBar()}),this.menubarService.onDidMenuChange(()=>{this.updateMenuBar()})}updateMenuBar(){this.menuBarActions.clear();const E=this.menubarService.getMenubarItems(),f=[];E.forEach(a=>{const b=a.id,y=this.menubarService.getMenuNodes(b),A=this.factory.getTemplate(y,this.menuBarActions);if(A&&A.length>0){const S={label:o.strings.mnemonicButtonLabel(a.label,!0),submenu:A};a.nativeRole&&(S.role=a.nativeRole),f.push(S)}}),this.electronMainMenuService.setApplicationMenu({submenu:f},p.electronEnv.currentWindowId)}};t.ElectronMenuBarService=u,n.__decorate([(0,r.Autowired)(o.CommandService),n.__metadata("design:type",Object)],u.prototype,"commandService",void 0),n.__decorate([(0,r.Autowired)(m.AbstractMenubarService),n.__metadata("design:type",m.AbstractMenubarService)],u.prototype,"menubarService",void 0),n.__decorate([(0,r.Autowired)(o.IElectronMainMenuService),n.__metadata("design:type",Object)],u.prototype,"electronMainMenuService",void 0),n.__decorate([(0,r.Autowired)(t.IElectronMenuFactory),n.__metadata("design:type",g)],u.prototype,"factory",void 0),t.ElectronMenuBarService=u=n.__decorate([(0,r.Injectable)()],u)},77666:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionService=t.IToolbarActionService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(42637),p=e(48220);t.IToolbarActionService=Symbol("IToolBarActionsService");let v=class extends o.Disposable{constructor(){super(),this.groups=new Map}registryActionGroup(_,s){const g=new o.Disposable;return g.addDispose(this.registry.registerToolbarActionGroup({id:_,preferredLocation:"menu-right"})),g.addDispose({dispose:()=>{this.groups.delete(_)}}),s.forEach((l,h)=>{const u=_+"-action-"+h;l.type==="action"?g.addDispose(this.registry.registerToolbarAction({id:u,description:l.description||u,component:(0,c.createToolbarActionBtn)({iconClass:l.iconClass,title:l.title,id:u,delegate:d=>{d&&d.onClick(l.click)}}),preferredPosition:{group:_}})):l.type==="enum"&&g.addDispose(this.registry.registerToolbarAction({id:u,description:l.description||u,component:(0,p.createToolbarActionSelect)({defaultValue:l.defaultValue||l.title,options:l.enum.map(d=>({label:d,value:d})),onSelect:d=>l.select(d)}),preferredPosition:{group:_}}))}),this.groups.set(_,g),g}unRegistryActionGroup(_){this.groups.has(_)&&this.groups.get(_).dispose}};t.ToolbarActionService=v,n.__decorate([(0,r.Autowired)(c.IToolbarRegistry),n.__metadata("design:type",Object)],v.prototype,"registry",void 0),t.ToolbarActionService=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},54217:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLayoutEventType=e;function e(n){return`layoutInlineWidget-${n}`}},22689:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuggestEvent=t.ISchemaStore=t.JsonSchemaContribution=t.IJSONSchemaRegistry=t.Extensions=t.MonacoContribution=t.MonacoOverrideServiceRegistry=t.MonacoService=t.ServiceNames=void 0;const n=e(85608),r=e(43718);n.__exportStar(e(54217),t);var o;(function(m){m.CODE_EDITOR_SERVICE="codeEditorService",m.TEXT_MODEL_SERVICE="textModelService",m.CONTEXT_VIEW_SERVICE="contextViewService",m.COMMAND_SERVICE="commandService",m.CONTEXT_KEY_SERVICE="contextKeyService",m.BULK_EDIT_SERVICE="IWorkspaceEditService",m.OPENER_SERVICE="openerService",m.TELEMETRY_SERVICE="telemetryService"})(o||(t.ServiceNames=o={}));class c{}t.MonacoService=c;class p{}t.MonacoOverrideServiceRegistry=p,t.MonacoContribution=Symbol("MonacoContribution"),t.Extensions={JSONContribution:"base.contributions.json"},t.IJSONSchemaRegistry=Symbol("IJSONSchemaRegistry"),t.JsonSchemaContribution=Symbol("JsonSchemaContribution"),t.ISchemaStore=Symbol("ISchemaStore");class v extends r.BasicEvent{}t.SuggestEvent=v},75524:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IRelaxedOpenMergeEditorArgs=t.MergeEditorInputData=void 0;const n=e(43718);class r{static from(p){try{const v=JSON.parse(p);return new r(v.uri,v.title,v.detail,v.description)}catch{throw Error("invalid MergeEditorInputData parse")}}get textModel(){return this._textModel}constructor(p,v,m,_){this.uri=p,this.title=v,this.detail=m,this.description=_}getRaw(){return{uri:this.uri,title:this.title,detail:this.detail,description:this.description}}toString(){return JSON.stringify({uri:this.uri.toString(),title:this.title,detail:this.detail,description:this.description})}setTextModel(p){return this._textModel=p,this}}t.MergeEditorInputData=r;var o;(function(c){c.validate=_=>{var s,g;if(!_||typeof _!="object")throw new TypeError("invalid argument");const l=_,h=v(l.ancestor||l.base),u=v(l.output),d=p({...l.input1,title:(s=l.input1.title)!==null&&s!==void 0?s:"Current"}),E=p({...l.input2,title:(g=l.input2.title)!==null&&g!==void 0?g:"Incoming"});return{ancestor:h,input1:d,input2:E,output:u}},c.toString=_=>{const{ancestor:s,input1:g,input2:l,output:h}=_;return JSON.stringify({ancestor:s.toString(),input1:g.toString(),input2:l.toString(),output:h.toString()})};const p=_=>{if(typeof _=="string")return new r(n.URI.parse(_));if(!_||typeof _!="object")throw new TypeError("invalid argument");if(m(_))return new r(n.URI.from(_));const s=_,g=v(s.uri),l=s.title,h=s.detail,u=s.description;return new r(g,l,h,u)},v=_=>{if(typeof _=="string")return n.URI.parse(_);if(_&&typeof _=="object")return n.URI.from(_);throw new TypeError("invalid argument")},m=_=>{if(!_||typeof _!="object")return!1;const s=_;return typeof s.scheme=="string"&&typeof s.authority=="string"&&typeof s.path=="string"&&typeof s.query=="string"&&typeof s.fragment=="string"}})(o||(t.IRelaxedOpenMergeEditorArgs=o={}))},74654:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandOpener=void 0;const r=e(85608),o=e(76003),c=e(43718);let p=n=class{handleScheme(m){return m===c.Schemes.command}static parseURI(m){let _=[];try{_=JSON.parse(decodeURIComponent(m.query))}catch{try{_=JSON.parse(m.query)}catch{}}return Array.isArray(_)||(_=[_]),{id:m.path.toString(),args:_}}async open(m){const{id:_,args:s}=n.parseURI(m);return await this.commandService.executeCommand(_,...s),!0}};t.CommandOpener=p,r.__decorate([(0,o.Autowired)(c.CommandService),r.__metadata("design:type",Object)],p.prototype,"commandService",void 0),t.CommandOpener=p=n=r.__decorate([(0,o.Injectable)()],p)},98858:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultOpener=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(11050),p=e(66894);let v=class{handleScheme(_){return!0}async open(_){return this.appConfig.isElectronRenderer||[o.Schemes.http,o.Schemes.https].includes(_.scheme)?this.windowService.openNewWindow(_.toString(!0),{external:!0}):window.location.href=_.toString(!0),!0}};t.DefaultOpener=v,n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],v.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(p.IWindowService),n.__metadata("design:type",Object)],v.prototype,"windowService",void 0),t.DefaultOpener=v=n.__decorate([(0,r.Injectable)()],v)},19805:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpOpener=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(66894);let v=n=class{handleScheme(_){return n.standardSupportedLinkSchemes.has(_)}async open(_){return this.windowService.openNewWindow(_.toString(!0),{external:!0}),!0}};t.HttpOpener=v,v.standardSupportedLinkSchemes=new Set([c.Schemes.http,c.Schemes.https,c.Schemes.mailto]),r.__decorate([(0,o.Autowired)(p.IWindowService),r.__metadata("design:type",Object)],v.prototype,"windowService",void 0),t.HttpOpener=v=n=r.__decorate([(0,o.Injectable)()],v)},90697:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IOpenerService=t.OpenerContribution=void 0,t.OpenerContribution=Symbol("OpenerContribution"),t.IOpenerService=Symbol("IOpenerService")},45829:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronOpenerContributionClient=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(37406),p=e(66549),v=e(42101),m=e(90697);let _=class{onStart(){this.injector.get(c.IElectronURLService).on("open-url",l=>{v.electronEnv.currentWindowId===l.windowId&&this.openerService.open(l.url)})}};t.ElectronOpenerContributionClient=_,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],_.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(m.IOpenerService),n.__metadata("design:type",Object)],_.prototype,"openerService",void 0),t.ElectronOpenerContributionClient=_=n.__decorate([(0,o.Domain)(p.ClientAppContribution)],_)},44867:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenerContributionClient=t.DefaultOpenerContribution=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(66549),p=e(11050),v=e(74654),m=e(19805),_=e(90697);let s=class{registerOpener(h){h.registerOpener(this.commandOpener),h.registerOpener(this.httpOpener)}};t.DefaultOpenerContribution=s,n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",v.CommandOpener)],s.prototype,"commandOpener",void 0),n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",m.HttpOpener)],s.prototype,"httpOpener",void 0),t.DefaultOpenerContribution=s=n.__decorate([(0,o.Domain)(_.OpenerContribution)],s);let g=class{onStart(){const h=this.contributionProvider.getContributions();for(const u of h)u.registerOpener(this.openerService)}};t.OpenerContributionClient=g,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],g.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(_.OpenerContribution),n.__metadata("design:type",Object)],g.prototype,"contributionProvider",void 0),n.__decorate([(0,r.Autowired)(_.IOpenerService),n.__metadata("design:type",Object)],g.prototype,"openerService",void 0),n.__decorate([(0,r.Autowired)(p.AppConfig),n.__metadata("design:type",Object)],g.prototype,"appConfig",void 0),t.OpenerContributionClient=g=n.__decorate([(0,o.Domain)(c.ClientAppContribution)],g)},73967:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenerService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(98858);let p=class{constructor(){this.openers=[]}async getOpeners(m){const _=await Promise.all(this.openers.map(async s=>{try{return s.handleURI?await s.handleURI(m):await s.handleScheme(m.scheme)}catch(g){return this.logger.error(g),!1}}));return this.openers.filter((s,g)=>_[g])}registerOpener(m){return this.openers.push(m),{dispose:()=>{const _=this.openers.indexOf(m);_!==-1&&this.openers.splice(_,1)}}}async open(m){typeof m=="string"&&(m=o.URI.parse(m));const _=await this.getOpeners(m);for(const s of _)if(await s.open(m))return!0;return this.defaultOpener.open(m)}dispose(){this.openers=[]}};t.OpenerService=p,n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],p.prototype,"logger",void 0),n.__decorate([(0,r.Autowired)(c.DefaultOpener),n.__metadata("design:type",Object)],p.prototype,"defaultOpener",void 0),t.OpenerService=p=n.__decorate([(0,r.Injectable)()],p)},27504:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerExternalPreferenceProvider=p,t.getExternalPreferenceProvider=v,t.getPreferenceThemeId=m,t.getPreferenceIconThemeId=_,t.getPreferenceLanguageId=s,t.registerLocalStorageProvider=g,t.getExternalPreference=l,t.getAllExternalProviders=h;const n=e(43718),r=e(93433),o=e(39254),c=new Map;function p(u,d){return c.get(u)?n.Disposable.NULL:(c.set(u,d),{dispose(){c.delete(u)}})}function v(u){let d=c.get(u);if(!d){const E=r.PreferenceProvider.PreferenceDelegates[u];E&&(d=c.get(E.delegateTo))}return d}function m(){return l(n.GeneralSettingsId.Theme).value}function _(){return l(n.GeneralSettingsId.Icon).value}function s(u){const d=u&&u[n.GeneralSettingsId.Language],E=l(n.GeneralSettingsId.Language);return E.value&&E.scope>o.PreferenceScope.Default?E.value:d||E.value||(0,n.getLanguageId)()}function g(u,d,E=""){function f(b){let y="";return b===o.PreferenceScope.Workspace&&d?y=d:y=b.toString(),E?E+":"+y:y}function a(b){return f(b)+`:${u}`}return p(u,{set:(b,y)=>{y>=o.PreferenceScope.Folder||!d&&y>o.PreferenceScope.Default||typeof localStorage<"u"&&(b!==void 0?localStorage.setItem(a(y),b):localStorage.removeItem(a(y)))},get:b=>{if(typeof localStorage<"u")return localStorage.getItem(a(b))||void 0}})}function l(u,d,E){var f;const a=E?o.PreferenceScope.getReversedScopes().filter(b=>b<=E):o.PreferenceScope.getReversedScopes();for(const b of a){const y=(f=c.get(u))===null||f===void 0?void 0:f.get(b);if(y)return{value:y,scope:b}}return{value:d&&d.default,scope:o.PreferenceScope.Default}}function h(){return Array.from(c.entries())}},78132:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(43851),t),n.__exportStar(e(65870),t),n.__exportStar(e(93433),t),n.__exportStar(e(39254),t),n.__exportStar(e(26645),t),n.__exportStar(e(69794),t),n.__exportStar(e(27504),t),n.__exportStar(e(67889),t),n.__exportStar(e(62923),t)},43851:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceConfigurations=t.PreferenceConfiguration=void 0,t.injectPreferenceConfigurations=p;const n=e(85608),r=e(76003),o=e(43718),c=e(11050);t.PreferenceConfiguration=Symbol("PreferenceConfiguration");function p(m){(0,o.createContributionProvider)(m,t.PreferenceConfiguration),m.addProviders({token:v,useClass:v})}let v=class{getPaths(){return this.appConfig.workspacePreferenceDirName?[this.appConfig.workspacePreferenceDirName]:this.appConfig.preferenceDirName?[this.appConfig.preferenceDirName]:[o.DEFAULT_WORKSPACE_CONFIGURATION_DIR_NAME]}getConfigName(){return"settings"}getSectionNames(){return this.sectionNames||(this.sectionNames=this.preferenceConfigurationProvider.getContributions().map(_=>_.name)),this.sectionNames}isSectionName(_){return this.getSectionNames().indexOf(_)!==-1}isSectionUri(_){return!!_&&this.isSectionName(this.getName(_))}isConfigUri(_){return!!_&&this.getName(_)===this.getConfigName()}getName(_){return _.path.name}getPath(_){return _.parent.path.base}createUri(_,s=this.getPaths()[0],g=this.getConfigName()){return _.resolve(s).resolve(g+".json")}};t.PreferenceConfigurations=v,n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],v.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(t.PreferenceConfiguration),n.__metadata("design:type",Object)],v.prototype,"preferenceConfigurationProvider",void 0),t.PreferenceConfigurations=v=n.__decorate([(0,r.Injectable)()],v)},65870:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultPreferenceProvider=t.PreferenceSchemaProvider=t.OVERRIDE_PROPERTY_PATTERN=t.OverridePreferenceName=t.PreferenceContribution=void 0,t.injectPreferenceSchemaProvider=g;const n=e(85608),r=n.__importDefault(e(82174)),o=e(76003),c=e(43718),p=e(18292),v=e(11050),m=e(43851),_=e(93433),s=e(39254);t.PreferenceContribution=Symbol("PreferenceContribution");function g(a){(0,m.injectPreferenceConfigurations)(a),a.addProviders({token:d,useClass:d}),a.addProviders({token:_.PreferenceProvider,tag:s.PreferenceScope.Default,useClass:E})}var l;(function(a){function b(y){return!!y&&typeof y=="object"&&"preferenceName"in y&&"overrideIdentifier"in y}a.is=b})(l||(t.OverridePreferenceName=l={}));const h="\\[(.*)\\]$";t.OVERRIDE_PROPERTY_PATTERN=new RegExp(h);const u=()=>({type:"object",properties:{},patternProperties:{}});let d=class extends _.PreferenceProvider{fireDidPreferenceSchemaChanged(){this.onDidPreferenceSchemaChangedEmitter.fire(void 0)}get validateFunction(){return this._validateFunction||this.doUpdateValidate(),this._validateFunction}constructor(){super(),this.preferences={},this.combinedSchema=u(),this.onDidPreferenceSchemaChangedEmitter=new c.Emitter,this.onDidPreferenceSchemaChanged=this.onDidPreferenceSchemaChangedEmitter.event,this.validationFunctions=new Map,this.unsupportedPreferences=new Set,this.init(),this.toDispose.push(c.Disposable.create(()=>{this.preferences={},this.validationFunctions.clear(),this.combinedSchema=u()})),this.toDispose.push(this.onDidPreferenceSchemaChangedEmitter)}init(){var b;(b=this.preferenceContributions)===null||b===void 0||b.getContributions().forEach(y=>{this.doSetSchema(y.schema)}),this.combinedSchema.additionalProperties=!1,this.updateValidate(),this.onDidPreferencesChanged(()=>this.updateValidate()),this._ready.resolve()}doUnsetSchema(b){const y=[];for(const A of b){const S=A.preferenceName,w=A.oldValue,T=A.newValue,{scope:D,domain:I}=A,O={preferenceName:S,oldValue:T,scope:D,domain:I};delete this.combinedSchema.properties[S],typeof w===void 0?delete this.preferences[S]:(O.newValue=w,this.preferences[S]=w),y.push(O)}return y}doSetSchema(b,y){const A=s.PreferenceScope.Default,S=this.getDomain(),w=[],T=p.PreferenceSchema.getDefaultScope(b),D=b.overridable||!1;for(const I of Object.keys(b.properties))if(this.combinedSchema.properties[I]&&!y){this.logger.warn("Preference name collision detected in the schema for property: "+I);continue}else{const O=p.PreferenceDataProperty.fromPreferenceSchemaProperty(b.properties[I],T);typeof O.overridable!="boolean"&&D&&(O.overridable=!0),this.combinedSchema.properties[I]=O,this.unsupportedPreferences.delete(I);const M=O.defaultValue=this.getDefaultValue(O,I);w.push(this.doSetPreferenceValue(I,M,{scope:A,domain:S}))}return w}doSetPreferenceValue(b,y,{scope:A,domain:S}){const w=this.preferences[b];return this.preferences[b]=y,{preferenceName:b,oldValue:w,newValue:y,scope:A,domain:S}}getDefaultValue(b,y){if(y&&this.appConfig.defaultPreferences&&y in this.appConfig.defaultPreferences)return this.appConfig.defaultPreferences[y];if(b.defaultValue!==void 0)return b.defaultValue;if(b.default!==void 0)return b.default}updateValidate(){this._validateFunction=void 0}doUpdateValidate(){const b={...this.combinedSchema,properties:{...this.combinedSchema.properties}};for(const y of this.configurations.getSectionNames())delete b.properties[y];this._validateFunction=new r.default().compile(b)}validate(b,y){if(this.configurations.isSectionName(b))return{valid:!0};if(!this.getPreferenceProperty(b))return{valid:!0};this.validationFunctions.has(b)||this.validationFunctions.set(b,new r.default().compile(this.getPreferenceProperty(b)));const A=this.validationFunctions.get(b),S=A(y);!S&&!(b in this.combinedSchema.properties)&&(this.unsupportedPreferences.has(b)||(this.unsupportedPreferences.add(b),this.logger.warn(`"${b}" preference is not supported`)));const w=A.errors&&A.errors[0]?f(A.errors[0]):void 0;return{valid:S,reason:w}}getCombinedSchema(){return this.combinedSchema}setSchema(b,y){const A=this.doSetSchema(b,y);return A.length?(this.fireDidPreferenceSchemaChanged(),this.emitPreferencesChangedEvent(A),c.Disposable.create(()=>{const S=this.doUnsetSchema(A);S.length&&(this.fireDidPreferenceSchemaChanged(),this.emitPreferencesChangedEvent(S))})):c.Disposable.NULL}getPreferences(){return this.preferences}getLanguagePreferences(b){return{}}async doSetPreference(){return!1}isValidInScope(b,y){const A=this.getPreferenceProperty(b);return A?A.scope>=y:!1}*getPreferenceNames(){for(const b in this.combinedSchema.properties)yield b}getPreferenceProperty(b){return this.combinedSchema.properties[b]}};t.PreferenceSchemaProvider=d,n.__decorate([(0,o.Autowired)(t.PreferenceContribution),n.__metadata("design:type",Object)],d.prototype,"preferenceContributions",void 0),n.__decorate([(0,o.Autowired)(m.PreferenceConfigurations),n.__metadata("design:type",m.PreferenceConfigurations)],d.prototype,"configurations",void 0),n.__decorate([(0,o.Autowired)(c.ILogger),n.__metadata("design:type",Object)],d.prototype,"logger",void 0),n.__decorate([(0,o.Autowired)(v.AppConfig),n.__metadata("design:type",Object)],d.prototype,"appConfig",void 0),t.PreferenceSchemaProvider=d=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],d);let E=class extends _.PreferenceProvider{constructor(){super(),this.preferences={default:{},languageSpecific:{}},this.init()}async init(){this._ready.resolve()}getPreferences(b,y){return y?this.preferences.languageSpecific[y]||{}:{...this.preferenceSchemaProvider.getPreferences(),...this.preferences.default}}getLanguagePreferences(b){return this.preferences.languageSpecific}async doSetPreference(b,y,A,S){if(S){this.preferences.languageSpecific[S]||(this.preferences.languageSpecific[S]={});const w=this.preferences.languageSpecific[S][b];this.preferences.languageSpecific[S][b]=y,this.handlePreferenceChanges(b,y,w,S)}else{const w=this.preferences.default[b];this.preferences.default[b]=y,this.handlePreferenceChanges(b,y,w)}return!0}handlePreferenceChanges(b,y,A,S){const w={preferenceName:b,newValue:y,oldValue:A,scope:s.PreferenceScope.Default,domain:void 0};S?this.emitPreferencesChangedEvent({default:{},languageSpecific:{[S]:{[b]:w}}}):this.emitPreferencesChangedEvent([w])}};t.DefaultPreferenceProvider=E,n.__decorate([(0,o.Autowired)(d),n.__metadata("design:type",d)],E.prototype,"preferenceSchemaProvider",void 0),t.DefaultPreferenceProvider=E=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],E);function f(a){return a.message}},93433:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceProvider=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(79951),v=e(27504);function m(s){const g={};for(const l of Object.keys(s))g[s[l].delegateTo]={delegated:l,...s[l]};return g}let _=n=class{constructor(){this.onDidPreferencesChangedEmitter=new c.Emitter,this.onDidPreferencesChanged=this.onDidPreferencesChangedEmitter.event,this.toDispose=new c.DisposableCollection,this._ready=new c.Deferred,this.toDispose.push(this.onDidPreferencesChangedEmitter)}asScope(g){typeof this._scope<"u"||(this._scope=g,(0,v.getAllExternalProviders)().forEach(([l,h])=>{h.onDidChange&&h.onDidChange(u=>{u.scope===this._scope&&this.emitPreferencesChangedEvent([{preferenceName:l,scope:u.scope,newValue:u.newValue,oldValue:u.oldValue}],!0)})}))}dispose(){this.toDispose.dispose()}emitPreferencesChangedEvent(g,l){let h;if(Array.isArray(g)){h={default:{},languageSpecific:{}};for(const u of g)h.default[u.preferenceName]=u}else h=g;if(typeof this._scope<"u"){const u=Object.keys(h.default);for(const d of u){const E=h.default[d];if(n.PreferenceDelegates[E.preferenceName]){const f=n.PreferenceDelegates[E.preferenceName];this.get(f.delegateTo)!==void 0&&this.get(E.preferenceName)===void 0||(h.default[f.delegateTo]={...E,oldValue:void 0,newValue:E.newValue!==void 0?f.transform?f.transform(E.newValue):E.newValue:void 0,preferenceName:f.delegateTo})}!l&&(0,v.getExternalPreferenceProvider)(d)&&delete h.default[d],E.oldValue===E.newValue&&delete h.default[d]}}return h&&!(0,c.isEmptyObject)(h)?(this.onDidPreferencesChangedEmitter.fire(h),!0):!1}get(g,l,h){if(n.PreferenceDelegatesReverse[g]){const d=this.getDelegateToValueFromDelegated(g);if(d!==void 0)return d}const u=this.getWithoutDelegate(g,l,h);return u===void 0&&n.PreferenceDelegates[g]?this.getDelegatedValueFromDelegateTo(g):u}getWithoutDelegate(g,l,h){if(typeof this._scope<"u"){const u=(0,v.getExternalPreferenceProvider)(g);if(u)return u.get(this._scope)}return this.doGet(g,l,h)}getDelegatedValueFromDelegateTo(g){const l=n.PreferenceDelegates[g],h=this.getWithoutDelegate(l.delegateTo);return l.transformFrom?l.transformFrom(h):h}getDelegateToValueFromDelegated(g){const l=n.PreferenceDelegatesReverse[g],h=this.getWithoutDelegate(l.delegated);return l.transform?l.transform(h):h}doGet(g,l,h){return this.doResolve(g,l,h).value}resolve(g,l,h){if(n.PreferenceDelegatesReverse[g]){const d=this.getDelegateToValueFromDelegated(g);if(d!==void 0)return{value:d,scope:this._scope}}if(typeof this._scope<"u"){const d=(0,v.getExternalPreferenceProvider)(g);if(d)return{value:d.get(this._scope),scope:this._scope}}const u=this.doResolve(g,l,h);return u.value===void 0&&n.PreferenceDelegates[g]?{value:this.getDelegatedValueFromDelegateTo(g),scope:this._scope}:u}doResolve(g,l,h){const u=this.getPreferences(l,h);if(!u)return{};const d=u[g];return d!==void 0?{value:d,configUri:this.getConfigUri(l)}:{}}async setPreference(g,l,h,u){if(n.PreferenceDelegatesReverse[g]){const d=n.PreferenceDelegatesReverse[g];await this.setPreference(d.delegated,void 0)}if(typeof this._scope<"u"){const d=(0,v.getExternalPreferenceProvider)(g);if(d)try{const E=d.get(this._scope);return await d.set(l,this._scope),d.onDidChange||this.emitPreferencesChangedEvent([{preferenceName:g,scope:this._scope,oldValue:E,newValue:d.get(this._scope)}],!0),!0}catch{return!1}}return await this.doSetPreference(g,l,h,u)}get ready(){return this._ready.promise}getDomain(){}getConfigUri(g){}static merge(g,l){if(g===void 0||!p.JSONUtils.isObject(g))return p.JSONUtils.deepCopy(l);if(p.JSONUtils.isPrimitive(l))return{};for(const h of Object.keys(l)){const u=l[h];if(h in g&&p.JSONUtils.isObject(g[h])&&p.JSONUtils.isObject(u)){this.merge(g[h],u);continue}g[h]=p.JSONUtils.deepCopy(u)}return g}};t.PreferenceProvider=_,_.PreferenceDelegates={"workbench.colorTheme":{delegateTo:"general.theme"}},_.PreferenceDelegatesReverse=m(n.PreferenceDelegates),t.PreferenceProvider=_=n=r.__decorate([(0,o.Injectable)(),r.__metadata("design:paramtypes",[])],_)},69794:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPreferenceProxy=r;const n=e(43718);function r(o,c,p){const v=p||{},m=v.prefix||"",_=v.style||"flat",s=_==="deep"||_==="both",g=_==="both"||_==="flat",l=(b,y,A)=>{const S=new n.Disposable;return S.addDispose(o.onPreferencesChanged(w=>{for(const T of Object.keys(w)){const D=w[T],I=D.preferenceName;if(I.startsWith(m)&&c.properties[I])if(v.resourceUri){if(D.affects(v.resourceUri)){if(v.overrideIdentifier&&!o.hasLanguageSpecific(I,v.overrideIdentifier,v.resourceUri))continue;b(D)}}else b(D)}},y,A)),v.overrideIdentifier&&S.addDispose(o.onLanguagePreferencesChanged(w=>{if(w.overrideIdentifier===v.overrideIdentifier)for(const T of Object.keys(w.changes)){const D=w.changes[T],I=D.preferenceName;I.startsWith(m)&&c.properties[I]&&(v.resourceUri?D.affects(v.resourceUri)&&b(D):b(D))}},y,A)),S},h=(b,y)=>{throw new Error("Unsupported operation")},u=(b,y,A,S)=>o.get(b,y,A||v.resourceUri,S||v.overrideIdentifier),d=()=>{const b=[];for(const y of Object.keys(c.properties))if(y.startsWith(m)){const A=y.indexOf(".",m.length);if(A!==-1&&s){const w=y.substr(m.length,A-m.length);b.indexOf(w)===-1&&b.push(w)}const S=y.substr(m.length);(g||S.indexOf(".")===-1)&&b.push(S)}return b},E=(b,y,A)=>{if(typeof y!="string")throw new Error(`unexpected property: ${String(y)}`);if(_==="deep"&&y.indexOf(".")!==-1)return!1;const S=m?m+y:y;if(c.properties[S])return o.set(S,A,n.PreferenceScope.Default),!0;const w=S+".";for(const T of Object.keys(c.properties))if(T.startsWith(w)){const D=r(o,c,{prefix:w,resourceUri:v.resourceUri,overrideIdentifier:v.overrideIdentifier,style:_});for(const I of Object.keys(A))D[I]=A[I]}return!1},f=(b,y)=>{if(typeof y!="string")throw new Error(`unexpected property: ${String(y)}`);const A=m?m+y:y;if((g||y.indexOf(".")===-1)&&c.properties[A])return o.get(A,void 0,v.resourceUri,v.overrideIdentifier);if(y==="onPreferenceChanged")return l;if(y==="dispose")return()=>{};if(y==="ready")return o.ready;if(y==="get")return u;if(y==="toJSON")return a();if(s){const S=A+".";for(const O of Object.keys(c.properties))if(O.startsWith(S))return r(o,c,{prefix:S,resourceUri:v.resourceUri,overrideIdentifier:v.overrideIdentifier,style:_});let w,T=A;const D=[];for(let O;T&&(0,n.isUndefined)(w);)O=T.lastIndexOf("."),D.push(T.substring(O+1)),T=T.substring(0,O),T in c.properties&&(w=f(b,T));let I;for(;(0,n.isObject)(w)&&(I=D.pop());)w=w[I];return D.length?void 0:w}},a=()=>{const b={};for(const y of d())b[y]=f(void 0,y);return b};return new Proxy({},{get:f,ownKeys:d,getOwnPropertyDescriptor:(b,y)=>d().indexOf(y)!==-1?{enumerable:!0,configurable:!0}:{},set:E,deleteProperty:h,defineProperty:h})}},39254:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceScope=void 0;const n=e(87023);Object.defineProperty(t,"PreferenceScope",{enumerable:!0,get:function(){return n.PreferenceScope}})},26645:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceServiceImpl=t.PreferenceChangeImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(43851),p=e(65870),v=e(93433),m=e(39254),_=e(67889),{deepClone:s}=o.objects;class g{constructor(d){this.change=d}get preferenceName(){return this.change.preferenceName}get newValue(){return this.change.newValue}get oldValue(){return this.change.oldValue}get scope(){return this.change.scope}affects(d){const E=d&&new o.URI(d).path,f=this.change.domain;return!E||!f||f.some(a=>new o.URI(a).path.relativity(E)>=0)}}t.PreferenceChangeImpl=g;let l=class{constructor(){this.onPreferenceChangedEmitter=new o.Emitter,this.onPreferenceChanged=this.onPreferenceChangedEmitter.event,this.onPreferencesChangedEmitter=new o.Emitter,this.onPreferencesChanged=this.onPreferencesChangedEmitter.event,this.onLanguagePreferencesChangedEmitter=new o.Emitter,this.onLanguagePreferencesChanged=this.onLanguagePreferencesChangedEmitter.event,this.toDispose=new o.DisposableCollection(this.onPreferenceChangedEmitter,this.onPreferencesChangedEmitter),this.preferenceProviders=new Map,this.specificEmitters=new Map,this.preferences={},this.cachedPreference=new o.LRUMap(1e3,500),this._ready=new o.Deferred,this.init()}async init(){this.initializeProviders()}dispose(){this.toDispose.dispose()}onSpecificPreferenceChange(d,E){return this.specificEmitters.has(d)||this.specificEmitters.set(d,new o.Emitter),this.specificEmitters.get(d).event(E)}get ready(){return this._ready.promise}async initializeProviders(){const d=m.PreferenceScope.getScopes(),E=[];for(const f of d){const a=this.providerProvider(f);this.preferenceProviders.set(f,a),this.toDispose.push(a.onDidPreferencesChanged(b=>{const y=Object.keys(b.default),A={};for(const S of y)b.default[S].scope===f&&(A[S]=b.default[S]);(0,o.isEmptyObject)(A)||this.reconcilePreferences({default:A,languageSpecific:b.languageSpecific})})),E.push(a.ready)}return Promise.all(E).then(()=>{this._ready.resolve()}).catch(f=>{this._ready.reject(f)})}reconcilePreferences(d){const E={},f={},a=(y,A)=>{this.cachedPreference.delete(y.preferenceName),A?(f[A]||(f[A]={}),f[A][y.preferenceName]=new g(y)):E[y.preferenceName]=new g(y)};this.tryAcceptChanges(d.default,a),Object.keys(d.languageSpecific).forEach(y=>{this.tryAcceptChanges(d.languageSpecific[y],a,y)});const b=Object.keys(E);b.length>0&&this.onPreferencesChangedEmitter.fire(E),b.forEach(y=>{this.onPreferenceChangedEmitter.fire(E[y]),this.specificEmitters.has(y)&&this.specificEmitters.get(y).fire(E[y])}),Object.keys(f).forEach(y=>{this.onLanguagePreferencesChangedEmitter.fire({overrideIdentifier:y,changes:f[y]})})}tryAcceptChanges(d,E,f){for(const a of Object.keys(d)){let b=d[a];if(this.schema.isValidInScope(a,m.PreferenceScope.Folder)){E(b,f);continue}for(const y of m.PreferenceScope.getReversedScopes())if(this.schema.isValidInScope(a,y)){const A=this.getProvider(y);if(A){const S=A.get(a,b.domain?b.domain[0]:void 0,f);if(y>b.scope&&S!==void 0)break;if(y===b.scope&&b.newValue!==void 0){E(b,f);break}else if(y<b.scope&&b.newValue===void 0&&S!==void 0){b={...b,newValue:S,scope:y},E(b,f);break}else if(y===m.PreferenceScope.Default&&b.newValue===void 0&&S===void 0){b={...b,newValue:this.get(a,void 0,b.domain?b.domain[0]:void 0),scope:y},E(b,f);break}}}}}getProvider(d){return this.preferenceProviders.get(d)}getPreferences(d){const E={};for(const f of this.schema.getPreferenceNames())E[f]=this.get(f,void 0,d);return E}has(d,E,f){return this.get(d,void 0,E,f)!==void 0}get(d,E,f,a){return this.resolve(d,E,f,a).value}getValid(d,E){const{value:f}=this.resolve(d,E),a=this.schema.getPreferenceProperty(d);if(!a)return f;const b=f;switch(E=E??a?.default,(0,o.isArray)(a.type)?a.type.includes(o.PREFERENCE_PROPERTY_TYPE.NULL)?o.PREFERENCE_PROPERTY_TYPE.NULL:a.type[0]:a.type){case o.PREFERENCE_PROPERTY_TYPE.STRING:return(0,o.isString)(b)?b:(0,o.isString)(E)?E:"";case o.PREFERENCE_PROPERTY_TYPE.INT:case o.PREFERENCE_PROPERTY_TYPE.NUMBER:return(0,o.isNumber)(b)?b:(0,o.isNumber)(E)?E:0;case o.PREFERENCE_PROPERTY_TYPE.STRING_ARRAY:case o.PREFERENCE_PROPERTY_TYPE.ARRAY:return(0,o.isArray)(b)?b:(0,o.isArray)(E)?E:[];case o.PREFERENCE_PROPERTY_TYPE.BOOLEAN:return(0,o.isBoolean)(b)?b:(0,o.isBoolean)(E)?E:!1;case o.PREFERENCE_PROPERTY_TYPE.NULL:return(0,o.isNull)(b)?b:(0,o.isNull)(E)?E:null;case o.PREFERENCE_PROPERTY_TYPE.OBJECT:return(0,o.isObject)(b)?b:(0,o.isObject)(E)?E:{};default:return null}}lookUp(d){let E,f;if(!d)return{value:E};const a=d.split(".");if(!a||a.length===0)return{value:E};for(let b=a.length-1;b>0;b--)if(E=this.doResolve(a.slice(0,b).join(".")).value,E){f=a.slice(b);break}for(;f&&f.length>0;)E=E[f.shift()];return{value:E}}resolve(d,E,f,a,b){const y=this.doResolve(d,E,f,b,a);return typeof y.value>"u"?this.lookUp(d):y}async set(d,E,f,a){await this.ready;const b=(0,o.isUndefined)(f)?a?m.PreferenceScope.Folder:m.PreferenceScope.Workspace:f;if(b===m.PreferenceScope.User&&this.configurations.isSectionName(d.split(".",1)[0]))throw new Error(`Unable to write to User Settings because ${d} does not support for global scope.`);if(b===m.PreferenceScope.Folder&&!a)throw new Error("Unable to write to Folder Settings because no resource is provided.");const y=this.getProvider(b);if(!(y&&await y.setPreference(d,E,a)))throw new Error(`Unable to write to ${m.PreferenceScope.getScopeNames(b)[0]} Settings.`)}async update(d,E,f=m.PreferenceScope.User){const a=this.resolve(d);a?.scope?this.set(d,E,a.scope):this.set(d,E,f)}hasLanguageSpecific(d,E,f){return!!this.doResolve(d,void 0,f,void 0,E).languageSpecific}getBoolean(d,E,f){const a=f?this.get(d,E,f):this.get(d,E);return a!=null?!!a:E}getString(d,E,f){const a=f?this.get(d,E,f):this.get(d,E);return a==null?E:a.toString()}getNumber(d,E,f){const a=f?this.get(d,E,f):this.get(d,E);return a==null?E:typeof a=="number"?a:Number(a)}inspect(d,E,f){const a=this.inspectInScope(d,m.PreferenceScope.Default,E,f),b=this.inspectInScope(d,m.PreferenceScope.User,E,f),y=this.inspectInScope(d,m.PreferenceScope.Workspace,E,f),A=this.inspectInScope(d,m.PreferenceScope.Folder,E,f);return{preferenceName:d,defaultValue:a,globalValue:b,workspaceValue:y,workspaceFolderValue:A}}inspectInScope(d,E,f,a){return this.doInspectInScope(d,E,f,a)}doHas(d,E){return this.doGet(d,void 0,E)!==void 0}doInspectInScope(d,E,f,a){const b=this.getProvider(E);return b&&b.get(d,f,a)}doGet(d,E,f){return this.doResolve(d,E,f).value}doResolve(d,E,f,a,b){let y;this.cachedPreference.has(d)?y=this.cachedPreference.get(d):(y=new o.LRUMap(500,200),this.cachedPreference.set(d,y));const A=h(b,a,f);y.has(A)||y.set(A,this.doResolveWithOutCache(d,f,a,b));const S=y.get(A);return S.value===void 0&&(S.value=E),S}doResolveWithOutCache(d,E,f,a){const b={scope:m.PreferenceScope.Default},y=(0,o.isUndefined)(f)?m.PreferenceScope.getScopes():m.PreferenceScope.getScopes().filter(A=>A<=f);for(const A of y)if(this.schema.isValidInScope(d,A)){const S=this.getProvider(A);if(S){const{configUri:w,value:T}=S.resolve(d,E);!(0,o.isUndefined)(T)&&!(0,o.isEmptyObject)(T)&&(b.configUri=w,b.value=v.PreferenceProvider.merge(b.value,T),b.scope=A)}}if(a){for(const A of y)if(this.schema.isValidInScope(d,A)){const S=this.getProvider(A);if(S){const{configUri:w,value:T,languageSpecific:D}=S.resolve(d,E,a);T!==void 0&&(b.configUri=w,b.value=v.PreferenceProvider.merge(b.value,T),b.scope=A,b.languageSpecific=b.languageSpecific||D)}}}return{configUri:b.configUri,value:(0,o.isUndefined)(b.value)?void 0:s(b.value),scope:b.scope||m.PreferenceScope.Default,languageSpecific:b.languageSpecific}}};t.PreferenceServiceImpl=l,n.__decorate([(0,r.Autowired)(p.PreferenceSchemaProvider),n.__metadata("design:type",p.PreferenceSchemaProvider)],l.prototype,"schema",void 0),n.__decorate([(0,r.Autowired)(v.PreferenceProvider,{tag:m.PreferenceScope.Default}),n.__metadata("design:type",v.PreferenceProvider)],l.prototype,"defaultPreferenceProvider",void 0),n.__decorate([(0,r.Autowired)(_.PreferenceProviderProvider),n.__metadata("design:type",Function)],l.prototype,"providerProvider",void 0),n.__decorate([(0,r.Autowired)(c.PreferenceConfigurations),n.__metadata("design:type",c.PreferenceConfigurations)],l.prototype,"configurations",void 0),t.PreferenceServiceImpl=l=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],l);function h(u,d,E){return`${u?`${u}:::`:""}${(0,o.isUndefined)(d)?"":`${d}:::`}${E||""}`||"default"}},62923:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IPreferenceSettingsService=void 0,t.IPreferenceSettingsService=Symbol("IPreferenceSettingsService")},67889:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceProviderProvider=t.PreferenceService=void 0,t.PreferenceService=Symbol("PreferenceService"),t.PreferenceProviderProvider=Symbol("PreferenceProviderProvider")},68969:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyProgressRunner=t.IProgressService=void 0,t.IProgressService=Symbol("IProgressService"),t.emptyProgressRunner=Object.freeze({total(){},worked(){},done(){}})},68974:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Progress=t.ProgressBar=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(79951),p=n.__importDefault(e(52611)),v=({progressModel:m,className:_})=>{const s=(0,c.useAutorun)(m.worked),g=(0,c.useAutorun)(m.total),l=(0,c.useAutorun)(m.show),h=(0,c.useAutorun)(m.fade),u=g?(s/g||.02)*100+"%":"2%";return o.default.createElement("div",{className:(0,r.default)(_,p.default.progressBar,{[p.default.hide]:!l},{[p.default.fade]:h})},o.default.createElement("div",{className:(0,r.default)(p.default.progress,{[p.default.infinite]:!g}),style:{width:u}}))};t.ProgressBar=v,t.Progress=o.default.memo(({loading:m,style:_,wrapperClassName:s})=>m?o.default.createElement("div",{className:(0,r.default)(p.default.progressBar,s)},o.default.createElement("div",{className:(0,r.default)(p.default.progress,p.default.infinite),style:{width:"2%",..._}})):null)},58482:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressIndicator=void 0;const n=e(85608),r=e(76003),o=e(43738);let c=class{constructor(){this.progressModel={show:(0,o.observableValue)(this,!1),fade:(0,o.observableValue)(this,!1),worked:(0,o.observableValue)(this,0),total:(0,o.observableValue)(this,void 0)}}show(v,m){return v!==!0&&(0,o.transaction)(_=>{this.progressModel.total.set(v,_)}),this.showOnceScheduler(m),{total:_=>{(0,o.transaction)(s=>{this.progressModel.worked.set(0,s),this.progressModel.total.set(_,s)})},worked:_=>{(0,o.transaction)(s=>{if(this.progressModel.total.get()){const g=Math.max(1,Number(_)),l=Math.min(g+this.progressModel.worked.get(),this.progressModel.total.get());this.progressModel.worked.set(l,s)}this.progressModel.show.set(!0,s)})},done:()=>{this.doDone(!0)}}}async showWhile(v,m){(0,o.transaction)(_=>{this.progressModel.total.set(void 0,_)}),this.showOnceScheduler(m),await v,this.doDone(!1)}showOnceScheduler(v){typeof v=="number"?(clearTimeout(this.scheduled),this.scheduled=setTimeout(()=>this.on(),v)):this.on()}doDone(v){(0,o.transaction)(m=>{this.progressModel.fade.set(!0,m)}),this.progressModel.total.get()?((0,o.transaction)(m=>{this.progressModel.worked.set(this.progressModel.total.get(),m)}),v?setTimeout(this.off,800):this.off()):v?setTimeout(this.off,800):this.off()}off(){(0,o.transaction)(v=>{this.progressModel.total.set(void 0,v),this.progressModel.worked.set(0,v),this.progressModel.show.set(!1,v),this.progressModel.fade.set(!1,v)})}on(){(0,o.transaction)(v=>{this.progressModel.show.set(!0,v)})}};t.ProgressIndicator=c,t.ProgressIndicator=c=n.__decorate([(0,r.Injectable)({multiple:!0})],c)},11719:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressService=void 0;const n=e(85608),r=e(14041),o=e(76003),c=e(97267),p=e(43718),v=e(81878),m=e(61943),_=e(90697),s=e(26542),g=e(68974),l=e(58482),{format:h}=p.strings;let u=class{constructor(){this.progressIndicatorRegistry=new Map,this.windowProgressStack=[],this.windowProgressStatusEntry=void 0}registerProgressIndicator(E,f){const a=f||this.injector.get(l.ProgressIndicator);return this.progressIndicatorRegistry.set(E,a),{dispose:()=>this.progressIndicatorRegistry.delete(E)}}getIndicator(E){return this.progressIndicatorRegistry.get(E)}withProgress(E,f,a){const b=E.location;if(typeof b=="string"){if(this.progressIndicatorRegistry.get(b))return this.withCompositeProgress(b,f,{...E,location:b});throw new Error(`Bad progress location: ${b}`)}switch(b){case p.ProgressLocation.Notification:return this.withNotificationProgress({...E,location:b},f,a);case p.ProgressLocation.Window:return this.withWindowProgress({...E,location:b},f);case p.ProgressLocation.Explorer:return this.withCompositeProgress("explorer",f,{...E,location:b});case p.ProgressLocation.Scm:return this.withCompositeProgress("scm",f,{...E,location:b});case p.ProgressLocation.Extensions:return this.withCompositeProgress("extensions",f,{...E,location:b});default:throw new Error(`Bad progress location: ${b}`)}}withWindowProgress(E,f){const a=[E,new p.Progress(()=>this.updateWindowProgress())],b=f(a[1]);let y=setTimeout(()=>{y=void 0,this.windowProgressStack.unshift(a),this.updateWindowProgress(),Promise.all([(0,p.timeout)(150),b]).finally(()=>{const A=this.windowProgressStack.indexOf(a);this.windowProgressStack.splice(A,1),this.updateWindowProgress()})},150);return b.finally(()=>clearTimeout(y))}updateWindowProgress(E=0){var f;if(E<this.windowProgressStack.length){const[a,b]=this.windowProgressStack[E],y=a.title,A=b.value&&b.value.message,S=a.command;let w,T;if(y&&A)w=h("{0}: {1}",y,A),T=a.source?h("[{0}] {1}: {2}",a.source,y,A):w;else if(y)w=y,T=a.source?h("[{0}]: {1}",a.source,y):w;else if(A)w=A,T=a.source?h("[{0}]: {1}",a.source,A):w;else{this.updateWindowProgress(E+1);return}const D={text:`$(sync~spin) ${w}`,tooltip:T,command:S,alignment:s.StatusBarAlignment.LEFT};this.windowProgressStatusEntry?this.windowProgressStatusEntry.update(D):this.commandService.executeCommand("statusbar.addElement","status.progress",D).then(I=>{this.windowProgressStatusEntry=I})}else(f=this.windowProgressStatusEntry)===null||f===void 0||f.dispose(),this.windowProgressStatusEntry=void 0}withCompositeProgress(E,f,a){const b=this.progressIndicatorRegistry.get(E);let y;const A=f({report:S=>{y&&(typeof S.increment=="number"&&y.worked(S.increment),typeof S.total=="number"&&y.total(S.total))}});return b&&(typeof a.total=="number"?(y=b.show(a.total,a.delay),A.catch(()=>{}).finally(()=>y?y.done():void 0)):b.showWhile(A,a.delay)),A}withNotificationProgress(E,f,a){const b=new class extends p.Disposable{get step(){return this._step}get done(){return this._done}constructor(){super(),this._onDidReport=this.registerDispose(new p.Emitter),this.onDidReport=this._onDidReport.event,this._step=void 0,this._done=!1,this.promise=f(this),this.promise.finally(()=>{this.dispose()})}report(k){this._step=k,this._onDidReport.fire(k)}cancel(k){a?.(k),this.dispose()}dispose(){this._done=!0,super.dispose()}},y=()=>{let k;const F=new Promise(L=>k=L);return this.withWindowProgress({location:p.ProgressLocation.Window,title:E.title?(0,p.parseLinkedText)(E.title).toString():void 0},L=>{function B(W){W.message&&L.report({message:(0,p.parseLinkedText)(W.message).toString()})}b.step&&B(b.step);const j=b.onDidReport(W=>B(W));return F.finally(()=>j.dispose()),p.Event.once(b.onDispose)(()=>k()),F}),(0,p.toDisposable)(()=>k())};let A,S,w=!1;const T=(k,F,L)=>{var B,j;const W=[],U=(B=E.closeable)!==null&&B!==void 0?B:!0;E.cancellable&&W.push((0,p.localize)("ButtonCancel")),E.buttons&&W.push(...E.buttons);const Q=(0,p.randomString)(3),V=this.injector.get(l.ProgressIndicator);this.registerProgressIndicator(Q,V);let $;const Y=z=>{(0,p.dispose)($),!z&&!b.done&&($=y())};return A=r.createElement(g.ProgressBar,{progressModel:V.progressModel}),(j=(0,v.open)(k,c.MessageType.Info,U,Q,W,A,0,()=>Y(!1)))===null||j===void 0||j.then(()=>{b.cancel()}),typeof L=="number"&&L>=0?(S=V.show(100),S.worked(L)):(w=!0,S=V.show(!0)),Q},D=k=>{typeof k=="number"&&k>=0?(w&&(w=!1,S.total(100)),S.worked(k)):S.total(0)};let I,O,M;const R=k=>{if(k?.message&&E.title?M=`${E.title}: ${k.message}`:M=E.title||k?.message,!I&&M&&(typeof E.delay=="number"&&E.delay>0?typeof O!="number"&&(O=setTimeout(()=>I=T(M,!!E.silent,k?.increment),E.delay)):I=T(M,!!E.silent,k?.increment)),I&&(typeof k?.increment=="number"&&D(k.increment),M)){const F=this.injector.get(_.IOpenerService);(0,c.update)(I,(0,m.toMarkdown)(M,F))}};R(b.step);const P=b.onDidReport(k=>R(k));return p.Event.once(b.onDispose)(()=>P.dispose()),(async()=>{try{typeof E.delay=="number"&&E.delay>0?await b.promise:await Promise.all([(0,p.timeout)(800),b.promise])}finally{clearTimeout(O),I&&((0,c.close)(I),this.progressIndicatorRegistry.delete(I))}})(),b.promise}};t.ProgressService=u,n.__decorate([(0,o.Autowired)(o.INJECTOR_TOKEN),n.__metadata("design:type",o.Injector)],u.prototype,"injector",void 0),n.__decorate([(0,o.Autowired)(p.CommandService),n.__metadata("design:type",Object)],u.prototype,"commandService",void 0),t.ProgressService=u=n.__decorate([(0,o.Injectable)()],u)},74404:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuickOpenContribution=t.QuickTitleButtonSide=t.IQuickInputService=t.PrefixQuickOpenService=t.QuickPickService=t.QuickOpenOptions=t.QuickOpenService=t.HideReason=t.QuickOpenItem=t.QuickOpenMode=t.Mode=void 0;const n=e(85608),r=e(43738);var o;(function(s){s[s.PREVIEW=0]="PREVIEW",s[s.OPEN=1]="OPEN",s[s.OPEN_IN_BACKGROUND=2]="OPEN_IN_BACKGROUND"})(o||(t.QuickOpenMode=t.Mode=o={}));class c{constructor(g){this.options=g,this.checked=(0,r.observableValue)(this,!1),(0,r.transaction)(l=>{this.checked.set(g.checked||!1,l)})}getTooltip(){return this.options.tooltip||this.getLabel()}getLabel(){return this.options.label}getLabelHighlights(){return this.options.labelHighlights||[]}getDescription(){return this.options.description}getDescriptionHighlights(){return this.options.descriptionHighlights}getDetail(){return this.options.detail}getDetailHighlights(){return this.options.detailHighlights}isHidden(){return this.options.hidden||!1}getUri(){return this.options.uri}getIconClass(){return this.options.iconClass}getIconPath(){return this.options.iconPath}getKeybinding(){return this.options.keybinding}setHighlights(g,l,h){this.labelHighlights=g,this.descriptionHighlights=l,this.detailHighlights=h}getHighlights(){return[this.labelHighlights,this.descriptionHighlights,this.detailHighlights]}run(g){return this.options.run?this.options.run(g):!1}getGroupLabel(){return this.options.groupLabel}showBorder(){return this.options.showBorder||!1}getValue(){return this.options.value}getButtons(){return this.options.buttons||[]}}t.QuickOpenItem=c;var p;(function(s){s[s.ELEMENT_SELECTED=0]="ELEMENT_SELECTED",s[s.FOCUS_LOST=1]="FOCUS_LOST",s[s.CANCELED=2]="CANCELED"})(p||(t.HideReason=p={})),t.QuickOpenService=Symbol("QuickOpenService");var v;(function(s){s.defaultOptions=Object.freeze({enabled:!0,prefix:"",placeholder:"",onClose:()=>{},onSelect:()=>{},onChangeValue:()=>{},onConfirm:()=>{},valueSelection:[-1,-1],fuzzyMatchLabel:!1,fuzzyMatchDetail:!1,fuzzyMatchDescription:!1,fuzzySort:!1,skipPrefix:0,ignoreFocusOut:!1,password:!1,showItemsWithoutHighlight:!1,selectIndex:()=>-1,title:""});function g(l={},h=s.defaultOptions){return Object.assign({},h,l)}s.resolve=g})(v||(t.QuickOpenOptions=v={})),t.QuickPickService=Symbol("QuickPickService"),t.PrefixQuickOpenService=Symbol("PrefixQuickOpenService"),t.IQuickInputService=Symbol("IQuickInputService");var m;(function(s){s[s.LEFT=0]="LEFT",s[s.RIGHT=1]="RIGHT"})(m||(t.QuickTitleButtonSide=m={}));class _{constructor(g){this.id=g}}_.File=new _("file"),_.Folder=new _("folder"),t.QuickOpenContribution=Symbol("QuickOpenContribution"),n.__exportStar(e(95263),t)},95263:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecentFilesManager=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(17010),p=e(98881),v=e(77273),m="OPENED_FILE",_="OPENED_FILES_POSITION";let s=class extends c.WithEventBus{async updateMostRecentlyOpenedFile(l,h){const u=await this.recentStorage.getScopeStorage(),d=u.get(_)||{};d[l]=`#${h.lineNumber},${h.column}`,u.set(_,d)}async setMostRecentlyOpenedFile(l,h){const u=await this.recentStorage.getScopeStorage();let d=await this.getMostRecentlyOpenedFiles();const E=d.findIndex(f=>f===l);E>-1&&d.splice(E,1),h||d.unshift(l),d.length>50&&(d=d.slice(0,50)),u.set(m,d)}async getMostRecentlyOpenedFiles(l){const h=await this.recentStorage.getScopeStorage(),u=h.get(m)||[],d=h.get(_)||{};return l?u.map(E=>d[E]?E+d[E]:E):u}handleFilesDelete(l){l.payload.forEach(h=>{h.type===o.FileChangeType.DELETED&&h.uri&&this.setMostRecentlyOpenedFile(h.uri,!0)})}};t.RecentFilesManager=s,n.__decorate([(0,r.Autowired)(p.RecentStorage),n.__metadata("design:type",p.RecentStorage)],s.prototype,"recentStorage",void 0),n.__decorate([(0,o.OnEvent)(v.FilesChangeEvent),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[v.FilesChangeEvent]),n.__metadata("design:returntype",void 0)],s.prototype,"handleFilesDelete",null),t.RecentFilesManager=s=n.__decorate([(0,r.Injectable)()],s)},40191:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawContextKey=t.IRawContextKey=void 0;class e{}t.IRawContextKey=e;function n(o,c){const p=[];if(Array.isArray(o)&&o.length)for(const v of o)v instanceof r?p.push(v.raw):p.push(v);return p.join(" "+c+" ")}class r{static and(...c){return c.length?n(c,"&&"):""}static or(...c){return c.length?n(c,"||"):""}constructor(c,p){this.key=c,this.defaultValue=p}bind(c){return c.createKey(this.key,this.defaultValue)}getValue(c){return c.getContextKeyValue(this.key)}get raw(){return this.key}get not(){return"!"+this.raw}equalsTo(c){return this.raw+" == "+c}notEqualTo(c){return this.raw+" != "+c}regexMatches(c){const p=c?`/${c.source}/${c.ignoreCase?"i":""}`:"/invalid/";return this.raw+" =~ "+p}evaluate(c){return!!c.getValue(this.key)}}t.RawContextKey=r},1932:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUpdateOnEvent=p,t.useUpdateOnEventBusEvent=v,t.useEventEffect=m;const r=e(85608).__importDefault(e(14041)),o=e(43718),c=e(95422);function p(_,s=[],g){const[,l]=r.default.useState(),h=r.default.useCallback(()=>l({}),[]);r.default.useEffect(()=>{const u=new o.Disposable;return u.addDispose(_(d=>{u.disposed||(g?g(d)&&h():h())})),()=>{u.dispose()}},s)}function v(_,s=[],g){const[,l]=r.default.useState(),h=r.default.useCallback(()=>l({}),[]),u=(0,c.useInjectable)(o.IEventBus);r.default.useEffect(()=>{const d=new o.Disposable;return d.addDispose(u.on(_,E=>{d.disposed||(g?g(E.payload)&&h():h())})),()=>{d.dispose()}},s)}function m(_,s,g=[]){r.default.useEffect(()=>{const l=_(s);return l.dispose.bind(l)},g)}},81175:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gitMergeChangesSet=void 0,t.useInMergeChanges=p;const n=e(14041),r=e(53736),o=e(95422),c="git.mergeChangesObj";t.gitMergeChangesSet=new Set([c]);function p(v){const m=(0,o.useInjectable)(r.IContextKeyService),[_,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{function g(){const h=m.getValue(c)||{};s(h[v]||!1)}g();const l=m.onDidChangeContext(({payload:h})=>{h.affectsSome(t.gitMergeChangesSet)&&g()});return()=>l.dispose()},[v]),_}},40525:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHotKey=void 0;const r=e(85608).__importDefault(e(39396)),o=e(14041),c=(p,v)=>{const m=(0,o.useCallback)(()=>p.reduce((h,u)=>{const d=(0,r.default)(u);return typeof d=="number"&&(h[d]=!1),h},{}),[p]),[_,s]=(0,o.useState)(m);function g(h){s(u=>h in u?{...u,[h]:!0}:u)}function l(){Object.values(_).every(h=>h===!0)&&v(),s(h=>Object.keys(_).reduce((u,d)=>(u[d]=!1,u),{}))}return{onKeyDown:g,onKeyUp:l}};t.useHotKey=c},73358:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHover=o;const r=e(85608).__importStar(e(14041));function o(){const c=r.default.useRef(null),[p,v]=r.default.useState(!1),m=()=>v(!0),_=()=>v(!1);return(0,r.useEffect)(()=>{const s=c.current;if(s)return s.addEventListener("mouseenter",m),s.addEventListener("mouseleave",_),()=>{s.removeEventListener("mouseenter",m),s.removeEventListener("mouseleave",_)}},[]),[c,p]}},48560:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(95422),t),n.__exportStar(e(86781),t),n.__exportStar(e(1932),t),n.__exportStar(e(99372),t),n.__exportStar(e(73358),t),n.__exportStar(e(3757),t)},95422:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useInjectable=p,t.useEventDrivenState=v;const n=e(14041),r=e(11050),o=e(30505);function c(m){return m&&m.dispose&&!m.disposed}function p(m,_){const{injector:s}=(0,n.useContext)(r.ConfigContext),g=(0,n.useMemo)(()=>s?.get(m,_),[s,m]);return(0,n.useEffect)(()=>()=>{let l=s;for(;l&&!l.hasInstance(g);)l=l.parent;l||c(g)&&g.dispose()},[g]),g}function v(m,_,s){const g=(0,o.useMemorizeFn)(s),[l,h]=(0,n.useState)(g(m));return(0,n.useEffect)(()=>{const u=(...d)=>{h(()=>g(m))};return u(),m.on(_,u),()=>m.off(_,u)},[m]),l}},30505:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMemorizeFn=r;const n=e(14041);function r(o){const c=(0,n.useRef)(o);return c.current=(0,n.useMemo)(()=>o,[o]),(0,n.useCallback)((...p)=>c.current(...p),[])}},86781:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePortal=o;const n=e(14041);function r(c,p){const v=document.createElement("div");return v.id=c,p&&(v.className=p),v}function o(c,p){const v=(0,n.useRef)(null);return(0,n.useEffect)(()=>{const m=document.querySelector(`#${c}`),_=m||r(c,p);return m||document.body.appendChild(_),v.current&&_.appendChild(v.current),()=>{v.current&&v.current.remove(),_.childNodes.length===-1&&_.remove()}},[]),v.current||(v.current=document.createElement("div")),v.current}},99372:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useChange=o;const r=e(85608).__importDefault(e(14041));function o(c,p){const v=r.default.useRef(c);r.default.useEffect(()=>{v.current!==c&&(p(c),v.current=c)},[c])}},39572:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=e(85608).__importDefault(e(97331)),o=e(14041);function c(p,v,m){const _=(0,o.useRef)(p);_.current=p;const s=(0,o.useMemo)(()=>(0,r.default)((...g)=>_.current(...g),v,m),[]);return(0,o.useEffect)(()=>()=>{s.cancel()},[]),{run:s,cancel:s.cancel,flush:s.flush}}t.default=c},3757:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUUID=o;const n=e(14041),r=e(43718);function o(){return(0,n.useMemo)(()=>(0,r.uuid)(6),[])}},11050:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.AppConfig=void 0,t.ConfigProvider=o,t.getCDNHref=p,t.getTreeSitterWasmCDNUri=v;const r=e(85608).__importDefault(e(14041));t.AppConfig=Symbol("AppConfig"),t.ConfigContext=r.default.createContext({workspaceDir:"",injector:null,wsPath:"",layoutConfig:{},extWorkerHost:"",isElectronRenderer:!1});function o(m){const{extraContextProvider:_,...s}=m.value,g=r.default.createElement(t.ConfigContext.Provider,{value:s},r.default.createElement(t.ConfigContext.Consumer,null,l=>s===l?m.children:null));return _?r.default.createElement(_,{children:g}):g}const c={alipay:"https://gw.alipayobjects.com/os/lib",npmmirror:"https://registry.npmmirror.com",unpkg:"https://unpkg.com/browse",jsdelivr:"https://cdn.jsdelivr.net/npm"};function p(m,_,s,g="alipay"){return g==="alipay"?`${c.alipay}/${m.slice(1)}/${s}/${_}`:g==="npmmirror"?`${c.npmmirror}/${m}/${s}/files/${_}`:`${c[g]}/${m}@${s}/${_}`}function v(m="npmmirror"){return p("@opensumi/tree-sitter-wasm","","0.0.2",m)}},38578:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(11050),t),n.__exportStar(e(52564),t)},52564:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SlotRendererContribution=t.slotRendererRegistry=t.SlotRendererRegistry=t.SlotDecorator=t.allSlot=t.ErrorBoundary=t.TabbarContextKeys=t.SlotLocation=void 0,t.getSlotLocation=h,t.getTabbarCtxKey=d,t.SlotRenderer=b,t.ComponentRenderer=y;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(97267),p=e(43718),v=e(36206),m=e(11949),_=e(48560),s=e(11050),g=n.__importDefault(e(76487)),l=(0,p.getDebugLogger)();t.SlotLocation={top:"top",left:"left",right:"right",main:"main",statusBar:"statusBar",bottom:"bottom",extra:"extra",float:"float",action:"action",bottomBar:"bottomBar",bottomPanel:"bottomPanel",leftBar:"leftBar",leftPanel:"leftPanel",rightBar:"rightBar",rightPanel:"rightPanel"};function h(A,S){if(!S)return"";for(const w of Object.keys(S))if(S[w].modules&&S[w].modules.indexOf(A)>-1)return w;return l.warn(`Cannot find the location with ${A}`),""}var u;(function(A){A.activeViewlet="activeViewlet",A.activePanel="activePanel",A.activeExtendViewlet="activeExtendViewlet"})(u||(t.TabbarContextKeys=u={}));function d(A){return{[t.SlotLocation.left]:u.activeViewlet,[t.SlotLocation.right]:u.activeExtendViewlet,[t.SlotLocation.bottom]:u.activePanel}[A]||"activeExtendViewlet"}class E extends o.default.Component{constructor(){super(...arguments),this.state={error:null,errorInfo:null}}componentDidCatch(S,w){this.setState({error:S,errorInfo:w}),setTimeout(()=>{throw S}),l.error(w)}update(){this.setState({error:null,errorInfo:null})}render(){return this.state.errorInfo?o.default.createElement("div",{className:g.default.error_message},o.default.createElement("h2",{className:g.default.title},(0,p.localize)("view.component.renderedError")),o.default.createElement("details",{className:g.default.detial},o.default.createElement("div",{className:g.default.label},this.state.error&&this.state.error.toString()),o.default.createElement("div",{className:g.default.message},this.state.errorInfo.componentStack)),o.default.createElement(c.Button,{onClick:()=>this.update()},(0,p.localize)("view.component.tryAgain"))):this.props.children}}t.ErrorBoundary=E,t.allSlot=[];const f=({slot:A,id:S,children:w,className:T})=>{const D=o.default.useRef();return o.default.useEffect(()=>{D.current&&t.allSlot.push({slot:A,dom:D.current})},[D]),o.default.createElement("div",{id:S,ref:I=>D.current=I,className:(0,r.default)("resize-wrapper",T)},w)};t.SlotDecorator=f;class a{constructor(){this.tabbarLocation=new Set,this.rendererRegistry=new Map}static DefaultRenderer({components:S}){return S&&o.default.createElement(E,null,S.map((w,T)=>{const D=w.views[0].component;if(D)return o.default.createElement(D,{...w.options&&w.options.initialProps,key:`${D.name||D.displayName}-${T}`})}))}registerSlotRenderer(S,w){this.rendererRegistry.set(S,w)}getSlotRenderer(S){return this.rendererRegistry.get(S)||a.DefaultRenderer}addTabbar(S){this.tabbarLocation.has(S)||this.tabbarLocation.add(S)}isTabbar(S){return this.tabbarLocation.has(S)}}t.SlotRendererRegistry=a,t.slotRendererRegistry=new a;function b({slot:A,isTabbar:S,id:w,...T}){const D=(0,_.useInjectable)(m.ComponentRegistry),I=o.default.useContext(s.ConfigContext),O=(0,_.useInjectable)(v.IClientApp);S&&t.slotRendererRegistry.addTabbar(A);const[M,R]=o.default.useState([]),P=()=>{var F,L;const B=(L=(F=I.layoutConfig[A])===null||F===void 0?void 0:F.modules)!==null&&L!==void 0?L:[],j=[];(!B||!B.length)&&l.warn(`No ${A} view declared by location.`),B.forEach(W=>{const U=D.getComponentRegistryInfo(W);U?j.push(U):l.warn(`${W} view isn't registered, please check.`)}),R(j)};o.default.useEffect(()=>{O.appInitialized.promise.then(P)},[]);const k=t.slotRendererRegistry.getSlotRenderer(A);return o.default.createElement(E,null,o.default.createElement(t.SlotDecorator,{slot:A,id:w},o.default.createElement(k,{components:M,...T})))}t.SlotRendererContribution=Symbol("SlotRendererContribution");function y({Component:A,initialProps:S}){return Array.isArray(A)?A&&o.default.createElement(E,null,A.map((w,T)=>o.default.createElement(w,{...S||{},key:`${w.name}-${T}`}))):A&&o.default.createElement(E,null,o.default.createElement(A,{...S||{}}))}},52993:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserClipboardService=t.IClipboardService=t.CLIPBOARD_FILE_TOKEN=void 0;const n=e(85608),r=e(76003),o=e(43718);Object.defineProperty(t,"CLIPBOARD_FILE_TOKEN",{enumerable:!0,get:function(){return o.CLIPBOARD_FILE_TOKEN}}),Object.defineProperty(t,"IClipboardService",{enumerable:!0,get:function(){return o.IClipboardService}});const c=e(75694),p=e(7369);let v=class{async writeText(_){try{return await navigator.clipboard.writeText(_)}catch(l){this.logger.error(l)}const s=document.activeElement,g=document.createElement("textarea");g.setAttribute("aria-hidden","true"),document.body.appendChild(g),g.style.height="1px",g.style.width="1px",g.style.position="absolute",g.value=_,g.focus({preventScroll:!0}),g.select(),document.execCommand("copy"),s instanceof HTMLElement&&s.focus({preventScroll:!0}),document.body.removeChild(g)}async readText(){try{if(!navigator.clipboard)throw new Error("The current environment does not support the `clipboard` API");return await navigator.clipboard.readText()}catch(_){return this.logger.error(_),""}}async writeResources(_,s=o.CLIPBOARD_FILE_TOKEN){this.browserStorage.setData(s,_.filter(g=>!!g).map(g=>g.toString()))}async readResources(_=o.CLIPBOARD_FILE_TOKEN){const s=this.browserStorage.getData(_);return!Array.isArray(s)||!s.length||!s.every(g=>typeof g=="string"&&o.URI.isUriString(g))?[]:s.map(g=>o.URI.parse(g))}async hasResources(_){var s;const g=(s=this.browserStorage.getData(_??o.CLIPBOARD_FILE_TOKEN))!==null&&s!==void 0?s:"";return!(!Array.isArray(g)||!g.length||!g.every(l=>typeof l=="string"&&o.URI.isUriString(l)))}};t.BrowserClipboardService=v,n.__decorate([(0,r.Autowired)(c.ILogger),n.__metadata("design:type",Object)],v.prototype,"logger",void 0),n.__decorate([(0,r.Autowired)(p.GlobalBrowserStorageService),n.__metadata("design:type",p.GlobalBrowserStorageService)],v.prototype,"browserStorage",void 0),t.BrowserClipboardService=v=n.__decorate([(0,r.Injectable)()],v)},38670:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CredentialsService=t.ICredentialsService=void 0;const n=e(85608),r=e(76003),o=e(43718);t.ICredentialsService=Symbol("ICredentialsService");let c=class{constructor(){this.onDidChangePasswordEmitter=new o.Emitter,this.onDidChangePassword=this.onDidChangePasswordEmitter.event,this.credentialsProvider=new p(this.keytarService)}async getPassword(m,_){return this.credentialsProvider.getPassword(m,_)}async setPassword(m,_,s){await this.credentialsProvider.setPassword(m,_,s),this.onDidChangePasswordEmitter.fire({service:m,account:_})}async deletePassword(m,_){const s=await this.credentialsProvider.deletePassword(m,_);return this.onDidChangePasswordEmitter.fire({service:m,account:_}),s}async findPassword(m){return await this.credentialsProvider.findPassword(m)}async findCredentials(m){return await this.credentialsProvider.findCredentials(m)}};t.CredentialsService=c,n.__decorate([(0,r.Autowired)(o.KeytarServicePath),n.__metadata("design:type",Object)],c.prototype,"keytarService",void 0),t.CredentialsService=c=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],c);class p{constructor(m){this.keytarService=m}deletePassword(m,_){return this.keytarService.deletePassword(m,_)}findCredentials(m){return this.keytarService.findCredentials(m)}async findPassword(m){return await this.keytarService.findPassword(m)}async getPassword(m,_){return await this.keytarService.getPassword(m,_)}async setPassword(m,_,s){return await this.keytarService.setPassword(m,_,s)}}},82367:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CryptoService=t.ICryptoService=void 0;const n=e(85608),r=e(76003),o=e(43718);t.ICryptoService=Symbol("ICryptoService");let c=class{async encrypt(v){return await this.cryptoService.encrypt(v)}async decrypt(v){return await this.cryptoService.decrypt(v)}};t.CryptoService=c,n.__decorate([(0,r.Autowired)(o.CryptoServicePath),n.__metadata("design:type",Object)],c.prototype,"cryptoService",void 0),t.CryptoService=c=n.__decorate([(0,r.Injectable)()],c)},10845:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalUriService=t.IExternalUriService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(11050);t.IExternalUriService=Symbol("IExternalUriService");let p=class{resolveExternalUri(m){const _=this.extractLocalHost(m);return _?this.toRemoteUrl(m,_):m}toRemoteUrl(m,_){const s=this.toRemoteHost(_);return o.URI.from({scheme:o.URI.parse(window.location.href).scheme,authority:s,path:m.path.toString(),fragment:m.fragment,query:m.query})}toRemoteHost(m){return`${this.appConfig.remoteHostname||window.location.hostname}:${m.port}`}extractLocalHost(m){if(m.scheme!=="http"&&m.scheme!=="https")return;const _=/^(localhost|127\.0\.0\.1|0\.0\.0\.0):(\d+)$/.exec(m.authority);if(_)return{address:_[1],port:+_[2]}}};t.ExternalUriService=p,n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],p.prototype,"appConfig",void 0),t.ExternalUriService=p=n.__decorate([(0,r.Injectable)()],p)},26542:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(63214),t),n.__exportStar(e(7369),t),n.__exportStar(e(29220),t),n.__exportStar(e(52993),t),n.__exportStar(e(10845),t),n.__exportStar(e(38670),t),n.__exportStar(e(82367),t)},63214:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceLabelOrIconChangedEvent=t.LabelService=t.DefaultUriLabelProvider=t.DataUri=void 0,t.serializeLabelOptions=h,t.deserializeLabelOptions=u,t.cssEscape=A,t.basenameOrAuthority=S,t.detectModeId=T,t.getLanguageIdFromMonaco=D;const n=e(85608),r=n.__importDefault(e(53373)),o=e(76003),c=e(43718),p=e(26592),v=e(14162),m=e(87822),_=e(16781),s=e(67304),{addElement:g}=c.arrays;var l;(function(O){O.META_DATA_LABEL="label",O.META_DATA_DESCRIPTION="description",O.META_DATA_SIZE="size",O.META_DATA_MIME="mime";function M(R){const P=new Map,k=R.path;k.substring(k.indexOf(";")+1,k.lastIndexOf(";")).split(";").forEach(B=>{const[j,W]=B.split(":");j&&W&&P.set(j,W)});const L=k.substring(0,k.indexOf(";"));return L&&P.set(O.META_DATA_MIME,L),P}O.parseMetaData=M})(l||(t.DataUri=l={}));function h(O){return O?[O.isDirectory?"0":"1",O.isOpenedDirectory?"0":"1",O.isSymbolicLink?"0":"1"].join(""):"default"}function u(O){if(O!=="default")return{isDirectory:O[0]==="0",isOpenedDirectory:O[1]==="0",isSymbolicLink:O[2]==="0"}}let d=class extends c.Disposable{constructor(){super(...arguments),this._onDidChange=this.registerDispose(new c.Emitter),this.onDidChange=this._onDidChange.event}canHandle(M,R){return M instanceof c.URI?1:0}getIcon(M,R){const{iconClass:P,onDidChange:k}=y(M,R);if(k){const F=k(()=>{this._onDidChange.fire(M),F.dispose()});this.addDispose(F)}return P||(0,s.getIcon)("ellipsis")}getName(M){return M.displayName}getLongName(M){return M.path.toString()}};t.DefaultUriLabelProvider=d,t.DefaultUriLabelProvider=d=n.__decorate([(0,o.Injectable)()],d);let E=class extends c.WithEventBus{constructor(){super(),this.providers=[],this.cachedProviderMap=new c.LRUMap(1e3,500),this.onDidChangeEmitter=new c.Emitter,this.registerLabelProvider(this.defaultLabelProvider)}get onDidChange(){return this.onDidChangeEmitter.event}getProviderForUri(M,R){const P=M.toString();this.cachedProviderMap.has(P)||this.cachedProviderMap.set(P,{});const k=this.cachedProviderMap.get(P),F=h(R);if(k[F])return k[F];{let L,B=-1;for(const j of this.providers){const W=j.canHandle(M,R);W>B&&(L=j,B=W)}return k[F]=L,L}}registerLabelProvider(M){const R=Array.from(this.cachedProviderMap.entries());this.cachedProviderMap.clear();const P=new c.Disposable;return M.onDidChange&&P.addDispose(M.onDidChange(k=>{this.onDidChangeEmitter.fire(k),this.cachedProviderMap.delete(k.toString())})),P.addDispose(g(this.providers,M,!0)),P.addDispose({dispose:()=>{this.cachedProviderMap.clear()}}),R.forEach(([k,F])=>{const L=new c.URI(k);for(const B of Object.keys(F)){const j=u(B);if(this.getProviderForUri(L,j)!==F[B]){this.onDidChangeEmitter.fire(L);return}}}),P}getIcon(M,R){const P=this.getProviderForUri(M,R);return P?P.getIcon(M,R):""}getName(M){const R=this.getProviderForUri(M);return R?R.getName(M):""}getLongName(M){const R=this.getProviderForUri(M);return R?R.getLongName(M):""}};t.LabelService=E,n.__decorate([(0,o.Autowired)(),n.__metadata("design:type",d)],E.prototype,"defaultLabelProvider",void 0),t.LabelService=E=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],E);let f,a,b;const y=(O,M)=>{const R=M&&M.isDirectory?["folder-icon"]:["file-icon"];let P;O.scheme==="data"?P=l.parseMetaData(p.URI.file(O.toString())).get(l.META_DATA_LABEL):P=A(S(O).toLowerCase());let k;if(M&&M.isDirectory)R.push(`${P}-name-folder-icon`);else{if(P){R.push(`${P}-name-file-icon`);const L=P.split(".");for(let B=1;B<L.length;B++)R.push(`${L.slice(B).join(".")}-ext-file-icon`);R.push("ext-file-icon")}b||(b=_.StandaloneServices.get(v.ILanguageService)),a||(a=_.StandaloneServices.get(m.IModelService));const F=T(a,b,O.codeUri);F?R.push(`${A(F)}-lang-file-icon`):(k=new c.Emitter,c.Event.any(b.onDidRequestBasicLanguageFeatures,b.onDidRequestRichLanguageFeatures)(()=>{T(a,b,O.codeUri)&&(k?.fire(),k?.dispose())}))}return R.push("icon-label"),{iconClass:(0,r.default)(R),onDidChange:k?.event}};function A(O){return O.replace(/[\x09\x0a\x0c\x0d\x20]/g,"/")}function S(O){return O.path.base||O.authority}function w(O){const M=O.path.toLowerCase().split(".").pop();if(!M)return null;for(const[R,P]of Object.entries(c.LANGUAGE_TO_SUFFIX))if(P.toLowerCase()===`.${M}`)return R;return null}function T(O,M,R){if(!R)return null;let P=null;if(R.scheme==="data"){const L=l.parseMetaData(R).get(l.META_DATA_MIME);L&&(P=M.getLanguageIdByMimeType(L))}else{const F=O.getModel(R);F&&(P=F.getLanguageId())}if(P&&P!=="plaintext")return P;const k=M.guessLanguageIdByFilepathOrFirstLine(R);if(k==="unknown"){const F=w(R);if(F)return F}return k==="unknown"?null:k}function D(O){return b=_.StandaloneServices.get(v.ILanguageService),a=_.StandaloneServices.get(m.IModelService),T(a,b,O.codeUri)}class I extends c.BasicEvent{}t.ResourceLabelOrIconChangedEvent=I},29220:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarCommand=t.StatusBarAlignment=t.IStatusBarService=void 0,t.IStatusBarService=Symbol("IStatusBarService");var e;(function(r){r[r.LEFT=0]="LEFT",r[r.RIGHT=1]="RIGHT"})(e||(t.StatusBarAlignment=e={}));var n;(function(r){r.changeColor={id:"statusbar.changeColor"},r.changeBackgroundColor={id:"statusbar.changeBackgroundColor"},r.addElement={id:"statusbar.addElement"},r.toggleElement={id:"statusbar.toggleElement"}})(n||(t.StatusBarCommand=n={}))},7369:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ScopedBrowserStorageService=t.GlobalBrowserStorageService=t.StorageService=t.SCOPED_BROWSER_STORAGE_PREFIX=t.GLOBAL_BROWSER_STORAGE_PREFIX=void 0;const r=e(85608),o=e(76003),c=e(43718),p=e(75694),v=e(38578);t.GLOBAL_BROWSER_STORAGE_PREFIX="global",t.SCOPED_BROWSER_STORAGE_PREFIX="scoped",t.StorageService=Symbol("IStorageService");let m=n=class{constructor(){this._enableExpired=!1,this.init()}setExpires(l){this._enableExpired=l}get storage(){return window.localStorage}init(){typeof window<"u"&&window.localStorage?(0,c.runWhenIdle)(()=>{this.clearLocalStorage(),this.testLocalStorage()}):this.logger.warn("The browser doesn't support localStorage. state will not be persisted across sessions.")}setData(l,h){if(h!==void 0)try{(0,c.isObject)(h)&&this._enableExpired&&(h.expires=Date.now()+n.EXPIRES_DAY*24*60*60*1e3),this.storage.setItem(this.prefix(l),JSON.stringify(h))}catch{this.removeExpiringStorage()}else this.removeData(l)}getData(l,h){const u=this.storage.getItem(this.prefix(l));let d;if((0,c.isUndefinedOrNull)(u))return h;try{d=JSON.parse(u)}catch(E){this.logger.error(`storage getDate error: ${E}, use defaultValue as result.`),d=h}return d&&(0,c.isObject)(d)&&delete d.expires,d}removeData(l){this.storage.removeItem(this.prefix(l))}testLocalStorage(){const l=this.prefix("Test");try{this.storage.setItem(l,JSON.stringify(new Array(6e4)))}catch{this.removeExpiringStorage()}finally{this.storage.removeItem(l)}}clearLocalStorage(){const l=Object.keys(this.storage);for(const h of l)try{const u=JSON.parse(this.storage[h]);(0,c.isObject)(u)&&u.expires&&u.expires<Date.now()&&this.storage.removeItem(h)}catch{continue}}async removeExpiringStorage(){const h=Object.keys(this.storage).filter(u=>{var d;return((d=this.storage[u])===null||d===void 0?void 0:d.indexOf("expires"))>0}).sort((u,d)=>{var E,f;try{const a=(E=JSON.parse(this.storage[u]))===null||E===void 0?void 0:E.expires,b=(f=JSON.parse(this.storage[d]))===null||f===void 0?void 0:f.expires;return a-b}catch{return 0}});for(const u of h.slice(0,n.EXPIRES_LIMITE_NUMBER))this.storage.removeItem(u)}};m.EXPIRES_DAY=14,m.EXPIRES_LIMITE_NUMBER=20,r.__decorate([(0,o.Autowired)(),r.__metadata("design:type",p.Logger)],m.prototype,"logger",void 0),m=n=r.__decorate([(0,o.Injectable)(),r.__metadata("design:paramtypes",[])],m);let _=class extends m{prefix(l){return`${t.GLOBAL_BROWSER_STORAGE_PREFIX}:${l}`}};t.GlobalBrowserStorageService=_,t.GlobalBrowserStorageService=_=r.__decorate([(0,o.Injectable)()],_);let s=class extends m{constructor(l){super(),this.pathname="unknown",this.pathname=l||this.appConfig.workspaceDir,this.setExpires(!0)}prefix(l){return`${t.SCOPED_BROWSER_STORAGE_PREFIX}:${this.pathname}:${l}`}};t.ScopedBrowserStorageService=s,r.__decorate([(0,o.Autowired)(v.AppConfig),r.__metadata("design:type",Object)],s.prototype,"appConfig",void 0),t.ScopedBrowserStorageService=s=r.__decorate([(0,o.Injectable)(),r.__param(0,(0,o.Optional)()),r.__metadata("design:paramtypes",[String])],s)},40827:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticResourceClientAppContribution=void 0;const n=e(85608),r=e(76003),o=e(31470),c=e(98295),p=e(66549),v=e(32242);n.__exportStar(e(32242),t);let m=class{initialize(){for(const s of this.contributions.getContributions())s.registerStaticResolver(this.staticResourceService)}};t.StaticResourceClientAppContribution=m,n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",v.StaticResourceService)],m.prototype,"staticResourceService",void 0),n.__decorate([(0,r.Autowired)(v.StaticResourceContribution),n.__metadata("design:type",Object)],m.prototype,"contributions",void 0),t.StaticResourceClientAppContribution=m=n.__decorate([(0,c.Domain)(p.ClientAppContribution)],m)},32242:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticResourceContributionProvider=t.StaticResourceContribution=t.StaticResourceService=void 0;const n=e(85608),r=e(76003);let o=class{};t.StaticResourceService=o,t.StaticResourceService=o=n.__decorate([(0,r.Injectable)()],o),t.StaticResourceContribution=Symbol("StaticResourceContribution"),t.StaticResourceContributionProvider=Symbol("StaticResourceContributionProvider")},99e3:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticResourceServiceImpl=void 0;const n=e(85608),r=e(76003);let o=class{constructor(){this.providers=new Map,this.resourceRoots=new Set}registerStaticResourceProvider(p){return this.providers.set(p.scheme,p),p.roots&&p.roots.forEach(v=>{this.resourceRoots.add(v)}),{dispose:()=>{this.providers.get(p.scheme)===p&&this.providers.delete(p.scheme)}}}removeStaticResourceProvider(p){this.providers.delete(p)}resolveStaticResource(p){if(!this.providers.has(p.scheme))return p;const v=this.providers.get(p.scheme).resolveStaticResource(p);return v.toString=v.toString.bind(v,!0),v}};t.StaticResourceServiceImpl=o,t.StaticResourceServiceImpl=o=n.__decorate([(0,r.Injectable)()],o)},67304:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIcon=t.KTICON_OWNER=t.CODICON_OWNER=t.IDE_CODICONS_CN_CSS=t.IDE_OCTICONS_CN_CSS=t.DEFAULT_CDN_ICON=t.getIcon=t.updateIconMap=void 0,t.getOctIcon=p,t.getExternalIcon=s,t.asClassNameArrayWrapper=g;const n=e(43718),r=e(40540),o=e(2630);Object.defineProperty(t,"IDE_CODICONS_CN_CSS",{enumerable:!0,get:function(){return o.IDE_CODICONS_CN_CSS}}),Object.defineProperty(t,"IDE_OCTICONS_CN_CSS",{enumerable:!0,get:function(){return o.IDE_OCTICONS_CN_CSS}});var c=e(76577);Object.defineProperty(t,"updateIconMap",{enumerable:!0,get:function(){return c.updateIconMap}}),Object.defineProperty(t,"getIcon",{enumerable:!0,get:function(){return c.getIcon}}),t.DEFAULT_CDN_ICON=o.IDE_ICONFONT_CN_CSS;function p(l){return`octicon octicon-${l}`}t.CODICON_OWNER="codicon",t.KTICON_OWNER="kticon";const v=["add","plus","gist-new","repo-create","lightbulb","light-bulb","repo","repo-delete","gist-fork","repo-forked","git-pull-request","git-pull-request-abandoned","record-keys","keyboard","tag","git-pull-request-label","tag-add","tag-remove","person","person-follow","person-outline","person-filled","git-branch","git-branch-create","git-branch-delete","source-control","mirror","mirror-public","star","star-add","star-delete","star-empty","comment","comment-add","alert","warning","search","search-save","log-out","sign-out","log-in","sign-in","eye","eye-unwatch","eye-watch","circle-filled","primitive-dot","close-dirty","debug-breakpoint","debug-breakpoint-disabled","debug-hint","terminal-decoration-success","primitive-square","edit","pencil","info","issue-opened","gist-private","git-fork-private","lock","mirror-private","close","remove-close","x","repo-sync","sync","clone","desktop-download","beaker","microscope","vm","device-desktop","file","file-text","more","ellipsis","kebab-horizontal","mail-reply","reply","organization","organization-filled","organization-outline","new-file","file-add","new-folder","file-directory-create","trash","trashcan","history","clock","folder","file-directory","symbol-folder","logo-github","mark-github","github","terminal","console","repl","zap","symbol-event","error","stop","variable","symbol-variable","array","symbol-array","symbol-module","symbol-package","symbol-namespace","symbol-object","symbol-method","symbol-function","symbol-constructor","symbol-boolean","symbol-null","symbol-numeric","symbol-number","symbol-structure","symbol-struct","symbol-parameter","symbol-type-parameter","symbol-key","symbol-text","symbol-reference","go-to-file","symbol-enum","symbol-value","symbol-ruler","symbol-unit","activate-breakpoints","archive","arrow-both","arrow-down","arrow-left","arrow-right","arrow-small-down","arrow-small-left","arrow-small-right","arrow-small-up","arrow-up","bell","bold","book","bookmark","debug-breakpoint-conditional-unverified","debug-breakpoint-conditional","debug-breakpoint-conditional-disabled","debug-breakpoint-data-unverified","debug-breakpoint-data","debug-breakpoint-data-disabled","debug-breakpoint-log-unverified","debug-breakpoint-log","debug-breakpoint-log-disabled","briefcase","broadcast","browser","bug","calendar","case-sensitive","check","checklist","chevron-down","chevron-left","chevron-right","chevron-up","chrome-close","chrome-maximize","chrome-minimize","chrome-restore","circle-outline","circle","debug-breakpoint-unverified","terminal-decoration-incomplete","circle-slash","circuit-board","clear-all","clippy","close-all","cloud-download","cloud-upload","code","collapse-all","color-mode","comment-discussion","credit-card","dash","dashboard","database","debug-continue","debug-disconnect","debug-pause","debug-restart","debug-start","debug-step-into","debug-step-out","debug-step-over","debug-stop","debug","device-camera-video","device-camera","device-mobile","diff-added","diff-ignored","diff-modified","diff-removed","diff-renamed","diff","discard","editor-layout","empty-window","exclude","extensions","eye-closed","file-binary","file-code","file-media","file-pdf","file-submodule","file-symlink-directory","file-symlink-file","file-zip","files","filter","flame","fold-down","fold-up","fold","folder-active","folder-opened","gear","gift","gist-secret","gist","git-commit","git-compare","compare-changes","git-merge","github-action","github-alt","globe","grabber","graph","gripper","heart","home","horizontal-rule","hubot","inbox","issue-reopened","issues","italic","jersey","json","kebab-vertical","key","law","lightbulb-autofix","link-external","link","list-ordered","list-unordered","live-share","loading","location","mail-read","mail","markdown","megaphone","mention","milestone","git-pull-request-milestone","mortar-board","move","multiple-windows","mute","no-newline","note","octoface","open-preview","package","paintcan","pin","play","run","plug","preserve-case","preview","project","pulse","question","quote","radio-tower","reactions","references","refresh","regex","remote-explorer","remote","remove","replace-all","replace","repo-clone","repo-force-push","repo-pull","repo-push","report","request-changes","rocket","root-folder-opened","root-folder","rss","ruby","save-all","save-as","save","screen-full","screen-normal","search-stop","server","settings-gear","settings","shield","smiley","sort-precedence","split-horizontal","split-vertical","squirrel","star-full","star-half","symbol-class","symbol-color","symbol-constant","symbol-enum-member","symbol-field","symbol-file","symbol-interface","symbol-keyword","symbol-misc","symbol-operator","symbol-property","wrench","wrench-subaction","symbol-snippet","tasklist","telescope","text-size","three-bars","thumbsdown","thumbsup","tools","triangle-down","triangle-left","triangle-right","triangle-up","twitter","unfold","unlock","unmute","unverified","verified","versions","vm-active","vm-outline","vm-running","watch","whitespace","whole-word","window","word-wrap","zoom-in","zoom-out","list-filter","list-flat","list-selection","selection","list-tree","debug-breakpoint-function-unverified","debug-breakpoint-function","debug-breakpoint-function-disabled","debug-stackframe-active","circle-small-filled","debug-stackframe-dot","terminal-decoration-mark","debug-stackframe","debug-stackframe-focused","debug-breakpoint-unsupported","symbol-string","debug-reverse-continue","debug-step-back","debug-restart-frame","debug-alt","call-incoming","call-outgoing","menu","expand-all","feedback","git-pull-request-reviewer","group-by-ref-type","ungroup-by-ref-type","account","git-pull-request-assignee","bell-dot","debug-console","library","output","run-all","sync-ignored","pinned","github-inverted","server-process","server-environment","pass","issue-closed","stop-circle","play-circle","record","debug-alt-small","vm-connect","cloud","merge","export","graph-left","magnet","notebook","redo","check-all","pinned-dirty","pass-filled","circle-large-filled","circle-large","circle-large-outline","combine","gather","table","variable-group","type-hierarchy","type-hierarchy-sub","type-hierarchy-super","git-pull-request-create","run-above","run-below","notebook-template","debug-rerun","workspace-trusted","workspace-untrusted","workspace-unknown","terminal-cmd","terminal-debian","terminal-linux","terminal-powershell","terminal-tmux","terminal-ubuntu","terminal-bash","arrow-swap","copy","person-add","filter-filled","wand","debug-line-by-line","inspect","layers","layers-dot","layers-active","compass","compass-dot","compass-active","azure","issue-draft","git-pull-request-closed","git-pull-request-draft","debug-all","debug-coverage","run-errors","folder-library","debug-continue-small","beaker-stop","graph-line","graph-scatter","pie-chart","bracket","bracket-dot","bracket-error","lock-small","azure-devops","verified-filled","newline","layout","layout-activitybar-left","layout-activitybar-right","layout-panel-left","layout-panel-center","layout-panel-justify","layout-panel-right","layout-panel","layout-sidebar-left","layout-sidebar-right","layout-statusbar","layout-menubar","layout-centered","target","indent","record-small","error-small","terminal-decoration-error","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","layout-sidebar-right-off","layout-panel-off","layout-sidebar-left-off","blank","heart-filled","map","map-filled","circle-small","bell-slash","bell-slash-dot","comment-unresolved","git-pull-request-go-to-changes","git-pull-request-new-changes","search-fuzzy","comment-draft","send","sparkle","insert","mic","thumbsdown-filled","thumbsup-filled","coffee","snake","game","vr","chip","piano","music","mic-filled","git-fetch","copilot"],m=new Set(v),_=new Set(["magic-wand"]);function s(l,h=t.CODICON_OWNER,u=h===t.CODICON_OWNER){return u&&h===t.CODICON_OWNER&&!m.has(l)?p(l):h===t.KTICON_OWNER?`kaitian-icon ${h}-${l}`:`${h} ${h}-${l}`}function g(l){return _.has(l.id)?["kaitian-icon",`${t.KTICON_OWNER}-${l.id}`]:n.ThemeIcon.asClassNameArray(l)}t.getSymbolIcon=(()=>{const l=Object.create(null);return l[r.SymbolKind.File]="file",l[r.SymbolKind.Module]="module",l[r.SymbolKind.Namespace]="namespace",l[r.SymbolKind.Package]="package",l[r.SymbolKind.Class]="class",l[r.SymbolKind.Method]="method",l[r.SymbolKind.Property]="property",l[r.SymbolKind.Field]="field",l[r.SymbolKind.Constructor]="constructor",l[r.SymbolKind.Enum]="enum",l[r.SymbolKind.Interface]="interface",l[r.SymbolKind.Function]="function",l[r.SymbolKind.Variable]="variable",l[r.SymbolKind.Constant]="constant",l[r.SymbolKind.String]="string",l[r.SymbolKind.Number]="number",l[r.SymbolKind.Boolean]="boolean",l[r.SymbolKind.Array]="array",l[r.SymbolKind.Object]="object",l[r.SymbolKind.Key]="key",l[r.SymbolKind.Null]="null",l[r.SymbolKind.EnumMember]="enum-member",l[r.SymbolKind.Struct]="struct",l[r.SymbolKind.Event]="event",l[r.SymbolKind.Operator]="operator",l[r.SymbolKind.TypeParameter]="type-parameter",function(u,d){return s(`symbol-${l[u]||"property"}`)}})()},2630:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IDE_CODICONS_CN_CSS=t.IDE_OCTICONS_CN_CSS=t.IDE_ICONFONT_CN_JS=t.IDE_ICONFONT_CN_CSS=void 0,t.IDE_ICONFONT_CN_CSS="//at.alicdn.com/t/a/font_1432262_dmfdujwulz.css",t.IDE_ICONFONT_CN_JS=t.IDE_ICONFONT_CN_CSS.replace(/\.css$/,".js"),t.IDE_OCTICONS_CN_CSS="//gw.alipayobjects.com/os/Kaitian/c7ae5acb-da70-4f05-b83d-93b345dc5c53/octicons-cdn.css";const n="@vscode/codicons",r="vscode/codicons",o=e(61434).El[n];t.IDE_CODICONS_CN_CSS=`//gw.alipayobjects.com/os/lib/${r}/${o}/dist/codicon.css`},89378:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalClientAttachEvent=void 0;const n=e(43718);class r extends n.BasicEvent{}t.TerminalClientAttachEvent=r},21860:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionBtnClickEvent=t.ToolbarActionBtn=void 0,t.createToolbarActionBtn=f;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=n.__importDefault(e(43144)),p=n.__importDefault(e(25873)),v=e(76003),m=e(97267),_=e(43718),s=e(22366),g=e(78132),l=e(48560),h=e(11050),u=e(79540);var d;(function(S){S.HORIZONTAL="horizontal",S.VERTICAL="vertical"})(d||(d={}));const E=S=>{const w=(0,l.useInjectable)(h.AppConfig),T=o.default.useRef(),[D,I]=o.default.useState(S.defaultState||"default"),O=o.default.useRef(D);O.current=D;const[M,R]=o.default.useState(""),P=(0,l.useInjectable)(g.PreferenceService),[,k]=o.default.useState(),F=o.default.useCallback(()=>k({}),[]),{defaultButtonStyle:L={}}=S.preferences||{},B={title:S.title,iconClass:S.iconClass,showTitle:P.get("toolbar.buttonDisplay")!=="icon",btnStyle:"button",...L,...S.defaultStyle,...(S.styles||{})[D]||{}};M&&(B.title=M),B.btnStyle!=="button"&&(B.showTitle=!1);const j=o.default.useRef(),W=o.default.useRef(S.inDropDown);o.default.useEffect(()=>{W.current=S.inDropDown},[S.inDropDown]),o.default.useEffect(()=>{const K=new _.Disposable;if(K.addDispose(P.onSpecificPreferenceChange("toolbar.buttonDisplay",()=>{F()})),T.current&&S.delegate){const Z=()=>W.current?document.querySelector(`#toolbar-location-${S.location} .kt-toolbar-more`):T.current;j.current=w.injector.get(A,[T.current,S.id,(X,ie)=>{I(X),R(ie)},()=>O.current,w,Z,S.popoverComponent,S.popoverStyle,S.popoverId]),S.delegate(j.current),K.addDispose(j.current),K.addDispose({dispose:()=>{S.delegate&&S.delegate(void 0)}})}return()=>K.dispose()},[]);const U=B.btnTitleStyle||P.get("toolbar.buttonTitleStyle"),Q=B.btnStyle==="button"&&U===d.VERTICAL,V=S.inDropDown?null:o.default.createElement("div",{className:B.iconClass+" kt-toolbar-action-btn-icon",title:B.title,style:{color:B.iconForeground,backgroundColor:B.iconBackground,marginRight:B.showTitle&&!Q?5:0,...B.width?{width:B.width}:null,...B.height?{height:B.height}:null,...B.iconSize?{fontSize:B.iconSize,WebkitMaskSize:B.iconSize}:null}}),$=B.showTitle||S.inDropDown?o.default.createElement("div",{className:"kt-toolbar-action-btn-title",style:{color:B.titleForeground,backgroundColor:B.titleBackground,fontSize:B.titleSize}},B.title):null,Y={onClick:K=>{j.current&&j.current._onClick.fire(K),S.inDropDown&&S.closeDropDown()},onMouseLeave:K=>{j.current&&j.current._onMouseLeave.fire(K)},onMouseEnter:K=>{j.current&&j.current._onMouseEnter.fire(K)}},z={style:{backgroundColor:B.background,...B.width?{padding:0}:null}};let H;return S.inDropDown?H=o.default.createElement("div",{className:(0,r.default)({"kt-toolbar-action-btn":!0,"action-btn-in-dropdown":!0}),...Y,...z,ref:T},V,$):B.btnStyle==="button"&&U!==d.VERTICAL?H=o.default.createElement(m.Button,{type:"default",size:"small",...Y,...z},V,$):(U===d.VERTICAL&&(z.style.minWidth="42px"),H=o.default.createElement("div",{className:(0,r.default)({"kt-toolbar-action-btn":!0,"kt-toolbar-action-btn-button":B.btnStyle==="button","kt-toolbar-action-btn-inline":B.btnStyle!=="button","kt-toolbar-action-btn-vertical":U===d.VERTICAL,"kt-toolbar-action-btn-horizontal":U!==d.VERTICAL}),...Y},o.default.createElement(m.Button,{type:"default",size:"small",...z},V),$)),o.default.createElement("div",{className:"kt-toolbar-action-btn-wrapper",ref:T},H,S.popoverComponent&&o.default.createElement("div",{className:"kt-toolbar-popover","data-toolbar-no-context":!0}))};t.ToolbarActionBtn=E;function f(S){return w=>o.default.createElement(t.ToolbarActionBtn,{...w,...S})}class a extends _.BasicEvent{}t.ToolbarActionBtnClickEvent=a;const b=new Map,y=S=>{const[w,T]=o.default.useState();o.default.useEffect(()=>{const I=S.delegate.onChangeContext(O=>{T(O)});return()=>{I.dispose()}},[]);const D=o.default.Children.map(S.children,I=>o.default.isValidElement(I)?o.default.cloneElement(I,{context:w}):null);return o.default.createElement(o.default.Fragment,null,D)};let A=class{dispose(){this._onClick.dispose(),this._onMouseEnter.dispose(),this._onMouseLeave.dispose(),this.popOverContainer&&(this.popOverContainer.remove(),this.popOverContainer=void 0),this._popOverClickOutsideDisposer&&this._popOverClickOutsideDisposer.dispose()}constructor(w,T,D,I,O,M,R,P,k){this.element=w,this.actionId=T,this._setState=D,this._getState=I,this.context=O,this.getPopoverParent=M,this.popoverComponent=R,this.popoverStyle=P,this.popoverId=k,this._onClick=new _.Emitter,this.onClick=this._onClick.event,this._onMouseLeave=new _.Emitter,this.onMouseLeave=this._onClick.event,this._onMouseEnter=new _.Emitter,this.onMouseEnter=this._onClick.event,this._onChangeState=new _.Emitter,this.onChangeState=this._onChangeState.event,this.onChangeContextEvent=new _.Emitter,this.onChangeContext=this.onChangeContextEvent.event,this._onDidChangePopoverVisibility=new _.Emitter,this.onDidChangePopoverVisibility=this._onDidChangePopoverVisibility.event,this.popoverComponent&&(this._popOverElement=b.get(T),this.popOverContainer=w.querySelector(".kt-toolbar-popover")),this.toolbarPopover.onDidRegisterPopoverEvent(F=>{F===this.popoverId&&(this.popoverComponent=this.toolbarPopover.getComponent(this.popoverId),this._popOverElement&&this.hidePopOver().then(()=>this.showPopOver()))})}getState(){return this._getState()}setState(w,T){const D=this._getState();this._setState(w,T),this._onChangeState.fire({from:D,to:w})}setContext(w){this.onChangeContextEvent.fire(w)}getRect(){return this.element.getBoundingClientRect()}getPopOverContainer(){return this.popOverContainer}async showPopOver(w){if(!this.popOverContainer)return;this._popOverElement||(this._popOverElement=new Promise(R=>{const P=document.createElement("div"),k=this.popoverComponent;p.default.createRoot(P).render(o.default.createElement(h.ConfigProvider,{value:this.context},o.default.createElement(y,{delegate:this},o.default.createElement(k,null)))),R(P)}),b.set(this.actionId,this._popOverElement));const T={...this.popoverStyle,...w};T.position==="top"?(this.popOverContainer.classList.add("kt-toolbar-popover-top"),this.popOverContainer.classList.remove("kt-toolbar-popover-bottom")):(this.popOverContainer.classList.remove("kt-toolbar-popover-top"),this.popOverContainer.classList.add("kt-toolbar-popover-bottom")),this.popOverContainer.remove();const D=this.getPopoverParent()||this.element;D.append(this.popOverContainer);const I=D.getBoundingClientRect();this.popOverContainer.style.setProperty("--button-width",I.width+"px");let O=typeof T.horizontalOffset=="number"?T.horizontalOffset:30;O=Math.min(O,window.innerWidth-I.left-I.width-2),this.popOverContainer.style.setProperty("--offset-size",O+"px"),this.popOverContainer.classList.add("kt-toolbar-popover-visible"),T.noContainerStyle?this.popOverContainer.classList.remove("kt-toolbar-popover-default"):this.popOverContainer.classList.add("kt-toolbar-popover-default");const M=new s.DomListener(this.popOverContainer,"animationend",()=>{var R;M.dispose(),(R=this.popOverContainer)===null||R===void 0||R.classList.add("kt-toolbar-popover-animationend")});return this._popOverElement.then(R=>{this._popOverClickOutsideDisposer&&(this._popOverClickOutsideDisposer.dispose(),this._popOverClickOutsideDisposer=void 0),this.popOverContainer&&R.parentElement!==this.popOverContainer&&this.popOverContainer.append(R),this._onDidChangePopoverVisibility.fire(!0),T.hideOnClickOutside!==!1&&setTimeout(()=>{this._popOverClickOutsideDisposer&&(this._popOverClickOutsideDisposer.dispose(),this._popOverClickOutsideDisposer=void 0);const P=new _.Disposable;P.addDispose(new s.DomListener(window,"click",k=>{if(k.target&&R.contains(k.target))return;const F=R.getBoundingClientRect();F.x<=k.clientX&&F.x+F.width>=k.clientX&&F.y<=k.clientY&&F.y+F.height>=k.clientY||this.hidePopOver()},!0)),this._popOverClickOutsideDisposer=P})})}async hidePopOver(){var w;if(this._popOverElement){const T=await this._popOverElement;c.default.unmountComponentAtNode(T),T.remove(),this._popOverElement=void 0}this._popOverClickOutsideDisposer&&(this._popOverClickOutsideDisposer.dispose(),this._popOverClickOutsideDisposer=void 0),this.popOverContainer&&this.popOverContainer.classList.remove("kt-toolbar-popover-visible"),(w=this.popOverContainer)===null||w===void 0||w.classList.remove("kt-toolbar-popover-animationend"),this._onDidChangePopoverVisibility.fire(!1)}};n.__decorate([(0,v.Autowired)(u.IToolbarPopoverRegistry),n.__metadata("design:type",Object)],A.prototype,"toolbarPopover",void 0),A=n.__decorate([(0,v.Injectable)({multiple:!0}),n.__metadata("design:paramtypes",[HTMLElement,String,Object,Object,Object,Function,Function,Object,String])],A)},44006:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionDropdownButton=void 0,t.createToolbarActionDropdownButton=s;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(45803),v=e(43718),m=n.__importDefault(e(53849)),_=g=>{const l=(0,o.useRef)(new v.Emitter),[h,...u]=g.options;(0,o.useEffect)(()=>{const a=new v.Emitter,b={onSelect:l.current.event};return g.delegate&&g.delegate(b),()=>{g.delegate&&g.delegate(void 0),a.dispose()}},[]);const d=(0,o.useMemo)(()=>{var a;return(a=g.trigger)!==null&&a!==void 0?a:["click"]},[g.trigger]),E=(0,o.useCallback)(a=>{l.current.fire(a)},[]),f=(0,o.useMemo)(()=>o.default.createElement(p.Menu,{className:(0,r.default)("kt-menu",m.default.menu),selectable:!1,motion:{motionLeave:!1,motionEnter:!1}},u.map(a=>o.default.createElement(p.Menu.Item,{key:a.label,onClick:()=>E(a.value)},a.label))),[]);return o.default.createElement(c.DropdownButton,{size:"small",onClick:()=>E(h.value),overlay:f,trigger:d},h.label)};t.ToolbarActionDropdownButton=_;function s(g){return l=>o.default.createElement(t.ToolbarActionDropdownButton,{...g,...l})}},33910:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(21860),t),n.__exportStar(e(48220),t),n.__exportStar(e(44006),t)},48220:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionSelect=m,t.createToolbarActionSelect=_;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(97267),p=e(43718),v=e(67304);function m(s){const[g,l]=o.default.useState(s.defaultState||"default"),h=(s.styles||{})[g]||{},u={color:h.labelForegroundColor,backgroundColor:h.backgroundColor,minWidth:h.minWidth===void 0?150:h.minWidth},d={color:h.labelForegroundColor,backgroundColor:h.backgroundColor},[E,f]=o.default.useState(s.defaultValue),[a,b]=o.default.useState(void 0),[y,A]=o.default.useState(!1),S=o.default.useRef(null),w=o.default.useRef(null),T=o.default.useRef(new p.Emitter);o.default.useEffect(()=>{const I=new p.Emitter;let O=E;const M={setState:P=>{const k=g;l(P),I.fire({from:k,to:P})},setSelect:f,setOptions:P=>{b(P)},getValue:()=>O,onChangeState:I.event,onSelect:T.current.event};s.delegate&&s.delegate(M);const R=T.current.event(P=>{O=P});return()=>{s.delegate&&s.delegate(void 0),I.dispose(),R.dispose()}},[]);function D(I){const O=a||s.options||[];if((0,c.isDataOptionGroups)(O)){for(const M of O)for(const R of M.options)if(s.equals){if(s.equals(R.value,I))return R.label}else if(R.value===I)return R.label}else for(const M of O)if(s.equals){if(s.equals(M.value,I))return M.label}else if(M.value===I)return M.label}if(o.default.useEffect(()=>{if(S.current&&w.current){const I=w.current.getBoundingClientRect();window.innerWidth-I.x-I.width<S.current.offsetWidth?(S.current.style.right="calc(100% + 5px)",S.current.style.left="",S.current.style.top="0",S.current.style.visibility="visible"):(S.current.style.left="calc(100% + 5px)",S.current.style.right="",S.current.style.top="0",S.current.style.visibility="visible")}if(y){const I=()=>{A(!1)};return document.addEventListener("click",I),()=>{document.removeEventListener("click",I)}}},[y]),s.inDropDown){const I={options:s.options,optionRenderer:s.customOptionRenderer,currentValue:E,className:"kt-toolbar-action-select-dropdown",onSelect:M=>{f(M),s.closeDropDown(),s.onSelect&&s.onSelect(M),T.current.fire(M)},equals:s.equals,size:"small",renderCheck:!0},O=o.default.createElement(c.SelectOptionsList,{...I,ref:S});return o.default.createElement("div",{className:(0,r.default)({"kt-toolbar-action-btn":!0,"action-btn-in-dropdown":!0,"kt-toolbar-action-select":!0}),ref:w,onClick:()=>{A(!0)}},s.name||D(E),o.default.createElement("div",{className:(0,r.default)("kt-toolbar-action-btn-icon",(0,v.getIcon)("right"),"kt-toolbar-action-select-right")}),y?O:null)}return o.default.createElement(c.Select,{value:E,options:a||s.options,size:"small",optionRenderer:s.customOptionRenderer,onChange:I=>{s.onSelect&&s.onSelect(I),T.current.fire(I),f(I)},optionStyle:d,style:u})}function _(s){return g=>o.default.createElement(m,{...s,...g})}},42637:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarLocation=void 0;const n=e(85608);n.__exportStar(e(79540),t);var r=e(48254);Object.defineProperty(t,"ToolbarLocation",{enumerable:!0,get:function(){return r.ToolbarLocation}}),n.__exportStar(e(33910),t)},48254:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarActionRenderWrapper=t.ToolbarLocation=t.DEFAULT_TOOLBAR_MORE_WIDTH=t.DEFAULT_TOOLBAR_ACTION_MARGIN=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(97331)),c=n.__importDefault(e(14041)),p=n.__importDefault(e(25873)),v=e(43718),m=e(22366),_=e(93899),s=e(78132),g=e(48560),l=e(11050),h=e(67304),u=e(79540);t.DEFAULT_TOOLBAR_ACTION_MARGIN=5,t.DEFAULT_TOOLBAR_MORE_WIDTH=14;const d=new Map,E=new v.Emitter,f=new v.Emitter,a=M=>{const R=(0,g.useInjectable)(u.IToolbarRegistry),P=(0,g.useInjectable)(_.AbstractMenuService),k=(0,g.useInjectable)(_.ICtxMenuRenderer);R.hasLocation(M.location)||R.addLocation(M.location);const F=c.default.useContext(l.ConfigContext),L=(0,g.useInjectable)(v.IEventBus),B=c.default.useRef(),j=(0,g.useInjectable)(s.PreferenceService),{location:W,preferences:U={}}=M;let Q;const V=Y=>{Q=Y.slice()};V((j.get("toolbar.ignoreActions",{})||{})[W]||[]);const $=!R.isReady();return c.default.useEffect(()=>{if(B.current){const Y=new v.Disposable,z=(0,o.default)(()=>{H()},200),H=()=>{B.current&&(V((j.get("toolbar.ignoreActions",{})||{})[W]||[]),y(B.current,W,U,R,F,Q))};if($&&Y.addDispose(L.once(u.ToolbarRegistryReadyEvent,K=>{H()})),Y.addDispose(L.on(u.ToolbarActionsWhenChangeEvent,()=>{H()})),Y.addDispose(L.on(u.ToolbarActionGroupsChangedEvent,K=>{K.payload.location===W&&z()})),Y.addDispose(L.on(u.ToolbarActionsChangedEvent,K=>{K.payload.position.location===W&&z()})),Y.addDispose(E.event(K=>{const Z=R.getActionPosition(K);Z&&Z.location===W&&z()})),Y.addDispose(j.onPreferenceChanged(K=>{if(K.preferenceName==="toolbar.ignoreActions"){const Z=(j.get("toolbar.ignoreActions",{})||{})[W]||[];for(const X of Z)if(Q.indexOf(X)===-1){H();return}for(const X of Q)if(Z.indexOf(X)===-1){H();return}}})),U.noDropDown)y(B.current,W,U,R,F,Q);else{let K=B.current.offsetWidth;y(B.current,W,U,R,F,Q);const Z=new ResizeObserver(X=>{const ie=X[0].contentRect;ie.width!==K&&z(),K=ie.width});Z.observe(B.current),Y.addDispose({dispose:()=>Z.disconnect()})}return()=>Y.dispose()}},[U.noDropDown]),c.default.createElement("div",{...M,className:(0,r.default)("kt-toolbar-location",M.className),id:"toolbar-location-"+W,ref:B,onContextMenu:Y=>{if(Y.nativeEvent.composedPath().find(K=>K.getAttribute&&K.getAttribute("data-toolbar-no-context")))return;Y.preventDefault();const z=P.createMenu(_.MenuId.KTToolbarLocationContext),H=(0,_.generateCtxMenu)({menus:z});k.show({menuNodes:H[1],anchor:{x:Y.clientX,y:Y.clientY}})}})};t.ToolbarLocation=a;function b(M){return M.type==="split"}function y(M,R,P,k,F,L){const B=P.actionMargin===void 0?t.DEFAULT_TOOLBAR_ACTION_MARGIN:P.actionMargin,j=P.moreActionWidth===void 0?t.DEFAULT_TOOLBAR_MORE_WIDTH:P.moreActionWidth;for(let X=0;X<M.children.length;X++)M.children[X].remove(),X--;const W=document.createElement("div");W.classList.add("kt-toolbar-location-visible"),W.id="toolbar-location-visible-"+R;const U="toolbar-location-dropdown-"+R;let Q;if(document.getElementById(U)){Q=document.getElementById(U);for(let X=0;X<Q.children.length;X++)Q.children[X].remove(),X--}else Q=document.createElement("div"),Q.classList.add("kt-toolbar-location-dropdown"),Q.id=U;M.append(W),document.body.append(Q);const V=D(W);let $=0;const Y=["_head",...(k.getActionGroups(R)||[]).map(X=>X.id),"_tail"],z=[],H=[],K=[];for(const X of Y){const ie=k.getToolbarActions({location:R,group:X}),oe=ie?.actions.filter(le=>L.indexOf(le.id)===-1);if(oe&&oe.length>0){z.length>0&&!z[z.length-1].noGroupSplit&&z.push({action:{type:"split"},marginLeft:B});const le=oe.map((pe,q)=>{var Ee,_e,te;const ge=!((Ee=ie.group)===null||Ee===void 0)&&Ee.compact?0:B,Te=[];return!((_e=ie?.group)===null||_e===void 0)&&_e.compact&&(Te.push("kt-toolbar-action-wrapper-compact"),q===oe.length-1&&Te.push("kt-toolbar-action-wrapper-compact-tail"),q===0&&Te.push("kt-toolbar-action-wrapper-compact-head"),q!==0&&q!==oe.length-1&&Te.push("kt-toolbar-action-wrapper-compact-middle")),{action:pe,marginLeft:q===0?B:ge,extraClassNames:Te,noGroupSplit:!!(!((te=ie.group)===null||te===void 0)&&te.compact)}});z.push(...le),H.push(le)}}z.length===0?W.classList.add("kt-toolbar-location-no-actions"):W.classList.remove("kt-toolbar-location-no-actions");let Z=!1;if(!P.noDropDown)for(let X=0;X<z.length;X++){const ie=z[X],oe=S(ie.action,!1);if(!Z&&$+(X!==0?ie.marginLeft:0)+oe+B+j>V){let le=0;for(let pe=X;pe<z.length;pe++)le+=(pe!==0?ie.marginLeft:0)+S(z[pe].action,!1);if(le<B+j)break;Z=!0}$+=(X!==0?ie.marginLeft:0)+oe}if(Z){const X=[],ie=[];for(H.forEach((le,pe)=>{le.forEach((q,Ee)=>{q.action.neverCollapse||X.push([pe,Ee])}),ie.push([])});$+B+j>V&&X.length!==0;){const le=X.pop(),[pe]=H[le[0]].splice(le[1],1);ie[le[0]].push(pe.action),$-=B+S(pe.action,!1),H.length>1&&H[le[0]].length===0&&($-=B+1)}z.splice(0);const oe=H.filter(le=>le.length>0);oe.map((le,pe)=>{pe!==0&&!oe[pe-1][0].noGroupSplit&&z.push({action:{type:"split"},marginLeft:B}),z.push(...le)}),K.splice(0),ie.reverse().filter(le=>le.length>0).map((le,pe)=>{pe!==0&&K.push({type:"split"}),K.push(...le)}),K.reverse()}if(z.forEach(X=>{if(b(X.action)){const ie=document.createElement("div");ie.classList.add("kt-toolbar-action-split"),W.append(ie)}else w(W,X,F,!1,R,P)}),K.length>0){const X=document.createElement("div");X.classList.add("kt-toolbar-more");const ie=document.createElement("div");(0,m.addClassName)(ie,(0,h.getIcon)("more")),X.append(ie),W.append(X),ie.addEventListener("mousedown",()=>{A(X,R)})}K.forEach((X,ie)=>{if(b(X)){if(ie===0)return;const oe=document.createElement("div");oe.classList.add("kt-toolbar-action-split"),Q.appendChild(oe)}else w(Q,{action:X,marginLeft:0},F,!0,R,P)})}function A(M,R){const P="toolbar-location-visible-"+R,k="toolbar-location-dropdown-"+R,F=document.getElementById(P),L=document.getElementById(k);if(F&&L){if(L.style.display==="block")return;const B=F.getBoundingClientRect();L.style.top=B.y+B.height+"px",L.style.right=window.innerWidth-B.x-B.width+"px",L.style.display="block",setTimeout(()=>{const j=new v.Disposable;j.addDispose(new m.DomListener(M,"mousedown",W=>{f.fire(R),j.dispose(),W.stopPropagation()})),j.addDispose(new m.DomListener(L,"mousedown",W=>{W.stopPropagation()})),j.addDispose(new m.DomListener(document.body,"mousedown",W=>{j.dispose(),L.style.display="none"})),j.addDispose(f.event(W=>{W===R&&(j.dispose(),L.style.display="none")}))})}}function S(M,R){var P,k;if(b(M))return 1;{const F=R?(P=d.get(M.id))===null||P===void 0?void 0:P.size.inDropDown:(k=d.get(M.id))===null||k===void 0?void 0:k.size.visible;return F?F.width:M.suggestSize?M.suggestSize.width:20}}async function w(M,R,P,k,F,L){const B=document.createElement("div");return M.appendChild(B),T(R,B,P,k,F,L)}async function T(M,R,P,k,F,L){return d.has(M.action.id)||d.set(M.action.id,new I(M,P)),d.get(M.action.id).attachTo(R,k,F,L)}function D(M){const R=getComputedStyle(M);return M.clientWidth-parseFloat(R.paddingLeft)-parseFloat(R.paddingRight)}class I{constructor(R,P){this.resolvedToolbarAction=R,this.context=P,this.targetInDropDown=!1,this.size={},this.toolbarAction=R.action}render(R,P,k){return this.renderPromise&&this.renderPromise.inDropDown===R?this.renderPromise.promise:(this.renderPromise&&this.renderPromise.cancel(),this.doRender(R,P,k))}get element(){return this.renderPromise&&this.renderPromise.resolved}attachTo(R,P,k,F){return this.targetContainer=R,this.targetInDropDown=P,this.render(P,k,F).then(L=>{this.targetContainer===R&&P===this.targetInDropDown&&(L.parentElement&&L.remove(),R.replaceWith(L),setTimeout(()=>{if(!L||L.offsetWidth===0)return;let B;P?(B=this.size.inDropDown||this.toolbarAction.suggestSize||{width:20,height:30},this.size.inDropDown={width:L.offsetWidth,height:L.offsetHeight}):(B=this.size.visible||this.toolbarAction.suggestSize||{width:20,height:30},this.size.visible={width:L.offsetWidth,height:L.offsetHeight}),L.offsetWidth!==B.width&&E.fire(this.toolbarAction.id)}))})}doRender(R,P,k){let F=!1;return this.renderPromise={cancel:()=>{F=!0},promise:new Promise((L,B)=>{if(this.reactElement)this.reactElement.setInDropDown(R),L(this.reactElement.element);else{const j=document.createElement("div");j.classList.add("kt-toolbar-action-wrapper"),j.setAttribute("data-toolbar-action-id",this.toolbarAction.id),this.resolvedToolbarAction.extraClassNames&&j.classList.add(...this.resolvedToolbarAction.extraClassNames);let W;p.default.createRoot(j).render(c.default.createElement(t.ToolbarActionRenderWrapper,{initialInDropDown:R,action:this.toolbarAction,preferences:k,setInDropDownHandle:U=>W=U,context:this.context,component:this.toolbarAction.component,closeDropdown:()=>{f.fire(P)},location:P})),F?B("canceled render toolbar"):(this.reactElement={element:j,setInDropDown:U=>{W&&W(U)}},L(j))}}).then(L=>(this.renderPromise.resolved=L,this.renderPromise.resolved)),inDropDown:R},this.renderPromise.promise}}const O=M=>{const[R,P]=c.default.useState(M.initialInDropDown),k=M.component;return c.default.useEffect(()=>{M.setInDropDownHandle(F=>{P(F)})},[]),c.default.createElement(l.ConfigProvider,{value:M.context},c.default.createElement(k,{inDropDown:R,action:M.action,preferences:M.preferences,closeDropDown:M.closeDropdown,location:M.location}))};t.ToolbarActionRenderWrapper=O},62652:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarPopoverRegistry=void 0;const n=e(85608),r=e(76003),o=e(43718);let c=class{constructor(){this.registerPopoverEvent=new o.Emitter,this.onDidRegisterPopoverEvent=this.registerPopoverEvent.event,this.popOverComponents=new Map,this.getComponent=v=>this.popOverComponents.get(v)}registerComponent(v,m){return this.popOverComponents.has(v)?(console.error(`Component ${v} is already registered!`),o.Disposable.NULL):(this.popOverComponents.set(v,m),this.registerPopoverEvent.fire(v),{dispose:()=>{this.popOverComponents.delete(v)}})}};t.ToolbarPopoverRegistry=c,t.ToolbarPopoverRegistry=c=n.__decorate([(0,r.Injectable)()],c)},27957:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarClientAppContribution=t.NextToolbarRegistryImpl=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(66963),p=e(53736),v=e(79540);let m=class extends o.WithEventBus{constructor(){super(...arguments),this.locations=[],this._preferredDefaultLocation=void 0,this.groups=new Map,this.actions=new Map,this.computed=new Map,this.computedReverse=new Map,this.computedGroups=new Map,this._onGroupDisposed=new o.Emitter,this._onGroupAdded=new o.Emitter,this._onLocationAdded=new o.Emitter,this._onActionDisposed=new o.Emitter,this._onActionAdded=new o.Emitter,this._contextKeys=new Set,this._inited=!1}isReady(){return this._inited}get defaultLocation(){return this._preferredDefaultLocation&&this.locations.indexOf(this._preferredDefaultLocation)>-1?this._preferredDefaultLocation:this.locations[0]||"default"}getAllLocations(){return this.locations}init(){this.contributions.getContributions().forEach(l=>{l.registerToolbarActions&&l.registerToolbarActions(this)}),this.actions.forEach(l=>{this.calculateActionPosition(l)}),this._inited=!0,this._onActionDisposed.event(l=>{this.applyPosition(l,null)}),this._onGroupDisposed.event(l=>{let h;for(const u of this.computed.values())if(u.has(l)){h=u.get(l);break}h&&h.forEach(u=>{this.calculateActionPosition(u)})}),this._onGroupAdded.event(l=>{this.actions.forEach(h=>{(h.strictPosition&&h.strictPosition.group===l||h.preferredPosition&&h.preferredPosition.group===l)&&this.calculateActionPosition(h)})}),this._onActionAdded.event(l=>{this.calculateActionPosition(l)}),this.addDispose(o.Event.debounce(this.globalContextKeyService.onDidChangeContext,(l,h)=>l||h.payload.affectsSome(this._contextKeys),50)(l=>l&&this.eventBus.fire(new v.ToolbarActionsWhenChangeEvent),this)),this.eventBus.fire(new v.ToolbarRegistryReadyEvent)}hasLocation(g){return g==="default"||this.locations.indexOf(g)!==-1}addLocation(g){this.locations.indexOf(g)===-1&&(this.locations.push(g),this._onLocationAdded.fire(g))}setDefaultLocation(g){this._preferredDefaultLocation=g}fillKeysInWhenExpr(g){this.globalContextKeyService.getKeysInWhen(g).forEach(h=>{this._contextKeys.add(h)})}registerToolbarActionGroup(g){return this.groups.set(g.id,g),this._onGroupAdded.fire(g.id),{dispose:()=>{this.groups.delete(g.id),this._onGroupDisposed.fire(g.id)}}}calculateActionPosition(g){if(g.strictPosition){if(g.strictPosition.group!=="_head"&&g.strictPosition.group!=="_tail"){const l=this.groups.get(g.strictPosition.group);if(!l)return;const h=this.getGroupLocation(l);if(g.strictPosition.location&&g.strictPosition.location!==h)return}else if(this.locations.indexOf(g.strictPosition.location)===-1)return;this.applyPosition(g,g.strictPosition)}else{const l=this.getPositionFromPreferred(g.preferredPosition||{});this.applyPosition(g,l)}}getPositionFromPreferred(g){const l={location:this.defaultLocation,group:"_tail"};if(g.location&&this.locations.indexOf(g.location)>-1&&(l.location=g.location),g.group)if(g.group==="_tail"||g.group==="_head")l.group=g.group;else{const h=this.groups.get(g.group);if(h){const u=this.getGroupLocation(h);l.location=u,l.group=h.id}}return l}applyPosition(g,l){const h=[];if(this.computedReverse.has(g.id)){const u=this.computedReverse.get(g.id);if(l&&u.location===l.location&&u.group===l.group)return;const d=this.computed.get(u.location).get(u.group),E=d.indexOf(g);E>-1&&d.splice(E,1),h.push(u),this.computedReverse.delete(g.id)}if(l){this.computed.has(l.location)||this.initLocation(l.location);const u=this.computed.get(l.location).get(l.group);let d=0;for(;d<u.length&&!(u[d]&&(u[d].weight||0)<(g.weight||0));d++);u.splice(d,0,g),h.push(l),this.computedReverse.set(g.id,l)}this._inited&&h.forEach(u=>{this.eventBus.fire(new v.ToolbarActionsChangedEvent({position:u}))})}getGroupLocation(g){for(const d of this.computed.keys())if(this.computed.has(d)&&this.computed.get(d).has(g.id))return d;let l=this.defaultLocation;g.preferredLocation&&this.locations.indexOf(g.preferredLocation)>-1&&(l=g.preferredLocation),this.computed.has(l)||this.initLocation(l),this.computed.get(l).set(g.id,[]);const h=this.computedGroups.get(l);let u=0;for(;u<h.length&&!(h[u]&&(h[u].weight||0)<(g.weight||0));u++);return h.splice(u,0,g),this.eventBus.fire(new v.ToolbarActionGroupsChangedEvent({location:l})),l}initLocation(g){this.computed.set(g,new Map),this.computed.get(g).set("_head",[]),this.computed.get(g).set("_tail",[]),this.computedGroups.set(g,[])}registerToolbarAction(g){return this.actions.set(g.id,g),this._onActionAdded.fire(g),g.when&&this.fillKeysInWhenExpr(g.when),{dispose:()=>{this.actions.delete(g.id),this._onActionDisposed.fire(g)}}}getToolbarActions(g){var l;const h=this.computed.get(g.location);if(!h||!this.isValidGroup(g.group))return;const u=(l=h.get(g.group))===null||l===void 0?void 0:l.filter(d=>d.when?this.globalContextKeyService.match(d.when):!0);if(u)return{group:this.groups.get(g.group),position:g,actions:u}}getActionGroups(g){return this.computedGroups.get(g)}isValidGroup(g){return g==="_head"||g==="_tail"||this.groups.has(g)}getActionPosition(g){return this.computedReverse.get(g)}};t.NextToolbarRegistryImpl=m,n.__decorate([(0,r.Autowired)(p.IContextKeyService),n.__metadata("design:type",Object)],m.prototype,"globalContextKeyService",void 0),n.__decorate([(0,r.Autowired)(v.ToolBarActionContribution),n.__metadata("design:type",Object)],m.prototype,"contributions",void 0),t.NextToolbarRegistryImpl=m=n.__decorate([(0,r.Injectable)()],m);let _=class{onStart(){this.toolbarRegistry.init()}};t.ToolbarClientAppContribution=_,n.__decorate([(0,r.Autowired)(v.IToolbarRegistry),n.__metadata("design:type",Object)],_.prototype,"toolbarRegistry",void 0),t.ToolbarClientAppContribution=_=n.__decorate([(0,o.Domain)(c.ClientAppContribution)],_)},79540:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IToolbarPopoverRegistry=t.ToolBarActionContribution=t.ToolbarActionGroupsChangedEvent=t.ToolbarActionsChangedEvent=t.ToolbarActionsWhenChangeEvent=t.ToolbarRegistryReadyEvent=t.IToolbarRegistry=void 0;const n=e(43718);t.IToolbarRegistry=Symbol("IToolbarRegistry");class r extends n.BasicEvent{}t.ToolbarRegistryReadyEvent=r;class o extends n.BasicEvent{}t.ToolbarActionsWhenChangeEvent=o;class c extends n.BasicEvent{}t.ToolbarActionsChangedEvent=c;class p extends n.BasicEvent{}t.ToolbarActionGroupsChangedEvent=p,t.ToolBarActionContribution=Symbol("ToolBarActionContribution"),t.IToolbarPopoverRegistry=Symbol("IToolbarPopoverRegistry")},42101:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IElectronNativeDialogService=t.electronEnv=void 0,t.createElectronMainApi=o,t.createNetSocketConnection=c;const n=e(90750),r=()=>{var p;if(!((p=window.__OPENSUMI_DEVTOOLS_GLOBAL_HOOK__)===null||p===void 0)&&p.captureIPC)return window.__OPENSUMI_DEVTOOLS_GLOBAL_HOOK__.captureIPC};function o(p,v){let m=0;const _=r(),s=g=>{_&&_(g)};return new Proxy({on:(g,l)=>{const h=(u,d,...E)=>{if(d===g)return v&&s({type:"event",service:p,method:g,args:E}),l(...E)};return ElectronIpcRenderer.on("event:"+p,h),{dispose:()=>{ElectronIpcRenderer.removeListener("event:"+p,h)}}}},{get:(g,l)=>(g[l]||(g[l]=async(...h)=>new Promise((u,d)=>{const E=m++;ElectronIpcRenderer.send("request:"+p,l,E,...h),v&&s({type:"request",service:p,method:String(l),requestId:E,args:h});const f=(a,b,y,A)=>{if(b===E){if(ElectronIpcRenderer.removeListener("response:"+p,f),y){const S=new Error(y.message);S.stack=y.stack,d(S)}else u(A);v&&s({type:"response",service:p,method:String(l),requestId:E,args:[y,A]})}};switch(l){case"dispose":return u(void 0);default:ElectronIpcRenderer.on("response:"+p,f)}})),g[l])})}t.electronEnv=e.g||{},typeof ElectronIpcRenderer<"u"&&(t.electronEnv.ipcRenderer=ElectronIpcRenderer),t.IElectronNativeDialogService=Symbol("IElectronNativeDialogService");function c(p){let v;return p?v=t.electronEnv.createNetConnection(p):v=t.electronEnv.createRPCNetConnection(),new n.NetSocketConnection(v)}},66310:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconClass=e;function e(n){const r=/\$\(([^\)]*)\)(.*)/,o=n.match(r);return o?[o[1],o[2].trim()]:[null,n]}},79951:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(42101),t),n.__exportStar(e(55693),t),n.__exportStar(e(66310),t),n.__exportStar(e(95777),t),n.__exportStar(e(69589),t)},95777:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONUtils=void 0,t.parseWithComments=c,t.stripTrailingComma=p;const r=e(85608).__importDefault(e(26518));var o;(function(m){m.emptyObject=Object.freeze({}),m.emptyArray=Object.freeze([]);function _(a){return a===null||typeof a=="boolean"||typeof a=="number"||typeof a=="string"}m.isPrimitive=_;function s(a){return Array.isArray(a)}m.isArray=s;function g(a){return!_(a)&&!s(a)}m.isObject=g;function l(a,b){if(a===b)return!0;if(_(a)||_(b))return!1;const y=s(a),A=s(b);return y!==A?!1:y&&A?u(a,b):d(a,b)}m.deepEqual=l;function h(a){return _(a)?a:s(a)?E(a):f(a)}m.deepCopy=h;function u(a,b){if(a===b)return!0;if(a.length!==b.length)return!1;for(let y=0,A=a.length;y<A;++y)if(!l(a[y],b[y]))return!1;return!0}function d(a,b){if(a===b)return!0;for(const y in a)if(!(y in b))return!1;for(const y in b)if(!(y in a))return!1;for(const y in a)if(!l(a[y],b[y]))return!1;return!0}function E(a){const b=new Array(a.length);for(let y=0,A=a.length;y<A;++y)b[y]=h(a[y]);return b}function f(a){const b={};for(const y in a)b[y]=h(a[y]);return b}})(o||(t.JSONUtils=o={}));function c(m){return m=p((0,r.default)(m)),JSON.parse(m)}function p(m){const _=[];let s=0,g=!1,l=0;for(;l<m.length;){if(g)m[l]==='"'&&m[l-1]!=="\\"&&(g=!1);else if(m[l]===","){const h=l;for(;m[l+1]&&v(m[l+1]);)l++;(m[l+1]==="]"||m[l+1]==="}")&&(_.push(m.substring(s,h)),s=h+1)}else m[l]==='"'&&(g=!0);l++}return s>0?(_.push(m.substr(s)),_.join("")):m}function v(m){return m===" "||m===" "||m===`
31503
+ `||m==="\r"}},69589:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformLabelWithCodicon=m,t.transformLabelWithCodiconHtml=_;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(80564),p=e(43718),v=" ";function m(s,g={},l,h){const u=/\$\(([a-z.]+\/)?([a-z-]+)(~[a-z]+)?\)/gi,d=/\$\(([a-z.]+\/)?([a-z-]+)~([a-z]+)\)/gi,E=/\$\(([a-z.]+\/)?([a-z-]+)?(~[a-z]+)?\)/gi,f=(y,A)=>typeof A=="string"?{className:(0,r.default)(y,A)}:{className:y,style:A},a=s.split(v),b=a.length;return a.map((y,A)=>{if(!l)return y;const S=l(y);if(S)return o.default.createElement(c.Icon,{...f(S,g),key:`${A}-${S}`});if(u.test(y)){if(y.includes("~")){const[,,T,D]=d.exec(y)||[];if(D&&T)return o.default.createElement(c.Icon,{...f(l(`$(${T})`),g),animate:D,key:`${A}-${T}`})}const w=y.replaceAll(u,T=>`${v}${T}${v}`);return m(w,g,l)}else{if(E.test(y))return m(y.replaceAll(E,""),g,l,h);{const w=y+(A===b-1?"":v);return(0,p.isFunction)(h)?h(w,A):o.default.createElement("span",{key:`${A}-${y}`},w)}}})}function _(s,g){const l=/\$\(([a-z.]+\/)?([a-z-]+)(~[a-z]+)?\)/gi,h=/\$\(([a-z.]+\/)?([a-z-]+)~([a-z]+)\)/gi,u=/\$\(([a-z.]+\/)?([a-z-]+)?(~[a-z]+)?\)/gi,d=s.split(v),E=d.length;return d.map((f,a)=>{if(!g)return f;const b=g(f);if(b)return`<span class="kt-icon ${b}" style="font-size: 14px;" ></span>`;if(l.test(f)){if(f.includes("~")){const[,,A,S]=h.exec(f)||[];if(S&&A)return`<span class="kt-icon ${A} codicon-animation-${S}" style="font-size: 14px;" ></span>`}const y=f.replaceAll(l,A=>`${v}${A}${v}`);return _(y,g)}else return u.test(f)?_(f.replaceAll(u,""),g):f+(a===E-1?"":v)}).join(v)}},55693:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAutorun=t.useLatest=void 0,t.useDebounce=g,t.useDisposable=l,t.useMenus=h,t.useContextMenus=u,t.usePreference=d,t.useDesignStyles=E;const r=e(85608).__importDefault(e(12784)),o=e(14041),c=e(43718),p=e(55987),v=e(80832),m=e(81741),_=e(67889),s=e(95422);function g(b,y){const[A,S]=(0,o.useState)(b);return(0,o.useEffect)(()=>{const w=setTimeout(()=>{S(b)},y);return()=>{clearTimeout(w)}},[b,y]),A}function l(b,y=[]){(0,o.useEffect)(()=>{const A=new c.DisposableStore,S=b();return Array.isArray(S)?S.forEach(w=>{A.add(w)}):A.add(S),()=>{A.dispose()}},y)}function h(b,y,A,S){const[w,T]=(0,o.useState)([[],[]]);return l(()=>{let D=()=>{const I=(0,m.generateInlineActions)({menus:b,separator:y,args:A});T(I)};return S&&(D=(0,r.default)(D,S.delay,{maxWait:S.maxWait})),D(),[b.onDidChange(()=>{D()})]},[b,A]),w}function u(b){const[y,A]=(0,o.useState)([[],[]]);return l(()=>{S(b);function S(w){const T=w.getGroupedMenuNodes();A(T)}return[b.onDidChange(()=>{S(b)})]},[b]),y}function d(b,y){var A;const S=(0,s.useInjectable)(_.PreferenceService),[w,T]=(0,o.useState)((A=S.get(b,y))!==null&&A!==void 0?A:y);return(0,o.useEffect)(()=>{const D=new c.Disposable(S.onSpecificPreferenceChange(b,I=>{T(I.newValue)}));return()=>{D.dispose()}},[]),w}function E(b,y){const A=(0,s.useInjectable)(v.IDesignStyleService);return b?(0,o.useMemo)(()=>A.wrapStyles(b,y),[A,b,y]):""}const f=b=>{const y=(0,o.useRef)(b);return y.current=b,y};t.useLatest=f;const a=b=>{const[y,A]=(0,o.useState)(b.get());return l(()=>(0,p.autorun)(S=>{A(b.read(S))}),[b]),y};t.useAutorun=a},85084:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acquireAjv=void 0;let n;const r=()=>{if(!n){const o=e(82174);return n=new o,n}return n};t.acquireAjv=r},45670:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(35584),t)},35584:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VariableRegistryImpl=t.VariableRegistry=t.VariableContribution=void 0;const n=e(85608),r=e(76003),o=e(43718);t.VariableContribution=Symbol("VariableContribution"),t.VariableRegistry=Symbol("VariableRegistry");let c=class{constructor(){this.variables=new Map,this.toDispose=new o.DisposableCollection}dispose(){this.toDispose.dispose()}registerVariable(v){if(this.variables.has(v.name))return console.warn(`A variables with name ${v.name} is already registered.`),o.Disposable.NULL;this.variables.set(v.name,v);const m={dispose:()=>this.variables.delete(v.name)};return this.toDispose.push(m),m}getVariables(){return[...this.variables.values()]}getVariable(v){return this.variables.get(v)}registerVariables(v){return v.map(m=>this.registerVariable(m))}};t.VariableRegistryImpl=c,t.VariableRegistryImpl=c=n.__decorate([(0,r.Injectable)()],c)},66894:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IWindowService=void 0,t.IWindowService=Symbol("WindowService")},63921:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WindowService=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(37406),p=e(75694),v=e(11050),m=e(26542),_=e(42101);let s=class{openNewWindow(l,h){if(this.appConfig.isElectronRenderer){this.injector.get(c.IElectronMainUIService).openExternal(l);return}else{h?.external&&(l=this.injector.get(m.IExternalUriService).resolveExternalUri(new o.URI(l)).toString(!0));const u=window.open(l);if(u===null)throw new Error("Cannot open a new window for URL: "+l);return u}}openWorkspace(l,h={}){if(this.appConfig.isElectronRenderer){const u=this.injector.get(c.IElectronMainLifeCycleService);h.newWindow?u.openWorkspace(l.toString()):u.openWorkspace(l.toString(),{windowId:_.electronEnv.currentWindowId,replace:!0})}else try{const u=new o.URI(l.toString());let d;if(u.scheme==="file"?d=u.codeUri.fsPath:d=u.path.toString(),!d)throw new Error("Invalid workspace path");const E=`${window.location.protocol}//${window.location.host}?workspaceDir=${encodeURIComponent(d)}`;if(this.logger.debug(`Opening workspace with URL: ${E}`),h.newWindow){if(!window.open(E))throw this.logger.error("Failed to open new window"),new Error("Unable to open new window, please check if your browser blocks pop-ups")}else parent.window.location.href=E}catch(u){throw this.logger.error("Failed to open workspace:",u),u}}close(){if(this.appConfig.isElectronRenderer)window.close();else throw new Error("Method not implemented.")}maximize(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).maximizeWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}unmaximize(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).unmaximizeWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}fullscreen(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).fullscreenWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}minimize(){if(this.appConfig.isElectronRenderer)this.injector.get(c.IElectronMainLifeCycleService).minimizeWindow(_.electronEnv.currentWindowId);else throw new Error("Method not implemented.")}};t.WindowService=s,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],s.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(v.AppConfig),n.__metadata("design:type",Object)],s.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(),n.__metadata("design:type",p.Logger)],s.prototype,"logger",void 0),t.WindowService=s=n.__decorate([(0,r.Injectable)()],s)},17544:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWorkerBootstrapUrl=e;function e(n,r,o){if(o)return n;if(/^(http:)|(https:)|(file:)/.test(n)){const c=String(window.location),p=c.substr(0,c.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(n.substring(0,p.length)!==p){const v=`/*${r}*/importScripts('${n}');/*${r}*/`,m=new Blob([v],{type:"application/javascript"});return URL.createObjectURL(m)}}return n}},3611:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(46105),t)},46105:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AIInlineInputChatContentWidgetId=t.AIInlineHintLineContentWidgetId=t.AIInlineChatContentWidgetId=void 0,t.AIInlineChatContentWidgetId="AI-Inline-Chat-Content-Widget",t.AIInlineHintLineContentWidgetId="AI-Inline-Hint-Line-Content-Widget",t.AIInlineInputChatContentWidgetId="AI-Inline-Input-Chat-Content-Widget"},59430:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppLifeCycleServiceToken=void 0,t.AppLifeCycleServiceToken=Symbol("AppLifeCycleService")},43163:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureDir=m;const r=e(85608).__importDefault(e(49156)),o=e(17567),c="/";class p{access(s){return new Promise(g=>{r.default.exists(s,l=>{g(l)})})}mkdir(s){return(0,o.promisify)(r.default.mkdir)(s)}}const v=new p;async function m(_,s=v){const g=(_.startsWith(c)?_.slice(1):_).split(c);let l=0;for(;l<g.length;){const h=c+g.slice(0,l+1).join(c);await s.access(h)||await s.mkdir(c+h),l=l+1}}},17567:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promisify=e;function e(n){return function(...r){const o=this;return new Promise((c,p)=>{const v=(_,s)=>{_&&p(_),c(s)},m=r.concat(v);n.apply(o,m)})}}},79924:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLIPBOARD_FILE_TOKEN=t.IClipboardService=void 0,t.IClipboardService=Symbol("IClipboardService"),t.CLIPBOARD_FILE_TOKEN="clipboard/file-list"},3908:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sumiicon=t.Sumicon=t.Codicon=void 0,t.getCodiconFontCharacters=v,t.getSumiiconFontCharacters=m,t.getAllCodicons=_;const n=e(70392),r=Object.create(null),o=Object.create(null);function c(s,g,l){if((0,n.isString)(g)){const h=r[g];if(h===void 0)throw new Error(`${s} references an unknown codicon: ${g}`);g=h}return r[s]=g,{id:s}}function p(s,g,l){if((0,n.isString)(g)){const h=o[g];if(h===void 0)throw new Error(`${s} references an unknown sumiicon: ${g}`);g=h}return o[s]=g,{id:s,alias:l}}function v(){return r}function m(){return o}function _(){return Object.values(t.Codicon)}t.Codicon={add:c("add",6e4),plus:c("plus",6e4),gistNew:c("gist-new",6e4),repoCreate:c("repo-create",6e4),lightbulb:c("lightbulb",60001),lightBulb:c("light-bulb",60001),repo:c("repo",60002),repoDelete:c("repo-delete",60002),gistFork:c("gist-fork",60003),repoForked:c("repo-forked",60003),gitPullRequest:c("git-pull-request",60004),gitPullRequestAbandoned:c("git-pull-request-abandoned",60004),recordKeys:c("record-keys",60005),keyboard:c("keyboard",60005),tag:c("tag",60006),tagAdd:c("tag-add",60006),tagRemove:c("tag-remove",60006),gitPullRequestLabel:c("git-pull-request-label",60006),person:c("person",60007),personFollow:c("person-follow",60007),personOutline:c("person-outline",60007),personFilled:c("person-filled",60007),gitBranch:c("git-branch",60008),gitBranchCreate:c("git-branch-create",60008),gitBranchDelete:c("git-branch-delete",60008),sourceControl:c("source-control",60008),mirror:c("mirror",60009),mirrorPublic:c("mirror-public",60009),star:c("star",60010),starAdd:c("star-add",60010),starDelete:c("star-delete",60010),starEmpty:c("star-empty",60010),comment:c("comment",60011),commentAdd:c("comment-add",60011),alert:c("alert",60012),warning:c("warning",60012),search:c("search",60013),searchSave:c("search-save",60013),logOut:c("log-out",60014),signOut:c("sign-out",60014),logIn:c("log-in",60015),signIn:c("sign-in",60015),eye:c("eye",60016),eyeUnwatch:c("eye-unwatch",60016),eyeWatch:c("eye-watch",60016),circleFilled:c("circle-filled",60017),primitiveDot:c("primitive-dot",60017),closeDirty:c("close-dirty",60017),debugBreakpoint:c("debug-breakpoint",60017),debugBreakpointDisabled:c("debug-breakpoint-disabled",60017),debugBreakpointPending:c("debug-breakpoint-pending",60377),debugHint:c("debug-hint",60017),primitiveSquare:c("primitive-square",60018),edit:c("edit",60019),pencil:c("pencil",60019),info:c("info",60020),issueOpened:c("issue-opened",60020),gistPrivate:c("gist-private",60021),gitForkPrivate:c("git-fork-private",60021),lock:c("lock",60021),mirrorPrivate:c("mirror-private",60021),close:c("close",60022),removeClose:c("remove-close",60022),x:c("x",60022),repoSync:c("repo-sync",60023),sync:c("sync",60023),clone:c("clone",60024),desktopDownload:c("desktop-download",60024),beaker:c("beaker",60025),microscope:c("microscope",60025),vm:c("vm",60026),deviceDesktop:c("device-desktop",60026),file:c("file",60027),fileText:c("file-text",60027),more:c("more",60028),ellipsis:c("ellipsis",60028),kebabHorizontal:c("kebab-horizontal",60028),mailReply:c("mail-reply",60029),reply:c("reply",60029),organization:c("organization",60030),organizationFilled:c("organization-filled",60030),organizationOutline:c("organization-outline",60030),newFile:c("new-file",60031),fileAdd:c("file-add",60031),newFolder:c("new-folder",60032),fileDirectoryCreate:c("file-directory-create",60032),trash:c("trash",60033),trashcan:c("trashcan",60033),history:c("history",60034),clock:c("clock",60034),folder:c("folder",60035),fileDirectory:c("file-directory",60035),symbolFolder:c("symbol-folder",60035),logoGithub:c("logo-github",60036),markGithub:c("mark-github",60036),github:c("github",60036),terminal:c("terminal",60037),console:c("console",60037),repl:c("repl",60037),zap:c("zap",60038),symbolEvent:c("symbol-event",60038),error:c("error",60039),stop:c("stop",60039),variable:c("variable",60040),symbolVariable:c("symbol-variable",60040),array:c("array",60042),symbolArray:c("symbol-array",60042),symbolModule:c("symbol-module",60043),symbolPackage:c("symbol-package",60043),symbolNamespace:c("symbol-namespace",60043),symbolObject:c("symbol-object",60043),symbolMethod:c("symbol-method",60044),symbolFunction:c("symbol-function",60044),symbolConstructor:c("symbol-constructor",60044),symbolBoolean:c("symbol-boolean",60047),symbolNull:c("symbol-null",60047),symbolNumeric:c("symbol-numeric",60048),symbolNumber:c("symbol-number",60048),symbolStructure:c("symbol-structure",60049),symbolStruct:c("symbol-struct",60049),symbolParameter:c("symbol-parameter",60050),symbolTypeParameter:c("symbol-type-parameter",60050),symbolKey:c("symbol-key",60051),symbolText:c("symbol-text",60051),symbolReference:c("symbol-reference",60052),goToFile:c("go-to-file",60052),symbolEnum:c("symbol-enum",60053),symbolValue:c("symbol-value",60053),symbolRuler:c("symbol-ruler",60054),symbolUnit:c("symbol-unit",60054),activateBreakpoints:c("activate-breakpoints",60055),archive:c("archive",60056),arrowBoth:c("arrow-both",60057),arrowDown:c("arrow-down",60058),arrowLeft:c("arrow-left",60059),arrowRight:c("arrow-right",60060),arrowSmallDown:c("arrow-small-down",60061),arrowSmallLeft:c("arrow-small-left",60062),arrowSmallRight:c("arrow-small-right",60063),arrowSmallUp:c("arrow-small-up",60064),arrowUp:c("arrow-up",60065),bell:c("bell",60066),bold:c("bold",60067),book:c("book",60068),bookmark:c("bookmark",60069),debugBreakpointConditionalUnverified:c("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:c("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:c("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:c("debug-breakpoint-data-unverified",60072),debugBreakpointData:c("debug-breakpoint-data",60073),debugBreakpointDataDisabled:c("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:c("debug-breakpoint-log-unverified",60074),debugBreakpointLog:c("debug-breakpoint-log",60075),debugBreakpointLogDisabled:c("debug-breakpoint-log-disabled",60075),briefcase:c("briefcase",60076),broadcast:c("broadcast",60077),browser:c("browser",60078),bug:c("bug",60079),calendar:c("calendar",60080),caseSensitive:c("case-sensitive",60081),check:c("check",60082),checklist:c("checklist",60083),chevronDown:c("chevron-down",60084),dropDownButton:c("drop-down-button",60084),chevronLeft:c("chevron-left",60085),chevronRight:c("chevron-right",60086),chevronUp:c("chevron-up",60087),chromeClose:c("chrome-close",60088),chromeMaximize:c("chrome-maximize",60089),chromeMinimize:c("chrome-minimize",60090),chromeRestore:c("chrome-restore",60091),circle:c("circle",60092),circleOutline:c("circle-outline",60092),debugBreakpointUnverified:c("debug-breakpoint-unverified",60092),circleSlash:c("circle-slash",60093),circuitBoard:c("circuit-board",60094),clearAll:c("clear-all",60095),clippy:c("clippy",60096),closeAll:c("close-all",60097),cloudDownload:c("cloud-download",60098),cloudUpload:c("cloud-upload",60099),code:c("code",60100),collapseAll:c("collapse-all",60101),colorMode:c("color-mode",60102),commentDiscussion:c("comment-discussion",60103),compareChanges:c("compare-changes",60157),creditCard:c("credit-card",60105),dash:c("dash",60108),dashboard:c("dashboard",60109),database:c("database",60110),debugContinue:c("debug-continue",60111),debugDisconnect:c("debug-disconnect",60112),debugPause:c("debug-pause",60113),debugRestart:c("debug-restart",60114),debugStart:c("debug-start",60115),debugStepInto:c("debug-step-into",60116),debugStepOut:c("debug-step-out",60117),debugStepOver:c("debug-step-over",60118),debugStop:c("debug-stop",60119),debug:c("debug",60120),deviceCameraVideo:c("device-camera-video",60121),deviceCamera:c("device-camera",60122),deviceMobile:c("device-mobile",60123),diffAdded:c("diff-added",60124),diffIgnored:c("diff-ignored",60125),diffModified:c("diff-modified",60126),diffRemoved:c("diff-removed",60127),diffRenamed:c("diff-renamed",60128),diff:c("diff",60129),discard:c("discard",60130),editorLayout:c("editor-layout",60131),emptyWindow:c("empty-window",60132),exclude:c("exclude",60133),extensions:c("extensions",60134),eyeClosed:c("eye-closed",60135),fileBinary:c("file-binary",60136),fileCode:c("file-code",60137),fileMedia:c("file-media",60138),filePdf:c("file-pdf",60139),fileSubmodule:c("file-submodule",60140),fileSymlinkDirectory:c("file-symlink-directory",60141),fileSymlinkFile:c("file-symlink-file",60142),fileZip:c("file-zip",60143),files:c("files",60144),filter:c("filter",60145),flame:c("flame",60146),foldDown:c("fold-down",60147),foldUp:c("fold-up",60148),fold:c("fold",60149),folderActive:c("folder-active",60150),folderOpened:c("folder-opened",60151),gear:c("gear",60152),gift:c("gift",60153),gistSecret:c("gist-secret",60154),gist:c("gist",60155),gitCommit:c("git-commit",60156),gitCompare:c("git-compare",60157),gitMerge:c("git-merge",60158),githubAction:c("github-action",60159),githubAlt:c("github-alt",60160),globe:c("globe",60161),grabber:c("grabber",60162),graph:c("graph",60163),gripper:c("gripper",60164),heart:c("heart",60165),home:c("home",60166),horizontalRule:c("horizontal-rule",60167),hubot:c("hubot",60168),inbox:c("inbox",60169),issueClosed:c("issue-closed",60324),issueReopened:c("issue-reopened",60171),issues:c("issues",60172),italic:c("italic",60173),jersey:c("jersey",60174),json:c("json",60175),bracket:c("bracket",60175),kebabVertical:c("kebab-vertical",60176),key:c("key",60177),law:c("law",60178),lightbulbAutofix:c("lightbulb-autofix",60179),linkExternal:c("link-external",60180),link:c("link",60181),listOrdered:c("list-ordered",60182),listUnordered:c("list-unordered",60183),liveShare:c("live-share",60184),loading:c("loading",60185),location:c("location",60186),mailRead:c("mail-read",60187),mail:c("mail",60188),markdown:c("markdown",60189),megaphone:c("megaphone",60190),mention:c("mention",60191),milestone:c("milestone",60192),gitPullRequestMilestone:c("git-pull-request-milestone",60192),mortarBoard:c("mortar-board",60193),move:c("move",60194),multipleWindows:c("multiple-windows",60195),mute:c("mute",60196),noNewline:c("no-newline",60197),note:c("note",60198),octoface:c("octoface",60199),openPreview:c("open-preview",60200),package:c("package",60201),paintcan:c("paintcan",60202),pin:c("pin",60203),play:c("play",60204),run:c("run",60204),plug:c("plug",60205),preserveCase:c("preserve-case",60206),preview:c("preview",60207),project:c("project",60208),pulse:c("pulse",60209),question:c("question",60210),quote:c("quote",60211),radioTower:c("radio-tower",60212),reactions:c("reactions",60213),references:c("references",60214),refresh:c("refresh",60215),regex:c("regex",60216),remoteExplorer:c("remote-explorer",60217),remote:c("remote",60218),remove:c("remove",60219),replaceAll:c("replace-all",60220),replace:c("replace",60221),repoClone:c("repo-clone",60222),repoForcePush:c("repo-force-push",60223),repoPull:c("repo-pull",60224),repoPush:c("repo-push",60225),report:c("report",60226),requestChanges:c("request-changes",60227),rocket:c("rocket",60228),rootFolderOpened:c("root-folder-opened",60229),rootFolder:c("root-folder",60230),rss:c("rss",60231),ruby:c("ruby",60232),saveAll:c("save-all",60233),saveAs:c("save-as",60234),save:c("save",60235),screenFull:c("screen-full",60236),screenNormal:c("screen-normal",60237),searchStop:c("search-stop",60238),server:c("server",60240),settingsGear:c("settings-gear",60241),settings:c("settings",60242),shield:c("shield",60243),smiley:c("smiley",60244),sortPrecedence:c("sort-precedence",60245),splitHorizontal:c("split-horizontal",60246),splitVertical:c("split-vertical",60247),squirrel:c("squirrel",60248),starFull:c("star-full",60249),starHalf:c("star-half",60250),symbolClass:c("symbol-class",60251),symbolColor:c("symbol-color",60252),symbolCustomColor:c("symbol-customcolor",60252),symbolConstant:c("symbol-constant",60253),symbolEnumMember:c("symbol-enum-member",60254),symbolField:c("symbol-field",60255),symbolFile:c("symbol-file",60256),symbolInterface:c("symbol-interface",60257),symbolKeyword:c("symbol-keyword",60258),symbolMisc:c("symbol-misc",60259),symbolOperator:c("symbol-operator",60260),symbolProperty:c("symbol-property",60261),wrench:c("wrench",60261),wrenchSubaction:c("wrench-subaction",60261),symbolSnippet:c("symbol-snippet",60262),tasklist:c("tasklist",60263),telescope:c("telescope",60264),textSize:c("text-size",60265),threeBars:c("three-bars",60266),thumbsdown:c("thumbsdown",60267),thumbsup:c("thumbsup",60268),tools:c("tools",60269),triangleDown:c("triangle-down",60270),triangleLeft:c("triangle-left",60271),triangleRight:c("triangle-right",60272),triangleUp:c("triangle-up",60273),twitter:c("twitter",60274),unfold:c("unfold",60275),unlock:c("unlock",60276),unmute:c("unmute",60277),unverified:c("unverified",60278),verified:c("verified",60279),versions:c("versions",60280),vmActive:c("vm-active",60281),vmOutline:c("vm-outline",60282),vmRunning:c("vm-running",60283),watch:c("watch",60284),whitespace:c("whitespace",60285),wholeWord:c("whole-word",60286),window:c("window",60287),wordWrap:c("word-wrap",60288),zoomIn:c("zoom-in",60289),zoomOut:c("zoom-out",60290),listFilter:c("list-filter",60291),listFlat:c("list-flat",60292),listSelection:c("list-selection",60293),selection:c("selection",60293),listTree:c("list-tree",60294),debugBreakpointFunctionUnverified:c("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:c("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:c("debug-breakpoint-function-disabled",60296),debugStackframeActive:c("debug-stackframe-active",60297),circleSmallFilled:c("circle-small-filled",60298),debugStackframeDot:c("debug-stackframe-dot",60298),debugStackframe:c("debug-stackframe",60299),debugStackframeFocused:c("debug-stackframe-focused",60299),debugBreakpointUnsupported:c("debug-breakpoint-unsupported",60300),symbolString:c("symbol-string",60301),debugReverseContinue:c("debug-reverse-continue",60302),debugStepBack:c("debug-step-back",60303),debugRestartFrame:c("debug-restart-frame",60304),callIncoming:c("call-incoming",60306),callOutgoing:c("call-outgoing",60307),menu:c("menu",60308),expandAll:c("expand-all",60309),feedback:c("feedback",60310),gitPullRequestReviewer:c("git-pull-request-reviewer",60310),groupByRefType:c("group-by-ref-type",60311),ungroupByRefType:c("ungroup-by-ref-type",60312),account:c("account",60313),gitPullRequestAssignee:c("git-pull-request-assignee",60313),bellDot:c("bell-dot",60314),debugConsole:c("debug-console",60315),library:c("library",60316),output:c("output",60317),runAll:c("run-all",60318),syncIgnored:c("sync-ignored",60319),pinned:c("pinned",60320),githubInverted:c("github-inverted",60321),debugAlt:c("debug-alt",60305),serverProcess:c("server-process",60322),serverEnvironment:c("server-environment",60323),pass:c("pass",60324),stopCircle:c("stop-circle",60325),playCircle:c("play-circle",60326),record:c("record",60327),debugAltSmall:c("debug-alt-small",60328),vmConnect:c("vm-connect",60329),cloud:c("cloud",60330),merge:c("merge",60331),exportIcon:c("export",60332),graphLeft:c("graph-left",60333),magnet:c("magnet",60334),notebook:c("notebook",60335),redo:c("redo",60336),checkAll:c("check-all",60337),pinnedDirty:c("pinned-dirty",60338),passFilled:c("pass-filled",60339),circleLargeFilled:c("circle-large-filled",60340),circleLarge:c("circle-large",60341),circleLargeOutline:c("circle-large-outline",60341),combine:c("combine",60342),gather:c("gather",60342),table:c("table",60343),variableGroup:c("variable-group",60344),typeHierarchy:c("type-hierarchy",60345),typeHierarchySub:c("type-hierarchy-sub",60346),typeHierarchySuper:c("type-hierarchy-super",60347),gitPullRequestCreate:c("git-pull-request-create",60348),runAbove:c("run-above",60349),runBelow:c("run-below",60350),notebookTemplate:c("notebook-template",60351),debugRerun:c("debug-rerun",60352),workspaceTrusted:c("workspace-trusted",60353),workspaceUntrusted:c("workspace-untrusted",60354),workspaceUnspecified:c("workspace-unspecified",60355),terminalCmd:c("terminal-cmd",60356),terminalDebian:c("terminal-debian",60357),terminalLinux:c("terminal-linux",60358),terminalPowershell:c("terminal-powershell",60359),terminalTmux:c("terminal-tmux",60360),terminalUbuntu:c("terminal-ubuntu",60361),terminalBash:c("terminal-bash",60362),arrowSwap:c("arrow-swap",60363),copy:c("copy",60364),personAdd:c("person-add",60365),filterFilled:c("filter-filled",60366),wand:c("wand",60367),debugLineByLine:c("debug-line-by-line",60368),inspect:c("inspect",60369),layers:c("layers",60370),layersDot:c("layers-dot",60371),layersActive:c("layers-active",60372),compass:c("compass",60373),compassDot:c("compass-dot",60374),compassActive:c("compass-active",60375),azure:c("azure",60376),issueDraft:c("issue-draft",60377),gitPullRequestClosed:c("git-pull-request-closed",60378),gitPullRequestDraft:c("git-pull-request-draft",60379),debugAll:c("debug-all",60380),debugCoverage:c("debug-coverage",60381),runErrors:c("run-errors",60382),folderLibrary:c("folder-library",60383),debugContinueSmall:c("debug-continue-small",60384),beakerStop:c("beaker-stop",60385),graphLine:c("graph-line",60386),graphScatter:c("graph-scatter",60387),pieChart:c("pie-chart",60388),bracketDot:c("bracket-dot",60389),bracketError:c("bracket-error",60390),lockSmall:c("lock-small",60391),azureDevops:c("azure-devops",60392),verifiedFilled:c("verified-filled",60393),newLine:c("newline",60394),layout:c("layout",60395),layoutActivitybarLeft:c("layout-activitybar-left",60396),layoutActivitybarRight:c("layout-activitybar-right",60397),layoutPanelLeft:c("layout-panel-left",60398),layoutPanelCenter:c("layout-panel-center",60399),layoutPanelJustify:c("layout-panel-justify",60400),layoutPanelRight:c("layout-panel-right",60401),layoutPanel:c("layout-panel",60402),layoutSidebarLeft:c("layout-sidebar-left",60403),layoutSidebarRight:c("layout-sidebar-right",60404),layoutStatusbar:c("layout-statusbar",60405),layoutMenubar:c("layout-menubar",60406),layoutCentered:c("layout-centered",60407),layoutSidebarRightOff:c("layout-sidebar-right-off",60416),layoutPanelOff:c("layout-panel-off",60417),layoutSidebarLeftOff:c("layout-sidebar-left-off",60418),target:c("target",60408),indent:c("indent",60409),recordSmall:c("record-small",60410),errorSmall:c("error-small",60411),arrowCircleDown:c("arrow-circle-down",60412),arrowCircleLeft:c("arrow-circle-left",60413),arrowCircleRight:c("arrow-circle-right",60414),arrowCircleUp:c("arrow-circle-up",60415),heartFilled:c("heart-filled",60420),map:c("map",60421),mapFilled:c("map-filled",60422),circleSmall:c("circle-small",60423),bellSlash:c("bell-slash",60424),bellSlashDot:c("bell-slash-dot",60425),commentUnresolved:c("comment-unresolved",60426),gitPullRequestGoToChanges:c("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:c("git-pull-request-new-changes",60428),searchFuzzy:c("search-fuzzy",60429),commentDraft:c("comment-draft",60430),send:c("send",60431),sparkle:c("sparkle",60432),insert:c("insert",60433),mic:c("mic",60434),thumbsDownFilled:c("thumbsdown-filled",60435),thumbsUpFilled:c("thumbsup-filled",60436),coffee:c("coffee",60437),snake:c("snake",60438),game:c("game",60439),vr:c("vr",60440),chip:c("chip",60441),piano:c("piano",60442),music:c("music",60443),micFilled:c("mic-filled",60444),gitFetch:c("git-fetch",60445),copilot:c("copilot",60446),lightbulbSparkle:c("lightbulb-sparkle",60447),lightbulbSparkleAutofix:c("lightbulb-sparkle-autofix",60447),robot:c("robot",60448),sparkleFilled:c("sparkle-filled",60449),diffSingle:c("diff-single",60450),diffMultiple:c("diff-multiple",60451),surroundWith:c("surround-with",60452),gitStash:c("git-stash",60454),gitStashApply:c("git-stash-apply",60455),gitStashPop:c("git-stash-pop",60456),dialogError:c("dialog-error","error"),dialogWarning:c("dialog-warning","warning"),dialogInfo:c("dialog-info","info"),dialogClose:c("dialog-close","close"),treeItemExpanded:c("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:c("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:c("tree-filter-on-type-off","list-selection"),treeFilterClear:c("tree-filter-clear","close"),treeItemLoading:c("tree-item-loading","loading"),menuSelection:c("menu-selection","check"),menuSubmenu:c("menu-submenu","chevron-right"),menuBarMore:c("menubar-more","more"),scrollbarButtonLeft:c("scrollbar-button-left","triangle-left"),scrollbarButtonRight:c("scrollbar-button-right","triangle-right"),scrollbarButtonUp:c("scrollbar-button-up","triangle-up"),scrollbarButtonDown:c("scrollbar-button-down","triangle-down"),toolBarMore:c("toolbar-more","more"),quickInputBack:c("quick-input-back","arrow-left")},t.Sumicon={explorer:p("files",59166,["files","explorer-view-icon"]),search:p("search",59152,["search","search-editor-label-icon","search-view-icon"]),debug:p("debug-alt",59154,["debug-alt","debug-view-icon","watch-view-icon","breakpoints-view-icon","callstack-view-icon","loaded-scripts-view-icon","run-view-icon","testing-debug-icon"]),scm:p("source-control",59153,["source-control","source-control-view-icon"]),extension:p("extensions",59155,["extensions-view-icon","extensions"]),embed:p("split-horizontal",59333,["split-horizontal"]),setting:p("settings-gear",59278,["settings-gear","notebook-kernel-configure","settings-view-bar-icon"]),sync:p("sync",59278,["sync","settings-sync-view-icon","extensions-sync-enabled","repo-sync"]),zsh:p("terminal",59016,["terminal"]),bash:p("terminal-bash",58902,["terminal-bash"]),clear:p("clear-all",59648,["clear-all","debug-console-clear-all","preferences-clear-input","notifications-clear-all","notebook-clear","extensions-clear-search-results","search-clear-results"]),newFile:p("new-file",59218,["new-file","search-new-editor"]),newFolder:p("new-folder",59217,["new-folder"]),refresh:p("refresh",59037,["refresh","timeline-refresh","extensions-refresh","search-refresh"]),more:p("more",59973,["more"]),open:p("go-to-file",59158,["go-to-file","preferences-open-settings"]),close:p("close",59389,["close","diff-review-close","notifications-clear","panel-close","search-remove","settings-remove","tasks-remove","testing-cancel-icon","testing-failed-icon","widget-close"]),delete:p("trash",59331,["trash","trashcan","notebook-delete-cell","terminal-kill"]),right:p("chevron-right",59371,["chevron-right","view-pane-container-collapsed","suggest-more-info","search-hide-replace","notebook-collapsed","folding-collapsed","find-collapsed","debug-console-evaluation-prompt"]),left:p("chevron-left",59376,["chevron-left"]),down:p("chevron-down",59377,["chevron-down","view-pane-container-expanded","settings-group-expanded","search-show-replace","parameter-hints-next","panel-restore","notifications-hide","notifications-collapse","notebook-expanded","markers-view-multi-line-collapsed","marker-navigation-next","folding-expanded","find-expanded","tree-item-expanded"]),up:p("chevron-up",59372,["chevron-up","marker-navigation-previous","markers-view-multi-line-expanded","notifications-expand","panel-maximize","parameter-hints-previous","review-comment-collapse"]),arrowRight:p("arrow-right",58886,["arrow-right"]),arrowUp:p("arrow-up",59186,["arrow-up","notebook-move-up","goto-previous-location","find-previous-match","diff-editor-previous-change"]),arrowLeft:p("arrow-left",58884,["arrow-left"]),arrowDown:p("arrow-down",59187,["arrow-down","notebook-move-down","goto-next-location","find-next-match","diff-editor-next-change"]),start:p("play",59967,["play","notebook-execute"]),saveAll:p("save-all",59163,["save-all","notebook-save-all"]),closeAll:p("close-all",59164,["close-all","watch-expressions-remove-all","breakpoints-remove-all"]),collapseAll:p("collapse-all",59327,["collapse-all","debug-collapse-all","search-collapse-results"]),expandAll:p("expand-all",58899,["expand-all","debug-expand-all","search-expand-results"]),retrieval:p("sumi-retrieval",60001,[]),eyeClose:p("eye-closed",59647,["eye-closed"]),ellipsis:p("ellipsis",59388,["ellipsis","search-details"]),magicWand:p("magic-wand",58894,["magic-wand"])},t.Sumiicon=t.Sumicon},55563:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MultiKeyMap=void 0;class e{constructor(r){this.keyLength=r,this.rootMap=new Map}static create(r,o){const c=new e(r);for(const p of o)c.set(p[0],p[1]);return c}set(r,o){if(this.keyLength!==r.length)throw new Error(`inappropriate key length: ${r.length}, should be ${this.keyLength}`);let c=this.rootMap;for(let v=0;v<this.keyLength-1;v++){let m=c.get(r[v]);m||(m=new Map,c.set(r[v],m)),c=m}const p=c.get(r[this.keyLength-1]);return c.set(r[this.keyLength-1],o),p}get(r){if(this.keyLength!==r.length)throw new Error(`inappropriate key length: ${r.length}, should be ${this.keyLength}`);let o=this.rootMap;for(let c=0;c<this.keyLength-1;c++)if(o=o.get(r[c]),!o)return;return o.get(r[this.keyLength-1])}has(r){if(this.keyLength<r.length)throw new Error(`inappropriate key length: ${r.length}, should <= ${this.keyLength}`);let o=this.rootMap;for(let c=0;c<r.length-1;c++)if(o=o.get(r[c]),!o)return!1;return o.has(r[r.length-1])}delete(r){if(this.keyLength<r.length)throw new Error(`inappropriate key length: ${r.length}, should <= ${this.keyLength}`);let o=this.rootMap;for(let c=0;c<this.keyLength-1;c++)if(o=o.get(r[c]),!o)return!1;return o.delete(r[r.length-1])}forEach(r){this.doForeach(r,this.rootMap,[])}doForeach(r,o,c){c.length===this.keyLength-1?o.forEach((p,v)=>{r(p,[...c,v])}):o.forEach((p,v)=>{this.doForeach(r,p,[...c,v])})}}t.MultiKeyMap=e},92323:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommandServiceImpl=t.CommandRegistryImpl=t.CoreCommandRegistryImpl=t.HANDLER_NOT_FOUND=t.CommandRegistry=t.CommandService=t.CommandContribution=t.Command=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(31470),p=e(33783),v=e(4892);var m;(function(l){function h(d){return!!d&&d===Object(d)&&"id"in d}l.is=h;function u(d,E){if(d.label&&E.label){const f=d.category?d.category+d.label:d.label,a=E.category?E.category+E.label:E.label;return f.localeCompare(a)}else return 0}l.compareCommands=u})(m||(t.Command=m={})),t.CommandContribution=Symbol("CommandContribution"),t.CommandService=Symbol("CommandService"),t.CommandRegistry=Symbol("CommandRegistry"),t.HANDLER_NOT_FOUND="HANDLER_NOT_FOUND";let _=class{constructor(){this._commands={},this._handlers={},this.unregisterCommands=new Map,this._recent=[],this.preCommandInterceptors=[],this.postCommandInterceptors=[],this.preCommandInterceptorMap=new Map,this.postCommandInterceptor=new Map,this.logger=(0,v.getDebugLogger)()}async executeCommand(h,...u){const d=this.getCommand(h);if(d&&d.delegate)return this.executeCommand(d.delegate,...u);const E=this.preCommandInterceptorMap.get(h),a=[...(E??[]).map(S=>(w,T)=>S(T)),...this.preCommandInterceptors];for(const S of a){const w=await S(h,u);if(w===!1){this.logger.log(`command ${h} is prevented by pre interceptor`,S.name);return}else Array.isArray(w)&&(u=w)}const b=this.getActiveHandler(h,...u);if(b){let S=await b.execute(...u);const w=this.postCommandInterceptor.get(h);if(w)for(const T of w)S=await T(S);for(const T of this.postCommandInterceptors)S=await T(h,S);return S}let y="";try{y=u&&u.length>0?` (args: ${JSON.stringify(u)})`:""}catch{y="args cannot be convert to JSON"}const A=new Error(`The command '${h}' cannot be executed. There are no active handlers available for the command.${y}`);throw A.name=`${t.HANDLER_NOT_FOUND}:${h}`,A}getCommands(){return Object.keys(this._commands).map(h=>this.getCommand(h))}registerCommand(h,u){if(this._commands[h.id])return this.logger.warn(`A command ${h.id} is already registered.`),o.Disposable.NULL;const d=new o.Disposable;return d.addDispose(this.doRegisterCommand(h)),u&&d.addDispose(this.registerHandler(h.id,u)),this.unregisterCommands.set(h.id,d),d.addDispose(o.Disposable.create(()=>this.unregisterCommands.delete(h.id))),d}updateCommandDetailById(h,u){if(!this._commands[h]){this.logger.warn(`Command ${h} not found.`);return}this._commands[h]={...this._commands[h],...u}}unregisterCommand(h){const u=m.is(h)?h.id:h,d=this.unregisterCommands.get(u);d&&d.dispose()}registerHandler(h,u){let d=this._handlers[h];return d||(this._handlers[h]=d=[]),d.unshift(u),{dispose:()=>{const E=d.indexOf(u);E>=0&&d.splice(E,1)}}}isEnabled(h,...u){return this._handlers[h]?this.getActiveHandler(h,...u)!==void 0:!0}isVisible(h,...u){return this._handlers[h]?this.getVisibleHandler(h,...u)!==void 0:!0}isToggled(h,...u){const d=this.getToggledHandler(h);return d&&d.isToggled?d.isToggled(...u):!1}getVisibleHandler(h,...u){const d=this._handlers[h];if(d){for(const E of d)if(!E.isVisible||E.isVisible(...u))return E}}getActiveHandler(h,...u){const d=this.getCommand(h);if(d&&d.delegate)return this.getActiveHandler(d.delegate,...u);const E=this._handlers[h];if(E){for(const f of E)if(!f.isEnabled||f.isEnabled(...u))return f}}isPermittedCommand(h,u,...d){const E=this.getCommand(h);if(E&&E.delegate)return this.isPermittedCommand(E.delegate,u,...d);const f=this._handlers[h];return!Array.isArray(f)||f.every(a=>!a.isPermitted||a.isPermitted(u,...d))}getToggledHandler(h){const u=this._handlers[h];if(u){for(const d of u)if(d.isToggled)return d}}getRawCommand(h){return this._commands[h]}getCommand(h){const u=this._commands[h];return u?{...u,label:(0,p.replaceLocalizePlaceholder)(u.label),category:(0,p.replaceLocalizePlaceholder)(u.category)}:void 0}localizeCommand(h){return h.label&&!h.labelLocalized&&(h.labelLocalized=(0,p.createLocalizedStr)(h.label)),h.category&&!h.categoryLocalized&&(h.categoryLocalized=(0,p.createLocalizedStr)(h.category)),h.shortLabel&&!h.shortLabelLocalized&&(h.shortLabelLocalized=(0,p.createLocalizedStr)(h.shortLabel)),h}doRegisterCommand(h){return this._commands[h.id]=this.localizeCommand(h),{dispose:()=>{delete this._commands[h.id]}}}beforeExecuteCommand(h,u){if(typeof h=="string"){const d=this.preCommandInterceptorMap.get(h);return d?u&&d.push(u):u&&this.preCommandInterceptorMap.set(h,[u]),{dispose:()=>{const E=this.preCommandInterceptorMap.get(h);if(E&&u){const f=E.indexOf(u);f!==-1&&E.splice(f,1)}}}}else return this.preCommandInterceptors.push(h),{dispose:()=>{const d=this.preCommandInterceptors.indexOf(h);d!==-1&&this.preCommandInterceptors.splice(d,1)}}}afterExecuteCommand(h,u){if(typeof h=="string"){const d=this.postCommandInterceptor.get(h);return d?u&&d.push(u):u&&this.postCommandInterceptor.set(h,[u]),{dispose:()=>{const E=this.postCommandInterceptor.get(h);if(E&&u){const f=E.indexOf(u);f!==-1&&E.splice(f,1)}}}}else return this.postCommandInterceptors.push(h),{dispose:()=>{const d=this.postCommandInterceptors.indexOf(h);d!==-1&&this.postCommandInterceptors.splice(d,1)}}}getRecentCommands(){return this._recent}setRecentCommands(h){return h.forEach(u=>{this.addRecentCommand(u)}),this._recent}addRecentCommand(h){if(!h||!h.label)return;const u=this._recent.findIndex(d=>d.id===h.id);u>=0&&this._recent.splice(u,1),this._recent.unshift(h)}};t.CoreCommandRegistryImpl=_,t.CoreCommandRegistryImpl=_=n.__decorate([(0,r.Injectable)()],_);let s=class extends _{initialize(){const h=this.contributionProvider.getContributions();for(const u of h)u.registerCommands(this)}};t.CommandRegistryImpl=s,n.__decorate([(0,r.Autowired)(t.CommandContribution),n.__metadata("design:type",Object)],s.prototype,"contributionProvider",void 0),t.CommandRegistryImpl=s=n.__decorate([(0,r.Injectable)()],s);let g=class{constructor(){this._onWillExecuteCommand=new o.Emitter,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new o.Emitter,this.onDidExecuteCommand=this._onDidExecuteCommand.event}executeCommand(h,...u){this._onWillExecuteCommand.fire({commandId:h,args:u});const d=this.commandRegistry.executeCommand(h,...u).finally(()=>{this._onDidExecuteCommand.fire({commandId:h,args:u})});return Promise.resolve(d)}async tryExecuteCommand(h,...u){try{return await this.executeCommand(h,...u)}catch(d){(0,v.getDebugLogger)().warn(d)}}};t.CommandServiceImpl=g,n.__decorate([(0,r.Autowired)(t.CommandRegistry),n.__metadata("design:type",s)],g.prototype,"commandRegistry",void 0),t.CommandServiceImpl=g=n.__decorate([(0,r.Injectable)()],g)},27833:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GitCommands=void 0,t.GitCommands={Stage:"git.stage",StageAllMerge:"git.stageAllMerge"}},22774:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareFileNames=c,t.comparePaths=v,t.compareAnything=m,t.compareByPrefix=_,t.compareRangesUsingStarts=s;const n=e(70392),{sep:r}=n.path,o=new n.IdleValue(()=>{const g=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:g,collatorIsNumeric:g.resolvedOptions().numeric}});function c(g,l,h=!1){const u=g||"",d=l||"",E=o.getValue().collator.compare(u,d);return o.getValue().collatorIsNumeric&&E===0&&u!==d?u<d?-1:1:E}function p(g,l,h=!1){return h||(g=g&&g.toLowerCase(),l=l&&l.toLowerCase()),g===l?0:g<l?-1:1}function v(g,l,h=!1){const u=g.split(r),d=l.split(r),E=u.length-1,f=d.length-1;let a,b;for(let y=0;;y++){if(a=E===y,b=f===y,a&&b)return c(u[y],d[y],h);if(a)return-1;if(b)return 1;const A=p(u[y],d[y],h);if(A!==0)return A}}function m(g,l,h){const u=g.toLowerCase(),d=l.toLowerCase(),E=_(g,l,h);if(E)return E;const f=u.endsWith(h),a=d.endsWith(h);if(f!==a)return f?-1:1;const b=c(u,d);return b!==0?b:u.localeCompare(d)}function _(g,l,h){const u=g.toLowerCase(),d=l.toLowerCase(),E=u.startsWith(h),f=d.startsWith(h);if(E!==f)return E?-1:1;if(E&&f){if(u.length<d.length)return-1;if(u.length>d.length)return 1}return 0}function s(g,l){if(g&&l){const d=g.startLineNumber|0,E=l.startLineNumber|0;if(d===E){const f=g.startColumn|0,a=l.startColumn|0;if(f===a){const b=g.endLineNumber|0,y=l.endLineNumber|0;if(b===y){const A=g.endColumn|0,S=l.endColumn|0;return A-S}return b-y}return f-a}return d-E}return(g?1:0)-(l?1:0)}},27356:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserConnectionErrorEvent=t.BrowserConnectionOpenEvent=t.BrowserConnectionCloseEvent=void 0;const n=e(17010);class r extends n.BasicEvent{}t.BrowserConnectionCloseEvent=r;class o extends n.BasicEvent{}t.BrowserConnectionOpenEvent=o;class c extends n.BasicEvent{}t.BrowserConnectionErrorEvent=c},4588:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_VSCODE_ENGINE_VERSION=t.DEFAULT_OPENVSX_REGISTRY=t.DEFAULT_URI_SCHEME=t.DEFAULT_APPLICATION_WEB_HOST=t.DEFAULT_APPLICATION_DESKTOP_HOST=t.DEFAULT_APPLICATION_NAME=void 0,t.DEFAULT_APPLICATION_NAME="OpenSumi",t.DEFAULT_APPLICATION_DESKTOP_HOST="desktop",t.DEFAULT_APPLICATION_WEB_HOST="web",t.DEFAULT_URI_SCHEME="sumi",t.DEFAULT_OPENVSX_REGISTRY="https://open-vsx.org",t.DEFAULT_VSCODE_ENGINE_VERSION="1.96.2"},69734:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(4588),t),n.__exportStar(e(47206),t)},47206:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_TYPES=void 0,t.LOCALE_TYPES={EN_US:"en-US",ZH_CN:"zh-CN"}},31470:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseContributionProvider=t.ContributionProvider=void 0,t.createContributionProvider=n,t.ContributionProvider=Symbol("ContributionProvider");class e{constructor(o,c){this.domain=o,this.injector=c}addContribution(...o){for(const c of o)this.injector.addProviders(c),this.services&&this.services.push(this.injector.get(c))}getContributions(){return this.injector.getFromDomain(this.domain)}reload(){return this.services=this.injector.getFromDomain(this.domain),this.services}}t.BaseContributionProvider=e;function n(r,o){const c=new e(o,r);r.addProviders({token:o,useValue:c})}},21921:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INativeCredentialService=t.KeytarServicePath=void 0,t.KeytarServicePath="/services/keytar",t.INativeCredentialService=Symbol("INativeCredentialService")},54937:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INativeCryptoService=t.CryptoServicePath=void 0,t.CryptoServicePath="/services/crypto",t.INativeCryptoService=Symbol("INativeCryptoService")},91368:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65265:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DevtoolsLantencyCommand=t.EDevtoolsEvent=void 0;var e;(function(r){r.Latency="devtools:latency"})(e||(t.EDevtoolsEvent=e={}));var n;(function(r){r.Start="start",r.Stop="stop"})(n||(t.DevtoolsLantencyCommand=n={}))},3288:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Domain=r;const n=e(76003);function r(...o){return c=>{const p=(0,n.getInjectableOpts)(c)||{};p.domain=o,(0,n.markInjectable)(c,p)}}},98295:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(3288),t)},10725:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CUSTOM_EDITOR_SCHEME=void 0,t.CUSTOM_EDITOR_SCHEME="vscode_customEditor"},37406:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IElectronURLService=t.IElectronMainLifeCycleService=t.IElectronMainUIService=void 0,t.IElectronMainUIService="IElectronMainUIService",t.IElectronMainLifeCycleService="IElectronMainLifeCycleService",t.IElectronURLService="IElectronURLService"},76997:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstSessionDateStorageKey=void 0,t.firstSessionDateStorageKey="sumi.env.firstSessionDate"},39156:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwNonElectronError=e;function e(n){throw new Error(`This method(${n}) is not implemented for non-electron environment`)}},97033:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasicEvent=void 0;class e{constructor(r){this.payload=r}}t.BasicEvent=e},62797:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IEventBus=void 0,t.IEventBus=Symbol("IEventBus")},96373:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventBusImpl=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(97033);let p=class{constructor(){this.emitterMap=new Map}fire(m,_={}){const s=m&&m.constructor;if(typeof s=="function"&&c.BasicEvent.isPrototypeOf(s)){const g=this.emitterMap.get(s);g&&g.fire(m)}}async fireAndAwait(m,_={timeout:2e3}){const s=m&&m.constructor;if(typeof s=="function"&&c.BasicEvent.isPrototypeOf(s)){const g=this.emitterMap.get(s);if(g)return g.fireAndAwait(m,_.timeout)}return[]}on(m,_){return this.getOrCreateEmitter(m).event(_)}once(m,_){const s=this.getOrCreateEmitter(m);return o.Event.once(s.event)(_)}getOrCreateEmitter(m){const _=this.emitterMap.get(m);if(_)return _;const s=new o.Emitter;return this.emitterMap.set(m,s),s}onDirective(m,_){return this.getOrCreateEmitter(m).event(_)}fireDirective(m,_){const s=this.emitterMap.get(m);s&&s.fire(_)}};t.EventBusImpl=p,t.EventBusImpl=p=n.__decorate([(0,r.Injectable)()],p)},25234:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WithEventBus=void 0,t.OnEvent=m;const n=e(85608),r=e(76003),o=e(70392),c=e(62797),p=Symbol("EVENT_TOKEN");class v extends o.Disposable{constructor(...s){super(...s);const g=Reflect.getMetadata(p,this)||new Map;for(const[l,h]of g.entries()){const u=this.eventBus.on(h,d=>this[l](d));this.addDispose(u)}}}t.WithEventBus=v,n.__decorate([(0,r.Autowired)(c.IEventBus),n.__metadata("design:type",Object)],v.prototype,"eventBus",void 0);function m(_){return(s,g,l)=>{const h=Reflect.getMetadata(p,s)||new Map;h.set(g,_),Reflect.defineMetadata(p,h,s)}}},17010:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(97033),t),n.__exportStar(e(62797),t),n.__exportStar(e(96373),t),n.__exportStar(e(25234),t)},34022:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IExtensionsSchemaService=void 0,t.IExtensionsSchemaService=Symbol("IExtensionsSchemaService")},62917:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HEAP=void 0,t.WASMInterface=v;const n=e(62777),r=e(29692);t.MAX_HEAP=16384;const o=4,c=new n.Mutex,p=new Map;async function v(m,_){let s=null,g=null,l=!1;if(typeof WebAssembly>"u")throw new Error("WebAssembly is not supported in this environment!");const h=(P,k=0)=>{g?.set(P,k)},u=()=>g,d=()=>s?.exports,E=P=>{(s?.exports).Hash_SetMemorySize(P);const k=(s?.exports).Hash_GetBuffer(),F=(s?.exports).memory.buffer;g=new Uint8Array(F,k,P)},f=()=>new DataView((s?.exports).memory.buffer).getUint32((s?.exports).STATE_SIZE,!0),a=c.dispatch(async()=>{if(!p.has(m.name)){const k=(0,r.decodeBase64)(m.data),F=WebAssembly.compile(k);p.set(m.name,F)}const P=await p.get(m.name);s=await WebAssembly.instantiate(P)}),b=async()=>{s||await a;const P=(s?.exports).Hash_GetBuffer(),k=(s?.exports).memory.buffer;g=new Uint8Array(k,P,t.MAX_HEAP)},y=(P=null)=>{l=!0,(s?.exports).Hash_Init(P)},A=P=>{let k=0;for(;k<P.length;){const F=P.subarray(k,k+t.MAX_HEAP);k+=F.length,g?.set(F),(s?.exports).Hash_Update(F.length)}},S=P=>{if(!l)throw new Error("update() called before init()");const k=(0,r.getUInt8Buffer)(P);A(k)},w=new Uint8Array(_*2),T=(P,k=null)=>{if(!l)throw new Error("digest() called before init()");return l=!1,(s?.exports).Hash_Final(k),P==="binary"?g.slice(0,_):(0,r.getDigestHex)(w,g,_)},D=()=>{if(!l)throw new Error("save() can only be called after init() and before digest()");const P=(s?.exports).Hash_GetState(),k=f(),F=(s?.exports).memory.buffer,L=new Uint8Array(F,P,k),B=new Uint8Array(o+k);return(0,r.writeHexToUInt8)(B,m.hash),B.set(L,o),B},I=P=>{if(!(P instanceof Uint8Array))throw new Error("load() expects an Uint8Array generated by save()");const k=(s?.exports).Hash_GetState(),F=f(),L=o+F,B=(s?.exports).memory.buffer;if(P.length!==L)throw new Error(`Bad state length (expected ${L} bytes, got ${P.length})`);if(!(0,r.hexStringEqualsUInt8)(m.hash,P.subarray(0,o)))throw new Error("This state was written by an incompatible hash implementation");const j=P.subarray(o);new Uint8Array(B,k,F).set(j),l=!0},O=P=>typeof P=="string"?P.length<t.MAX_HEAP/4:P.byteLength<t.MAX_HEAP;let M=O;switch(m.name){case"argon2":case"scrypt":M=()=>!0;break;case"blake2b":case"blake2s":M=(P,k)=>k<=512&&O(P);break;case"blake3":M=(P,k)=>k===0&&O(P);break;case"xxhash64":case"xxhash3":case"xxhash128":M=()=>!1;break;default:break}const R=(P,k=null,F=null)=>{if(!M(P,k))return y(k),S(P),T("hex",F);const L=(0,r.getUInt8Buffer)(P);return g?.set(L),(s?.exports).Hash_Calculate(L.length,k,F),(0,r.getDigestHex)(w,g,_)};return await b(),{getMemory:u,writeMemory:h,getExports:d,setMemorySize:E,init:y,update:S,digest:T,save:D,load:I,calculate:R,hashLength:_}}},96405:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashCalculateServiceImpl=t.IHashCalculateService=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(17198),p=n.__importDefault(e(87661)),v=e(62777);t.IHashCalculateService=Symbol("IHashCalculateService");function m(){const s=new v.Mutex;return(0,c.lockedCreate)(s,p.default,16)}let _=class{constructor(){this._initialized=!1}get initialized(){return this._initialized}async initialize(){this.cachedCalculator||(this.cachedCalculator=await m()),this._initialized=!0}calculate(g){if(!this.initialized)throw new Error("Please call #initialize first!");return this.cachedCalculator.calculate(g)}};t.HashCalculateServiceImpl=_,n.__decorate([o.memoize,n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[]),n.__metadata("design:returntype",Promise)],_.prototype,"initialize",null),t.HashCalculateServiceImpl=_=n.__decorate([(0,r.Injectable)()],_)},17198:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lockedCreate=r;const n=e(62917);async function r(o,c,p){const v=await o.lock(),m=await(0,n.WASMInterface)(c,p);return v(),m}},62777:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutex=void 0;class e{constructor(){this.mutex=Promise.resolve()}lock(){let r=()=>{};return this.mutex=this.mutex.then(()=>new Promise(r)),new Promise(o=>{r=o})}async dispatch(r){const o=await this.lock();try{return await Promise.resolve(r())}finally{o()}}}t.Mutex=e},29692:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUInt8Buffer=void 0,t.intArrayToString=r,t.writeHexToUInt8=c,t.hexStringEqualsUInt8=p,t.getDigestHex=_,t.encodeBase64=l,t.getDecodeBase64Length=h,t.decodeBase64=u;var n=e(65880);Object.defineProperty(t,"getUInt8Buffer",{enumerable:!0,get:function(){return n.getUInt8Buffer}});function r(d,E){return String.fromCharCode(...d.subarray(0,E))}function o(d,E){return(d&15)+(d>>6|d>>3&8)<<4|(E&15)+(E>>6|E>>3&8)}function c(d,E){const f=E.length>>1;for(let a=0;a<f;a++){const b=a<<1;d[a]=o(E.charCodeAt(b),E.charCodeAt(b+1))}}function p(d,E){if(d.length!==E.length*2)return!1;for(let f=0;f<E.length;f++){const a=f<<1;if(E[f]!==o(d.charCodeAt(a),d.charCodeAt(a+1)))return!1}return!0}const v=87,m=48;function _(d,E,f){let a=0;for(let b=0;b<f;b++){let y=E[b]>>>4;d[a++]=y>9?y+v:y+m,y=E[b]&15,d[a++]=y>9?y+v:y+m}return String.fromCharCode.apply(null,d)}const s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=new Uint8Array(256);for(let d=0;d<s.length;d++)g[s.charCodeAt(d)]=d;function l(d,E=!0){const f=d.length,a=f%3,b=[],y=f-a;for(let A=0;A<y;A+=3){const S=(d[A]<<16&16711680)+(d[A+1]<<8&65280)+(d[A+2]&255),w=s.charAt(S>>18&63)+s.charAt(S>>12&63)+s.charAt(S>>6&63)+s.charAt(S&63);b.push(w)}if(a===1){const A=d[f-1],S=s.charAt(A>>2),w=s.charAt(A<<4&63);b.push(`${S}${w}`),E&&b.push("==")}else if(a===2){const A=(d[f-2]<<8)+d[f-1],S=s.charAt(A>>10),w=s.charAt(A>>4&63),T=s.charAt(A<<2&63);b.push(`${S}${w}${T}`),E&&b.push("=")}return b.join("")}function h(d){let E=Math.floor(d.length*.75);const f=d.length;return d[f-1]==="="&&(E-=1,d[f-2]==="="&&(E-=1)),E}function u(d){const E=h(d),f=d.length,a=new Uint8Array(E);let b=0;for(let y=0;y<f;y+=4){const A=g[d.charCodeAt(y)],S=g[d.charCodeAt(y+1)],w=g[d.charCodeAt(y+2)],T=g[d.charCodeAt(y+3)];a[b]=A<<2|S>>4,b+=1,a[b]=(S&15)<<4|w>>2,b+=1,a[b]=(w&3)<<6|T&63,b+=1}return a}},6397:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGenerator=t.IdGenerator=void 0;class e{constructor(r){this._prefix=r,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}t.IdGenerator=e,t.defaultGenerator=new e("id#")},43718:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(98295),t),n.__exportStar(e(17010),t),n.__exportStar(e(31470),t),n.__exportStar(e(91368),t),n.__exportStar(e(10725),t),n.__exportStar(e(6859),t),n.__exportStar(e(85200),t),n.__exportStar(e(92323),t),n.__exportStar(e(52015),t),n.__exportStar(e(33783),t),n.__exportStar(e(9380),t),n.__exportStar(e(67607),t),n.__exportStar(e(9331),t),n.__exportStar(e(10484),t),n.__exportStar(e(4892),t),n.__exportStar(e(82288),t),n.__exportStar(e(7421),t),n.__exportStar(e(27356),t),n.__exportStar(e(22774),t),n.__exportStar(e(66926),t),n.__exportStar(e(29574),t),n.__exportStar(e(64779),t),n.__exportStar(e(72148),t),n.__exportStar(e(26298),t),n.__exportStar(e(13639),t),n.__exportStar(e(76997),t),n.__exportStar(e(21921),t),n.__exportStar(e(54937),t),n.__exportStar(e(48669),t),n.__exportStar(e(71990),t),n.__exportStar(e(86560),t),n.__exportStar(e(79924),t),n.__exportStar(e(3092),t),n.__exportStar(e(59430),t),n.__exportStar(e(34022),t),n.__exportStar(e(3611),t),n.__exportStar(e(69383),t),n.__exportStar(e(55563),t),n.__exportStar(e(43786),t)},82288:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},26298:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(27315),t),n.__exportStar(e(16872),t)},16872:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardLayoutChangeNotifierService=t.KeyboardNativeLayoutService=t.keyboardPath=void 0,t.keyboardPath="/services/keyboard",t.KeyboardNativeLayoutService=Symbol("KeyboardNativeLayoutService"),t.KeyboardLayoutChangeNotifierService=Symbol("KeyboardLayoutChangeNotifierService")},27315:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeymapInfo=void 0,t.getKeyboardLayoutId=o;const n=e(70392);function r(p){const v=p,m={};for(const _ in v){const s=v[_];if(s.length){const g=s[0],l=s[1],h=s[2],u=s[3],d=Number(s[4]),E=s.length===6?s[5]:void 0;m[_]={value:g,vkey:E,withShift:l,withAltGr:h,withShiftAltGr:u,valueIsDeadKey:(d&1)>0,withShiftIsDeadKey:(d&2)>0,withAltGrIsDeadKey:(d&4)>0,withShiftAltGrIsDeadKey:(d&8)>0}}else m[_]={value:"",valueIsDeadKey:!1,withShift:"",withShiftIsDeadKey:!1,withAltGr:"",withAltGrIsDeadKey:!1,withShiftAltGr:"",withShiftAltGrIsDeadKey:!1}}return m}function o(p){return p.name?p.name:p.id?p.id:p.layout}class c{constructor(v,m,_,s){this.layout=v,this.secondaryLayouts=m,this.mapping=r(_),this.isUserKeyboardLayout=!!s,this.layout.isUserKeyboardLayout=!!s}static createKeyboardLayoutFromDebugInfo(v,m,_){const s=new c(v,[],{},!0);return s.mapping=m,s}update(v){this.layout=v.layout,this.secondaryLayouts=v.secondaryLayouts,this.mapping=v.mapping,this.isUserKeyboardLayout=v.isUserKeyboardLayout,this.layout.isUserKeyboardLayout=v.isUserKeyboardLayout}getScore(v){let m=0;for(const _ in v){if(n.isWindows&&(_==="Backslash"||_==="KeyQ")||n.isLinux&&(_==="Backspace"||_==="Escape"))continue;const s=this.mapping[_];s===void 0&&(m-=1);const g=v[_];s&&g&&s.value!==g.value&&(m-=1)}return m}equal(v){return this.isUserKeyboardLayout!==v.isUserKeyboardLayout||o(this.layout)!==o(v.layout)?!1:this.fuzzyEqual(v.mapping)}fuzzyEqual(v){for(const m in v){if(n.isWindows&&(m==="Backslash"||m==="KeyQ"))continue;if(this.mapping[m]===void 0)return!1;const _=this.mapping[m],s=v[m];if(_.value!==s.value)return!1}return!0}}t.KeymapInfo=c},43786:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LANGUAGE_TO_SUFFIX=void 0,t.LANGUAGE_TO_SUFFIX={abap:".abap",bat:".bat",bibtex:".bib",c:".c",clojure:".clj",coffeescript:".coffee",cpp:".cpp",csharp:".cs",css:".css","cuda-cpp":".cu",dart:".dart",diff:".diff",dockerfile:".dockerfile",fsharp:".fs",go:".go",groovy:".groovy",haml:".haml",handlebars:".handlebars",hlsl:".hlsl",html:".html",ini:".ini",jade:".jade",java:".java",javascript:".js",javascriptreact:".jsx",json:".json",julia:".jl",latex:".tex",less:".less",lua:".lua",makefile:".make",markdown:".md","objective-c":".m","objective-cpp":".mm",perl:".pl",perl6:".6pl",php:".php",plaintext:".txt",powershell:".ps1",pug:".pug",python:".py",r:".r",razor:".cshtml",ruby:".rb",rust:".rs",sass:".sass",scss:".scss",shaderlab:".shader",shellscript:".sh",slim:".slim",sql:".sql",stylus:".styl",swift:".swift",tex:".tex",typescript:".ts",typescriptreact:".tsx",vb:".vb",vue:".vue",xml:".xml",xsl:".xsl",yaml:".yaml"}},72148:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasicTextLines=void 0;class e{constructor(r,o){this._lines=r,this._eol=o}getContent(){return this._lines.join(this._eol)}_setLineText(r,o){this._lines[r]=o}acceptEol(r){this._eol=r}acceptChange(r){this._acceptDeleteRange(r.range),this._acceptInsertText({lineNumber:r.range.startLineNumber,column:r.range.startColumn},r.text||"")}_getLineContent(r){return this._lines[r]||""}_acceptDeleteRange(r){if(r.startLineNumber===r.endLineNumber){if(r.startColumn===r.endColumn)return;this._setLineText(r.startLineNumber-1,this._getLineContent(r.startLineNumber-1).substring(0,r.startColumn-1)+this._getLineContent(r.startLineNumber-1).substring(r.endColumn-1));return}this._setLineText(r.startLineNumber-1,this._getLineContent(r.startLineNumber-1).substring(0,r.startColumn-1)+this._getLineContent(r.endLineNumber-1).substring(r.endColumn-1)),this._lines.splice(r.startLineNumber,r.endLineNumber-r.startLineNumber)}_acceptInsertText(r,o){if(o.length===0)return;const c=o.split(/\r\n|\r|\n/);if(c.length===1){this._setLineText(r.lineNumber-1,this._getLineContent(r.lineNumber-1).substring(0,r.column-1)+c[0]+this._getLineContent(r.lineNumber-1).substring(r.column-1));return}c[c.length-1]+=this._getLineContent(r.lineNumber-1).substring(r.column-1),this._setLineText(r.lineNumber-1,this._getLineContent(r.lineNumber-1).substring(0,r.column-1)+c[0]);const p=new Uint32Array(c.length-1);for(let v=1;v<c.length;v++)this._lines.splice(r.lineNumber+v-1,0,c[v]),p[v-1]=c[v].length+this._eol.length}}t.BasicTextLines=e},33783:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localizationRegistryMap=void 0,t.localize=p,t.formatLocalize=v,t.registerLocalizationBundle=m,t.getLanguageId=g,t.getCodeLanguage=l,t.getCurrentLanguageInfo=h,t.setLanguageId=u,t.getAvailableLanguages=d,t.replaceLocalizePlaceholder=f,t.replaceNlsField=a,t.createLocalizedStr=b,t.createFormatLocalizedStr=y;const n=e(70392),{format:r,mnemonicButtonLabel:o}=n.strings;let c="zh-CN";t.localizationRegistryMap=new n.CaseInsensitiveMap;function p(A,S,w="host",T=c){return E(w).getLocalizeString(A,S,T)}function v(A,...S){return r(p(A),...S)}function m(A,S="host"){return E(S).registerLocalizationBundle(A)}function _(A){return typeof A=="object"&&A.message}class s{constructor(){this.localizationMap=new n.CaseInsensitiveMap,this.localizationInfo=new n.CaseInsensitiveMap}registerLocalizationBundle(S){const w=S.languageId;if(!w)return;const T=this.getContents(w);Object.keys(S.contents).forEach(D=>{const I=S.contents[D];let O;_(I)?O=I.message:O=I,T[D]=o(O,!0)}),this.localizationInfo.has(w)||this.localizationInfo.set(w,Object.assign({},S,{contents:void 0}))}getLocalizeString(S,w,T=c){return this.getContents(T)[S]||this.getContents("default")[S]||w||""}getContents(S="zh-CN"){return S?(this.localizationMap.has(S)||this.localizationMap.set(S,{}),this.localizationMap.get(S)):{}}getAllLanguages(){return Array.from(this.localizationInfo.values())}}function g(){return c}function l(){var A;const S=c.toLowerCase();return(A={"en-us":"en"}[S])!==null&&A!==void 0?A:S}function h(A="host"){return E(A).localizationInfo.get(c)}function u(A){c=A}function d(A="host"){return E(A).getAllLanguages()}function E(A){return t.localizationRegistryMap.has(A)||t.localizationRegistryMap.set(A,new s),t.localizationRegistryMap.get(A)}function f(A,S){return A&&A.replace(/%(.*?)%/g,(w,T)=>p(T,w,S).replace(/\"/g,'\\"'))}function a(A,S,w=void 0,T=c){if(A){const I=/^%([\w\d.-]+)%$/i.exec(A);if(I)return p(I[1],w,S,T)}return A}function b(A,S,w,T,D="en-US"){const I=a(A,S,w,T)||A,O=a(A,S,void 0,D);return{raw:A,localized:I,alias:O||I}}function y(A,...S){const w="en-US",T=r(p(A,A,void 0),...S)||A,D=r(p(A,A,void 0,w),...S);return{raw:A,localized:T,alias:D||T}}},4892:(x,t,e)=>{"use strict";var n=e(39907);Object.defineProperty(t,"__esModule",{value:!0}),t.ILogger=t.DebugLog=t.ILoggerManagerClient=t.LogServiceForClientPath=t.ILogServiceManager=t.SupportLogNamespace=t.LogLevel=void 0,t.getDebugLogger=m;var r;(function(_){_[_.Verbose=0]="Verbose",_[_.Debug=1]="Debug",_[_.Info=2]="Info",_[_.Warning=3]="Warning",_[_.Error=4]="Error",_[_.Critical=5]="Critical",_[_.Off=6]="Off"})(r||(t.LogLevel=r={}));var o;(function(_){_.Main="main",_.Render="render",_.Node="node",_.Browser="browser",_.ExtensionHost="extHost",_.WatcherHost="watcherHost",_.App="app",_.OTHER="other"})(o||(t.SupportLogNamespace=o={})),t.ILogServiceManager=Symbol("ILogServiceManager"),t.LogServiceForClientPath="LogServiceForClientPath",t.ILoggerManagerClient=Symbol("ILoggerManagerClient");const c=typeof n<"u"&&n.release,p=!c&&/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);class v{constructor(s){this.isEnable=!1,this.verbose=(...g)=>{if(this.isEnable)return console.debug(this.getPre("verbose","green"),...g)},this.debug=(...g)=>{if(this.isEnable)return console.debug(this.getPre("debug","blue"),...g)},this.log=(...g)=>{if(this.isEnable)return console.log(this.getPre("log","green"),...g)},this.error=(...g)=>console.error(this.getPre("error","red"),...g),this.warn=(...g)=>{if(this.isEnable)return console.warn(this.getPre("warn","yellow"),...g)},this.info=(...g)=>{if(this.isEnable)return console.info(this.getPre("log","green"),...g)},typeof n<"u"&&n.env&&n.env.KTLOG_SHOW_DEBUG&&(this.isEnable=!0),this.namespace=s||""}getPre(s,g){let l=this.getColor("green",`[${new Date().toLocaleString("zh-CN")}] `);return l+=this.namespace?`[${this.namespace}:${s}]`:`[${s}]`,this.getColor(g,l)}getColor(s,g){if(!c&&!p)return g;const l={reset:"\x1B[0m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",blackBg:"\x1B[40m",redBg:"\x1B[41m",greenBg:"\x1B[42m",yellowBg:"\x1B[43m",blueBg:"\x1B[44m",magentaBg:"\x1B[45m",cyanBg:"\x1B[46m",whiteBg:"\x1B[47m"};return(l[s]||"")+g+l.reset}destroy(){}}t.DebugLog=v,t.ILogger=Symbol("ILogger");function m(_){function s(){}const g=new v(_);return{get verbose(){return g.verbose},get log(){return g.log},get debug(){return g.debug},get error(){return g.error},get info(){return g.info},get warn(){return g.warn},destroy(){}}}},48669:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toMarkdownString=e;function e(n,r){return{value:n,...r}}},52015:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IElectronMainMenuService=void 0,t.IElectronMainMenuService="IElectronMainMenuService"},3092:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mimes=void 0,t.normalizeMimeType=n,t.isTextStreamMime=r,t.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"});const e=/^(.+)\/(.+?)(;.+)?$/;function n(o,c){var p;const v=e.exec(o);return v?`${v[1].toLowerCase()}/${v[2].toLowerCase()}${(p=v[3])!==null&&p!==void 0?p:""}`:c?void 0:o}function r(o){return["application/vnd.code.notebook.stdout","application/vnd.code.notebook.stderr"].includes(o)}},85200:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleDependenciesKey=t.BasicModule=void 0,t.ModuleDependencies=c,t.getModuleDependencies=p;const n=e(85608),r=e(76003);let o=class{};t.BasicModule=o,n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],o.prototype,"injector",void 0),t.BasicModule=o=n.__decorate([(0,r.Injectable)()],o),t.ModuleDependenciesKey="dependencies";function c(v){return m=>{Reflect.defineMetadata(t.ModuleDependenciesKey,v,m)}}function p(v){return Reflect.getMetadata(t.ModuleDependenciesKey,v)}},10484:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Schemes=void 0;var e;(function(n){n.inMemory="inmemory",n.vscode="vscode",n.internal="private",n.walkThrough="walkThrough",n.walkThroughSnippet="walkThroughSnippet",n.http="http",n.https="https",n.file="file",n.mailto="mailto",n.untitled="untitled",n.data="data",n.command="command",n.vscodeRemote="vscode-remote",n.userData="vscode-userdata",n.userStorage="user_storage",n.design="design",n.wasm="wasm",n.monaco="monaco",n.notebookCell="vscode-notebook-cell"})(e||(t.Schemes=e={}))},87863:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultFilesWatcherExcludes=void 0,t.flattenExcludes=e,t.defaultFilesWatcherExcludes={"**/.git/objects/**":!0,"**/.git/subtree-cache/**":!0,"**/node_modules/**/*":!0,"**/.hg/store/**":!0};function e(n){const r=[];for(const o of Object.keys(n))n[o]&&r.push(o);return r}},67607:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(18292),t),n.__exportStar(e(87023),t)},18292:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PREFERENCE_PROPERTY_TYPE=t.PreferenceDataProperty=t.PreferenceSchemaProperties=t.PreferenceSchema=void 0;const n=e(87023);var r;(function(p){function v(_){return!!_&&"properties"in _&&o.is(_.properties)}p.is=v;function m(_){let s=n.PreferenceScope.Workspace;return n.PreferenceScope.is(_.scope)?s=_.scope:s=n.PreferenceScope.fromString(_.scope)||n.PreferenceScope.Workspace,s}p.getDefaultScope=m})(r||(t.PreferenceSchema=r={}));var o;(function(p){function v(m){return!!m&&typeof m=="object"}p.is=v})(o||(t.PreferenceSchemaProperties=o={}));var c;(function(p){function v(m,_=n.PreferenceScope.Workspace){if(!m.scope)m.scope=_;else if(typeof m.scope=="string")return Object.assign(m,{scope:n.PreferenceScope.fromString(m.scope)||_});return m}p.fromPreferenceSchemaProperty=v})(c||(t.PreferenceDataProperty=c={})),t.PREFERENCE_PROPERTY_TYPE={STRING:"string",ARRAY:"array",INT:"integer",NUMBER:"number",OBJECT:"object",BOOLEAN:"boolean",NULL:"null",STRING_ARRAY:"string[]"}},87023:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VSCODE_WORKSPACE_CONFIGURATION_DIR_NAME=t.DEFAULT_WORKSPACE_CONFIGURATION_DIR_NAME=t.UserScope=t.WorkspaceScope=t.PreferenceScope=void 0;var e;(function(n){n[n.Default=0]="Default",n[n.User=1]="User",n[n.Workspace=2]="Workspace",n[n.Folder=3]="Folder"})(e||(t.PreferenceScope=e={})),t.WorkspaceScope={id:e.Workspace,label:"preference.tab.workspace"},t.UserScope={id:e.User,label:"preference.tab.user"},function(n){function r(m){return typeof m=="number"&&o().findIndex(_=>_===m)>=0}n.is=r;function o(){return Object.keys(n).filter(m=>typeof n[m]=="string").map(m=>Number(m))}n.getScopes=o;function c(){return o().reverse()}n.getReversedScopes=c;function p(m){const _=[],s=Object.keys(n).filter(g=>typeof n[g]=="number");if(m)for(const g of s)n[g]<=m&&_.push(g);return _}n.getScopeNames=p;function v(m){switch(m){case"application":return n.User;case"window":return n.Folder;case"resource":return n.Folder}}n.fromString=v}(e||(t.PreferenceScope=e={})),t.DEFAULT_WORKSPACE_CONFIGURATION_DIR_NAME=".sumi",t.VSCODE_WORKSPACE_CONFIGURATION_DIR_NAME=".vscode"},29574:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProblemMatchersRegistryImpl=t.IProblemMatcherRegistry=t.WatchingMatcher=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(66926);var p;(function(m){function _(s){if(s)return{activeOnStart:!!s.activeOnStart,beginsPattern:typeof s.beginsPattern=="string"?{regexp:s.beginsPattern}:s.beginsPattern,endsPattern:typeof s.endsPattern=="string"?{regexp:s.endsPattern}:s.endsPattern}}m.fromWatchingMatcherContribution=_})(p||(t.WatchingMatcher=p={})),t.IProblemMatcherRegistry=Symbol("IProblemMatcherRegistry");let v=class{constructor(){this.onDidChangeProblemMatcherEmitter=new o.Emitter,this.matchers=new Map,this.get=_=>_.startsWith("$")?this.matchers.get(_.slice(1)):this.matchers.get(_),this.init()}init(){this.fillDefaults()}getAll(){const _=[];for(const s of this.matchers.keys())_.push(this.get(s));return _.sort((s,g)=>s.name.localeCompare(g.name)),_}register(_){if(!_.name)return console.error("Only named Problem Matchers can be registered."),o.Disposable.NULL;const s=new o.DisposableCollection(o.Disposable.create(()=>{this.onDidChangeProblemMatcherEmitter.fire(void 0)}));return this.doRegister(_,s).then(()=>this.onDidChangeProblemMatcherEmitter.fire(void 0)),s}async doRegister(_,s){const g=await this.getProblemMatcherFromContribution(_);s.disposed||s.push(this.add(g))}add(_){return this.matchers.set(_.name,_),o.Disposable.create(()=>this.matchers.delete(_.name))}async getProblemMatcherFromContribution(_){let s;_.base&&(s=this.get(_.base));let g,l;if(_.fileLocation===void 0)g=s?s.fileLocation:c.FileLocationKind.Relative,l=s?s.filePrefix:"${workspaceFolder}";else{const b=this.getFileLocationKindAndPrefix(_);g=b.fileLocation,l=b.filePrefix}const h=[];if(_.pattern)if(typeof _.pattern=="string"){await this.problemPattern.onReady();const b=this.problemPattern.get(_.pattern);Array.isArray(b)?h.push(...b):b&&h.push(b)}else Array.isArray(_.pattern)?h.push(..._.pattern.map(b=>c.ProblemPattern.fromProblemPatternContribution(b))):h.push(c.ProblemPattern.fromProblemPatternContribution(_.pattern));else s&&h.push(...s.pattern);let u=_.deprecated;u===void 0&&s&&(u=s.deprecated);let d;_.applyTo===void 0?d=s?s.applyTo:c.ApplyToKind.allDocuments:d=c.ApplyToKind.fromString(_.applyTo)||c.ApplyToKind.allDocuments;let E=c.Severity.fromValue(_.severity);_.severity===void 0&&s&&s.severity!==void 0&&(E=s.severity);let f=p.fromWatchingMatcherContribution(_.background||_.watching);return f===void 0&&s&&(f=s.watching),{name:_.name||(s?s.name:void 0),label:_.label||(s?s.label:void 0),deprecated:u,owner:_.owner||(s?s.owner:""),source:_.source||(s?s.source:void 0),applyTo:d,fileLocation:g,filePrefix:l,pattern:h,severity:E,watching:f}}getFileLocationKindAndPrefix(_){let s=c.FileLocationKind.Relative,g="${workspaceFolder}";if(_.fileLocation!==void 0)if(Array.isArray(_.fileLocation)){if(_.fileLocation.length>0){const l=c.FileLocationKind.fromString(_.fileLocation[0]);_.fileLocation.length===1&&l===c.FileLocationKind.Absolute?s=l:_.fileLocation.length===2&&l===c.FileLocationKind.Relative&&_.fileLocation[1]&&(s=l,g=_.fileLocation[1])}}else{const l=c.FileLocationKind.fromString(_.fileLocation);l&&(s=l,l===c.FileLocationKind.Relative&&(g="${workspaceFolder}"))}return{fileLocation:s,filePrefix:g}}fillDefaults(){this.add({name:"msCompile",label:"Microsoft compiler problems",owner:"msCompile",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("msCompile")}),this.add({name:"lessCompile",label:"Less problems",deprecated:!0,owner:"lessCompile",source:"less",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("lessCompile"),severity:c.Severity.Error}),this.add({name:"gulp-tsc",label:"Gulp TSC Problems",owner:"typescript",source:"ts",applyTo:c.ApplyToKind.closedDocuments,fileLocation:c.FileLocationKind.Relative,filePrefix:"${workspaceFolder}",pattern:this.problemPattern.get("gulp-tsc")}),this.add({name:"jshint",label:"JSHint problems",owner:"jshint",source:"jshint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("jshint")}),this.add({name:"jshint-stylish",label:"JSHint stylish problems",owner:"jshint",source:"jshint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("jshint-stylish")}),this.add({name:"eslint-compact",label:"ESLint compact problems",owner:"eslint",source:"eslint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,filePrefix:"${workspaceFolder}",pattern:this.problemPattern.get("eslint-compact")}),this.add({name:"eslint-stylish",label:"ESLint stylish problems",owner:"eslint",source:"eslint",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Absolute,pattern:this.problemPattern.get("eslint-stylish")}),this.add({name:"go",label:"Go problems",owner:"go",source:"go",applyTo:c.ApplyToKind.allDocuments,fileLocation:c.FileLocationKind.Relative,filePrefix:"${workspaceFolder}",pattern:this.problemPattern.get("go")})}};t.ProblemMatchersRegistryImpl=v,n.__decorate([(0,r.Autowired)(c.IProblemPatternRegistry),n.__metadata("design:type",Object)],v.prototype,"problemPattern",void 0),t.ProblemMatchersRegistryImpl=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},66926:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProblemPatternRegistryImpl=t.IProblemPatternRegistry=t.Severity=t.ProblemMatchData=t.ProblemPattern=t.NamedMultiLineCheckedProblemPattern=t.NamedProblemPattern=t.MultiLineCheckedProblemPattern=t.MultiLineProblemPattern=t.CheckedProblemPattern=t.FileLocationKind=t.ProblemLocationKind=t.ApplyToKind=void 0,t.rangeAreEqual=d,t.diagnosticAreEquals=f;const n=e(85608),r=e(76003),o=e(70392);var c;(function(A){A[A.allDocuments=0]="allDocuments",A[A.openDocuments=1]="openDocuments",A[A.closedDocuments=2]="closedDocuments"})(c||(t.ApplyToKind=c={}));var p;(function(A){A[A.Error=1]="Error",A[A.Warning=2]="Warning",A[A.Information=3]="Information",A[A.Hint=4]="Hint"})(p||(p={})),function(A){function S(w){if(w){if(w=w.toLowerCase(),w==="alldocuments")return A.allDocuments;if(w==="opendocuments")return A.openDocuments;if(w==="closeddocuments")return A.closedDocuments}}A.fromString=S}(c||(t.ApplyToKind=c={}));var v;(function(A){A[A.File=0]="File",A[A.Location=1]="Location"})(v||(t.ProblemLocationKind=v={})),function(A){function S(w){return w=w.toLowerCase(),w==="file"?A.File:w==="location"?A.Location:void 0}A.fromString=S}(v||(t.ProblemLocationKind=v={}));var m;(function(A){function S(w){return w=w.toLowerCase(),w==="absolute"?A.Absolute:w==="relative"?A.Relative:void 0}A.fromString=S})(m||(t.FileLocationKind=m={})),function(A){A[A.Default=0]="Default",A[A.Relative=1]="Relative",A[A.Absolute=2]="Absolute",A[A.AutoDetect=3]="AutoDetect"}(m||(t.FileLocationKind=m={}));var _;(function(A){function S(w){const T=w;return T&&(0,o.isString)(T.regexp)}A.is=S})(_||(t.CheckedProblemPattern=_={}));var s;(function(A){function S(w){return w&&(0,o.isArray)(w)}A.is=S})(s||(t.MultiLineProblemPattern=s={}));var g;(function(A){function S(w){if(!s.is(w))return!1;for(const T of w)if(!_.is(T))return!1;return!0}A.is=S})(g||(t.MultiLineCheckedProblemPattern=g={}));var l;(function(A){function S(w){const T=w;return T&&(0,o.isString)(T.name)}A.is=S})(l||(t.NamedProblemPattern=l={}));var h;(function(A){function S(w){const T=w;return T&&(0,o.isString)(T.name)&&(0,o.isArray)(T.patterns)&&g.is(T.patterns)}A.is=S})(h||(t.NamedMultiLineCheckedProblemPattern=h={}));var u;(function(A){function S(w){return{name:w.name,regexp:w.regexp,kind:w.kind?v.fromString(w.kind):void 0,file:w.file,message:w.message,location:w.location,line:w.line,character:w.column||w.character,endLine:w.endLine,endCharacter:w.endColumn||w.endCharacter,code:w.code,severity:w.severity,loop:w.loop}}A.fromProblemPatternContribution=S})(u||(t.ProblemPattern=u={}));function d(A,S){return typeof A>"u"&&typeof S>"u"?!0:A.start.line===S.start.line&&A.start.character===S.start.character&&A.end.line===S.end.line&&A.end.character===S.end.character}function E(A,S){return typeof A=="object"&&typeof S=="object"?A.value===S.value&&A.target===S.target:A===S}function f(A,S){return E(A?.code,S?.code)&&A?.message===S?.message&&A?.source===S?.source&&d(A?.range,S?.range)}var a;(function(A){function S(w){return"marker"in w}A.is=S})(a||(t.ProblemMatchData=a={}));var b;(function(A){A[A.Ignore=0]="Ignore",A[A.Error=1]="Error",A[A.Warning=2]="Warning",A[A.Info=3]="Info",A[A.Log=4]="Log"})(b||(t.Severity=b={})),function(A){const S="Errors",w="Warnings",T="Info",D="Log",I="All";function O(k){return k=k&&k.toLowerCase(),k?["error","errors"].indexOf(k)!==-1?A.Error:["warn","warning","warnings"].indexOf(k)!==-1?A.Warning:k==="info"?A.Info:k==="log"?A.Log:A.Ignore:A.Ignore}A.fromValue=O;function M(k){switch(k){case A.Ignore:return p.Hint;case A.Info:return p.Information;case A.Log:return p.Information;case A.Warning:return p.Warning;case A.Error:return p.Error;default:return p.Error}}A.toDiagnosticSeverity=M;function R(k){switch(k){case A.Error:return S;case A.Warning:return w;case A.Info:return T;case A.Log:return D;default:return I}}A.toString=R;function P(){return[I,S,w,T,D]}A.toArray=P}(b||(t.Severity=b={})),t.IProblemPatternRegistry=Symbol("ProblemPatternRegistry");let y=class{constructor(){this.patterns=new Map,this.init()}init(){this.fillDefaults(),this.readyPromise=new Promise((S,w)=>S(void 0))}onReady(){return this.readyPromise}register(S){if(Array.isArray(S)){const T=new o.DisposableCollection;return S.forEach(D=>T.push(this.register(D))),T}if(!S.name)return console.error("Only named Problem Patterns can be registered."),o.Disposable.NULL;const w=u.fromProblemPatternContribution(S);return this.add(w.name,w)}get(S){return S.startsWith("$")?this.patterns.get(S.slice(1)):this.patterns.get(S)}add(S,w){let T;return Array.isArray(w)?T=w.map(D=>Object.assign(D,{name:S})):T=Object.assign(w,{name:S}),this.patterns.set(S,T),o.Disposable.create(()=>this.patterns.delete(S))}fillDefaults(){this.add("msCompile",{regexp:/^(?:\s+\d+\>)?([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w{1,2}\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("gulp-tsc",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(\d+)\s+(.*)$/.source,kind:v.Location,file:1,location:2,code:3,message:4}),this.add("cpp",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(error|warning|info)\s+(C\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("csc",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(error|warning|info)\s+(CS\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("vb",{regexp:/^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(error|warning|info)\s+(BC\d+)\s*:\s*(.*)$/.source,kind:v.Location,file:1,location:2,severity:3,code:4,message:5}),this.add("lessCompile",{regexp:/^\s*(.*) in file (.*) line no. (\d+)$/.source,kind:v.Location,message:1,file:2,line:3}),this.add("jshint",{regexp:/^(.*):\s+line\s+(\d+),\s+col\s+(\d+),\s(.+?)(?:\s+\((\w)(\d+)\))?$/.source,kind:v.Location,file:1,line:2,character:3,message:4,severity:5,code:6}),this.add("jshint-stylish",[{regexp:/^(.+)$/.source,kind:v.Location,file:1},{regexp:/^\s+line\s+(\d+)\s+col\s+(\d+)\s+(.+?)(?:\s+\((\w)(\d+)\))?$/.source,line:1,character:2,message:3,severity:4,code:5,loop:!0}]),this.add("eslint-compact",{regexp:/^(.+):\sline\s(\d+),\scol\s(\d+),\s(Error|Warning|Info)\s-\s(.+)\s\((.+)\)$/.source,file:1,kind:v.Location,line:2,character:3,severity:4,message:5,code:6}),this.add("eslint-stylish",[{regexp:/^([^\s].*)$/.source,kind:v.Location,file:1},{regexp:/^\s+(\d+):(\d+)\s+(error|warning|info)\s+(.+?)(?:\s\s+(.*))?$/.source,line:1,character:2,severity:3,message:4,code:5,loop:!0}]),this.add("go",{regexp:/^([^:]*: )?((.:)?[^:]*):(\d+)(:(\d+))?: (.*)$/.source,kind:v.Location,file:2,line:4,character:6,message:7})}};t.ProblemPatternRegistryImpl=y,t.ProblemPatternRegistryImpl=y=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],y)},6859:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ref=t.ReferenceManager=void 0,t.normalizeFileUrl=r;const n=e(70392);function r(p){return p.replace(/\w+\/\/\w+/gi,v=>v.replace("//","/"))}class o{constructor(v){this.factory=v,this.instances=new Map,this.refs=new Map,this._onReferenceAllDisposed=new n.Emitter,this._onInstanceCreated=new n.Emitter,this.onReferenceAllDisposed=this._onReferenceAllDisposed.event,this.onInstanceCreated=this._onInstanceCreated.event,this._creating=new Map}async getReference(v,m){const _=r(v);if(!this.instances.has(_)){if(!this._creating.has(_)){const g=(async()=>{const l=await this.factory(_);this.instances.set(_,l),this._onInstanceCreated.fire(l)})();this._creating.set(_,g)}try{await this._creating.get(_)}catch(g){throw this._creating.delete(_),g}}const s=this.createRef(_,m);if(this._creating.get(_)){const g=this._creating.get(_);this._creating.delete(_),g?.then(()=>{this.removeRef(_,void 0)})}return s}getReferenceIfHasInstance(v,m){return this.instances.has(v)?this.createRef(v,m):null}createRef(v,m){const _=this.instances.get(v),s=new c(_,m,g=>this.createRef(v,g));return s.addDispose({dispose:()=>{this.removeRef(v,s)}}),this.addRef(v,s),s}addRef(v,m){this.refs.get(v)||this.refs.set(v,[]),this.refs.get(v).push(m)}removeRef(v,m){if(this.refs.get(v)){if(m){const _=this.refs.get(v).indexOf(m);_!==-1&&this.refs.get(v).splice(_,1)}if(this.refs.get(v).length===0){if(this._creating.has(v))return;this.refs.delete(v),this.instances.delete(v),this._onReferenceAllDisposed.fire(v)}}}}t.ReferenceManager=o;class c extends n.Disposable{constructor(v,m,_){super(),this._instance=v,this.reason=m,this._clone=_,this.addDispose({dispose:()=>{this._instance=null,this._clone=null}})}get instance(){if(this.disposed)throw new Error("Ref has been disposed!");return this._instance}hold(v){if(this.disposed)throw new Error("Ref has been disposed!");return this._clone(v)}}t.Ref=c},83176:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GDataStore=p,t.SessionDataStore=v,t.injectGDataStores=_,t.injectSessionDataStores=s;const n=e(76003),r=e(13581),o={GDataStore:{},SessionDataStore:{}};function c(g,l,h){if(o[g][l])return o[g][l].sym;const u=Symbol(`${g}:${l}`);return o[g][l]={sym:u,options:h},u}function p(g,l){const h=c("GDataStore",g,l);return(0,n.Autowired)(h)}function v(g,l){const h=c("SessionDataStore",g,l);return(0,n.Autowired)(h)}function m(g,l){const h=o[g];h&&l.addProviders(...Object.values(h).map(u=>({token:u.sym,useValue:new r.InMemoryDataStore(u.options)})))}function _(g){m("GDataStore",g)}function s(g){m("SessionDataStore",g)}},50068:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(83176),t),n.__exportStar(e(13581),t)},29746:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=o;const n=e(70392);function r(c){const p=[];Object.entries(c).forEach(([m,_])=>{p.push(`item[${JSON.stringify(m)}] === ${JSON.stringify(_)}`)});const v=`
31504
31504
  return ${p.join(" && ")};
31505
31505
  `;return new Function("item",v)}function o(c,p){const v=r(p),m=[];let _;c instanceof Map?_=c.values():(0,n.isIterable)(c)?_=c:_=Object.values(c);for(const s of _)v(s)&&m.push(s);return m}},13581:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryDataStore=void 0;const r=e(85608).__importDefault(e(24015)),o=e(40396),c=e(70392),p=e(29746);class v extends o.EventEmitter{constructor(_){super(),this.options=_,this.store=new Map,this._uid=0,this.id=_?.id||"id"}create(_){const s=_[this.id]||this._uid++,g=(0,r.default)({},_,{[this.id]:s});return this.store.set(s,g),this.emit("created",g),g}find(_){return(0,c.isUndefined)(_)?Array.from(this.store.values()):(0,p.select)(this.store,_)}count(_){var s;return(0,c.isUndefined)(_)?this.store.size:((s=this.find(_))===null||s===void 0?void 0:s.length)||0}get(_){return this.store.get(_)}has(_){return this.store.has(_)}update(_,s){const g=this.store.get(_);if((0,c.isUndefined)(g))return;const l=(0,r.default)({},g,s);this.emit("updated",g,l),this.store.set(_,l)}remove(_){const s=this.store.get(_);s&&this.emit("removed",s),this.store.delete(_)}removeItem(_){const s=_[this.id];(0,c.isUndefined)(s)||this.remove(s)}removeAll(_){if((0,c.isUndefined)(_)){const g=Array.from(this.store.values());this.store.clear(),g.forEach(l=>{this.emit("removed",l)});return}const s=this.find(_);s&&s.forEach(g=>{this.store.delete(g[this.id]),this.emit("removed",g)})}}t.InMemoryDataStore=v},69383:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLIENT_ID_TOKEN=void 0,t.getRemoteServiceData=v,t.RemoteService=m,t.runInRemoteServiceContext=_;const n=e(85608),r=e(76003);n.__exportStar(e(50068),t),t.CLIENT_ID_TOKEN=Symbol("CLIENT_ID_TOKEN");const o=Symbol("Do_Not_Allow_Instantiate_RemoteService"),c=Symbol("RemoteServiceData");function p(s,g,l){Reflect.defineMetadata(c,{servicePath:g,protocol:l},s)}function v(s){return Reflect.getMetadata(c,s)}function m(s,g){return function(l){(0,r.markInjectable)(l),(0,r.setParameters)(l,[Symbol]),(0,r.Inject)(o)(l,"",0),p(l,s,g)}}m.getName=function(s){return typeof s=="function"?s.name:String(s)};function _(s,g){return s.overrideProviders({token:o,useValue:o,override:!0}),g(),s.disposeOne(o),s.creatorMap.delete(o),s}},7421:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReporterService=t.DefaultReporter=void 0;const n=e(85608),r=e(76003),o=e(4892),c=e(14859);class p{constructor(s,g,l){this.name=s,this.reporter=g,this.metadata=l,this.now=Date.now()}getElapsedTime(){return Date.now()-this.now}timeEnd(s,g,l){const h=this.getElapsedTime();return l?.minimumReportThresholdTime&&h<l.minimumReportThresholdTime||this.reporter.performance(this.name,{duration:h,metadata:this.metadata,msg:s,extra:g}),h}}let v=class{constructor(){this.logger=(0,o.getDebugLogger)()}performance(s,g){this.logger.log(s,g)}point(s,g){this.logger.log(s,g)}};t.DefaultReporter=v,t.DefaultReporter=v=n.__decorate([(0,r.Injectable)()],v);let m=class{constructor(s,g){this.reporter=s,this.metadata=g}time(s){return new p(s,this.reporter,this.metadata)}point(s,g,l){this.reporter.point(s,{metadata:this.metadata,msg:g,extra:l})}dispose(){}};t.ReporterService=m,t.ReporterService=m=n.__decorate([(0,r.Injectable)(),n.__param(0,(0,r.Inject)(c.IReporter)),n.__param(1,(0,r.Inject)(c.ReporterMetadata)),n.__metadata("design:paramtypes",[Object,Object])],m)},27284:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AI_NATIVE_SETTING_GROUP_TITLE=t.AI_NATIVE_SETTING_GROUP_ID=t.AINativeSettingSectionsId=void 0;var e;(function(n){n.InlineDiffPreviewMode="ai.native.inlineDiff.preview.mode",n.InlineChatAutoVisible="ai.native.inlineChat.auto.visible",n.InlineChatCodeActionEnabled="ai.native.inlineChat.codeAction.enabled",n.InterfaceQuickNavigationEnabled="ai.native.interface.quickNavigation.enabled",n.ChatVisibleType="ai.native.chat.visible.type",n.IntelligentCompletionsPromptEngineeringEnabled="ai.native.intelligentCompletions.promptEngineering.enabled",n.IntelligentCompletionsDebounceTime="ai.native.intelligentCompletions.debounceTime",n.IntelligentCompletionsCacheEnabled="ai.native.intelligentCompletions.cache.enabled",n.IntelligentCompletionsAlwaysVisible="ai.native.intelligentCompletions.alwaysVisible",n.CodeEditsLintErrors="ai.native.codeEdits.lintErrors",n.CodeEditsLineChange="ai.native.codeEdits.lineChange",n.CodeEditsTyping="ai.native.codeEdits.typing",n.CodeEditsRenderType="ai.native.codeEdits.renderType",n.LLMModelSelection="ai.native.llm.model.selection",n.ContextWindow="ai.native.llm.contextWindow",n.MaxTokens="ai.native.llm.maxTokens",n.ModelID="ai.native.llm.model.id",n.DeepseekApiKey="ai.native.deepseek.apiKey",n.AnthropicApiKey="ai.native.anthropic.apiKey",n.OpenaiApiKey="ai.native.openai.apiKey",n.OpenaiBaseURL="ai.native.openai.baseURL",n.MCPServers="ai.native.mcp.servers",n.SystemPrompt="ai.native.chat.system.prompt"})(e||(t.AINativeSettingSectionsId=e={})),t.AI_NATIVE_SETTING_GROUP_ID="AI-Native",t.AI_NATIVE_SETTING_GROUP_TITLE="AI Native"},92614:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSettingsId=void 0;var e;(function(n){n.Icon="general.icon",n.Theme="general.theme",n.Language="general.language",n.ProductIconTheme="general.productIconTheme"})(e||(t.GeneralSettingsId=e={}))},71990:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(92614),t),n.__exportStar(e(13988),t),n.__exportStar(e(65408),t),n.__exportStar(e(73278),t),n.__exportStar(e(27284),t)},73278:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},13988:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65408:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9331:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StoragePaths=t.DefaultStorageProvider=t.STORAGE_NAMESPACE=t.STORAGE_SCHEMA=t.StorageResolverContribution=t.StorageProvider=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(31470);t.StorageProvider=Symbol("StorageProvider"),t.StorageResolverContribution=Symbol("StorageResolverContribution"),t.STORAGE_SCHEMA={SCOPE:"wsdb",GLOBAL:"gldb"},t.STORAGE_NAMESPACE={WORKBENCH:new o.URI("workbench").withScheme(t.STORAGE_SCHEMA.SCOPE),EXTENSIONS:new o.URI("extensions").withScheme(t.STORAGE_SCHEMA.SCOPE),EXPLORER:new o.URI("explorer").withScheme(t.STORAGE_SCHEMA.SCOPE),LAYOUT:new o.URI("layout").withScheme(t.STORAGE_SCHEMA.SCOPE),RECENT_DATA:new o.URI("recent").withScheme(t.STORAGE_SCHEMA.SCOPE),DEBUG:new o.URI("debug").withScheme(t.STORAGE_SCHEMA.SCOPE),OUTLINE:new o.URI("outline").withScheme(t.STORAGE_SCHEMA.SCOPE),CHAT:new o.URI("chat").withScheme(t.STORAGE_SCHEMA.SCOPE),GLOBAL_LAYOUT:new o.URI("layout-global").withScheme(t.STORAGE_SCHEMA.GLOBAL),GLOBAL_EXTENSIONS:new o.URI("extensions").withScheme(t.STORAGE_SCHEMA.GLOBAL),GLOBAL_RECENT_DATA:new o.URI("recent").withScheme(t.STORAGE_SCHEMA.GLOBAL)};let p=class{constructor(){this.storageCacheMap=new Map}async get(_){if(this.storageCacheMap.has(_.toString()))return this.storageCacheMap.get(_.toString());const s=this.resolversProvider.getContributions();return Promise.race(s.map(async g=>{const l=await g.resolve(_);if(l)return this.storageCacheMap.set(_.toString(),l),l}))}};t.DefaultStorageProvider=p,n.__decorate([(0,r.Autowired)(t.StorageResolverContribution),n.__metadata("design:type",Object)],p.prototype,"resolversProvider",void 0),t.DefaultStorageProvider=p=n.__decorate([(0,r.Injectable)()],p);var v;(function(m){m.WINDOWS_APP_DATA_DIR="AppData",m.WINDOWS_ROAMING_DIR="Roaming",m.DEFAULT_STORAGE_DIR_NAME=".sumi",m.DEFAULT_DATA_DIR_NAME="datas",m.MARKETPLACE_DIR="extensions",m.EXTENSIONS_LOGS_DIR="extensions",m.EXTENSIONS_GLOBAL_STORAGE_DIR="extension-storage",m.EXTENSIONS_WORKSPACE_STORAGE_DIR="workspace-storage"})(v||(t.StoragePaths=v={}))},64779:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaskDefinitionRegistryImpl=t.ITaskDefinitionRegistry=t.KeyedTaskIdentifier=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(33783),{deepClone:p}=o.objects;var v;(function(_){function s(l){const h=Object.keys(l).sort();let u="";for(const d of h){let E=l[d];E instanceof Object?E=s(E):typeof E=="string"&&(E=E.replace(/,/g,",,")),u+=d+","+E+","}return u}function g(l){const u={_key:s(l),type:l.taskType};return Object.assign(u,l),u}_.create=g})(v||(t.KeyedTaskIdentifier=v={})),t.ITaskDefinitionRegistry=Symbol("ITaskDefinitionRegistry");let m=class{constructor(){this.createTaskIdentifier=(s,g)=>{const l=this.get(s.type);if(l===void 0){const E=p(s);return delete E._key,v.create(E)}const h=Object.create(null);h.type=l.taskType;const u=new Set;l.required.forEach(E=>u.add(E));const d=l.properties;for(const E of Object.keys(d)){const f=s[E];if(f!=null)h[E]=f;else if(u.has(E)){const a=d[E];if(a.default!==void 0)h[E]=p(a.default);else switch(a.type){case"boolean":h[E]=!1;break;case"number":case"integer":h[E]=0;break;case"string":h[E]="";break;default:g.error((0,c.formatLocalize)("TaskDefinition.missingRequiredProperty","Error: the task identifier '{0}' is missing the required property '{1}'. The task identifier will be ignored.",JSON.stringify(s,void 0,0),E));return}}}return v.create(h)},this.taskTypes=Object.create(null),this.readyPromise=new Promise((s,g)=>s(void 0))}onReady(){return this.readyPromise}register(s,g){return this.taskTypes[s]=g,o.Disposable.create(()=>delete this.taskTypes[s])}get(s){return this.taskTypes[s]}all(){return Object.keys(this.taskTypes).map(s=>this.taskTypes[s])}getJsonSchema(){if(this._schema===void 0){const s=[];for(const g of this.all()){const l={type:"object",additionalProperties:!1};g.required.length>0&&(l.required=g.required.slice(0)),g.properties!==void 0?l.properties=p(g.properties):l.properties=Object.create(null),l.properties.type={type:"string",enum:[g.taskType]},s.push(l)}this._schema={oneOf:s}}return this._schema}};t.TaskDefinitionRegistryImpl=m,t.TaskDefinitionRegistryImpl=m=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],m)},13639:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeIcon=t.IThemeColor=void 0,t.isThemeColor=c;const n=e(70392),r=e(3908);var o;(function(v){function m(_){return _&&typeof _=="object"&&typeof _.id=="string"}v.isThemeColor=m})(o||(t.IThemeColor=o={}));function c(v){return v&&typeof v=="object"&&typeof v.id=="string"}var p;(function(v){v.iconNameSegment="[A-Za-z0-9]+",v.iconNameExpression="[A-Za-z0-9-]+",v.iconModifierExpression="~[A-Za-z]+",v.iconNameCharacter="[A-Za-z0-9~-]";const m=new RegExp(`^(${v.iconNameExpression})(${v.iconModifierExpression})?$`);function _(b){const y=m.exec(b.id);if(!y)return _(r.Codicon.error);const[,A,S]=y,w=["codicon","codicon-"+A];return S&&w.push("codicon-modifier-"+S.substring(1)),w}v.asClassNameArray=_;function s(b){return _(b).join(" ")}v.asClassName=s;function g(b){return"."+_(b).join(".")}v.asCSSSelector=g;function l(b){return(0,n.isObject)(b)&&(0,n.isString)(b.id)&&((0,n.isUndefined)(b.color)||o.isThemeColor(b.color))}v.isThemeIcon=l;const h=new RegExp(`^\\$\\((${v.iconNameExpression}(?:${v.iconModifierExpression})?)\\)$`);function u(b){const y=h.exec(b);if(!y)return;const[,A]=y;return{id:A}}v.fromString=u;function d(b){return{id:b}}v.fromId=d;function E(b,y){let A=b.id;const S=A.lastIndexOf("~");return S!==-1&&(A=A.substring(0,S)),y&&(A=`${A}~${y}`),{id:A}}v.modify=E;function f(b){const y=b.id.lastIndexOf("~");if(y!==-1)return b.id.substring(y+1)}v.getModifier=f;function a(b,y){var A,S;return b.id===y.id&&((A=b.color)===null||A===void 0?void 0:A.id)===((S=y.color)===null||S===void 0?void 0:S.id)}v.isEqual=a})(p||(t.ThemeIcon=p={}))},40800:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65677:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ECodeEditsSourceTyping=t.CoreMessgaeRoleMap=t.ChatAgentViewServiceToken=t.ChatServiceToken=t.IntelligentCompletionsRegistryToken=t.TerminalRegistryToken=t.ProblemFixRegistryToken=t.RenameCandidatesProviderRegistryToken=t.ResolveConflictRegistryToken=t.ChatRenderRegistryToken=t.ChatFeatureRegistryToken=t.InlineChatFeatureRegistryToken=t.CancelResponse=t.ErrorResponse=t.ReplyResponse=t.AIBackSerivcePath=t.AIBackSerivceToken=t.ECompletionType=void 0,e(85608).__exportStar(e(52664),t);var r;(function(m){m[m.Line=0]="Line",m[m.Snippet=1]="Snippet",m[m.Block=2]="Block"})(r||(t.ECompletionType=r={})),t.AIBackSerivceToken=Symbol("AIBackSerivceToken"),t.AIBackSerivcePath="AIBackSerivcePath";class o{get message(){return this._message}constructor(_){this._message=_}static is(_){return _ instanceof o||typeof _=="object"&&_.message!==void 0}extractCodeContent(){const s=/```\w*([\s\S]+?)\s*```/.exec(this.message);return s?s[1].trim():this.message.trim()}updateMessage(_){this._message=_}}t.ReplyResponse=o;class c{constructor(_,s){this.error=_,this.message=s}static is(_){return _ instanceof c||typeof _=="object"&&_.error!==void 0}}t.ErrorResponse=c;class p{constructor(_){this.message=_,this.cancellation=!0}static is(_){return _ instanceof p||typeof _=="object"&&_.cancellation!==void 0}}t.CancelResponse=p,t.InlineChatFeatureRegistryToken=Symbol("InlineChatFeatureRegistryToken"),t.ChatFeatureRegistryToken=Symbol("ChatFeatureRegistryToken"),t.ChatRenderRegistryToken=Symbol("ChatRenderRegistryToken"),t.ResolveConflictRegistryToken=Symbol("ResolveConflictRegistryToken"),t.RenameCandidatesProviderRegistryToken=Symbol("RenameCandidatesProviderRegistryToken"),t.ProblemFixRegistryToken=Symbol("ProblemFixRegistryToken"),t.TerminalRegistryToken=Symbol("TerminalRegistryToken"),t.IntelligentCompletionsRegistryToken=Symbol("IntelligentCompletionsRegistryToken"),t.ChatServiceToken=Symbol("ChatServiceToken"),t.ChatAgentViewServiceToken=Symbol("ChatAgentViewServiceToken"),t.CoreMessgaeRoleMap={system:0,user:1,tool:3,assistant:2};var v;(function(m){m.LinterErrors="lint_errors",m.LineChange="line_change",m.Typing="typing",m.Trigger="trigger"})(v||(t.ECodeEditsSourceTyping=v={}))},52664:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IAIReporter=t.MergeConflictEditorMode=t.ActionTypeEnum=t.ActionSourceEnum=t.AIServiceType=t.AI_REPORTER_NAME=void 0,t.AI_REPORTER_NAME="AI";var e;(function(c){c.Chat="chat",c.InlineChat="inlineChat",c.CodeAction="codeAction",c.InlineChatInput="inlineChatInput",c.CustomReply="customReply",c.ToolCall="toolCall",c.Completion="completion",c.Agent="agent",c.MergeConflict="mergeConflict",c.Rename="rename",c.TerminalAICommand="terminalAICommand",c.ProblemFix="problemFix",c.CodeEdits="codeEdits"})(e||(t.AIServiceType=e={}));var n;(function(c){c.Chat="chat",c.InlineChat="inlineChat",c.InlineChatInput="inlineChatInput",c.CodeAction="codeAction",c.Terminal="terminal",c.Completion="completion",c.Hover="hover"})(n||(t.ActionSourceEnum=n={}));var r;(function(c){c.Completion="completion",c.DropdownCompletion="dropdownCompletion",c.Rename="rename",c.ChatInsertCode="chatInsertCode",c.ChatCopyCode="chatCopyCode",c.Welcome="welcome",c.Followup="followup",c.Send="send",c.Accept="accept",c.lineAccept="lineAccept",c.Discard="discard",c.LineDiscard="lineDiscard",c.Regenerate="regenerate",c.HoverFix="hoverFix",c.ContextEnhance="contextEnhance"})(r||(t.ActionTypeEnum=r={}));var o;(function(c){c["3way"]="3way",c.traditional="traditional"})(o||(t.MergeConflictEditorMode=o={})),t.IAIReporter=Symbol("IAIReporter")},8170:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IApplicationService=void 0,t.IApplicationService=Symbol("IApplicationService")},38654:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IAuthenticationService=t.ACCOUNTS_SUBMENU=t.ACCOUNTS_MENU=t.noAccountsId=void 0,t.noAccountsId="authentication.noAccounts",t.ACCOUNTS_MENU=["accounts_menu"],t.ACCOUNTS_SUBMENU=[...t.ACCOUNTS_MENU,"1_accounts_submenu"],t.IAuthenticationService=Symbol("IAuthenticationService")},83567:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICommonServer=t.CommonServerPath=void 0,t.CommonServerPath="CommonServerPath",t.ICommonServer=Symbol("ICommonServer")},53622:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileTreeDropEvent=void 0;const n=e(17010);class r extends n.BasicEvent{}t.FileTreeDropEvent=r},63275:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SymbolTag=t.SaveTaskResponseState=t.Position=void 0,t.isEditChange=n;class e{constructor(p,v){this.lineNumber=p,this.column=v}with(p=this.lineNumber,v=this.column){return p===this.lineNumber&&v===this.column?this:new e(p,v)}delta(p=0,v=0){return this.with(this.lineNumber+p,this.column+v)}equals(p){return e.equals(this,p)}static equals(p,v){return!p&&!v?!0:!!p&&!!v&&p.lineNumber===v.lineNumber&&p.column===v.column}isBefore(p){return e.isBefore(this,p)}static isBefore(p,v){return p.lineNumber<v.lineNumber?!0:v.lineNumber<p.lineNumber?!1:p.column<v.column}isBeforeOrEqual(p){return e.isBeforeOrEqual(this,p)}static isBeforeOrEqual(p,v){return p.lineNumber<v.lineNumber?!0:v.lineNumber<p.lineNumber?!1:p.column<=v.column}static compare(p,v){const m=p.lineNumber|0,_=v.lineNumber|0;if(m===_){const s=p.column|0,g=v.column|0;return s-g}return m-_}clone(){return new e(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(p){return new e(p.lineNumber,p.column)}static isIPosition(p){return p&&typeof p.lineNumber=="number"&&typeof p.column=="number"}}t.Position=e;function n(c){return!!c.changes}var r;(function(c){c.ERROR="error",c.SUCCESS="success",c.DIFF="diff"})(r||(t.SaveTaskResponseState=r={}));var o;(function(c){c[c.Deprecated=1]="Deprecated"})(o||(t.SymbolTag=o={}))},82433:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionDidContributes=t.ExtensionActivatedEvent=t.ExtensionActivateEvent=t.ExtensionEnabledEvent=t.ExtensionConnectModeOption=t.ExtensionCandidate=void 0,t.asExtensionCandidate=c;const n=e(17010);class r{}t.ExtensionCandidate=r;var o;(function(s){s[s.TCP=0]="TCP",s[s.IPC=1]="IPC"})(o||(t.ExtensionConnectModeOption=o={}));function c(s,g=!1){return{path:s,isBuiltin:!0,isDevelopment:g}}class p extends n.BasicEvent{}t.ExtensionEnabledEvent=p;class v extends n.BasicEvent{}t.ExtensionActivateEvent=v;class m extends n.BasicEvent{}t.ExtensionActivatedEvent=m;class _ extends n.BasicEvent{}t.ExtensionDidContributes=_},11854:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecursiveWatcherBackend=t.VSCFileChangeType=t.FileChangeType=t.FileChangeEvent=t.FileChange=void 0;const n=e(70392);var r;(function(m){function _(u,d){return u.type===c.UPDATED&&d.toString()===u.uri}m.isUpdated=_;function s(u,d){return u.type===c.ADDED&&d.toString()===u.uri}m.isAdded=s;function g(u,d){return u.type===c.DELETED&&n.URI.file(u.uri).isEqualOrParent(d)}m.isDeleted=g;function l(u,d){return g(u,d)||d.toString()===u.uri}m.isAffected=l;function h(u,d){return!g(u,d)&&d.toString()===u.uri}m.isChanged=h})(r||(t.FileChange=r={}));var o;(function(m){function _(u,d){return u.some(E=>r.isUpdated(E,d))}m.isUpdated=_;function s(u,d){return u.some(E=>r.isAdded(E,d))}m.isAdded=s;function g(u,d){return u.some(E=>r.isDeleted(E,d))}m.isDeleted=g;function l(u,d){return u.some(E=>r.isAffected(E,d))}m.isAffected=l;function h(u,d){return!g(u,d)&&u.some(E=>r.isChanged(E,d))}m.isChanged=h})(o||(t.FileChangeEvent=o={}));var c;(function(m){m[m.UPDATED=0]="UPDATED",m[m.ADDED=1]="ADDED",m[m.DELETED=2]="DELETED"})(c||(t.FileChangeType=c={}));var p;(function(m){m[m.Changed=1]="Changed",m[m.Created=2]="Created",m[m.Deleted=3]="Deleted"})(p||(t.VSCFileChangeType=p={}));var v;(function(m){m.NSFW="nsfw",m.PARCEL="parcel"})(v||(t.RecursiveWatcherBackend=v={}))},31036:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileType=t.FileStat=t.IFileServiceClient=void 0,e(85608).__exportStar(e(11854),t),t.IFileServiceClient=Symbol("IFileServiceClient");var r;(function(c){function p(m){return typeof m=="object"&&"uri"in m&&"lastModification"in m&&"isDirectory"in m}c.is=p;function v(m,_){return!m||!_||!p(m)||!p(_)?!1:m.uri===_.uri&&m.lastModification===_.lastModification&&m.isDirectory===_.isDirectory}c.equals=v})(r||(t.FileStat=r={}));var o;(function(c){c[c.Unknown=0]="Unknown",c[c.File=1]="File",c[c.Directory=2]="Directory",c[c.SymbolicLink=64]="SymbolicLink"})(o||(t.FileType=o={}))},9380:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(63275),t),n.__exportStar(e(82031),t),n.__exportStar(e(31036),t),n.__exportStar(e(28288),t),n.__exportStar(e(82433),t),n.__exportStar(e(14859),t),n.__exportStar(e(79595),t),n.__exportStar(e(53622),t),n.__exportStar(e(83567),t),n.__exportStar(e(8170),t),n.__exportStar(e(38654),t),n.__exportStar(e(40800),t),n.__exportStar(e(64915),t),n.__exportStar(e(81143),t),n.__exportStar(e(63275),t),n.__exportStar(e(65677),t),n.__exportStar(e(92627),t)},81143:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},28288:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(19083),t),n.__exportStar(e(46949),t)},46949:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerManager=t.MarkerStats=void 0;const n=e(85608),r=e(76003),o=e(70392),c=e(17010),p=e(19083),{isFalsyOrEmpty:v}=o.arrays;class m{constructor(g){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._manager=g,this._subscription=g.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose(),this._data=void 0}_update(g){if(this._data)for(const l of g){const h=l.toString(),u=this._data[h];u&&this._substract(u);const d=this._resourceStats(l);this._add(d),this._data[h]=d}}_resourceStats(g){const l={errors:0,warnings:0,infos:0,unknowns:0},h=this._manager.getMarkers({resource:g,opened:!0});for(const{severity:u}of h)u===p.MarkerSeverity.Error?l.errors+=1:u===p.MarkerSeverity.Warning?l.warnings+=1:u===p.MarkerSeverity.Info?l.infos+=1:l.unknowns+=1;return l}_substract(g){this.errors-=g.errors,this.warnings-=g.warnings,this.infos-=g.infos,this.unknowns-=g.unknowns}_add(g){this.errors+=g.errors,this.warnings+=g.warnings,this.infos+=g.infos,this.unknowns+=g.unknowns}}t.MarkerStats=m;let _=class extends c.WithEventBus{constructor(){super(),this._byResource=Object.create(null),this._byType=Object.create(null),this._byResourceCloseCache=Object.create(null),this._openedResource=new Set,this.onMarkerChangedEmitter=new o.Emitter,this.onMarkerChanged=this.onMarkerChangedEmitter.event,this.addDispose([this._stats=new m(this),this.onMarkerChangedEmitter])}updateMarkers(g,l,h){if(v(h)){const u=p.MapMap.remove(this._byResource,l,g),d=p.MapMap.remove(this._byType,g,l);if(u!==d)throw new Error("invalid marker service state");u&&d&&this.onMarkerChangedEmitter.fire([l])}else{const u=[];for(const d of h){const E=this.convertToMarker(g,l,d);E&&u.push(E)}p.MapMap.set(this._byResource,l,g,u),p.MapMap.set(this._byType,g,l,u),this.onMarkerChangedEmitter.fire([l])}}convertToMarker(g,l,h){const{message:u}=h;if(!u)return;let{startLineNumber:d,startColumn:E,endLineNumber:f,endColumn:a}=h;return d=d>0?d:1,E=E>0?E:1,f=f>=d?f:d,a=a>0?a:E,{...h,resource:l,type:g,message:u,startLineNumber:d,startColumn:E,endLineNumber:f,endColumn:a}}clearMarkers(g){const l=[],h=this._byType[g];if(h){delete this._byType[g];for(const u in h){const d=p.MapMap.get(this._byResource,u,g);if(d){const[E]=d;E&&l.push(E.resource),p.MapMap.remove(this._byResource,u,g)}}}this.onMarkerChangedEmitter.fire(l)}clearMarkersOfUri(g){const l=this._byResource[g];if(l){delete this._byResource[g];for(const h in l)p.MapMap.get(this._byType,h,g)&&p.MapMap.remove(this._byType,h,g)}this.onMarkerChangedEmitter.fire([g])}getMarkers(g=Object.create(null)){const{type:l,resource:h,severities:u,opened:d}=g;let{take:E}=g;if((!E||E<0)&&(E=-1),l&&h){const f=p.MapMap.get(this._byResource,h.toString(),l);if(f){const a=[];for(const b of f)if(this.isTargetMarker(b,u,d)){const y=a.push(b);if(E>0&&y===E)break}return a}else return[]}else if(!l&&!h){const f=[];for(const a in this._byResource)for(const b in this._byResource[a])for(const y of this._byResource[a][b])if(this.isTargetMarker(y,u,d)){const A=f.push(y);if(E>0&&A===E)return f}return f}else{const f=l?this._byType[l]:h?this._byResource[h.toString()]:void 0;if(!f)return[];const a=[];for(const b in f)for(const y of f[b])if(this.isTargetMarker(y,u,d)){const A=a.push(y);if(E>0&&A===E)return a}return a}}isTargetMarker(g,l,h){const u=l===void 0||(l&g.severity)===g.severity,d=h?this._openedResource.has(g.resource):!0;return u&&d}getResources(){return p.MapMap.keys(this._byResource)}getStats(){return this._stats}onEditorGroupOpen(g){this._openedResource.add(g);const l=p.MapMap.removeMap(this._byResourceCloseCache,g);l&&(p.MapMap.setMap(this._byResource,g,l),Object.keys(l).forEach(h=>{p.MapMap.set(this._byType,h,g,l[h])})),this.onMarkerChangedEmitter.fire([g])}onEditorGroupClose(g){this._openedResource.delete(g);const l=p.MapMap.getMap(this._byResource,g);l&&p.MapMap.setMap(this._byResourceCloseCache,g,l),this.clearMarkersOfUri(g)}};t.MarkerManager=_,t.MarkerManager=_=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],_)},19083:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerSeverity=t.MapMap=void 0;const n=e(70392);var r;(function(c){function p(h,u,d){if(h[u])return h[u][d]}c.get=p;function v(h,u){return h[u]}c.getMap=v;function m(h,u,d,E){h[u]||(h[u]=Object.create(null)),h[u][d]=E}c.set=m;function _(h,u,d){h[u]=d}c.setMap=_;function s(h,u,d){return h[u]&&h[u][d]?(delete h[u][d],(0,n.isEmptyObject)(h[u])&&delete h[u],!0):!1}c.remove=s;function g(h,u){if(h[u]){const d=h[u];return delete h[u],d}}c.removeMap=g;function l(h){const u=[];if(h)for(const d in h)u.push(d);return u}c.keys=l})(r||(t.MapMap=r={}));var o;(function(c){c[c.Hint=1]="Hint",c[c.Info=2]="Info",c[c.Warning=4]="Warning",c[c.Error=8]="Error"})(o||(t.MarkerSeverity=o={})),function(c){function p(v,m){return m-v}c.compare=p}(o||(t.MarkerSeverity=o={}))},82031:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageType=void 0;var e;(function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Info=2]="Info",n[n.Empty=3]="Empty"})(e||(t.MessageType=e={}))},14859:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonProcessReporter=t.IReporter=t.IReporterService=t.ReporterMetadata=t.REPORT_TYPE=t.REPORT_HOST=t.REPORT_NAME=void 0;var e;(function(c){c.ACTIVE_EXTENSION="activateExtension",c.RUNTIME_ERROR_EXTENSION="runtimeErrorExtension",c.LOAD_EXTENSION_MAIN="loadExtensionMain",c.PROVIDE_COMPLETION_ITEMS="provideCompletionItems",c.RESOLVE_COMPLETION_ITEM="resolveCompletionItem",c.PROVIDE_DOCUMENT_FORMATTING_EDITS="provideDocumentFormattingEdits",c.PROVIDE_DOCUMENT_RANGE_FORMATTING_EDITS="provideDocumentRangeFormattingEdits",c.EDITOR_REACTIVE="editorReactive",c.CHANNEL_RECONNECT="channelReconnect",c.MEASURE="measure",c.FORMAT_ON_SAVE_TIMEOUT_ERROR="formatOnSaveTimeoutError",c.FORMAT_ON_SAVE="formatOnSave",c.NOT_FOUND_COMMAND="notFoundCommand",c.INSTALL_EXTENSION_ERROR="installExtensionError",c.EXTENSION_CRASH="extensionCrash",c.EXTENSION_NOT_EXIST="extensionNotExist",c.THEME_LOAD="themeLoad",c.PROVIDE_HOVER="provideHover",c.PROVIDE_DEFINITION="provideDefinition",c.PROVIDE_TYPE_DEFINITION="provideTypeDefinition",c.PROVIDE_FOLDING_RANGES="provideFoldingRanges",c.PROVIDE_DOCUMENT_COLORS="provideDocumentColors",c.PROVIDE_COLOR_PRESENTATIONS="provideColorPresentations",c.PROVIDE_DOCUMENT_HIGHLIGHTS="provideDocumentHighlights",c.PROVIDE_LINKS="provideLinks",c.PROVIDE_REFERENCES="provideReferences",c.PROVIDE_DOCUMENT_SYMBOLS="provideDocumentSymbols",c.PROVIDE_IMPLEMENTATION="provideImplementation",c.PROVIDE_CODE_ACTIONS="provideCodeActions",c.PROVIDE_RENAME_EDITS="provideRenameEdits",c.PROVIDE_NEW_SYMBOL_NAMES="provideNewSymbolNames",c.PROVIDE_SIGNATURE_HELP="provideSignatureHelp",c.PROVIDE_CODE_LENSES="provideCodeLenses",c.RESOLVE_CODE_LENS="resolveCodeLens",c.PROVIDE_ON_TYPE_FORMATTING_EDITS="provideOnTypeFormattingEdits",c.PROVIDE_SELECTION_RANGES="provideSelectionRanges",c.TERMINAL_MEASURE="terminalMeasure",c.SEARCH_MEASURE="searchMeasure",c.QUICK_OPEN_MEASURE="quickOpenMeasure",c.RPC_TIMMING_MEASURE="rpcTimingMeasure"})(e||(t.REPORT_NAME=e={}));var n;(function(c){c.BROWSER="browser",c.NODE="node",c.WORKER="worker",c.EXTENSION="extension"})(n||(t.REPORT_HOST=n={}));var r;(function(c){c.PERFORMANCE="performance",c.POINT="point"})(r||(t.REPORT_TYPE=r={})),t.ReporterMetadata=Symbol("ReporterMetadata"),t.IReporterService=Symbol("IReporterService"),t.IReporter=Symbol("IReporter");class o{constructor(p){this.emitter=p}performance(p,v){this.emitter.fire({reportType:r.PERFORMANCE,name:p,data:v})}point(p,v){this.emitter.fire({reportType:r.POINT,name:p,data:v})}}t.CommonProcessReporter=o},64915:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},79595:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},92627:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryTrustedValue=void 0;class e{constructor(r){this.value=r}}t.TelemetryTrustedValue=e},86560:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(70392),t)},38949:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebugDecorator=void 0;const n=e(41869),r=e(66089);class o{getDisabledBreakpointDecoration(p){const v=this.getBreakpointDecoration(p);return{className:v.className+"-disabled",message:[(0,n.localize)("debug.breakpoint.disabled")+v.message[0]]}}getBreakpointDecoration(p,v){return p.raw.logMessage?{className:"sumi-debug-logpoint",message:v||[(0,n.localize)("debug.breakpoint.logpointMessage")]}:p.raw.condition||p.raw.hitCondition?{className:"sumi-debug-conditional-breakpoint",message:v||[(0,n.localize)("debug.breakpoint.conditionalMessage")]}:{className:"sumi-debug-breakpoint",message:v||[(0,n.localize)("debug.breakpoint.breakpointMessage")]}}getUnverifiedBreakpointDecoration(p){const v=this.getBreakpointDecoration(p);return{className:v.className+"-unverified",message:[p.message||(0,n.localize)("debug.breakpoint.unverified")+v.message[0]]}}getDecoration(p,v=!1,m=!0){return!p.enabled||!m?this.getDisabledBreakpointDecoration(p):v&&!(0,r.isRuntimeBreakpoint)(p)?this.getUnverifiedBreakpointDecoration(p):this.getBreakpointDecoration(p)}}t.DebugDecorator=o},80712:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakpointManager=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(43718),p=e(64582),v=e(17280),m=e(39553),_=e(66089);let s=class extends m.MarkerManager{constructor(){super(...arguments),this.owner="breakpoint",this.defaultExceptionFilter=[],this._affected=new Set,this.whenReadyDeferred=new c.Deferred,this.breakpointsDeffered=null,this.onDidChangeBreakpointsEmitter=new o.Emitter,this.onDidChangeBreakpoints=this.onDidChangeBreakpointsEmitter.event,this.onDidChangeExceptionsBreakpointsEmitter=new o.Emitter,this.onDidChangeExceptionsBreakpoints=this.onDidChangeExceptionsBreakpointsEmitter.event,this._breakpointsEnabled=!0}getKind(){return _.BREAKPOINT_KIND}get selectedBreakpoint(){return this._selectedBreakpoint}set selectedBreakpoint(l){this._selectedBreakpoint=l}get affected(){return Array.from(this._affected.values())}get whenReady(){return this.whenReadyDeferred.promise}setBpDeffered(){return this.breakpointsDeffered=new c.Deferred,this}resolveBpDeffered(){this.breakpointsDeffered&&this.breakpointsDeffered.resolve()}promiseBpDeffered(){return this.breakpointsDeffered?this.breakpointsDeffered.promise:Promise.resolve()}setMarkers(l,h,u){const d=super.setMarkers(l,h,u),E=[],f=[],a=[],b=new Map(d.map(({data:A})=>[A.id,A])),y=new Set;for(const A of u)y.add(A.id),b.has(A.id)?a.push(A):E.push(A);for(const[A,S]of b.entries())y.has(A)||f.push(S);return this.onDidChangeBreakpointsEmitter.fire({affected:[l],added:E,removed:f,changed:a}),d}getBreakpoint(l,h){return typeof h=="number"&&(h={lineNumber:h}),this.getBreakpoints(l,h)[0]}getBreakpoints(l,h){let u;return h&&(u=d=>!(h.lineNumber&&d.raw.line!==h.lineNumber||h.column&&d.raw.column!==h.column)),this.findMarkers({uri:l,dataFilter:u}).map(d=>d.data)}setBreakpoints(l,h){h.length>0?this._affected.add(l.toString()):this._affected.delete(l.toString()),this.setMarkers(l,this.owner,h.sort((u,d)=>u.raw.line-d.raw.line))}addBreakpoint(l){const h=new o.URI(l.uri),u=this.getBreakpoints(h),d=u.find(({raw:E})=>E.line===l.raw.line&&E.column===l.raw.column);return this.reporterService.point(p.DEBUG_REPORT_NAME===null||p.DEBUG_REPORT_NAME===void 0?void 0:p.DEBUG_REPORT_NAME.DEBUG_BREAKPOINT,"add"),d?!1:(this.setBreakpoints(h,[...u,l]),!0)}delBreakpoint(l){const h=o.URI.parse(l.uri),u=this.getBreakpoints(h),d=u.findIndex(E=>E.id===l.id);return d>-1?(u.splice(d,1),this.setBreakpoints(h,[].concat(u)),!0):!1}clearBreakpoints(){const l=new Set,h=this.getBreakpoints();h.map(u=>l.add(u.uri)),this.cleanAllMarkers(),this._affected.clear(),this.onDidChangeBreakpointsEmitter.fire({affected:Array.from(l.values()).map(u=>o.URI.parse(u)),added:[],removed:h,changed:[]})}updateBreakpoint(l,h=!1){const u=o.URI.parse(l.uri);this.onDidChangeBreakpointsEmitter.fire({affected:[u],added:[],removed:[],changed:[l],statusUpdated:h})}updateBreakpoints(l,h=!1){const u=new Set;l.forEach(d=>{u.add(d.uri)}),this.onDidChangeBreakpointsEmitter.fire({affected:Array.from(u.values()).map(d=>o.URI.parse(d)),added:[],removed:[],changed:l,statusUpdated:h})}enableAllBreakpoints(l){for(const h of this.getUris()){let u=!1;const d=new o.URI(h),E=this.findMarkers({uri:d});for(const f of E)f.data.enabled!==l&&(f.data.enabled=l,u=!0);u&&this.fireOnDidChangeMarkers(d)}}get breakpointsEnabled(){return this._breakpointsEnabled}set breakpointsEnabled(l){if(this._breakpointsEnabled!==l){this._breakpointsEnabled=l;for(const h of this.getUris())this.fireOnDidChangeMarkers(new o.URI(h));this.updateBreakpoints(this.getBreakpoints()),this.debugContextKey.contextActiveBreakpoints.set(l)}}async load(){const h=(await this.storageProvider(o.STORAGE_NAMESPACE.DEBUG)).get("breakpoints",{breakpointsEnabled:!0,breakpoints:{},defaultExceptionFilter:[]});this._breakpointsEnabled=h.breakpointsEnabled,this.debugContextKey.contextActiveBreakpoints.set(this._breakpointsEnabled);for(const u in h.breakpoints)this.setBreakpoints(new o.URI(u),h.breakpoints[u].map(d=>Object.assign(d,{status:new Map})));this.defaultExceptionFilter=h.defaultExceptionFilter||[],this.exceptionFilterValue={},this.defaultExceptionFilter.forEach(u=>{this.exceptionFilterValue[u.filter]=!!u.default}),this.whenReadyDeferred.resolve()}async save(){const l={breakpointsEnabled:this.breakpointsEnabled,breakpoints:{},defaultExceptionFilter:this.defaultExceptionFilter},h=this.getUris();for(const d of h)l.breakpoints[d]=this.findMarkers({uri:new o.URI(d)}).map(E=>E.data);await(await this.storageProvider(o.STORAGE_NAMESPACE.DEBUG)).set("breakpoints",l)}clearAllStatus(l){const h=this.getBreakpoints();h.forEach(u=>{u.status.delete(l)}),this.updateBreakpoints(h)}setExceptionBreakpoints(l){this.defaultExceptionFilter=l;for(const h of l)(0,o.isUndefined)(this.exceptionFilterValue)?this.updateExceptionBreakpoints(h.filter,!!h.default):this.updateExceptionBreakpoints(h.filter,(0,o.isUndefined)(this.exceptionFilterValue[h.filter])?!!h.default:this.exceptionFilterValue[h.filter])}getExceptionBreakpoints(){return this.defaultExceptionFilter.map(l=>({...l,default:(this.exceptionFilterValue||{})[l.filter]||!1}))}updateExceptionBreakpoints(l,h){(0,o.isUndefined)(this.exceptionFilterValue)&&(this.exceptionFilterValue={}),this.exceptionFilterValue[l]=h;const u=this.defaultExceptionFilter.filter(d=>(this.exceptionFilterValue||{})[d.filter]).map(d=>d.filter);this.onDidChangeExceptionsBreakpointsEmitter.fire({filters:u})}};t.BreakpointManager=s,n.__decorate([(0,r.Autowired)(o.StorageProvider),n.__metadata("design:type",Function)],s.prototype,"storageProvider",void 0),n.__decorate([(0,r.Autowired)(o.IReporterService),n.__metadata("design:type",Object)],s.prototype,"reporterService",void 0),n.__decorate([(0,r.Autowired)(v.DebugContextKey),n.__metadata("design:type",v.DebugContextKey)],s.prototype,"debugContextKey",void 0),t.BreakpointManager=s=n.__decorate([(0,r.Injectable)()],s)},66089:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakpointMarker=t.DebugBreakpoint=t.EXCEPTION_BREAKPOINT_URI=t.EXCEPTION_BREAKPOINT_KIND=t.BREAKPOINT_KIND=void 0,t.isDebugBreakpoint=v,t.getStatus=m,t.isRuntimeBreakpoint=_,t.isDebugExceptionBreakpoint=s;const r=e(85608).__importDefault(e(67196)),o=e(43718);t.BREAKPOINT_KIND="breakpoint",t.EXCEPTION_BREAKPOINT_KIND="exception_breakpoint",t.EXCEPTION_BREAKPOINT_URI=o.URI.parse(t.EXCEPTION_BREAKPOINT_KIND).withScheme(o.Schemes.inMemory);function c(l,h,u=1){return(0,r.default)(`${l}:${h}:${u}`)}var p;(function(l){function h(u,d,E=!0){return{id:c(u.toString(),d.line,d.column),uri:u.toString(),enabled:E,status:new Map,raw:{column:void 0,condition:void 0,hitCondition:void 0,logMessage:void 0,...d}}}l.create=h})(p||(t.DebugBreakpoint=p={}));function v(l){return!!l&&!!l.raw}function m(l){return Array.from(l.status.values()).filter(h=>h.verified)[0]}function _(l){const h=m(l);return!!(h&&h.verified)}function s(l){return l&&!!l.filter}var g;(function(l){function h(u){return"kind"in u&&u.kind===t.BREAKPOINT_KIND}l.is=h})(g||(t.BreakpointMarker=g={}))},99797:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(80712),t),n.__exportStar(e(66089),t),n.__exportStar(e(38949),t)},70835:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebugAction=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(41869),p=n.__importDefault(e(47470)),v=({icon:m,label:_,run:s,enabled:g,className:l,...h})=>{const u=()=>{};return o.default.createElement("div",{...h,className:(0,r.default)(p.default.debug_action,p.default[m],(0,c.getIcon)(m)||m,typeof g=="boolean"&&!g&&p.default.mod_disabled,l),title:_,onClick:s||u})};t.DebugAction=v},85815:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingClickWidget=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(93669),m=e(16067),_=n.__importDefault(e(44944)),s=()=>{const{addConfiguration:g,openLaunchEditor:l,showDynamicQuickPickToInsert:h,dynamicConfigurations:u}=(0,p.useInjectable)(m.DebugConfigurationService),d=(0,p.useAutorun)(u),{minimapWidth:E}=o.default.useContext(v.EditorContext),[f,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{Array.isArray(d)&&d.length>0?a(!0):a(!1)},[d]),o.default.createElement("div",{className:_.default.floating_click_widget,style:{right:20+E}},f&&o.default.createElement(c.Button,{className:_.default.float_smart_button,iconClass:(0,r.default)((0,p.getIcon)("magic-wand"),_.default.float_smart_button_icon),onClick:h},(0,p.localize)("debug.action.add.smartAddConfiguration")),o.default.createElement(c.Button,{onClick:g},(0,p.localize)("debug.action.add.configuration")),o.default.createElement(c.Button,{onClick:l},(0,p.localize)("debug.action.open.launch.editor")))};t.FloatingClickWidget=s},66498:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(70835),t)},72039:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebugCallStackItemTypeKey=void 0,t.DebugCallStackItemTypeKey=Symbol("DebugCallStackItemTypeKey")},17280:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebugContextKey=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(4983);let p=class{constructor(m){this._contextKeyService=this.globalContextKeyService.createScoped(m),this.contextInDebugRepl=c.CONTEXT_IN_DEBUG_REPL.bind(this.contextKeyScoped),this.contextInDebugConsole=c.CONTEXT_IN_DEBUG_CONSOLE.bind(this.contextKeyScoped),this.contextInDebugMode=c.CONTEXT_IN_DEBUG_MODE.bind(this.contextKeyScoped),this.contextDebugState=c.CONTEXT_DEBUG_STATE.bind(this.contextKeyScoped),this.contextVariableEvaluateNamePresent=c.CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT.bind(this.contextKeyScoped),this.contextSetVariableSupported=c.CONTEXT_SET_VARIABLE_SUPPORTED.bind(this.contextKeyScoped),this.contextRestartFrameSupported=c.CONTEXT_RESTART_FRAME_SUPPORTED.bind(this.contextKeyScoped),this.contextDebugProtocolVariableMenu=c.CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT.bind(this.contextKeyScoped),this.contextCanViewMemory=c.CONTEXT_CAN_VIEW_MEMORY.bind(this.contextKeyScoped),this.contextExceptionWidgetVisible=c.CONTEXT_EXCEPTION_WIDGET_VISIBLE.bind(this.contextKeyScoped),this.contextActiveBreakpoints=c.CONTEXT_ACTIVE_BREAKPOINTS.bind(this.globalContextKeyService)}get contextKeyScoped(){return this._contextKeyService}};t.DebugContextKey=p,n.__decorate([(0,r.Autowired)(o.IContextKeyService),n.__metadata("design:type",Object)],p.prototype,"globalContextKeyService",void 0),t.DebugContextKey=p=n.__decorate([(0,r.Injectable)(),n.__param(0,(0,r.Optional)()),n.__metadata("design:paramtypes",[HTMLElement])],p)},3005:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(72039),t)},92679:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleANSIOutput=p,t.appendStylizedStringToContainer=v,t.calcANSI8bitColor=m;const n=e(85608),r=e(43395),o=e(52416),c=n.__importDefault(e(80315));async function p(_,s,g,l){const h=document.createElement("span"),u=_.length;let d=[],E,f,a,b=!1,y=0,A="";for(;y<u;){let M=!1;if(_.charCodeAt(y)===27&&_.charAt(y+1)==="["){const R=y;y+=2;let P="";for(;y<u;){const k=_.charAt(y);if(P+=k,y++,k.match(/^[ABCDHIJKfhmpsu]$/)){M=!0;break}}if(M){if(v(h,A,d,s,l,E,f,a),A="",P.match(/^(?:[34][0-8]|9[0-7]|10[0-7]|[0-9]|2[1-5,7-9]|[34]9|5[8,9]|1[0-9])(?:;[349][0-7]|10[0-7]|[013]|[245]|[34]9)?(?:;[012]?[0-9]?[0-9])*;?m$/)){const k=P.slice(0,-1).split(";").filter(F=>F!=="").map(F=>parseInt(F,10));if(k[0]===38||k[0]===48||k[0]===58){const F=k[0]===38?"foreground":k[0]===48?"background":"underline";k[1]===5?await I(k,F):k[1]===2&&D(k,F)}else await T(k)}}else y=R}M===!1&&(A+=_.charAt(y),y++)}return A&&v(h,A,d,s,l,E,f,a),h;function S(M,R){switch(M){case"foreground":E=R;break;case"background":f=R;break;case"underline":a=R;break;default:break}d=d.filter(P=>P!==`code-${M}-colored`),R!==void 0&&d.push(`code-${M}-colored`)}function w(){let M;M=E,S("foreground",f),S("background",M)}async function T(M){for(const R of M)switch(R){case 0:{d=[],E=void 0,f=void 0;break}case 1:{d=d.filter(P=>P!==c.default["code-bold"]),d.push(c.default["code-bold"]);break}case 2:{d=d.filter(P=>P!==c.default["code-dim"]),d.push(c.default["code-dim"]);break}case 3:{d=d.filter(P=>P!==c.default["code-italic"]),d.push(c.default["code-italic"]);break}case 4:{d=d.filter(P=>P!==c.default["code-underline"]&&P!==c.default["code-double-underline"]),d.push(c.default["code-underline"]);break}case 5:{d=d.filter(P=>P!==c.default["code-blink"]),d.push(c.default["code-blink"]);break}case 6:{d=d.filter(P=>P!==c.default["code-rapid-blink"]),d.push(c.default["code-rapid-blink"]);break}case 7:{b||(b=!0,w());break}case 8:{d=d.filter(P=>P!==c.default["code-hidden"]),d.push(c.default["code-hidden"]);break}case 9:{d=d.filter(P=>P!==c.default["code-strike-through"]),d.push(c.default["code-strike-through"]);break}case 10:{d=d.filter(P=>!P.startsWith(c.default["code-font"]));break}case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:{d=d.filter(P=>!P.startsWith(c.default["code-font"])),d.push(c.default[`code-font-${R-10}`]);break}case 21:{d=d.filter(P=>P!==c.default["code-underline"]&&P!==c.default["code-double-underline"]),d.push(c.default["code-double-underline"]);break}case 22:{d=d.filter(P=>P!==c.default["code-bold"]&&P!==c.default["code-dim"]);break}case 23:{d=d.filter(P=>P!==c.default["code-italic"]&&P!==c.default["code-font-10"]);break}case 24:{d=d.filter(P=>P!==c.default["code-underline"]&&P!==c.default["code-double-underline"]);break}case 25:{d=d.filter(P=>P!==c.default["code-blink"]&&P!==c.default["code-rapid-blink"]);break}case 27:{b&&(b=!1,w());break}case 28:{d=d.filter(P=>P!==c.default["code-hidden"]);break}case 29:{d=d.filter(P=>P!==c.default["code-strike-through"]);break}case 53:{d=d.filter(P=>P!==c.default["code-overline"]),d.push(c.default["code-overline"]);break}case 55:{d=d.filter(P=>P!==c.default["code-overline"]);break}case 39:{S("foreground",void 0);break}case 49:{S("background",void 0);break}case 59:{S("underline",void 0);break}case 73:{d=d.filter(P=>P!==c.default["code-superscript"]&&P!==c.default["code-subscript"]),d.push(c.default["code-superscript"]);break}case 74:{d=d.filter(P=>P!==c.default["code-superscript"]&&P!==c.default["code-subscript"]),d.push(c.default["code-subscript"]);break}case 75:{d=d.filter(P=>P!==c.default["code-superscript"]&&P!==c.default["code-subscript"]);break}default:{await O(R);break}}}function D(M,R){if(M.length>=5&&M[2]>=0&&M[2]<=255&&M[3]>=0&&M[3]<=255&&M[4]>=0&&M[4]<=255){const P=new o.RGBA(M[2],M[3],M[4]);S(R,P)}}async function I(M,R){let P=M[2];const k=m(P);if(k)S(R,k);else if(P>=0&&P<=15){if(R==="underline"){const F=await g.getCurrentTheme(),L=r.ansiColorIdentifiers[P],B=F.getColor(L);B&&S(R,B.rgba);return}P+=30,P>=38&&(P+=52),R==="background"&&(P+=10),await O(P)}}async function O(M){const R=await g.getCurrentTheme();let P,k;if(M>=30&&M<=37?(k=M-30,P="foreground"):M>=90&&M<=97?(k=M-90+8,P="foreground"):M>=40&&M<=47?(k=M-40,P="background"):M>=100&&M<=107&&(k=M-100+8,P="background"),k!==void 0&&P){const F=r.ansiColorIdentifiers[k],L=R.getColor(F);L&&S(P,L.rgba)}}}function v(_,s,g,l,h,u,d,E){if(!_||!s)return;const f=l.linkify(s,!0,h);f.className=g.join(" "),u&&(f.style.color=o.Color.Format.CSS.formatRGB(new o.Color(u))),d&&(f.style.backgroundColor=o.Color.Format.CSS.formatRGB(new o.Color(d))),E&&(f.style.textDecorationColor=o.Color.Format.CSS.formatRGB(new o.Color(E))),_.appendChild(f)}function m(_){if(_%1===0)if(_>=16&&_<=231){_-=16;let s=_%6;_=(_-s)/6;let g=_%6;_=(_-g)/6;let l=_;const h=255/5;return s=Math.round(s*h),g=Math.round(g*h),l=Math.round(l*h),new o.RGBA(l,g,s)}else if(_>=232&&_<=255){_-=232;const s=Math.round(_/23*255);return new o.RGBA(s,s,s)}else return}},37499:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DebugConfigurationManager=void 0;const r=e(85608),o=e(23304),c=e(76003),p=e(41869),v=e(54414),m=e(57517),_=e(14951),s=e(97821),g=e(51500),l=e(68810),h=e(2261),u=e(64582),d=e(4983),E=e(11357),f=e(31141);let a=n=class{constructor(){this.internalDebugConfigurationProviders=new Map,this.internalDebugConfigurationOverride=new Map,this.breakpointModeIdsSet=new Set,this.debuggers=[],this.onDidChangeEmitter=new p.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.onWillProvideDebugConfigurationEmitter=new p.Emitter,this.onWillProvideDebugConfiguration=this.onWillProvideDebugConfigurationEmitter.event,this._whenReadyDeferred=new p.Deferred,this.updateModelDelayer=new p.ThrottledDelayer(n.DEFAULT_UPDATE_MODEL_TIMEOUT),this.models=new Map,this.updateModels=()=>this.updateModelDelayer.trigger(async()=>{const y=await this.workspaceService.roots,A=new Set(this.models.keys());for(const w of y){const T=w.uri;if(A.delete(T),!this.models.has(T)){const D=new E.DebugConfigurationModel(T,this.preferences);D.onDidChange(()=>this.updateCurrent()),D.onDispose(()=>this.models.delete(T)),this.models.set(T,D)}}for(const w of A){const T=this.models.get(w);T&&T.dispose()}this.updateCurrent();let S=!0;this.models.forEach(w=>{w.configurations.length&&(S=!1)}),this.contextDebuggersAvailable.set(!S),this._whenReadyDeferred&&this._whenReadyDeferred.resolve()}),this.init(),this.contextDebuggersAvailable=d.CONTEXT_DEBUGGERS_AVAILABLE.bind(this.contextKeyService),this.logger=this.loggerManagerClient.getLogger(p.SupportLogNamespace.Browser)}async init(){this.preferences.onPreferenceChanged(y=>{y.preferenceName==="launch"&&this.updateModels()}),this.debugConfigurationStorage=await this.storageProvider(p.STORAGE_NAMESPACE.DEBUG),this.updateModels()}get whenReady(){return this._whenReadyDeferred.promise}get all(){return this.getAll()}getAll(){const y=[];this.getRecentDynamicConfigurations().forEach((S,w)=>{var T;y.push({configuration:S,workspaceFolderUri:(T=this.model)===null||T===void 0?void 0:T.workspaceFolderUri,index:w})});for(const S of this.models.values())for(let w=0,T=S.configurations.length;w<T;w++)y.push({configuration:S.configurations[w],workspaceFolderUri:S.workspaceFolderUri,index:w});return y}get supported(){return this.getSupported()}async getSupported(){await this.whenReady;const y=await this.debug.debugTypes();return this.doGetSupported(new Set(y))}doGetSupported(y){const A=[];for(const S of this.getAll())y.has(S.configuration.type)&&A.push(S);return A}get current(){return this._currentOptions}set current(y){this.updateCurrent(y)}updateCurrent(y=this._currentOptions){if(this._currentOptions=y&&this.find(y.configuration.name,y.workspaceFolderUri,y.index),!this._currentOptions){const{model:A}=this;if(A){const S=A.configurations[0];S&&(this._currentOptions={configuration:S,workspaceFolderUri:A.workspaceFolderUri,index:y?.index||0})}}this.onDidChangeEmitter.fire(void 0)}find(y,A,S){var w;const T=this.getRecentDynamicConfigurations(),D=T.find(I=>I.name===y);if(D)return{configuration:D,workspaceFolderUri:(w=this.model)===null||w===void 0?void 0:w.workspaceFolderUri,index:T.indexOf(D)};for(const I of this.models.values())if(I.workspaceFolderUri===A){if(typeof S=="number"){const O=I.configurations[S];if(O&&O.name===y)return{configuration:O,workspaceFolderUri:A,index:S}}else for(let O=0,M=I.configurations.length;O<M;O++)if(I.configurations[O].name===y)return{configuration:I.configurations[O],workspaceFolderUri:A,index:O}}}async openConfiguration(y){let A;y?A=this.getModelByUri(y):A=this.model,A&&await this.doOpen(A)}async openLaunchEditor(){if(!this.model)return;const y=this.model.uri;y&&await this.workbenchEditorService.open(y.withScheme(d.LAUNCH_VIEW_SCHEME),{disableNavigate:!0})}visitConfigurationsEditor(y){let A,S=0,w="";return(0,o.visit)(y.getValue(),{onObjectProperty:T=>{w=T},onArrayBegin:T=>{w==="configurations"&&S===0&&(A=y.getPositionAt(T+1)),S++},onArrayEnd:()=>{S--}}),A}async insertConfiguration(y,A){let S=this.documentService.getModelReference(y);S||(S=await this.documentService.createModelReference(y));const w=S.instance.getMonacoModel(),T=w.getEOL(),D=this.visitConfigurationsEditor(w);if(!D)return;const{indentSize:I,insertSpaces:O}=w.getOptions(),M=w.getLineContent(D.lineNumber).match(/^\s*/),R=M?M[0].length:0,P=O?" ".repeat(I+R):" ",k=JSON.stringify(A,null,I).split(`
31506
31506
  `),F=k.length,L=k.reduce((B,j,W)=>B+P+j+(W===F-1?"":`
@@ -31941,7 +31941,7 @@ body.vscode-high-contrast #scroll-to-top:hover {
31941
31941
  `;(O=M[P].children)===null||O===void 0||O.forEach(B=>{const j=B.contentResult;L=L+`${j.line},${j.matchStart}: ${j.renderLineText}
31942
31942
  `}),R+=L,P<k&&(R+=`
31943
31943
  `)}this.clipboardService.writeText(R)}}),D.registerCommand(o.SEARCH_COMMANDS.MENU_COPY_PATH,{execute:I=>{this.clipboardService.writeText(I.resource.codeUri.fsPath.toString())}})}registerMenus(D){D.registerMenuItem(m.MenuId.SearchContext,{command:o.SEARCH_COMMANDS.MENU_REPLACE.id,order:1,group:"0_operator"}),D.registerMenuItem(m.MenuId.SearchContext,{command:o.SEARCH_COMMANDS.MENU_REPLACE_ALL.id,order:2,group:"0_operator"}),D.registerMenuItem(m.MenuId.SearchContext,{command:o.SEARCH_COMMANDS.MENU_HIDE.id,order:3,group:"0_operator"}),D.registerMenuItem(m.MenuId.SearchContext,{command:o.SEARCH_COMMANDS.MENU_COPY.id,order:1,group:"1_copy"}),D.registerMenuItem(m.MenuId.SearchContext,{command:o.SEARCH_COMMANDS.MENU_COPY_PATH.id,order:2,group:"1_copy"}),D.registerMenuItem(m.MenuId.SearchContext,{command:o.SEARCH_COMMANDS.MENU_COPY_ALL.id,order:3,group:"1_copy"})}registerKeybindings(D){D.registerKeybinding({command:o.SEARCH_COMMANDS.OPEN_SEARCH.id,keybinding:"ctrlcmd+shift+f"}),D.registerKeybinding({command:o.SEARCH_COMMANDS.GET_BACK_RECENT_SEARCH_WORD.id,keybinding:"down",when:p.SearchInputBoxFocusedKey.raw}),D.registerKeybinding({command:o.SEARCH_COMMANDS.GET_RECENT_SEARCH_WORD.id,keybinding:"up",when:p.SearchInputBoxFocusedKey.raw})}registerComponent(D){D.register("@opensumi/ide-search",[],{containerId:c.SEARCH_CONTAINER_ID,iconClass:(0,o.getIcon)("search"),title:(0,o.localize)("search.title"),component:b.Search,priority:9,activateKeyBinding:"ctrlcmd+shift+f"})}registerToolbarItems(D){D.registerItem({id:o.SEARCH_COMMANDS.CLEAN.id,command:o.SEARCH_COMMANDS.CLEAN.id,viewId:c.SEARCH_CONTAINER_ID,tooltip:(0,o.localize)("search.ClearSearchResultsAction.label"),enabledWhen:"canClearSearchResult"}),D.registerItem({id:o.SEARCH_COMMANDS.REFRESH.id,command:o.SEARCH_COMMANDS.REFRESH.id,viewId:c.SEARCH_CONTAINER_ID,tooltip:(0,o.localize)("search.RefreshAction.label"),enabledWhen:"canRefreshSearchResult"})}onDidRender(){const D=this.mainLayoutService.getTabbarHandler(c.SEARCH_CONTAINER_ID);D&&(this.searchTreeService.viewReady.then(()=>{D.isActivated()&&this.searchModelService.activate()}),D.onActivate(()=>{this.searchBrowserService.initSearchHistory(),this.searchBrowserService.focus(),this.searchModelService.activate()}),D.onInActivate(()=>{this.searchTreeService.removeHighlightRange(),this.searchBrowserService.blur(),this.searchModelService.deactivate()}))}dispose(){this.toDispose.dispose()}};t.SearchContribution=w,n.__decorate([(0,r.Autowired)(h.IMainLayoutService),n.__metadata("design:type",Object)],w.prototype,"mainLayoutService",void 0),n.__decorate([(0,r.Autowired)(E.IContentSearchClientService),n.__metadata("design:type",Object)],w.prototype,"searchBrowserService",void 0),n.__decorate([(0,r.Autowired)(y.SearchTreeService),n.__metadata("design:type",y.SearchTreeService)],w.prototype,"searchTreeService",void 0),n.__decorate([(0,r.Autowired)(g.IEditorDocumentModelService),n.__metadata("design:type",Object)],w.prototype,"documentModelManager",void 0),n.__decorate([(0,r.Autowired)(d.IWorkspaceEditService),n.__metadata("design:type",Object)],w.prototype,"workspaceEditService",void 0),n.__decorate([(0,r.Autowired)(u.IDialogService),n.__metadata("design:type",Object)],w.prototype,"dialogService",void 0),n.__decorate([(0,r.Autowired)(A.SearchModelService),n.__metadata("design:type",A.SearchModelService)],w.prototype,"searchModelService",void 0),n.__decorate([(0,r.Autowired)(o.IClipboardService),n.__metadata("design:type",Object)],w.prototype,"clipboardService",void 0),t.SearchContribution=w=n.__decorate([(0,s.Domain)(o.ClientAppContribution,_.CommandContribution,o.KeybindingContribution,o.ComponentContribution,v.TabBarToolbarContribution,o.PreferenceContribution,l.MainLayoutContribution,m.MenuContribution)],w)},79904:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchInputWidget=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(67304),v=e(33783),m=n.__importDefault(e(66653)),_=(0,o.memo)(({isDetailOpen:g,onDetailToggle:l})=>o.default.createElement("p",{className:m.default.search_input_title},o.default.createElement("span",{className:m.default.search_title},(0,v.localize)("search.input.title")),o.default.createElement(c.CheckBox,{className:(0,r.default)(m.default.checkbox),label:(0,v.localize)("search.input.checkbox"),checked:g,id:"search-input",onChange:l})),(g,l)=>g.isDetailOpen===l.isDetailOpen);function s(g,l){return g.isDetailOpen===l.isDetailOpen&&g.isMatchCase===l.isMatchCase&&g.isWholeWord===l.isWholeWord&&g.isRegex===l.isRegex&&g.searchValue===l.searchValue&&g.isShowValidateMessage===l.isShowValidateMessage&&g.validateMessage===l.validateMessage}t.SearchInputWidget=(0,o.memo)((0,o.forwardRef)(({isDetailOpen:g,onDetailToggle:l,onSearchFocus:h,onSearchBlur:u,isMatchCase:d,onMatchCaseToggle:E,isWholeWord:f,onWholeWordToggle:a,isRegex:b,onRegexToggle:y,searchValue:A,onSearch:S,onSearchInputChange:w,isShowValidateMessage:T,validateMessage:D},I)=>o.default.createElement("div",{className:m.default.search_and_replace_container},o.default.createElement("div",{className:m.default.search_and_replace_fields},o.default.createElement("div",{className:m.default.search_field_container},o.default.createElement(_,{isDetailOpen:g,onDetailToggle:l}),o.default.createElement("div",{className:m.default.search_field},o.default.createElement(c.ValidateInput,{id:"search-input-field",title:(0,v.localize)("search.input.placeholder"),type:"text",value:A,placeholder:(0,v.localize)("search.input.title"),onFocus:h,onBlur:u,onKeyUp:S,onChange:w,ref:I,validateMessage:T?D:void 0,addonAfter:[o.default.createElement("span",{key:(0,v.localize)("search.caseDescription"),className:(0,r.default)((0,p.getIcon)("ab"),m.default["match-case"],m.default.search_option,{[m.default.select]:d}),title:(0,v.localize)("search.caseDescription"),onClick:E}),o.default.createElement("span",{key:(0,v.localize)("search.wordsDescription"),className:(0,r.default)((0,p.getIcon)("abl"),m.default["whole-word"],m.default.search_option,{[m.default.select]:f}),title:(0,v.localize)("search.wordsDescription"),onClick:a}),o.default.createElement("span",{key:(0,v.localize)("search.regexDescription"),className:(0,r.default)((0,p.getIcon)("regex"),m.default["use-regexp"],m.default.search_option,{[m.default.select]:b}),title:(0,v.localize)("search.regexDescription"),onClick:y})]})))))),s)},67640:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchReplaceWidget=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(97267),p=e(33783),v=n.__importDefault(e(66653));t.SearchReplaceWidget=o.default.memo(({replaceValue:m,disabled:_=!0,onSearch:s,onReplaceRuleChange:g,replaceAll:l})=>o.default.createElement("div",{className:v.default.search_and_replace_container},o.default.createElement("div",{className:v.default.search_and_replace_fields},o.default.createElement("div",{className:v.default.replace_field},o.default.createElement(c.Input,{value:m,id:"replace-input-field",title:(0,p.localize)("search.replace.label"),type:"text",placeholder:(0,p.localize)("search.replace.title"),onKeyUp:s,onChange:g}),o.default.createElement("div",{className:(0,r.default)(v.default.replace_all_button,_&&v.default.disabled),onClick:l},o.default.createElement("span",null,(0,p.localize)("search.replaceAll.label")))))))},12781:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchRulesWidget=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importDefault(e(14041)),c=e(97267),p=e(11050),v=e(67304),m=e(33783),_=e(92553),s=n.__importDefault(e(66653)),g=()=>o.default.createElement("div",{className:(0,r.default)(s.default.include_rule_content)},o.default.createElement("ul",null,o.default.createElement("li",null,", : ",(0,m.localize)("search.help.concatRule")),o.default.createElement("li",null,"* : ",(0,m.localize)("search.help.matchOneOrMoreRule")),o.default.createElement("li",null,"? : ",(0,m.localize)("search.help.matchOne")),o.default.createElement("li",null,"** : ",(0,m.localize)("search.help.matchAny")),o.default.createElement("li",null," : ",(0,m.localize)("search.help.matchWithGroup")),o.default.createElement("li",null,"[] : ",(0,m.localize)("search.help.matchRange")))),l=o.default.memo(()=>{const E=o.default.useContext(p.ConfigContext),{injector:f}=E,a=f.get(_.IContentSearchClientService),b=o.default.useMemo(()=>a.getPreferenceSearchExcludes(),[a]);return o.default.createElement("div",{className:(0,r.default)(s.default.exclude_rule_content)},o.default.createElement("div",null,b.map((y,A)=>A===b.length-1?y:`${y}, `)))}),h=o.default.memo(({includeValue:E,isOnlyOpenEditors:f,onSearch:a,onChangeInclude:b,onOnlyOpenEditorsToggle:y})=>o.default.createElement("div",{className:(0,r.default)(s.default.glob_field)},o.default.createElement("div",{className:(0,r.default)(s.default.label)},o.default.createElement("span",{className:s.default.limit},(0,m.localize)("search.includes")),o.default.createElement("span",{className:(0,r.default)(s.default.include_rule)},o.default.createElement(c.Popover,{id:"show_include_rule",title:(0,m.localize)("search.help.supportRule"),content:o.default.createElement(g,null),trigger:c.PopoverTriggerType.hover,delay:.5,position:c.PopoverPosition.right},o.default.createElement("a",null,(0,m.localize)("search.help.showIncludeRule"))))),o.default.createElement(c.Input,{value:E,type:"text",placeholder:(0,m.localize)("search.includes.description"),onKeyUp:a,onChange:b,id:"include-input-field",addonAfter:[o.default.createElement("span",{key:"onlyOpenEditors",className:(0,r.default)((0,v.getExternalIcon)("book"),s.default.search_option,{[s.default.select]:f}),title:(0,m.localize)("search.onlyOpenEditors"),onClick:y})]})),(E,f)=>E.includeValue===f.includeValue&&E.isOnlyOpenEditors===f.isOnlyOpenEditors),u=o.default.memo(({isIncludeIgnored:E,excludeValue:f,onIncludeIgnoredToggle:a,onChangeExclude:b,onOpenPreference:y,onSearch:A})=>o.default.createElement("div",{className:(0,r.default)(s.default.glob_field,s.default.search_excludes)},o.default.createElement("div",{className:s.default.label},o.default.createElement("span",{className:s.default.limit},(0,m.localize)("search.excludes")),o.default.createElement("div",{className:s.default.use_default_excludes_wrapper},o.default.createElement(c.CheckBox,{className:(0,r.default)(s.default.checkbox),label:(0,m.localize)("search.excludes.default.enable"),checked:!E,id:"search-input-isIncludeIgnored",onChange:a}),o.default.createElement(c.Popover,{title:(0,m.localize)("search.help.excludeList"),overlayClassName:(0,r.default)(s.default.search_excludes_description),id:"search_excludes",action:(0,m.localize)("search.help.modify"),onClickAction:y,content:o.default.createElement(l,null),trigger:c.PopoverTriggerType.hover,delay:.5,position:c.PopoverPosition.right},o.default.createElement("span",{className:(0,r.default)((0,v.getIcon)("question-circle"),s.default.search_option),style:{opacity:"0.7",cursor:"pointer"}})))),o.default.createElement(c.Input,{type:"text",value:f,placeholder:(0,m.localize)("search.includes.description"),onKeyUp:A,onChange:b,id:"exclude-input-field"})),(E,f)=>E.excludeValue===f.excludeValue&&E.isIncludeIgnored===f.isIncludeIgnored);function d(E,f){return E.includeValue===f.includeValue&&E.excludeValue===f.excludeValue&&E.isOnlyOpenEditors===f.isOnlyOpenEditors&&E.isIncludeIgnored===f.isIncludeIgnored}t.SearchRulesWidget=o.default.memo(({includeValue:E,excludeValue:f,onChangeExclude:a,onChangeInclude:b,isOnlyOpenEditors:y,onOnlyOpenEditorsToggle:A,isIncludeIgnored:S,onIncludeIgnoredToggle:w,onSearch:T,onOpenPreference:D})=>o.default.createElement("div",{className:"glob_field-container"},o.default.createElement(h,{includeValue:E,onSearch:T,onChangeInclude:b,isOnlyOpenEditors:y,onOnlyOpenEditorsToggle:A}),o.default.createElement(u,{isIncludeIgnored:S,excludeValue:f,onIncludeIgnoredToggle:w,onChangeExclude:a,onOpenPreference:D,onSearch:T})),d)},51495:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentSearchClientService=void 0;const n=e(85608),r=n.__importDefault(e(12784)),o=e(76003),c=e(97267),p=e(41869),v=e(18193),m=e(7369),_=e(43718),s=e(54414),g=e(57517),l=n.__importStar(e(20868)),h=e(72665),u=e(51500),d=e(26199),E=e(52925),f=e(3956),a=e(96895),b=e(33301),y=e(9767);function A(w){return w.length>0?w.split(",").map(T=>T.trim()):[]}let S=class extends _.Disposable{get onDidChange(){return this.onDidChangeEmitter.event}get onDidTitleChange(){return this.onDidTitleChangeEmitter.event}get onDidUIStateChange(){return this.onDidUIStateChangeEmitter.event}get onDidSearchStateChange(){return this.onDidSearchStateChangeEmitter.event}constructor(){super(),this.onDidChangeEmitter=new p.Emitter,this.onDidTitleChangeEmitter=new p.Emitter,this.onDidUIStateChangeEmitter=new p.Emitter,this.onDidSearchStateChangeEmitter=new p.Emitter,this.UIState={isToggleOpen:!0,isDetailOpen:!1,isMatchCase:!1,isWholeWord:!1,isUseRegexp:!1,isIncludeIgnored:!1,isOnlyOpenEditors:!1},this.searchResults=new Map,this.searchError="",this.resultTotal={resultNum:0,fileNum:0},this.isReplacing=!1,this.isSearching=!1,this.isShowValidateMessage=!0,this.replaceValue="",this.searchValue="",this.includeValue="",this.excludeValue="",this._docModelSearchedList=[],this._currentSearchId=-1,this.searchResultCollection=new y.SearchResultCollection,this.reporter=null,this.searchId=new Date().getTime(),this.EMPTY_SELECTION=new l.Range(0,0,0,0),this.onSearchInputChange=D=>{this.searchValue=D,this.isShowValidateMessage=!1,this.searchOnTyping()},this.onReplaceInputChange=D=>{this.replaceValue=D},this.onSearchExcludeChange=D=>{this.excludeValue=D,this.searchOnTyping()},this.onSearchIncludeChange=D=>{this.includeValue=D,this.searchOnTyping()},this.searchEditorSelection=()=>{const D=this.workbenchEditorService.currentOrPreviousFocusedEditor;if(D){const I=D.getSelections();if(I&&I.length>0&&D.currentDocumentModel){const{selectionStartLineNumber:O,selectionStartColumn:M,positionLineNumber:R,positionColumn:P}=I[0],k=D.currentDocumentModel.getText(new l.Range(O,M,R,P)),F=p.strings.trim(k)===""?this.searchValue:k;this.searchValue=F}}},this.shouldSearch=D=>["isWholeWord","isMatchCase","isUseRegexp","isIncludeIgnored","isOnlyOpenEditors"].some(I=>D[I]!==void 0&&D[I]!==this.UIState[I]),this.updateUIState=D=>{const I=Object.assign({},this.UIState,D);this.shouldSearch(D)&&this.search(I),this.UIState=I,this.onDidUIStateChangeEmitter.fire(I),this.browserStorageService.setData("search.UIState",I)},this.replaceAll=()=>{this.isReplacing||(this.isReplacing=!0,(0,f.replaceAll)(this.documentModelManager,this.workspaceEditService,this.searchResults,this.replaceValue,this.searchValue,this.UIState.isUseRegexp,this.dialogService,this.messageService,this.resultTotal).then(D=>{this.isReplacing=!1,D&&this.search()}))},this.setDefaultIncludeValue(),this.recoverUIState(),this.searchOnType=this.searchPreferences["search.searchOnType"]||!0;const T=this.searchPreferences["search.searchOnTypeDebouncePeriod"]||300;this.searchDebounce=(0,r.default)(()=>{this.search()},T,{trailing:!0,maxWait:T*5})}searchOnTyping(){this.searchOnType&&this.searchDebounce()}async search(T){const D=this.searchValue;if(this.cleanSearchResults(),!D){this.onDidChangeEmitter.fire();return}this.searchCancelToken&&!this.searchCancelToken.token.isCancellationRequested&&this.searchCancelToken.cancel(),this.searchCancelToken=new _.CancellationTokenSource;const I=T||this.UIState;await this.doSearch(D,I,this.searchCancelToken.token)}async doSearch(T,D,I){var O,M,R;const P={maxResults:D.maxResults||2e3,matchCase:D.isMatchCase,matchWholeWord:D.isWholeWord,useRegExp:D.isUseRegexp,includeIgnored:D.isIncludeIgnored,include:D.include||A(this.includeValue||""),exclude:D.exclude||A(this.excludeValue||"")};P.exclude=this.getExcludeWithSetting(P,D),this.searchHistory.setSearchHistory(T),this.isShowValidateMessage=!0,this.isSearching=!0,this._currentSearchId>-1&&(this.contentSearchServer.cancel(this._currentSearchId),this._currentSearchId=this._currentSearchId+1,this.reporter=null);const k=new Set;if(this.workspaceService.tryGetRoots().forEach(B=>{const j=new p.URI(B.uri);j.scheme===p.Schemes.file&&k.add(j.toString())}),P.encoding=this.preferenceService.get("files.encoding",void 0,(O=k.values().next())===null||O===void 0?void 0:O.value),D.isOnlyOpenEditors){k.clear();const B=p.arrays.coalesce(p.arrays.flatten(this.workbenchEditorService.editorGroups.map($=>$.resources))),j=((M=P.include)===null||M===void 0?void 0:M.map($=>(0,p.parseGlob)((0,E.anchorGlob)($))))||[],W=((R=P.exclude)===null||R===void 0?void 0:R.map($=>(0,p.parseGlob)((0,E.anchorGlob)($))))||[],U=B.filter($=>{const Y=$.uri.path.toString();return!(W.length>0&&W.some(z=>z(Y))||j.length>0&&!j.some(z=>z(Y)))}),Q=[],V=$=>!!$.codeUri.path&&$.codeUri.path[0]==="/";U.forEach(({uri:$})=>{var Y;if($.scheme!==p.Schemes.walkThrough)if(V($)){const z=(Y=this.workspaceService.getWorkspaceRootUri($))!==null&&Y!==void 0?Y:$.withPath($.path.dir),H=z.path.relative($.path);k.add(z.toString()),H&&Q.push(`./${H.toString()}`)}else $.codeUri.fsPath&&Q.push($.codeUri.fsPath)}),P.include=Q,P.exclude=Q.length>0?void 0:["**/*"]}const F=Array.from(k),L=await this.searchAllFromDocModel({searchValue:T,searchOptions:P,documentModelManager:this.documentModelManager,rootDirs:F});if(I.isCancellationRequested){this.isSearching=!1;return}this._currentSearchId=this.searchId++,this.reporter={timer:this.reporterService.time(_.REPORT_NAME.SEARCH_MEASURE),value:T},this.contentSearchServer.search(this._currentSearchId,T,F,P).then(B=>{I.isCancellationRequested||this._onSearchResult({id:B,data:L.result,searchState:E.SEARCH_STATE.doing,docModelSearchedList:L.searchedList})}),this.watchDocModelContentChange(P,F)}setEditorSelections(T,D){var I;(I=this.lastEditor)===null||I===void 0||I.setSelection(this.EMPTY_SELECTION),this.lastEditor=T,this.lastSelection=D,this.applyEditorSelections()}applyEditorSelections(){this.lastEditor&&this.lastSelection&&this.lastEditor.setSelection(this.lastSelection)}clearEditorSelections(T=!1){this.lastEditor&&this.lastEditor.setSelection(this.EMPTY_SELECTION),T&&(this.lastSelection=void 0,this.lastEditor=void 0)}watchDocModelContentChange(T,D){this.eventBusDisposer&&this.eventBusDisposer.dispose(),this.eventBusDisposer=this.eventBus.on(g.EditorDocumentModelContentChangedEvent,I=>{const O=I.payload;if(!this.searchResults||this.isReplacing||O.uri.scheme!==p.Schemes.file)return;const M=O.uri.toString(),R=this.documentModelManager.getModelReference(O.uri);if(!R)return;const P=this.searchFromDocModel(T,R.instance,this.searchValue,D),k=this.searchResults.get(M);k?P.result.length<1?(this.searchResults.delete(M),this.resultTotal.fileNum=this.resultTotal.fileNum-1,this.resultTotal.resultNum=this.resultTotal.resultNum-k.length):P.result.length!==k?.length&&(this.resultTotal.resultNum=this.resultTotal.resultNum-k.length+P.result.length):P.result.length>0&&(this.resultTotal.fileNum++,this.resultTotal.resultNum=this.resultTotal.resultNum+P.result.length),P.result.length>0&&this.searchResults.set(M,P.result),this.onDidChangeEmitter.fire(),R.dispose()})}cleanSearchResults(){this._docModelSearchedList=[],this.searchResults.clear(),this.resultTotal={resultNum:0,fileNum:0},this.clearEditorSelections(!0)}onSearchResult(T){this.searchResultCollection.pushAndGetResultList(T).forEach(I=>{this._onSearchResult(I)})}_onSearchResult(T){const{id:D,data:I,searchState:O,error:M,docModelSearchedList:R}=T;if(I&&(D>this._currentSearchId&&(this.isSearching=!0,this._currentSearchId=D,this.cleanSearchResults()),!(this._currentSearchId&&this._currentSearchId>D))){if(O&&(this.searchState=O,(O===E.SEARCH_STATE.done||O===E.SEARCH_STATE.error)&&(this.isSearching=!1,this._currentSearchId=-1),O===E.SEARCH_STATE.done&&this.reporter)){const{timer:P,value:k}=this.reporter;P.timeEnd(k,{...this.resultTotal}),this.reporter=null}M&&(this.isSearching=!1,this.searchError=M.toString(),this.reporter=null),this.mergeSameUriResult(I,this.searchResults,this._docModelSearchedList,this.resultTotal),R&&(this._docModelSearchedList=R),this.onDidChangeEmitter.fire()}}focus(){window.requestAnimationFrame(()=>{this.onDidSearchStateChangeEmitter.fire(this.searchValue),this.applyEditorSelections()})}blur(){this.clearEditorSelections()}refreshIsEnable(){return!!(this.searchState!==E.SEARCH_STATE.doing&&this.searchValue)}initSearchHistory(){return this.searchHistory.initSearchHistory()}setBackRecentSearchWord(){return this.searchHistory.setBackRecentSearchWord()}setRecentSearchWord(){return this.searchHistory.setRecentSearchWord()}clean(){this.searchResults.clear(),this.resultTotal={resultNum:0,fileNum:0},this.searchState=E.SEARCH_STATE.todo,this.searchValue="",this.replaceValue="",this.excludeValue="",this.includeValue="",this.searchError=""}cleanIsEnable(){return!!(this.searchValue||this.replaceValue||this.excludeValue||this.includeValue||this.searchError||this.searchResults&&this.searchResults.size>0)}foldIsEnable(){return!!(this.searchResults&&this.searchResults.size>0)}getPreferenceSearchExcludes(){const T=[],D=this.corePreferences["files.exclude"],I=this.searchPreferences["search.exclude"],O=Object.assign({},D,I);for(const M of Object.keys(O))O[M]&&T.push(M);return T}openPreference(){this.commandService.executeCommand(p.COMMON_COMMANDS.OPEN_PREFERENCES.id,"files.watcherExclude")}get searchHistory(){return this._searchHistory||(this._searchHistory=new a.SearchHistory(this,this.recentStorage)),this._searchHistory}get validateMessage(){if(this.resultTotal.resultNum>=E.DEFAULT_SEARCH_IN_WORKSPACE_LIMIT)return{message:(0,_.localize)("search.too.many.results"),type:c.VALIDATE_TYPE.WARNING}}async recoverUIState(){const T=await this.browserStorageService.getData("search.UIState");this.updateUIState(T||{})}getExcludeWithSetting(T,D){let I=[];return T.exclude&&(I=I.concat(T.exclude)),D.isIncludeIgnored||(I=I.concat(this.getPreferenceSearchExcludes())),I}setDefaultIncludeValue(){const T=this.searchPreferences["search.include"]||{};this.includeValue=Object.keys(T).reduce((D,I)=>(T[I]&&D.push(I),D),[]).join(","),this.includeValue&&this.updateUIState({isDetailOpen:!0})}mergeSameUriResult(T,D,I,O){const M=O||{fileNum:0,resultNum:0};return T.forEach(R=>{const P=D.get(R.fileUri);I.indexOf(R.fileUri)>-1||(P?(P.push(R),D.set(R.fileUri,P),M.resultNum++):(D.set(R.fileUri,[R]),M.fileNum++,M.resultNum++))}),{searchResultMap:D,total:M}}searchFromDocModel(T,D,I,O,M){let R=[];const P=D.uri.toString(),k=[],F=[];if(!O.some(j=>P.startsWith(j)))return{result:k,searchedList:F};if(T.include&&T.include.length>0){T.include.forEach(W=>{R.push((0,p.parseGlob)((0,E.anchorGlob)(W)))});const j=R.some(W=>W(P));if(R=[],!j)return{result:k,searchedList:F}}if(T.exclude&&T.exclude.length>0){T.exclude.forEach(W=>{R.push((0,p.parseGlob)((0,E.anchorGlob)(W)))});const j=R.some(W=>W(P));if(R=[],j)return{result:k,searchedList:F}}const L=D.getMonacoModel();return F.push(D.uri.toString()),L.findMatches(I,!0,!!T.useRegExp,!!T.matchCase,T.matchWholeWord?`\`~!@#$%^&*()-=+[{]}\\|;:'",.<>/?
31944
- `:null,!1).forEach((j,W)=>{W===0&&M&&this.setEditorSelections(M,j.range),k.push((0,E.cutShortSearchResult)({fileUri:D.uri.toString(),line:j.range.startLineNumber,matchStart:j.range.startColumn,matchLength:j.range.endColumn-j.range.startColumn,lineText:L.getLineContent(j.range.startLineNumber)}))}),{result:k,searchedList:F}}async searchAllFromDocModel(T){const D=T.searchValue,I=T.searchOptions,O=T.documentModelManager,M=T.rootDirs;let R=[],P=[];const k=O.getAllModels(),F=this.workbenchEditorService.currentEditorGroup,L=new E.FilterFileWithGlobRelativePath(M,I.include||[]);return await Promise.all(k.map(async B=>{const j=B.uri.toString();if(B.uri.scheme!==p.Schemes.file)return;const W=await this.resourceService.getResource(B.uri);if(!W||W.deleted||!L.test(j))return;const U=this.searchFromDocModel(I,B,D,M,F.codeEditor);R=R.concat(U.result),P=P.concat(U.searchedList)})),{result:R,searchedList:P}}fireTitleChange(){this.onDidTitleChangeEmitter.fire()}refresh(){this.search()}dispose(){var T;super.dispose(),(T=this.eventBusDisposer)===null||T===void 0||T.dispose(),this.blur()}};t.ContentSearchClientService=S,n.__decorate([(0,o.Autowired)(_.IEventBus),n.__metadata("design:type",Object)],S.prototype,"eventBus",void 0),n.__decorate([(0,o.Autowired)(b.SearchPreferences),n.__metadata("design:type",Object)],S.prototype,"searchPreferences",void 0),n.__decorate([(0,o.Autowired)(v.CorePreferences),n.__metadata("design:type",Object)],S.prototype,"corePreferences",void 0),n.__decorate([(0,o.Autowired)(E.ContentSearchServerPath),n.__metadata("design:type",Object)],S.prototype,"contentSearchServer",void 0),n.__decorate([(0,o.Autowired)(u.IWorkspaceService),n.__metadata("design:type",Object)],S.prototype,"workspaceService",void 0),n.__decorate([(0,o.Autowired)(p.RecentStorage),n.__metadata("design:type",p.RecentStorage)],S.prototype,"recentStorage",void 0),n.__decorate([(0,o.Autowired)(g.IEditorDocumentModelService),n.__metadata("design:type",Object)],S.prototype,"documentModelManager",void 0),n.__decorate([(0,o.Autowired)(p.CommandService),n.__metadata("design:type",Object)],S.prototype,"commandService",void 0),n.__decorate([(0,o.Autowired)(m.GlobalBrowserStorageService),n.__metadata("design:type",m.GlobalBrowserStorageService)],S.prototype,"browserStorageService",void 0),n.__decorate([(0,o.Autowired)(h.IDialogService),n.__metadata("design:type",Object)],S.prototype,"dialogService",void 0),n.__decorate([(0,o.Autowired)(h.IMessageService),n.__metadata("design:type",Object)],S.prototype,"messageService",void 0),n.__decorate([(0,o.Autowired)(d.IWorkspaceEditService),n.__metadata("design:type",Object)],S.prototype,"workspaceEditService",void 0),n.__decorate([(0,o.Autowired)(_.IReporterService),n.__metadata("design:type",Object)],S.prototype,"reporterService",void 0),n.__decorate([(0,o.Autowired)(p.PreferenceService),n.__metadata("design:type",Object)],S.prototype,"preferenceService",void 0),n.__decorate([(0,o.Autowired)(s.WorkbenchEditorService),n.__metadata("design:type",s.WorkbenchEditorService)],S.prototype,"workbenchEditorService",void 0),n.__decorate([(0,o.Autowired)(),n.__metadata("design:type",g.ResourceService)],S.prototype,"resourceService",void 0),t.ContentSearchClientService=S=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],S)},14851:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(41869),p=e(68974),v=e(52925),m=e(79904),_=n.__importDefault(e(66653)),s=e(67640),g=e(12781),l=e(68267);t.Search=(0,o.memo)(({viewState:h})=>{const u=(0,o.useRef)(null),d=(0,o.useRef)(null),E=(0,c.useInjectable)(v.ISearchTreeService),f=(0,c.useInjectable)(v.IContentSearchClientService),[a,b]=(0,o.useState)(0),[y,A]=(0,o.useState)({results:new Map,total:{resultNum:0,fileNum:0},isSearching:!1,state:v.SEARCH_STATE.done,searchError:"",isShowValidateMessage:!1}),[S,w]=(0,o.useState)(""),[T,D]=(0,o.useState)(""),{replaceAll:I,updateUIState:O,UIState:M}=f,[R,P]=(0,o.useState)(M.isDetailOpen),k=(0,o.useRef)(),F=(0,o.useRef)(new c.DisposableCollection),L=(0,o.useCallback)(()=>{P(f.UIState.isDetailOpen)},[R,f]),B=(0,o.useCallback)(()=>{O({isDetailOpen:!f.UIState.isDetailOpen})},[f]),j=(0,o.useCallback)(()=>{E.contextKey.searchInputBoxFocusedKey.set(!0)},[E]),W=(0,o.useCallback)(()=>{E.contextKey.searchInputBoxFocusedKey.set(!1)},[f]),U=(0,o.useCallback)(()=>{O({isMatchCase:!f.UIState.isMatchCase})},[f]),Q=(0,o.useCallback)(()=>{O({isUseRegexp:!f.UIState.isUseRegexp})},[f]),V=(0,o.useCallback)(()=>{O({isWholeWord:!f.UIState.isWholeWord})},[f]),$=(0,o.useCallback)(()=>{O({isOnlyOpenEditors:!f.UIState.isOnlyOpenEditors})},[f]),Y=(0,o.useCallback)(()=>{O({isIncludeIgnored:!f.UIState.isIncludeIgnored})},[f]);(0,o.useEffect)(()=>{b(u.current&&u.current.clientHeight||0)},[a,u.current,y,f,M.isDetailOpen]);const z={width:h.width||"100%",height:h.height},H=(0,o.useMemo)(()=>o.default.createElement("div",{className:_.default["loading-wrap"]},o.default.createElement(p.Progress,{loading:y.isSearching})),[y]),K=(0,o.useCallback)(te=>{te&&te.key!==c.Key.ENTER.code||(A({...y,results:new Map}),f.search())},[f,y]),Z=(0,o.useCallback)(te=>{f.onSearchInputChange(te.currentTarget.value||""),D(te.currentTarget.value)},[f]),X=(0,o.useCallback)(te=>{f.onSearchIncludeChange(te.currentTarget.value||"")},[f]),ie=(0,o.useCallback)(()=>{f.openPreference()},[f]),oe=(0,o.useCallback)(te=>{f.onSearchExcludeChange(te.currentTarget.value||"")},[f]),le=(0,o.useCallback)(te=>{f.onReplaceInputChange(te.currentTarget.value||""),w(te.currentTarget.value)},[S,f]),pe=(0,o.useCallback)(()=>{A({results:f.searchResults,total:f.resultTotal,isSearching:f.isSearching,state:f.searchState,searchError:f.searchError,isShowValidateMessage:f.isShowValidateMessage,validateMessage:f.validateMessage})},[y,f]),q=(0,o.useCallback)(te=>{var ge,Te;D(te),(ge=k.current)===null||ge===void 0||ge.focus(),(Te=k.current)===null||Te===void 0||Te.select()},[k.current,T]);(0,o.useEffect)(()=>(F.current.push(f.onDidChange(pe)),F.current.push(f.onDidTitleChange(pe)),F.current.push(f.onDidUIStateChange(L)),F.current.push(f.onDidSearchStateChange(q)),()=>{F.current.dispose()}),[]),(0,o.useEffect)(()=>{d.current&&E.initContextKey(d.current)},[]);const Ee=(0,o.useCallback)(()=>y.results.size>0?o.default.createElement(l.SearchTree,{offsetTop:a,viewState:h,state:y.state,total:y.total,search:T,replace:S,isUseRegexp:f.UIState.isUseRegexp,isMatchCase:f.UIState.isMatchCase}):y.state===v.SEARCH_STATE.done?o.default.createElement("div",{className:_.default.result_describe},T&&(0,c.localize)("search.noResultsFound")):null,[y,f,a,T,S]),_e=(0,o.useCallback)(()=>y.searchError||y.state===v.SEARCH_STATE.error?o.default.createElement("div",{className:_.default.result_error},y.searchError):Ee(),[y,f,a,T,S]);return o.default.createElement("div",{className:_.default.search_container,style:z,ref:d},H,o.default.createElement("div",{className:_.default.search_options,ref:u},o.default.createElement(m.SearchInputWidget,{isDetailOpen:M.isDetailOpen,onDetailToggle:B,isMatchCase:M.isMatchCase,onMatchCaseToggle:U,isRegex:M.isUseRegexp,onRegexToggle:Q,isWholeWord:M.isWholeWord,onWholeWordToggle:V,isShowValidateMessage:y.isShowValidateMessage,validateMessage:y.validateMessage,onSearchFocus:j,onSearchBlur:W,ref:te=>te&&(k.current=te),searchValue:f.searchValue,onSearchInputChange:Z,onSearch:K}),o.default.createElement(s.SearchReplaceWidget,{replaceValue:f.replaceValue,onSearch:K,onReplaceRuleChange:le,replaceAll:I,disabled:y.total.fileNum<=0}),o.default.createElement("div",{className:(0,r.default)(_.default.search_details)},R&&o.default.createElement(g.SearchRulesWidget,{includeValue:f.includeValue,excludeValue:f.excludeValue,onSearch:K,onChangeInclude:X,onChangeExclude:oe,isOnlyOpenEditors:M.isOnlyOpenEditors,isIncludeIgnored:M.isIncludeIgnored,onOnlyOpenEditorsToggle:$,onIncludeIgnoredToggle:Y,onOpenPreference:ie}))),_e())})},78182:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEARCH_TREE_NODE_HEIGHT=t.SearchNodeRendered=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(86109),m=n.__importDefault(e(2037)),_=({item:s,search:g,replace:l,defaultLeftPadding:h=8,leftPadding:u=8,decorations:d,onClick:E,onDoubleClick:f,onContextMenu:a,commandService:b,isUseRegexp:y,isMatchCase:A})=>{const S=(0,p.useDesignStyles)(m.default.expansion_toggle,"expansion_toggle"),w=(0,o.useCallback)(U=>{E(U,s)},[E]),T=(0,o.useCallback)(U=>{f(U,s)},[f]),D=(0,o.useCallback)(U=>{U.stopPropagation(),U.preventDefault(),a(U,s)},[a]),I=`${h+(s.depth||0)*(u||0)+(v.SearchFileNode.is(s)?0:8)}px`,O={height:t.SEARCH_TREE_NODE_HEIGHT,lineHeight:`${t.SEARCH_TREE_NODE_HEIGHT}px`,paddingLeft:I},M=(0,o.useCallback)(U=>v.SearchFileNode.is(U)?o.default.createElement("div",{className:(0,r.default)(m.default.icon,v.SearchFileNode.is(U)?U.icon:""),style:{height:t.SEARCH_TREE_NODE_HEIGHT,lineHeight:`${t.SEARCH_TREE_NODE_HEIGHT}px`}}):null,[]),R=(0,o.useCallback)(U=>o.default.createElement("div",{className:(0,r.default)(m.default.segment,m.default.displayname)},U.displayName),[]),P=(0,o.useCallback)(U=>{if(v.SearchFileNode.is(U))return o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description);{const{start:Q,end:V}=U.highlight;if(y){let $;try{$=new RegExp(g,A?"":"i")}catch{$=null}const Y=U.description.match($);if(!$||!Y)return o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description);const z=Y[0];if(z&&(0,p.isDefined)(Q)){const H=z.replace($,l);return o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description.slice(0,Q),o.default.createElement("span",{className:(0,r.default)(m.default.match,l&&m.default.replace)},z),H&&o.default.createElement("span",{className:m.default.replace},H),U.description.slice(V))}}else{let $=-1;return A?$=U.description.indexOf(g):$=U.description.toLocaleLowerCase().indexOf(g.toLocaleLowerCase()),$>=0?o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description.slice(0,Q),o.default.createElement("span",{className:(0,r.default)(m.default.match,l&&m.default.replace)},U.description.slice(Q,V)),l&&o.default.createElement("span",{className:m.default.replace},l),U.description.slice(V)):o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description)}}},[l,g,y,A]),k=(0,o.useCallback)(U=>o.default.createElement("div",{className:(0,r.default)(m.default.segment,m.default.tail)},F(U)),[]),F=(0,o.useCallback)(U=>{if(v.SearchFileNode.is(U))return o.default.createElement(c.Badge,{className:m.default.status},U.badge)},[]),L=(0,o.useCallback)(U=>o.default.createElement("div",{className:(0,r.default)(m.default.segment,S,(0,p.getIcon)("arrow-right"),{[`${m.default.mod_collapsed}`]:!U.expanded})}),[]),B=(0,o.useCallback)(U=>{if(v.SearchFileNode.is(U))return L(U)},[]),j=(0,o.useCallback)(()=>s.tooltip,[s]),W=(0,o.useCallback)(U=>{let Q;return v.SearchFileNode.is(s)?Q=[{icon:(0,p.getExternalIcon)("replace-all"),title:(0,p.localize)("search.replace.title"),command:p.SEARCH_COMMANDS.MENU_REPLACE_ALL.id},{icon:(0,p.getIcon)("eye-close"),title:(0,p.localize)("search.result.hide"),command:p.SEARCH_COMMANDS.MENU_HIDE.id}]:Q=[{icon:(0,p.getExternalIcon)("replace-all"),title:(0,p.localize)("search.replace.title"),command:p.SEARCH_COMMANDS.MENU_REPLACE.id},{icon:(0,p.getIcon)("eye-close"),title:(0,p.localize)("search.result.hide"),command:p.SEARCH_COMMANDS.MENU_HIDE.id}],o.default.createElement("div",{className:m.default.action_bar,style:{height:t.SEARCH_TREE_NODE_HEIGHT,lineHeight:`${t.SEARCH_TREE_NODE_HEIGHT}px`}},Q.map(V=>{const $=Y=>{Y.stopPropagation(),Y.preventDefault(),b.executeCommand(V.command,U)};return o.default.createElement(c.Button,{type:"icon",key:`${U.id}-${V.command}`,iconClass:(0,r.default)(m.default.action_icon,V.icon),title:V.title,onClick:$})}))},[]);return o.default.createElement("div",{key:s.id,onClick:w,onDoubleClick:T,onContextMenu:D,title:j(),className:(0,r.default)(m.default.search_node,d?d.classlist:null),style:O,"data-id":s.id},o.default.createElement("div",{className:m.default.content},B(s),M(s),o.default.createElement("div",{className:m.default.overflow_wrap},R(s),P(s)),W(s),k(s)))};t.SearchNodeRendered=_,t.SEARCH_TREE_NODE_HEIGHT=22},5439:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SearchTreeService=t.ReplaceDocumentModelContentProvider=t.RangeHighlightDecorations=void 0;const r=e(85608),o=e(76003),c=e(41869),p=e(43718),v=e(57517),m=e(42933),_=r.__importStar(e(20868)),s=e(51500),g=e(26199),l=e(92553),h=e(3956),u=e(50845),d=e(86109);let E=n=class{constructor(){this.preDeltaDecoration=null,this._model=null,this._modelRef=null,this._modelDisposables=new p.DisposableStore}removeHighlightRange(){this._model&&this.preDeltaDecoration&&this._model.deltaDecorations(this.preDeltaDecoration,[]),this.preDeltaDecoration=null}highlightRange(y,A){let S=null;if(p.URI.isUri(y)){const w=this.documentModelManager.getModelReference(y,"highlight-range");w&&(S=w.instance.getMonacoModel(),this._modelRef=w)}else S=y;S&&this.doHighlightRange(S,A)}doHighlightRange(y,A){this.removeHighlightRange(),this.preDeltaDecoration=y.deltaDecorations([],this.createEditorDecorations(A)),this.setModel(y)}createEditorDecorations(y){return[{range:y,options:n.RANGE_HIGHLIGHT_DECORATION}]}setModel(y){this._modelRef&&(this._modelRef.dispose(),this._modelRef=null),this._model!==y&&(this.clearModelListeners(),this._model=y,this._modelDisposables.add(this._model.onWillDispose(()=>{this.clearModelListeners(),this.removeHighlightRange(),this._model=null})))}clearModelListeners(){this._modelDisposables.clear()}dispose(){this._model&&(this.removeHighlightRange(),this._modelDisposables.dispose(),this._model=null)}};t.RangeHighlightDecorations=E,E.RANGE_HIGHLIGHT_DECORATION={className:"rangeHighlight",stickiness:_.editor.TrackedRangeStickiness.GrowsOnlyWhenTypingBefore,isWholeLine:!0},r.__decorate([(0,o.Autowired)(v.IEditorDocumentModelService),r.__metadata("design:type",Object)],E.prototype,"documentModelManager",void 0),t.RangeHighlightDecorations=E=n=r.__decorate([(0,o.Injectable)()],E);let f=class{constructor(){this.contentMap=new Map,this.onDidChangeContentEvent=new p.Emitter,this.onDidChangeContent=this.onDidChangeContentEvent.event}handlesScheme(y){return y===p.Schemes.internal}provideEditorDocumentModelContent(y){return this.contentMap.get(y.toString())||""}isReadonly(){return!0}async updateContent(y){const A=y.withScheme(JSON.parse(y.query).scheme).withoutQuery().withoutFragment();let S=this.searchBrowserService.searchResults.get(A.toString());if(!S)return"";const w=this.documentModelManager.getModelReference(A)||await this.documentModelManager.createModelReference(A),D=w.instance.getText(),I=this.documentModelManager.getModelReference(y)||await this.documentModelManager.createModelReference(y),O=I.instance;O.updateContent(D),S=S.map(M=>Object.assign({},M,{fileUri:y.toString()})),await(0,h.replace)(this.documentModelManager,this.workspaceEditService,S,this.searchBrowserService.replaceValue,this.searchBrowserService.searchValue,this.searchBrowserService.UIState.isUseRegexp),this.contentMap.set(y.toString(),O.getText()),I.dispose(),w.dispose()}delete(y){this.contentMap.delete(y.toString())}clear(){this.contentMap.clear()}};t.ReplaceDocumentModelContentProvider=f,r.__decorate([(0,o.Autowired)(v.IEditorDocumentModelService),r.__metadata("design:type",Object)],f.prototype,"documentModelManager",void 0),r.__decorate([(0,o.Autowired)(l.IContentSearchClientService),r.__metadata("design:type",Object)],f.prototype,"searchBrowserService",void 0),r.__decorate([(0,o.Autowired)(g.IWorkspaceEditService),r.__metadata("design:type",Object)],f.prototype,"workspaceEditService",void 0),t.ReplaceDocumentModelContentProvider=f=r.__decorate([(0,o.Injectable)()],f);let a=class extends p.Disposable{get viewReady(){return this.viewReadyDeferered.promise}constructor(){super(),this.viewReadyDeferered=new p.Deferred,this.addDispose(this.rangeHighlightDecorations),this.addDispose(this.contentRegistry.registerEditorDocumentModelContentProvider(this.replaceDocumentModelContentProvider))}get replaceValue(){return this.searchBrowserService.replaceValue}get resultTotal(){return this.searchBrowserService.resultTotal}get contextKey(){return this.searchContextKey}initContextKey(y){this.contextKey.initScopedContext(y),this.viewReadyDeferered.resolve()}removeHighlightRange(){this.rangeHighlightDecorations.removeHighlightRange()}async resolveChildren(y){var A;if(y){if(y)if(d.SearchRoot.isRoot(y)){const S=this.searchBrowserService.searchResults;if(!S)return[];const w=[];for(const T of S){const D=T[0],I=T[1],O=new p.URI(D),M=(A=await this.workspaceService.asRelativePath(O.parent))===null||A===void 0?void 0:A.path;!I||I.length<1||w.push(new d.SearchFileNode(this,I,M,await this.getReadableTooltip(O),this.labelService.getIcon(O),O,y))}return w}else return y.contentResults.map(w=>{const T=(w.renderStart||w.matchStart)-1,D=T+w.matchLength,I=w.renderLineText||w.lineText;return new d.SearchContentNode(this,w,I,{start:T,end:D},y.resource,y)})}else return[new d.SearchRoot(this)];return[]}async getCurrentUserHome(){if(!this.userhomePath)try{const y=await this.fileServiceClient.getCurrentUserHome();y&&(this.userhomePath=new p.URI(y.uri))}catch{}return this.userhomePath}async getReadableTooltip(y){const A=y.toString(),S=await this.getCurrentUserHome();if(!S)return decodeURIComponent(y.withScheme("").toString());if(S.isEqualOrParent(y)){const w=S&&S.toString();return decodeURIComponent(A.replace(w,"~"))}return decodeURIComponent(y.withScheme("").toString())}};t.SearchTreeService=a,r.__decorate([(0,o.Autowired)(l.IContentSearchClientService),r.__metadata("design:type",Object)],a.prototype,"searchBrowserService",void 0),r.__decorate([(0,o.Autowired)(s.IWorkspaceService),r.__metadata("design:type",Object)],a.prototype,"workspaceService",void 0),r.__decorate([(0,o.Autowired)(v.IEditorDocumentModelContentRegistry),r.__metadata("design:type",Object)],a.prototype,"contentRegistry",void 0),r.__decorate([(0,o.Autowired)(f),r.__metadata("design:type",f)],a.prototype,"replaceDocumentModelContentProvider",void 0),r.__decorate([(0,o.Autowired)(E),r.__metadata("design:type",E)],a.prototype,"rangeHighlightDecorations",void 0),r.__decorate([(0,o.Autowired)(m.IFileServiceClient),r.__metadata("design:type",Object)],a.prototype,"fileServiceClient",void 0),r.__decorate([(0,o.Autowired)(u.SearchContextKey),r.__metadata("design:type",u.SearchContextKey)],a.prototype,"searchContextKey",void 0),r.__decorate([(0,o.Autowired)(c.LabelService),r.__metadata("design:type",c.LabelService)],a.prototype,"labelService",void 0),r.__decorate([p.memoize,r.__metadata("design:type",Function),r.__metadata("design:paramtypes",[]),r.__metadata("design:returntype",Promise)],a.prototype,"getCurrentUserHome",null),t.SearchTreeService=a=r.__decorate([(0,o.Injectable)(),r.__metadata("design:paramtypes",[])],a)},68267:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchTree=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(92553),m=n.__importDefault(e(66653)),_=e(78182),s=e(13072),g=({total:h,state:u,model:d})=>{const[E,f]=(0,o.useState)(!1),a=(0,p.useInjectable)(s.SearchModelService),b=(0,o.useCallback)(()=>{a.clearSearchResults()},[a]),y=(0,o.useCallback)(()=>{const S=!E;f(S),S?a.collapsedAll():a.expandAll()},[E,a]),A=(0,o.useCallback)(()=>{a.refresh()},[a]);return(0,o.useEffect)(()=>{if(!d)return;const S=d.root.watcher.on(c.TreeNodeEvent.DidChangeExpansionState,()=>{E&&f(!E)});return()=>{S.dispose()}},[d,E]),h.resultNum>0?o.default.createElement("p",{className:m.default.result_describe},o.default.createElement("span",{className:m.default.text},(0,p.formatLocalize)("search.files.result",String(h.resultNum),String(h.fileNum))),o.default.createElement(c.Button,{className:(0,r.default)(m.default.result_fold,{[m.default.disabled]:u===v.SEARCH_STATE.doing}),onClick:b,type:"icon",icon:"clear",title:(0,p.localize)("search.ClearSearchResultsAction.label")}),o.default.createElement(c.Button,{className:(0,r.default)(m.default.result_fresh,{[m.default.disabled]:u===v.SEARCH_STATE.doing}),onClick:A,type:"icon",icon:"refresh",title:(0,p.localize)("search.RefreshAction.label")}),o.default.createElement(c.Button,{className:(0,r.default)(m.default.result_fold,{[m.default.disabled]:u===v.SEARCH_STATE.doing}),onClick:y,type:"icon",icon:E?"expand-all":"collapse-all",title:(0,p.localize)(E?"search.ExpandDeepestExpandedLevelAction.label":"search.CollapseDeepestExpandedLevelAction.label")})):null},l=({offsetTop:h,total:u,state:d,replace:E,search:f,viewState:a,isUseRegexp:b,isMatchCase:y})=>{const[A,S]=(0,o.useState)(),w=(0,p.useInjectable)(s.SearchModelService),T=(0,p.useInjectable)(p.CommandService),D=(0,o.useRef)(null),I=(0,o.useRef)(null),[O,M]=(0,o.useState)(0),{handleTreeBlur:R,handleTreeFocus:P}=w;(0,o.useEffect)(()=>{S(w.treeModel);const B=w.onDidUpdateTreeModel(j=>{S(j)});return()=>{B.dispose()}},[]),(0,o.useEffect)(()=>{I.current&&M(I.current.clientHeight)},[I.current]);const k=(0,o.useCallback)(B=>{w.handleTreeHandler(B)},[w]),F=(0,o.useCallback)(B=>o.default.createElement(_.SearchNodeRendered,{item:B.item,itemType:B.itemType,decorations:w.decorations.getDecorations(B.item),defaultLeftPadding:8,search:f,replace:E,onClick:w.handleItemClick,onDoubleClick:w.handleItemDoubleClick,onContextMenu:w.handleContextMenu,leftPadding:8,isUseRegexp:b,isMatchCase:y,commandService:T}),[A,f,E,b,y]),L=(0,o.useCallback)(()=>{if(A)return o.default.createElement(c.RecycleTree,{height:a.height-h-O,itemHeight:_.SEARCH_TREE_NODE_HEIGHT,onReady:k,model:A},F)},[A,O,h,f,E,b,y,a]);return o.default.createElement("div",{className:m.default.tree,tabIndex:-1,onBlur:R,onFocus:P,ref:D},o.default.createElement("div",{ref:I},o.default.createElement(g,{total:u,state:d,model:A})),L())};t.SearchTree=l},13072:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchModelService=t.SearchTreeModel=void 0;const n=e(85608),r=e(76003),o=e(97267),c=e(41869),p=e(93899),v=e(54414),m=n.__importStar(e(20868)),_=e(92553),s=e(33301),g=e(5439),l=e(86109),h=n.__importDefault(e(2037));let u=class extends o.TreeModel{constructor(f){super(),this.init(f)}};t.SearchTreeModel=u,t.SearchTreeModel=u=n.__decorate([(0,r.Injectable)({multiple:!0}),n.__param(0,(0,r.Optional)()),n.__metadata("design:paramtypes",[l.SearchRoot])],u);let d=class extends c.Disposable{constructor(){super(),this.selectedDecoration=new o.Decoration(h.default.mod_selected),this.focusedDecoration=new o.Decoration(h.default.mod_focused),this.contextMenuDecoration=new o.Decoration(h.default.mod_actived),this._selectedNodes=[],this.onDidUpdateTreeModelEmitter=new c.Emitter,this.disposableCollection=new c.DisposableCollection,this.treeIsDirty=!1,this.applyFocusedDecoration=(f,a=!0)=>{var b;if(this.contextMenuNode&&(this.focusedDecoration.removeTarget(this.contextMenuNode),this.selectedDecoration.removeTarget(this.contextMenuNode),this.contextMenuDecoration.removeTarget(this.contextMenuNode),this._contextMenuNode=null),f){for(const y of this._selectedNodes)this.selectedDecoration.removeTarget(y);this.focusedNode&&this.focusedDecoration.removeTarget(this.focusedNode),this.selectedDecoration.addTarget(f),this.focusedDecoration.addTarget(f),this._focusedNode=f,this._selectedNodes=[f],a&&((b=this.treeModel)===null||b===void 0||b.dispatchChange())}},this.applyContextMenuDecoration=f=>{this.contextMenuNode&&this.contextMenuDecoration.removeTarget(this.contextMenuNode),this.focusedNode&&(this.focusedDecoration.removeTarget(this.focusedNode),this._focusedNode=null),this.contextMenuDecoration.addTarget(f),this._contextMenuNode=f,this.treeModel.dispatchChange()},this.removeFocusedDecoration=()=>{var f;this.focusedNode&&(this.focusedDecoration.removeTarget(this.focusedNode),(f=this.treeModel)===null||f===void 0||f.dispatchChange()),this._focusedNode=null},this.handleTreeBlur=()=>{this.searchTreeService.contextKey.searchViewFocusedKey.set(!1),this.removeFocusedDecoration()},this.handleTreeFocus=()=>{this.searchTreeService.contextKey.searchViewFocusedKey.set(!0)},this.handleContextMenu=(f,a)=>{if(!a){this.removeFocusedDecoration();return}this.applyContextMenuDecoration(a);const b=this.contextMenuService.createMenu({id:p.MenuId.SearchContext,contextKeyService:this.searchTreeService.contextKey.service}),y=b.getMergedMenuNodes();b.dispose();const{x:A,y:S}=f.nativeEvent;this.ctxMenuRenderer.show({anchor:{x:A,y:S},menuNodes:y,args:[a]})},this.handleItemClick=async(f,a,b=!0)=>{if(this.applyFocusedDecoration(a),l.SearchFileNode.is(a))this.toggleDirectory(a);else if(a.contentResult){const y=a.contentResult;if(this.searchPreferences["search.useReplacePreview"]&&this.searchTreeService.replaceValue){const S=new c.URI(y.fileUri),w=this.toReplaceResource(S);await this.replaceDocumentModelContentProvider.updateContent(w);const T=await this.workbenchEditorService.open(c.URI.from({scheme:"diff",query:c.URI.stringifyQuery({name:(0,c.formatLocalize)("search.fileReplaceChanges",S.displayName,w.displayName),original:S,modified:w})}),{preview:b,supportsRevive:!1});if(T){const I=T.group.currentEditor;I&&I.monacoEditor.revealLineInCenter(y.line)}this.replaceDocumentModelContentProvider.delete(w)}else{const S=new c.URI(y.fileUri),w=await this.workbenchEditorService.open(new c.URI(y.fileUri),{preview:b,focus:!b,range:{startLineNumber:y.line,startColumn:y.matchStart,endLineNumber:y.line,endColumn:y.matchStart+y.matchLength}});w&&!w.resource.deleted&&this.rangeHighlightDecorations.highlightRange(S,new m.Range(y.line,y.matchStart,y.line,y.matchStart+y.matchLength))}}},this.handleItemDoubleClick=(f,a)=>{l.SearchFileNode.is(a)||this.handleItemClick(f,a,!1)},this.toggleDirectory=f=>{f.expanded?this.searchTreeHandle.collapseNode(f):this.searchTreeHandle.expandNode(f)},this._whenReady=this.initTreeModel(),this.addDispose(this.rangeHighlightDecorations)}get onDidUpdateTreeModel(){return this.onDidUpdateTreeModelEmitter.event}get whenReady(){return this._whenReady}get searchTreeHandle(){return this._searchTreeHandle}get decorations(){return this._decorations}get treeModel(){return this._treeModel}get focusedNode(){return this._focusedNode}get selectedNodes(){return this._selectedNodes}get contextMenuNode(){return this._contextMenuNode}async initTreeModel(){const f=await this.searchTreeService.resolveChildren();if(!f)return;const a=f[0];a&&(this._treeModel=this.injector.get(u,[a]),await this._treeModel.ensureReady,this.initDecorations(a),this.disposables.push(this.searchService.onDidChange(()=>{this.searchService.searchResults.size>0?this.searchTreeService.contextKey.hasSearchResults.set(!0):this.searchTreeService.contextKey.hasSearchResults.set(!1),this.refresh()})),this.onDidUpdateTreeModelEmitter.fire(this._treeModel))}initDecorations(f){return this._decorations=new o.DecorationsManager(f),this._decorations.addDecoration(this.selectedDecoration),this._decorations.addDecoration(this.focusedDecoration),this._decorations.addDecoration(this.contextMenuDecoration),this._decorations}handleTreeHandler(f){this._searchTreeHandle=f}async refresh(){await this.whenReady,await this.searchTreeService.viewReady,(0,c.runWhenIdle)(()=>{this.searchTreeService.contextKey&&this.searchTreeService.contextKey.searchViewVisibleKey.get()?this.treeModel.root.refresh():this.treeIsDirty=!0})}collapsedAll(){return this.treeModel.root.collapsedAll()}expandAll(){return this.treeModel.root.expandedAll()}clearSearchResults(){this.searchService.clean(),this.searchService.search()}toReplaceResource(f){return f.withScheme(c.Schemes.internal).withFragment("replacePreview").withQuery(JSON.stringify({scheme:f.scheme}))}activate(){this.searchTreeService.contextKey&&this.searchTreeService.contextKey.searchViewVisibleKey.set(!0),this.treeIsDirty&&(this.refresh(),this.treeIsDirty=!1)}deactivate(){this.searchTreeService.contextKey&&this.searchTreeService.contextKey.searchViewVisibleKey.set(!1)}dispose(){this.disposableCollection.dispose()}};t.SearchModelService=d,n.__decorate([(0,r.Autowired)(_.ISearchTreeService),n.__metadata("design:type",g.SearchTreeService)],d.prototype,"searchTreeService",void 0),n.__decorate([(0,r.Autowired)(_.IContentSearchClientService),n.__metadata("design:type",Object)],d.prototype,"searchService",void 0),n.__decorate([(0,r.Autowired)(v.WorkbenchEditorService),n.__metadata("design:type",v.WorkbenchEditorService)],d.prototype,"workbenchEditorService",void 0),n.__decorate([(0,r.Autowired)(g.ReplaceDocumentModelContentProvider),n.__metadata("design:type",g.ReplaceDocumentModelContentProvider)],d.prototype,"replaceDocumentModelContentProvider",void 0),n.__decorate([(0,r.Autowired)(g.RangeHighlightDecorations),n.__metadata("design:type",g.RangeHighlightDecorations)],d.prototype,"rangeHighlightDecorations",void 0),n.__decorate([(0,r.Autowired)(p.ICtxMenuRenderer),n.__metadata("design:type",p.ICtxMenuRenderer)],d.prototype,"ctxMenuRenderer",void 0),n.__decorate([(0,r.Autowired)(p.AbstractContextMenuService),n.__metadata("design:type",p.AbstractContextMenuService)],d.prototype,"contextMenuService",void 0),n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],d.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(s.SearchPreferences),n.__metadata("design:type",Object)],d.prototype,"searchPreferences",void 0),t.SearchModelService=d=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],d)},86109:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchContentNode=t.SearchFileNode=t.SearchRoot=void 0;const n=e(97267);class r extends n.CompositeTreeNode{static is(v){return!!v&&!v.parent}constructor(v){super(v,void 0)}get expanded(){return!0}}t.SearchRoot=r;class o extends n.CompositeTreeNode{constructor(v,m,_="",s,g,l,h){super(v,h),this.contentResults=m,this.description=_,this.tooltip=s,this.icon=g,this.resource=l,this.isExpanded=!0}get displayName(){return this.resource.displayName}get badge(){return this.branchSize}get highlight(){return{}}}t.SearchFileNode=o;class c extends n.TreeNode{constructor(v,m,_="",s,g,l){super(v,l),this.contentResult=m,this.description=_,this.highlight=s,this.resource=g}get displayName(){return""}get tooltip(){if(this.description&&this.highlight){const{start:v,end:m}=this.highlight;return`${this.description.slice(0,v)}${this._tree.replaceValue||this.description.slice(v,m)}${this.description.slice(m)}`.slice(0,999)}return""}}t.SearchContentNode=c},92553:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FilterFileWithGlobRelativePath=t.SEARCH_STATE=t.ISearchTreeService=t.IContentSearchClientService=t.DEFAULT_SEARCH_IN_WORKSPACE_LIMIT=t.IContentSearchServer=t.ContentSearchServerPath=void 0,t.anchorGlob=o,t.getRoot=c,t.cutShortSearchResult=p;const n=e(43718);t.ContentSearchServerPath="ContentSearchServerPath",t.IContentSearchServer=Symbol("ContentSearchService"),t.DEFAULT_SEARCH_IN_WORKSPACE_LIMIT=2e3,t.IContentSearchClientService=Symbol("IContentSearchClientService"),t.ISearchTreeService=Symbol("ISearchTreeService");var r;(function(m){m[m.todo=0]="todo",m[m.doing=1]="doing",m[m.done=2]="done",m[m.error=3]="error"})(r||(t.SEARCH_STATE=r={}));function o(m,_){const s=_===!1?"":"**/";return n.strings.startsWith(m,"./")&&(m=m.replace(/^.\//,"")),n.strings.endsWith(m,"/")?`${s}${m}**`:!/[*{(+@!^|?]/.test(m)&&!/\.[A-Za-z0-9]+$/.test(m)?`${s}${m}/**`:n.strings.startsWith(m,s)?m:`${s}${m}`}function c(m,_){let s="";return!m||!_||m.some(g=>{if(_.indexOf(g)===0)return s=g,!0}),s}function p(m){const _=Object.assign({},m),{lineText:s,matchLength:g,matchStart:l}=_,h=500,u=h;if(!s)return _;if(s.length>h){const E=l-20>-1?l-20:0;return _.renderLineText=s.slice(E,E+500),delete _.lineText,_.renderStart=l-E,_.matchLength=g>u?u:g,_}else{const E=l-40>-1?l-40:0;return _.renderLineText=s.slice(E,s.length),delete _.lineText,_.renderStart=l-E,_}}class v{constructor(_,s){this.matcherList=[],!(_.length<1||s.length<1)&&_.forEach(g=>{const l=new n.URI(g);s.forEach(h=>{if(n.strings.startsWith(h,"./")){const u=(0,n.parseGlob)(o(h));h=h.slice(2,h.length);const d=l.resolve(o(h,!1)).path.toString();this.matcherList.push({relative:u,absolute:(0,n.parseGlob)(d)})}})})}test(_){let s=!0;if(this.matcherList.length<1)return s;const g=new n.URI(_).path.toString();return this.matcherList.some(l=>{if(l.relative(g))s=!1;else return;return s=l.absolute(g),s}),s}}t.FilterFileWithGlobRelativePath=v},52925:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(92553),t)},13439:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(52925),t)},97462:(x,t,e)=>{"use strict";var n;n={value:!0},n=t.$h=void 0;const r=e(73827),o=e(32004),c=e(54230),p=e(41869),v=e(33969),m=e(4958),_=e(17242),s=e(57517),g=e(59027),l=e(40731),h=e(38105),u=e(53599),d=e(52568),E=e(96708),f=e(83709),a=e(21774),b=e(83507),y=e(7480),A=e(93374),S=e(99669),w=e(64523),T=e(62663),D=e(72106),I=e(31379),O=e(46608),M=e(89549),R=e(96194),P=e(58408),k=e(96534),F=e(31435),L=e(6556),B=e(16158),j=e(28639),W=e(95737),U=e(17236),Q=e(26874),V=e(7443),$=e(47289),Y=e(40968),z=e(65046),H=e(41103),K=e(7284);t.$h=[y.MainLayoutModule,R.OverlayModule,b.LogModule,p.ClientCommonModule,w.MenuBarModule,T.MonacoModule,B.StatusBarModule,s.EditorModule,g.ExplorerModule,f.FileTreeNextModule,E.FileServiceClientModule,L.SearchModule,d.FileSchemeModule,M.OutputModule,k.QuickOpenModule,S.MarkersModule,V.ThemeModule,H.WorkspaceModule,u.ExtensionStorageModule,j.StorageModule,I.OpenedEditorModule,O.OutlineModule,P.PreferencesModule,$.ToolbarModule,z.WebviewModule,A.MarkdownModule,K.WorkspaceEditModule,F.SCMModule,m.DecorationModule,v.DebugModule,Y.VariableModule,a.KeymapsModule,U.TerminalNextModule,l.ExtensionModule,h.OpenVsxExtensionManagerModule,D.MonacoEnhanceModule,r.ClientAddonModule,c.CommentsModule,W.TaskModule,Q.TestingModule],n=[_.DesignModule,o.AINativeModule]},16158:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarModule=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(26542),p=e(52172),v=e(60643);let m=class extends o.BrowserModule{constructor(){super(...arguments),this.providers=[{token:c.IStatusBarService,useClass:v.StatusBarService},p.StatusBarContribution]}};t.StatusBarModule=m,t.StatusBarModule=m=n.__decorate([(0,r.Injectable)()],m)},92237:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarItem=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(48560),m=e(43718),_=e(52416),s=n.__importDefault(e(6373)),g=(0,o.memo)(l=>{const h=(0,v.useInjectable)(m.CommandService),u=(0,v.useInjectable)(_.IIconService),{contents:d}=l,E=(0,o.useCallback)(f=>{f&&h.executeCommand(f.id,...f.arguments||[])},[]);return o.default.createElement("div",null,d.map((f,a)=>o.default.createElement("div",{key:`${f.title}-${a}`,className:s.default.popover_content},o.default.createElement("span",null,f.title&&(0,p.transformLabelWithCodicon)(f.title,{},u.fromString.bind(u)),f.name&&` - ${f.name}`),f.command&&o.default.createElement(c.Button,{type:"link",title:f.command.tooltip,onClick:()=>E(f.command)},f.command.title))))});t.StatusBarItem=(0,o.memo)(l=>{const{entryId:h,text:u,onClick:d,tooltip:E,command:f,ariaLabel:a,iconClass:b,className:y,role:A="button",hoverContents:S,color:w,backgroundColor:T,side:D}=l,I=(0,v.useInjectable)(_.IThemeService),O=(0,v.useInjectable)(p.IOpenerService),M=(0,v.useInjectable)(_.IIconService),R=(0,o.useMemo)(()=>!E&&!S,[E,S]),P=(0,o.useMemo)(()=>{if(S)return o.default.createElement(g,{contents:S});if(E&&E.value){const F=(0,p.toMarkdownHtml)(E.value),L=(0,p.transformLabelWithCodiconHtml)(F,M.fromString.bind(M));return(0,p.toMarkdown)(L,O,void 0,!0)}return(0,m.isString)(E)&&o.default.createElement("div",{className:s.default.popover_tooltip},(0,p.transformLabelWithCodicon)(E,{},M.fromString.bind(M)))},[E]),k=F=>{var L,B;return F?(0,m.isThemeColor)(F)?(B=(L=I.getColor(F))===null||L===void 0?void 0:L.toString())!==null&&B!==void 0?B:"":F:""};return o.default.createElement("div",{id:h,className:(0,r.default)(s.default.element,y,{[s.default.hasCommand]:f||d}),onClick:d,style:{color:k(w),backgroundColor:k(T)},"aria-label":a},o.default.createElement(c.Popover,{id:`${h}-popover`,content:P,trigger:c.PopoverTriggerType.hover,delay:.2,position:D==="left"?c.PopoverPosition.topLeft:D==="right"?c.PopoverPosition.topRight:c.PopoverPosition.top,disable:R},o.default.createElement("div",{className:s.default.popover_item},b&&o.default.createElement("span",{key:-1,className:(0,r.default)(s.default.icon,b)}),typeof u=="string"?(0,p.transformLabelWithCodicon)(u,{},M.fromString.bind(M),(F,L)=>o.default.createElement("span",{key:`${F}-${L}`,style:{height:"22px",lineHeight:"22px"},"aria-label":a,role:A},(0,p.replaceLocalizePlaceholder)(F))):u)))})},52172:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarContribution=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(68456),p=e(26542),v=e(67899),m=e(29079);let _=class{registerComponent(g){g.register("@opensumi/ide-status-bar",{component:m.StatusBarView,id:"ide-status-bar"},{size:24})}registerCommands(g){g.registerCommand(p.StatusBarCommand.changeBackgroundColor,{execute:l=>this.statusBarService.setBackgroundColor(l)}),g.registerCommand(p.StatusBarCommand.changeColor,{execute:l=>this.statusBarService.setColor(l)}),g.registerCommand(p.StatusBarCommand.addElement,{execute:(l,h)=>this.statusBarService.addElement(l,h)}),g.registerCommand(p.StatusBarCommand.toggleElement,{execute:l=>{this.statusBarService.toggleElement(l)}})}};t.StatusBarContribution=_,n.__decorate([(0,r.Autowired)(v.IStatusBarService),n.__metadata("design:type",Object)],_.prototype,"statusBarService",void 0),t.StatusBarContribution=_=n.__decorate([(0,o.Domain)(c.ComponentContribution,o.CommandContribution)],_)},60643:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarService=void 0;const n=e(85608),r=e(76003),o=e(40396),c=e(41869),p=e(95416),v=e(93899),m=e(40191),_=e(26542),s=e(43718),g=e(28423);let l=class extends c.Disposable{constructor(){super(...arguments),this.emitter=this.registerDispose(new o.EventEmitter),this.entriesObservable=(0,g.observableValue)(this,new Map),this.disposableCollection=new Map,this.entriesArray=(0,g.derived)(this,u=>{const d=this.entriesObservable.read(u);return Array.from(d.values()).sort((E,f)=>{const a=E.priority||0;return(f.priority||0)-a})}),this.leftEntries=(0,g.derived)(this,u=>this.entriesArray.read(u).filter(E=>!E.hidden&&E.alignment===_.StatusBarAlignment.LEFT)),this.rightEntries=(0,g.derived)(this,u=>this.entriesArray.read(u).filter(E=>!E.hidden&&E.alignment===_.StatusBarAlignment.RIGHT))}getBackgroundColor(){return this.appConfig.extensionDevelopmentHost?"var(--kt-statusBar-extensionDebuggingBackground)":this.background}getColor(){return this.foreground}setBackgroundColor(u){this.background=u,this.emitter.emit("backgroundColor",u)}setColor(u){this.foreground=u,this.emitter.emit("color",u)}getElementConfig(u,d){return d.command&&(d.onClick=this.onclick(d)),d.entryId=u,(0,c.isUndefined)(d.id)&&(d.id=u),d}getEntriesById(u){return this.entriesArray.get().filter(d=>d.id===u)}getStorageState(u){return this.layoutState.getState(p.LAYOUT_STATE.STATUSBAR,{})[u]}setStorageState(u,d){this.layoutState.setState(p.LAYOUT_STATE.STATUSBAR,{...this.layoutState.getState(p.LAYOUT_STATE.STATUSBAR,{}),[u]:d})}addElement(u,d){var E,f,a,b;const y=new s.DisposableCollection;d=this.getElementConfig(u,d);const A=d.id,S=(f=(E=this.getStorageState(A))===null||E===void 0?void 0:E.hidden)!==null&&f!==void 0?f:d.hidden;if(d.hidden=S,d.name&&this.getEntriesById(A).length===0){const T=new m.RawContextKey(`${A}:toggle`,!S);T.bind(this.contextKeyService);const D=d.alignment===_.StatusBarAlignment.LEFT?-1*((a=d.priority)!==null&&a!==void 0?a:0):Number.MAX_SAFE_INTEGER-((b=d.priority)!==null&&b!==void 0?b:0),I=this.menuRegistry.registerMenuItem(v.MenuId.StatusBarContext,{command:{id:_.StatusBarCommand.toggleElement.id,label:d.name},order:D,extraTailArgs:[u],toggledWhen:T.raw});y.push(I)}const w=this.entriesObservable.get();return w.set(u,d),(0,g.transaction)(T=>{this.entriesObservable.set(new Map(w),T)}),y.push(c.Disposable.create(()=>{const T=this.entriesObservable.get();T.delete(u),(0,g.transaction)(D=>{this.entriesObservable.set(new Map(T),D)})})),this.disposableCollection.set(u,y),{dispose:()=>{this.removeElement(u)},update:T=>{this.setElement(u,T)}}}toggleElement(u){const E=this.entriesObservable.get().get(u);if(E?.id){const f=`${E.id}:toggle`,a=!E.hidden;this.contextKeyService.createKey(f,!a),this.setStorageState(E.id,{hidden:a});for(const b of this.getEntriesById(E.id))b.hidden=!b.hidden}}setElement(u,d){const E=this.entriesObservable.get(),f=E.get(u);if(f){const a={...f,...d};E.set(u,this.getElementConfig(u,a)),(0,g.transaction)(b=>{this.entriesObservable.set(new Map(E),b)})}else throw new Error(`not found id is ${u} element`)}removeElement(u){var d;(d=this.disposableCollection.get(u))===null||d===void 0||d.dispose(),this.disposableCollection.delete(u)}onclick(u){return()=>{if(u.command){const d=u.arguments||[];this.commandService.executeCommand(u.command,...d)}}}get contextKeyService(){return this.registerDispose(this.globalContextKeyService.createScoped())}get contextMenu(){return this.registerDispose(this.menuService.createMenu(v.MenuId.StatusBarContext,this.contextKeyService))}};t.StatusBarService=l,n.__decorate([(0,r.Autowired)(s.CommandService),n.__metadata("design:type",Object)],l.prototype,"commandService",void 0),n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],l.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(v.IMenuRegistry),n.__metadata("design:type",v.IMenuRegistry)],l.prototype,"menuRegistry",void 0),n.__decorate([(0,r.Autowired)(v.AbstractMenuService),n.__metadata("design:type",v.AbstractMenuService)],l.prototype,"menuService",void 0),n.__decorate([(0,r.Autowired)(c.IContextKeyService),n.__metadata("design:type",Object)],l.prototype,"globalContextKeyService",void 0),n.__decorate([(0,r.Autowired)(p.LayoutState),n.__metadata("design:type",p.LayoutState)],l.prototype,"layoutState",void 0),n.__decorate([s.memoize,n.__metadata("design:type",Object),n.__metadata("design:paramtypes",[])],l.prototype,"contextKeyService",null),n.__decorate([s.memoize,n.__metadata("design:type",Object),n.__metadata("design:paramtypes",[])],l.prototype,"contextMenu",null),t.StatusBarService=l=n.__decorate([(0,r.Injectable)()],l)},29079:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarView=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(41869),p=e(1149),v=e(63373),m=e(93899),_=e(48560),s=e(26542),g=e(92237),l=n.__importDefault(e(6373));t.StatusBarView=(0,o.memo)(()=>{const h=(0,_.useInjectable)(s.IStatusBarService),u=(0,c.useAutorun)(h.leftEntries),d=(0,c.useAutorun)(h.rightEntries),E=(0,_.useInjectable)(m.ICtxMenuRenderer),f=(0,_.useInjectable)(p.LayoutViewSizeConfig),a=(0,c.useEventDrivenState)(h.emitter,"backgroundColor",()=>h.getBackgroundColor()),b=(0,c.useEventDrivenState)(h.emitter,"color",()=>h.getColor()),y=(0,o.useCallback)(A=>{A.preventDefault();const S=(0,m.generateCtxMenu)({menus:h.contextMenu,args:[]});E.show({anchor:{x:A.clientX,y:A.clientY},menuNodes:S[1]})},[]);return o.default.createElement("div",{id:v.VIEW_CONTAINERS.STATUSBAR,className:l.default.statusBar,style:{backgroundColor:a,height:f.statusBarHeight+"px"},onContextMenu:y},o.default.createElement("div",{className:(0,r.default)(l.default.area,l.default.left)},u.length?u.map((A,S)=>o.default.createElement(g.StatusBarItem,{side:"left",key:`${A.entryId}-${S}`,...A,color:b??A.color})):null),o.default.createElement("div",{className:(0,r.default)(l.default.area,l.default.right)},d.length?d.map((A,S)=>o.default.createElement(g.StatusBarItem,{side:"right",key:`${A.entryId}-${S}`,...A,color:b??A.color})):null))}),t.StatusBarView.displayName="StatusBar"},67899:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IStatusBarService=void 0;var n=e(26542);Object.defineProperty(t,"IStatusBarService",{enumerable:!0,get:function(){return n.IStatusBarService}})},40293:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(67899),t)},28639:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageModule=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(22992),p=e(2948),v=e(53920),m=e(57919);let _=class extends o.BrowserModule{constructor(){super(...arguments),this.providers=[{token:c.IStoragePathServer,useClass:p.StoragePathServer},{token:c.IGlobalStorageServer,useClass:m.GlobalStorageServer},{token:c.IWorkspaceStorageServer,useClass:m.WorkspaceStorageServer},v.DatabaseStorageContribution]}};t.StorageModule=_,t.StorageModule=_=n.__decorate([(0,r.Injectable)()],_)},2948:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StoragePathServer=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(14951),{Path:p}=o.path;let v=class{constructor(){this.windowsDataFolders=[o.StoragePaths.WINDOWS_APP_DATA_DIR,o.StoragePaths.WINDOWS_ROAMING_DIR],this.ensureStorageDirPromises=new Map,this.init()}async init(){this.deferredWorkspaceStoragePath=new o.Deferred,this.deferredGlobalStoragePath=new o.Deferred,this.workspaceStoragePathInitialized=!1,this.globalStoragePathInitialized=!1,this._userHome=this.getUserHomeDir()}get userHome(){return this._userHome}async ensureStorageDir(_){if(this.ensureStorageDirPromises.has(_))return await this.ensureStorageDirPromises.get(_);const s=this.doEnsureStorageDir(_);return this.ensureStorageDirPromises.set(_,s),await s}async doEnsureStorageDir(_){try{await this.fileSystem.access(_)||await this.fileSystem.createFolder(_)}catch(s){this.logger.error(s)}}async provideWorkspaceStorageDirPath(_){if(this.cachedWorkspaceStoragePath)return this.cachedWorkspaceStoragePath;const s=await this.getBaseStorageDirPath(_),g=o.URI.file(s).resolve(o.StoragePaths.DEFAULT_DATA_DIR_NAME).toString();if(!s)throw new Error("Unable to get parent storage directory");return this.workspaceStoragePathInitialized||await this.ensureStorageDir(g),this.deferredWorkspaceStoragePath.resolve(g),this.workspaceStoragePathInitialized=!0,this.cachedWorkspaceStoragePath=g}async provideGlobalStorageDirPath(_){if(this.cachedGlobalStoragePath)return this.cachedGlobalStoragePath;const s=await this.getBaseStorageDirPath(_),g=o.URI.file(s).toString();if(!s)throw new Error("Unable to get parent storage directory");return this.globalStoragePathInitialized||await this.ensureStorageDir(g),this.deferredGlobalStoragePath.resolve(g),this.globalStoragePathInitialized=!0,this.cachedGlobalStoragePath=g}async getBaseStorageDirPath(_){return await this.getDataDirPath(_)}async getDataDirPath(_){const s=await this.userHome,g=_||o.StoragePaths.DEFAULT_STORAGE_DIR_NAME;return new p(s).join(...o.isWindows?this.windowsDataFolders:[""],g).toString()}async getUserHomeDir(){const _=await this.fileSystem.getCurrentUserHome();if(!_)throw new Error("Unable to get user home directory");return await this.fileSystem.getFsPath(_.uri)||""}async getLastWorkspaceStoragePath(){return this.workspaceStoragePathInitialized?this.cachedWorkspaceStoragePath:this.deferredWorkspaceStoragePath.promise}async getLastGlobalStoragePath(){return this.globalStoragePathInitialized?this.cachedGlobalStoragePath:this.deferredGlobalStoragePath.promise}};t.StoragePathServer=v,n.__decorate([(0,r.Autowired)(c.IFileServiceClient),n.__metadata("design:type",Object)],v.prototype,"fileSystem",void 0),n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],v.prototype,"logger",void 0),t.StoragePathServer=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},53920:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DatabaseStorageContribution=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(51500),p=e(22992),v=e(93046);let m=class{constructor(){this.cache=new Map}async resolve(s){const g=s.path.toString();let l;const h=this.cache.get(s.toString());if(h)l=h;else{if(s.scheme===o.STORAGE_SCHEMA.SCOPE)this.isBuiltinStorage(s)?l=new v.Storage(this.workspaceStorage,this.workspaceService,this.appConfig,g,!1,this.scopedLocalStorage):l=new v.Storage(this.workspaceStorage,this.workspaceService,this.appConfig,g,!1);else if(s.scheme===o.STORAGE_SCHEMA.GLOBAL)this.isBuiltinStorage(s)?l=new v.Storage(this.globalStorage,this.workspaceService,this.appConfig,g,!0,this.globalLocalStorage):l=new v.Storage(this.globalStorage,this.workspaceService,this.appConfig,g,!0);else return;this.cache.set(s.toString(),l)}return await l.whenReady,l}isBuiltinStorage(s){const g=Object.keys(o.STORAGE_NAMESPACE);for(const l of g)if(s.isEqual(o.STORAGE_NAMESPACE[l]))return!0;return!1}};t.DatabaseStorageContribution=m,n.__decorate([(0,r.Autowired)(p.IWorkspaceStorageServer),n.__metadata("design:type",Object)],m.prototype,"workspaceStorage",void 0),n.__decorate([(0,r.Autowired)(p.IGlobalStorageServer),n.__metadata("design:type",Object)],m.prototype,"globalStorage",void 0),n.__decorate([(0,r.Autowired)(o.AppConfig),n.__metadata("design:type",Object)],m.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(c.IWorkspaceService),n.__metadata("design:type",Object)],m.prototype,"workspaceService",void 0),n.__decorate([(0,r.Autowired)(o.GlobalBrowserStorageService),n.__metadata("design:type",o.GlobalBrowserStorageService)],m.prototype,"globalLocalStorage",void 0),n.__decorate([(0,r.Autowired)(o.ScopedBrowserStorageService),n.__metadata("design:type",o.ScopedBrowserStorageService)],m.prototype,"scopedLocalStorage",void 0),t.DatabaseStorageContribution=m=n.__decorate([(0,o.Domain)(o.StorageResolverContribution)],m)},93046:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=void 0;const n=e(43718);var r;(function(c){c[c.None=0]="None",c[c.Initialized=1]="Initialized",c[c.Closed=2]="Closed"})(r||(r={}));class o{constructor(p,v,m,_,s=!0,g){this.database=p,this.workspace=v,this.appConfig=m,this.storageName=_,this.isGlobal=s,this.browserLocalStorage=g,this._onDidChangeStorage=new n.Emitter,this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=r.None,this.cache=new Map,this.pendingDeletes=new Set,this.pendingInserts=new Map,this.toDisposableCollection=new n.DisposableCollection,this.logger=(0,n.getDebugLogger)(),this.readyDeferred=new n.Deferred,this.whenReadyToWriteDeferred=new n.Deferred,this.toDisposableCollection.push(this._onDidChangeStorage),this.flushDelayer=new n.ThrottledDelayer(o.DEFAULT_FLUSH_DELAY),this.init(_).then(()=>{this.toDisposableCollection.push(this.workspace.onWorkspaceChanged(()=>{this.init(_)}))})}get whenReady(){return this.readyDeferred.promise}get whenReadyToWrite(){return this.whenReadyToWriteDeferred.promise}get items(){return this.cache}get size(){return this.cache.size}async init(p){var v;const m=((v=this.workspace.workspace)===null||v===void 0?void 0:v.uri)||n.URI.file(this.appConfig.workspaceDir).toString();let _;this.browserLocalStorage&&(_=await this.browserLocalStorage.getData(p)),_?this.database.init(this.appConfig.storageDirName,this.isGlobal?void 0:m).then(()=>{this.database.getItems(p).then(async s=>{var g;this.cache=this.jsonToMap(s),(g=this.browserLocalStorage)===null||g===void 0||g.setData(p,s),this.whenReadyToWriteDeferred.resolve()})}):(await this.database.init(this.appConfig.storageDirName,this.isGlobal?void 0:m),_=await this.database.getItems(p),this.browserLocalStorage&&this.browserLocalStorage.setData(p,_),this.whenReadyToWriteDeferred.resolve()),this.cache=this.jsonToMap(_),this.state=r.Initialized,this.readyDeferred.resolve()}async reConnectInit(){this.readyDeferred=new n.Deferred,this.init(this.storageName)}dispose(){this.toDisposableCollection.dispose()}get(p,v){let m=this.cache.get(p);if((0,n.isUndefinedOrNull)(m))return v;try{m=JSON.parse(m)}catch(_){this.logger.error("Could not parse value: ",m,_)}return m}getBoolean(p,v){const m=this.get(p);return(0,n.isUndefinedOrNull)(m)?v:m==="true"}getNumber(p,v){const m=this.get(p);return(0,n.isUndefinedOrNull)(m)?v:parseInt(m,10)}set(p,v){if(this.state===r.Closed)return Promise.resolve();if((0,n.isUndefinedOrNull)(v))return this.delete(p);const m=JSON.stringify(v);return this.cache.get(p)===m?Promise.resolve():(this.cache.set(p,m),this.pendingInserts.set(p,m),this.pendingDeletes.delete(p),this._onDidChangeStorage.fire(p),this.flushDelayer.trigger(()=>this.flushPending()))}delete(p){return this.state===r.Closed||!this.cache.delete(p)?Promise.resolve():(this.pendingDeletes.has(p)||this.pendingDeletes.add(p),this.pendingInserts.delete(p),this._onDidChangeStorage.fire(p),this.flushDelayer.trigger(()=>this.flushPending()))}async close(){if(this.state===r.Closed)return Promise.resolve();this.state=r.Closed;try{await this.flushDelayer.trigger(()=>this.flushPending(),0)}catch{}await this.database.close(()=>this.cache)}async flushPending(){if(await this.whenReadyToWrite,this.pendingInserts.size===0&&this.pendingDeletes.size===0)return Promise.resolve();const p={insert:this.mapToJson(this.pendingInserts),delete:Array.from(this.pendingDeletes)};if(this.browserLocalStorage){let v=this.mapToJson(this.cache);for(const m of p?.delete||[])delete v[m];v={...v,...p.insert},this.browserLocalStorage.setData(this.storageName,v)}return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(this.storageName,p)}mapToJson(p){const v=Object.create(null);for(const[m,_]of p)v[m]=_;return v}jsonToMap(p){if(typeof p=="string")try{p=JSON.parse(p)}catch(m){return this.logger.debug(m),p}const v=new Map;for(const m of Object.keys(p))v.set(m,p[m]);return v}}t.Storage=o,o.DEFAULT_FLUSH_DELAY=200},57919:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalStorageServer=t.WorkspaceStorageServer=t.StorageServer=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(14951),p=e(22992),{Path:v}=o.path;let m=class{constructor(){this.storageExistPromises=new Map,this._cache={},this.onDidChangeEmitter=new o.Emitter,this.onDidChange=this.onDidChangeEmitter.event}async close(l){}async asAccess(l,h){if(h)return await this.fileSystem.access(l);if(!this.storageExistPromises.has(l)){const u=this.fileSystem.access(l);this.storageExistPromises.set(l,u)}return await this.storageExistPromises.get(l)}async setupDirectories(l,h){if(!this.deferredStorageDirPath){this.deferredStorageDirPath=new o.Deferred;let u;l===o.STORAGE_SCHEMA.GLOBAL?u=this.dataStoragePathServer.provideGlobalStorageDirPath:u=this.dataStoragePathServer.provideWorkspaceStorageDirPath;const d=await u.apply(this.dataStoragePathServer,[h]);return this.deferredStorageDirPath.resolve(d),this.databaseStorageDirPath=d,d}return this.databaseStorageDirPath}async getStoragePath(l,h){this.databaseStorageDirPath||await this.deferredStorageDirPath.promise;const u=h.indexOf(v.separator)>=0;let d;l===o.STORAGE_SCHEMA.GLOBAL?d=this.dataStoragePathServer.getLastGlobalStoragePath:d=this.dataStoragePathServer.getLastWorkspaceStoragePath;const E=await d.apply(this.dataStoragePathServer);if(u){const f=new v(h);h=f.name;const a=new o.URI(E).resolve(f.dir).toString();return await this.fileSystem.access(a)||await this.fileSystem.createFolder(a),E?new o.URI(a).resolve(`${h}.json`).toString():void 0}return E?new o.URI(E).resolve(`${h}.json`).toString():void 0}};t.StorageServer=m,n.__decorate([(0,r.Autowired)(c.IFileServiceClient),n.__metadata("design:type",Object)],m.prototype,"fileSystem",void 0),n.__decorate([(0,r.Autowired)(p.IStoragePathServer),n.__metadata("design:type",Object)],m.prototype,"dataStoragePathServer",void 0),n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],m.prototype,"logger",void 0),t.StorageServer=m=n.__decorate([(0,r.Injectable)()],m);let _=class extends m{constructor(){super(...arguments),this.readyDeferred=new o.Deferred}get whenReady(){return this.readyDeferred.promise}async init(l,h){return this.workspaceNamespace=h,await this.setupDirectories(o.STORAGE_SCHEMA.SCOPE,l)}async getItems(l){if(this._cache[l])return this._cache[l];let h={};const u=this.workspaceNamespace,d=await this.getStoragePath(o.STORAGE_SCHEMA.SCOPE,l);if(!d)this.logger.error(`Storage [${l}] is invalid.`);else{const E=new o.URI(d).toString();if(await this.asAccess(E,!0)){const f=await this.fileSystem.readFile(E);try{h=JSON.parse(f.content.toString())}catch(a){this.logger.error(`Storage [${l}] content can not be parse with path ${E}. Error: ${a.stack}`),h={}}}}return this._cache[l]=h,u&&(h=h[u]||{}),this.readyDeferred.resolve(),h}async updateItems(l,h){await this.whenReady;let u={};const d=this.workspaceNamespace;this._cache[l]?u=this._cache[l]:(u=await this.getItems(l),d&&(u=u[d])),h.insert&&(d?u[d]={...u[d],...h.insert}:u={...u,...h.insert}),h.delete&&h.delete.length>0&&new Set(h.delete).forEach(a=>{d?u[d][a]&&delete u[d][a]:u[a]&&delete u[a]}),this._cache[l]=u;const E=await this.getStoragePath(o.STORAGE_SCHEMA.SCOPE,l);if(E){const f=new o.URI(E).toString();let a=await this.fileSystem.getFileStat(f);a||(a=await this.fileSystem.createFile(f)),await this.fileSystem.setContent(a,JSON.stringify(u));const b={path:a.uri,data:JSON.stringify(u)};this.onDidChangeEmitter.fire(b)}}};t.WorkspaceStorageServer=_,t.WorkspaceStorageServer=_=n.__decorate([(0,r.Injectable)()],_);let s=class extends m{constructor(){super(...arguments),this.readyDeferred=new o.Deferred}get whenReady(){return this.readyDeferred.promise}async init(l){return await this.setupDirectories(o.STORAGE_SCHEMA.GLOBAL,l)}async getItems(l){if(this._cache[l])return this._cache[l];let h={};const u=await this.getStoragePath(o.STORAGE_SCHEMA.GLOBAL,l);if(!u)this.logger.error(`Storage [${l}] is invalid.`);else{const d=new o.URI(u).toString();if(await this.asAccess(d,!0)){const E=await this.fileSystem.readFile(d);try{h=JSON.parse(E.content.toString())}catch(f){this.logger.error(`Storage [${l}] content can not be parse. Error: ${f.stack}`),h={}}}}return this._cache[l]=h,this.readyDeferred.resolve(),h}async updateItems(l,h){await this.whenReady;let u={};this._cache[l]?u=this._cache[l]:u=await this.getItems(l),h.insert&&(u={...u,...h.insert}),h.delete&&h.delete.length>0&&new Set(h.delete).forEach(f=>{u[f]&&delete u[f]}),this._cache[l]=u;const d=await this.getStoragePath(o.STORAGE_SCHEMA.GLOBAL,l);if(d){let E=await this.fileSystem.getFileStat(d);E||(E=await this.fileSystem.createFile(d,{content:""})),await this.fileSystem.setContent(E,JSON.stringify(u));const f={path:E.uri,data:JSON.stringify(u)};this.onDidChangeEmitter.fire(f)}}};t.GlobalStorageServer=s,t.GlobalStorageServer=s=n.__decorate([(0,r.Injectable)()],s)},22992:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(62025),t),n.__exportStar(e(5597),t)},5597:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IStoragePathServer=void 0,t.IStoragePathServer=Symbol("IStoragePathServer")},62025:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IGlobalStorageServer=t.IWorkspaceStorageServer=void 0,t.IWorkspaceStorageServer="IWorkspaceStorageServer",t.IGlobalStorageServer="IGlobalStorageServer"},95737:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaskModule=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(91825),p=e(93950),v=e(27347),m=e(41824),_=e(77554),s=e(95521),g=e(66893);let l=class extends o.BrowserModule{constructor(){super(...arguments),this.providers=[_.TaskContribution,v.TaskPreferencesContribution,{token:c.FolderFilePreferenceProvider,useClass:m.TaskFolderPreferenceProvider,dropdownForTag:!0,tag:"tasks"},{token:p.ITaskService,useClass:s.TaskService},{token:p.ITaskSystem,useClass:g.TerminalTaskSystem}]}};t.TaskModule=l,t.TaskModule=l=n.__decorate([(0,r.Injectable)()],l)},17654:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProblemMatcherParser=t.ProblemPatternParser=t.Config=t.Parser=t.ValidationStatus=void 0;const n=e(43718),{deepClone:r}=n.objects;class o{constructor(){this._state=0}get state(){return this._state}set state(s){s>this._state&&(this._state=s)}isOK(){return this._state===0}isFatal(){return this._state===4}}t.ValidationStatus=o;class c{constructor(s){this._problemReporter=s}reset(){this._problemReporter.status.state=0}get problemReporter(){return this._problemReporter}info(s){this._problemReporter.info(s)}warn(s){this._problemReporter.warn(s)}error(s){this._problemReporter.error(s)}fatal(s){this._problemReporter.fatal(s)}}t.Parser=c;var p;(function(_){let s;(function(f){function a(b){const y=b;return y&&(0,n.isString)(y.regexp)}f.is=a})(s=_.CheckedProblemPattern||(_.CheckedProblemPattern={}));let g;(function(f){function a(b){const y=b;return y&&(0,n.isString)(y.name)}f.is=a})(g=_.NamedProblemPattern||(_.NamedProblemPattern={}));let l;(function(f){function a(b){const y=b;return y&&g.is(y)&&(0,n.isString)(y.regexp)}f.is=a})(l=_.NamedCheckedProblemPattern||(_.NamedCheckedProblemPattern={}));let h;(function(f){function a(b){return b&&(0,n.isArray)(b)}f.is=a})(h=_.MultiLineProblemPattern||(_.MultiLineProblemPattern={}));let u;(function(f){function a(b){if(!h.is(b))return!1;for(const y of b)if(!_.CheckedProblemPattern.is(y))return!1;return!0}f.is=a})(u=_.MultiLineCheckedProblemPattern||(_.MultiLineCheckedProblemPattern={}));let d;(function(f){function a(b){const y=b;return y&&(0,n.isString)(y.name)&&(0,n.isArray)(y.patterns)&&u.is(y.patterns)}f.is=a})(d=_.NamedMultiLineCheckedProblemPattern||(_.NamedMultiLineCheckedProblemPattern={}));function E(f){return(0,n.isString)(f.name)}_.isNamedProblemMatcher=E})(p||(t.Config=p={}));class v extends c{constructor(s){super(s)}parse(s){if(p.NamedMultiLineCheckedProblemPattern.is(s))return this.createNamedMultiLineProblemPattern(s);if(p.MultiLineCheckedProblemPattern.is(s))return this.createMultiLineProblemPattern(s);if(p.NamedCheckedProblemPattern.is(s)){const g=this.createSingleProblemPattern(s);return g.name=s.name,g}else return p.CheckedProblemPattern.is(s)?this.createSingleProblemPattern(s):(this.error((0,n.localize)("ProblemPatternParser.problemPattern.missingRegExp","The problem pattern is missing a regular expression.")),null)}createSingleProblemPattern(s){const g=this.doCreateSingleProblemPattern(s,!0);return g===void 0?null:(g.kind===void 0&&(g.kind=n.ProblemLocationKind.Location),this.validateProblemPattern([g])?g:null)}createNamedMultiLineProblemPattern(s){const g=this.createMultiLineProblemPattern(s.patterns);return g?{name:s.name,label:s.label?s.label:s.name,patterns:g}:null}createMultiLineProblemPattern(s){const g=[];for(let l=0;l<s.length;l++){const h=this.doCreateSingleProblemPattern(s[l],!1);if(h===void 0)return null;l<s.length-1&&!(0,n.isUndefined)(h.loop)&&h.loop&&(h.loop=!1,this.error((0,n.localize)("ProblemPatternParser.loopProperty.notLast","The loop property is only supported on the last line matcher."))),g.push(h)}return g[0].kind===void 0&&(g[0].kind=n.ProblemLocationKind.Location),this.validateProblemPattern(g)?g:null}doCreateSingleProblemPattern(s,g){const l=this.createRegularExpression(s.regexp);if(l===void 0)return;let h={regexp:l};s.kind&&(h.kind=n.ProblemLocationKind.fromString(s.kind));function u(d,E,f,a){const b=E[a];typeof b=="number"&&(d[f]=b)}if(u(h,s,"file","file"),u(h,s,"location","location"),u(h,s,"line","line"),u(h,s,"character","column"),u(h,s,"endLine","endLine"),u(h,s,"endCharacter","endColumn"),u(h,s,"severity","severity"),u(h,s,"code","code"),u(h,s,"message","message"),(s.loop===!0||s.loop===!1)&&(h.loop=s.loop),g)if(h.location||h.kind===n.ProblemLocationKind.File){const d={file:1,message:0};h=(0,n.mixin)(h,d,!1)}else{const d={file:1,line:2,character:3,message:0};h=(0,n.mixin)(h,d,!1)}return h}validateProblemPattern(s){let g=!1,l=!1,h=!1,u=!1;const d=s[0].kind===void 0?n.ProblemLocationKind.Location:s[0].kind;return s.forEach((E,f)=>{f!==0&&E.kind&&this.error((0,n.localize)("ProblemPatternParser.problemPattern.kindProperty.notFirst","The problem pattern is invalid. The kind property must be provided only in the first element")),g=g||!(0,n.isUndefined)(E.file),l=l||!(0,n.isUndefined)(E.message),h=h||!(0,n.isUndefined)(E.location),u=u||!(0,n.isUndefined)(E.line)}),g&&l?d===n.ProblemLocationKind.Location&&!(h||u)?(this.error((0,n.localize)("ProblemPatternParser.problemPattern.missingLocation",'The problem pattern is invalid. It must either have kind: "file" or have a line or location match group.')),!1):!0:(this.error((0,n.localize)("ProblemPatternParser.problemPattern.missingProperty","The problem pattern is invalid. It must have at least have a file and a message.")),!1)}createRegularExpression(s){let g;try{g=new RegExp(s)}catch{this.error((0,n.localize)("ProblemPatternParser.invalidRegexp",`Error: The string {0} is not a valid regular expression.
31944
+ `:null,!1).forEach((j,W)=>{W===0&&M&&this.setEditorSelections(M,j.range),k.push((0,E.cutShortSearchResult)({fileUri:D.uri.toString(),line:j.range.startLineNumber,matchStart:j.range.startColumn,matchLength:j.range.endColumn-j.range.startColumn,lineText:L.getLineContent(j.range.startLineNumber)}))}),{result:k,searchedList:F}}async searchAllFromDocModel(T){const D=T.searchValue,I=T.searchOptions,O=T.documentModelManager,M=T.rootDirs;let R=[],P=[];const k=O.getAllModels(),F=this.workbenchEditorService.currentEditorGroup,L=new E.FilterFileWithGlobRelativePath(M,I.include||[]);return await Promise.all(k.map(async B=>{const j=B.uri.toString();if(B.uri.scheme!==p.Schemes.file)return;const W=await this.resourceService.getResource(B.uri);if(!W||W.deleted||!L.test(j))return;const U=this.searchFromDocModel(I,B,D,M,F.codeEditor);R=R.concat(U.result),P=P.concat(U.searchedList)})),{result:R,searchedList:P}}fireTitleChange(){this.onDidTitleChangeEmitter.fire()}refresh(){this.search()}dispose(){var T;super.dispose(),(T=this.eventBusDisposer)===null||T===void 0||T.dispose(),this.blur()}};t.ContentSearchClientService=S,n.__decorate([(0,o.Autowired)(_.IEventBus),n.__metadata("design:type",Object)],S.prototype,"eventBus",void 0),n.__decorate([(0,o.Autowired)(b.SearchPreferences),n.__metadata("design:type",Object)],S.prototype,"searchPreferences",void 0),n.__decorate([(0,o.Autowired)(v.CorePreferences),n.__metadata("design:type",Object)],S.prototype,"corePreferences",void 0),n.__decorate([(0,o.Autowired)(E.ContentSearchServerPath),n.__metadata("design:type",Object)],S.prototype,"contentSearchServer",void 0),n.__decorate([(0,o.Autowired)(u.IWorkspaceService),n.__metadata("design:type",Object)],S.prototype,"workspaceService",void 0),n.__decorate([(0,o.Autowired)(p.RecentStorage),n.__metadata("design:type",p.RecentStorage)],S.prototype,"recentStorage",void 0),n.__decorate([(0,o.Autowired)(g.IEditorDocumentModelService),n.__metadata("design:type",Object)],S.prototype,"documentModelManager",void 0),n.__decorate([(0,o.Autowired)(p.CommandService),n.__metadata("design:type",Object)],S.prototype,"commandService",void 0),n.__decorate([(0,o.Autowired)(m.GlobalBrowserStorageService),n.__metadata("design:type",m.GlobalBrowserStorageService)],S.prototype,"browserStorageService",void 0),n.__decorate([(0,o.Autowired)(h.IDialogService),n.__metadata("design:type",Object)],S.prototype,"dialogService",void 0),n.__decorate([(0,o.Autowired)(h.IMessageService),n.__metadata("design:type",Object)],S.prototype,"messageService",void 0),n.__decorate([(0,o.Autowired)(d.IWorkspaceEditService),n.__metadata("design:type",Object)],S.prototype,"workspaceEditService",void 0),n.__decorate([(0,o.Autowired)(_.IReporterService),n.__metadata("design:type",Object)],S.prototype,"reporterService",void 0),n.__decorate([(0,o.Autowired)(p.PreferenceService),n.__metadata("design:type",Object)],S.prototype,"preferenceService",void 0),n.__decorate([(0,o.Autowired)(s.WorkbenchEditorService),n.__metadata("design:type",s.WorkbenchEditorService)],S.prototype,"workbenchEditorService",void 0),n.__decorate([(0,o.Autowired)(),n.__metadata("design:type",g.ResourceService)],S.prototype,"resourceService",void 0),t.ContentSearchClientService=S=n.__decorate([(0,o.Injectable)(),n.__metadata("design:paramtypes",[])],S)},14851:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(41869),p=e(68974),v=e(52925),m=e(79904),_=n.__importDefault(e(66653)),s=e(67640),g=e(12781),l=e(68267);t.Search=(0,o.memo)(({viewState:h})=>{const u=(0,o.useRef)(null),d=(0,o.useRef)(null),E=(0,c.useInjectable)(v.ISearchTreeService),f=(0,c.useInjectable)(v.IContentSearchClientService),[a,b]=(0,o.useState)(0),[y,A]=(0,o.useState)({results:new Map,total:{resultNum:0,fileNum:0},isSearching:!1,state:v.SEARCH_STATE.done,searchError:"",isShowValidateMessage:!1}),[S,w]=(0,o.useState)(""),[T,D]=(0,o.useState)(""),{replaceAll:I,updateUIState:O,UIState:M}=f,[R,P]=(0,o.useState)(M.isDetailOpen),k=(0,o.useRef)(),F=(0,o.useRef)(new c.DisposableCollection),L=(0,o.useCallback)(()=>{P(f.UIState.isDetailOpen)},[R,f]),B=(0,o.useCallback)(()=>{O({isDetailOpen:!f.UIState.isDetailOpen})},[f]),j=(0,o.useCallback)(()=>{E.contextKey.searchInputBoxFocusedKey.set(!0)},[E]),W=(0,o.useCallback)(()=>{E.contextKey.searchInputBoxFocusedKey.set(!1)},[f]),U=(0,o.useCallback)(()=>{O({isMatchCase:!f.UIState.isMatchCase})},[f]),Q=(0,o.useCallback)(()=>{O({isUseRegexp:!f.UIState.isUseRegexp})},[f]),V=(0,o.useCallback)(()=>{O({isWholeWord:!f.UIState.isWholeWord})},[f]),$=(0,o.useCallback)(()=>{O({isOnlyOpenEditors:!f.UIState.isOnlyOpenEditors})},[f]),Y=(0,o.useCallback)(()=>{O({isIncludeIgnored:!f.UIState.isIncludeIgnored})},[f]);(0,o.useEffect)(()=>{b(u.current&&u.current.clientHeight||0)},[a,u.current,y,f,M.isDetailOpen]);const z={width:h.width||"100%",height:h.height||"100%"},H=(0,o.useMemo)(()=>o.default.createElement("div",{className:_.default["loading-wrap"]},o.default.createElement(p.Progress,{loading:y.isSearching})),[y]),K=(0,o.useCallback)(te=>{te&&te.key!==c.Key.ENTER.code||(A({...y,results:new Map}),f.search())},[f,y]),Z=(0,o.useCallback)(te=>{f.onSearchInputChange(te.currentTarget.value||""),D(te.currentTarget.value)},[f]),X=(0,o.useCallback)(te=>{f.onSearchIncludeChange(te.currentTarget.value||"")},[f]),ie=(0,o.useCallback)(()=>{f.openPreference()},[f]),oe=(0,o.useCallback)(te=>{f.onSearchExcludeChange(te.currentTarget.value||"")},[f]),le=(0,o.useCallback)(te=>{f.onReplaceInputChange(te.currentTarget.value||""),w(te.currentTarget.value)},[S,f]),pe=(0,o.useCallback)(()=>{A({results:f.searchResults,total:f.resultTotal,isSearching:f.isSearching,state:f.searchState,searchError:f.searchError,isShowValidateMessage:f.isShowValidateMessage,validateMessage:f.validateMessage})},[y,f]),q=(0,o.useCallback)(te=>{var ge,Te;D(te),(ge=k.current)===null||ge===void 0||ge.focus(),(Te=k.current)===null||Te===void 0||Te.select()},[k.current,T]);(0,o.useEffect)(()=>(F.current.push(f.onDidChange(pe)),F.current.push(f.onDidTitleChange(pe)),F.current.push(f.onDidUIStateChange(L)),F.current.push(f.onDidSearchStateChange(q)),()=>{F.current.dispose()}),[]),(0,o.useEffect)(()=>{d.current&&E.initContextKey(d.current)},[]);const Ee=(0,o.useCallback)(()=>y.results.size>0?o.default.createElement(l.SearchTree,{offsetTop:a,viewState:h,state:y.state,total:y.total,search:T,replace:S,isUseRegexp:f.UIState.isUseRegexp,isMatchCase:f.UIState.isMatchCase}):y.state===v.SEARCH_STATE.done?o.default.createElement("div",{className:_.default.result_describe},T&&(0,c.localize)("search.noResultsFound")):null,[y,f,a,T,S]),_e=(0,o.useCallback)(()=>y.searchError||y.state===v.SEARCH_STATE.error?o.default.createElement("div",{className:_.default.result_error},y.searchError):Ee(),[y,f,a,T,S]);return o.default.createElement("div",{className:_.default.search_container,style:z,ref:d},H,o.default.createElement("div",{className:_.default.search_options,ref:u},o.default.createElement(m.SearchInputWidget,{isDetailOpen:M.isDetailOpen,onDetailToggle:B,isMatchCase:M.isMatchCase,onMatchCaseToggle:U,isRegex:M.isUseRegexp,onRegexToggle:Q,isWholeWord:M.isWholeWord,onWholeWordToggle:V,isShowValidateMessage:y.isShowValidateMessage,validateMessage:y.validateMessage,onSearchFocus:j,onSearchBlur:W,ref:te=>te&&(k.current=te),searchValue:f.searchValue,onSearchInputChange:Z,onSearch:K}),o.default.createElement(s.SearchReplaceWidget,{replaceValue:f.replaceValue,onSearch:K,onReplaceRuleChange:le,replaceAll:I,disabled:y.total.fileNum<=0}),o.default.createElement("div",{className:(0,r.default)(_.default.search_details)},R&&o.default.createElement(g.SearchRulesWidget,{includeValue:f.includeValue,excludeValue:f.excludeValue,onSearch:K,onChangeInclude:X,onChangeExclude:oe,isOnlyOpenEditors:M.isOnlyOpenEditors,isIncludeIgnored:M.isIncludeIgnored,onOnlyOpenEditorsToggle:$,onIncludeIgnoredToggle:Y,onOpenPreference:ie}))),_e())})},78182:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEARCH_TREE_NODE_HEIGHT=t.SearchNodeRendered=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(86109),m=n.__importDefault(e(2037)),_=({item:s,search:g,replace:l,defaultLeftPadding:h=8,leftPadding:u=8,decorations:d,onClick:E,onDoubleClick:f,onContextMenu:a,commandService:b,isUseRegexp:y,isMatchCase:A})=>{const S=(0,p.useDesignStyles)(m.default.expansion_toggle,"expansion_toggle"),w=(0,o.useCallback)(U=>{E(U,s)},[E]),T=(0,o.useCallback)(U=>{f(U,s)},[f]),D=(0,o.useCallback)(U=>{U.stopPropagation(),U.preventDefault(),a(U,s)},[a]),I=`${h+(s.depth||0)*(u||0)+(v.SearchFileNode.is(s)?0:8)}px`,O={height:t.SEARCH_TREE_NODE_HEIGHT,lineHeight:`${t.SEARCH_TREE_NODE_HEIGHT}px`,paddingLeft:I},M=(0,o.useCallback)(U=>v.SearchFileNode.is(U)?o.default.createElement("div",{className:(0,r.default)(m.default.icon,v.SearchFileNode.is(U)?U.icon:""),style:{height:t.SEARCH_TREE_NODE_HEIGHT,lineHeight:`${t.SEARCH_TREE_NODE_HEIGHT}px`}}):null,[]),R=(0,o.useCallback)(U=>o.default.createElement("div",{className:(0,r.default)(m.default.segment,m.default.displayname)},U.displayName),[]),P=(0,o.useCallback)(U=>{if(v.SearchFileNode.is(U))return o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description);{const{start:Q,end:V}=U.highlight;if(y){let $;try{$=new RegExp(g,A?"":"i")}catch{$=null}const Y=U.description.match($);if(!$||!Y)return o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description);const z=Y[0];if(z&&(0,p.isDefined)(Q)){const H=z.replace($,l);return o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description.slice(0,Q),o.default.createElement("span",{className:(0,r.default)(m.default.match,l&&m.default.replace)},z),H&&o.default.createElement("span",{className:m.default.replace},H),U.description.slice(V))}}else{let $=-1;return A?$=U.description.indexOf(g):$=U.description.toLocaleLowerCase().indexOf(g.toLocaleLowerCase()),$>=0?o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description.slice(0,Q),o.default.createElement("span",{className:(0,r.default)(m.default.match,l&&m.default.replace)},U.description.slice(Q,V)),l&&o.default.createElement("span",{className:m.default.replace},l),U.description.slice(V)):o.default.createElement("div",{className:(0,r.default)(m.default.segment_grow,m.default.description)},U.description)}}},[l,g,y,A]),k=(0,o.useCallback)(U=>o.default.createElement("div",{className:(0,r.default)(m.default.segment,m.default.tail)},F(U)),[]),F=(0,o.useCallback)(U=>{if(v.SearchFileNode.is(U))return o.default.createElement(c.Badge,{className:m.default.status},U.badge)},[]),L=(0,o.useCallback)(U=>o.default.createElement("div",{className:(0,r.default)(m.default.segment,S,(0,p.getIcon)("arrow-right"),{[`${m.default.mod_collapsed}`]:!U.expanded})}),[]),B=(0,o.useCallback)(U=>{if(v.SearchFileNode.is(U))return L(U)},[]),j=(0,o.useCallback)(()=>s.tooltip,[s]),W=(0,o.useCallback)(U=>{let Q;return v.SearchFileNode.is(s)?Q=[{icon:(0,p.getExternalIcon)("replace-all"),title:(0,p.localize)("search.replace.title"),command:p.SEARCH_COMMANDS.MENU_REPLACE_ALL.id},{icon:(0,p.getIcon)("eye-close"),title:(0,p.localize)("search.result.hide"),command:p.SEARCH_COMMANDS.MENU_HIDE.id}]:Q=[{icon:(0,p.getExternalIcon)("replace-all"),title:(0,p.localize)("search.replace.title"),command:p.SEARCH_COMMANDS.MENU_REPLACE.id},{icon:(0,p.getIcon)("eye-close"),title:(0,p.localize)("search.result.hide"),command:p.SEARCH_COMMANDS.MENU_HIDE.id}],o.default.createElement("div",{className:m.default.action_bar,style:{height:t.SEARCH_TREE_NODE_HEIGHT,lineHeight:`${t.SEARCH_TREE_NODE_HEIGHT}px`}},Q.map(V=>{const $=Y=>{Y.stopPropagation(),Y.preventDefault(),b.executeCommand(V.command,U)};return o.default.createElement(c.Button,{type:"icon",key:`${U.id}-${V.command}`,iconClass:(0,r.default)(m.default.action_icon,V.icon),title:V.title,onClick:$})}))},[]);return o.default.createElement("div",{key:s.id,onClick:w,onDoubleClick:T,onContextMenu:D,title:j(),className:(0,r.default)(m.default.search_node,d?d.classlist:null),style:O,"data-id":s.id},o.default.createElement("div",{className:m.default.content},B(s),M(s),o.default.createElement("div",{className:m.default.overflow_wrap},R(s),P(s)),W(s),k(s)))};t.SearchNodeRendered=_,t.SEARCH_TREE_NODE_HEIGHT=22},5439:(x,t,e)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SearchTreeService=t.ReplaceDocumentModelContentProvider=t.RangeHighlightDecorations=void 0;const r=e(85608),o=e(76003),c=e(41869),p=e(43718),v=e(57517),m=e(42933),_=r.__importStar(e(20868)),s=e(51500),g=e(26199),l=e(92553),h=e(3956),u=e(50845),d=e(86109);let E=n=class{constructor(){this.preDeltaDecoration=null,this._model=null,this._modelRef=null,this._modelDisposables=new p.DisposableStore}removeHighlightRange(){this._model&&this.preDeltaDecoration&&this._model.deltaDecorations(this.preDeltaDecoration,[]),this.preDeltaDecoration=null}highlightRange(y,A){let S=null;if(p.URI.isUri(y)){const w=this.documentModelManager.getModelReference(y,"highlight-range");w&&(S=w.instance.getMonacoModel(),this._modelRef=w)}else S=y;S&&this.doHighlightRange(S,A)}doHighlightRange(y,A){this.removeHighlightRange(),this.preDeltaDecoration=y.deltaDecorations([],this.createEditorDecorations(A)),this.setModel(y)}createEditorDecorations(y){return[{range:y,options:n.RANGE_HIGHLIGHT_DECORATION}]}setModel(y){this._modelRef&&(this._modelRef.dispose(),this._modelRef=null),this._model!==y&&(this.clearModelListeners(),this._model=y,this._modelDisposables.add(this._model.onWillDispose(()=>{this.clearModelListeners(),this.removeHighlightRange(),this._model=null})))}clearModelListeners(){this._modelDisposables.clear()}dispose(){this._model&&(this.removeHighlightRange(),this._modelDisposables.dispose(),this._model=null)}};t.RangeHighlightDecorations=E,E.RANGE_HIGHLIGHT_DECORATION={className:"rangeHighlight",stickiness:_.editor.TrackedRangeStickiness.GrowsOnlyWhenTypingBefore,isWholeLine:!0},r.__decorate([(0,o.Autowired)(v.IEditorDocumentModelService),r.__metadata("design:type",Object)],E.prototype,"documentModelManager",void 0),t.RangeHighlightDecorations=E=n=r.__decorate([(0,o.Injectable)()],E);let f=class{constructor(){this.contentMap=new Map,this.onDidChangeContentEvent=new p.Emitter,this.onDidChangeContent=this.onDidChangeContentEvent.event}handlesScheme(y){return y===p.Schemes.internal}provideEditorDocumentModelContent(y){return this.contentMap.get(y.toString())||""}isReadonly(){return!0}async updateContent(y){const A=y.withScheme(JSON.parse(y.query).scheme).withoutQuery().withoutFragment();let S=this.searchBrowserService.searchResults.get(A.toString());if(!S)return"";const w=this.documentModelManager.getModelReference(A)||await this.documentModelManager.createModelReference(A),D=w.instance.getText(),I=this.documentModelManager.getModelReference(y)||await this.documentModelManager.createModelReference(y),O=I.instance;O.updateContent(D),S=S.map(M=>Object.assign({},M,{fileUri:y.toString()})),await(0,h.replace)(this.documentModelManager,this.workspaceEditService,S,this.searchBrowserService.replaceValue,this.searchBrowserService.searchValue,this.searchBrowserService.UIState.isUseRegexp),this.contentMap.set(y.toString(),O.getText()),I.dispose(),w.dispose()}delete(y){this.contentMap.delete(y.toString())}clear(){this.contentMap.clear()}};t.ReplaceDocumentModelContentProvider=f,r.__decorate([(0,o.Autowired)(v.IEditorDocumentModelService),r.__metadata("design:type",Object)],f.prototype,"documentModelManager",void 0),r.__decorate([(0,o.Autowired)(l.IContentSearchClientService),r.__metadata("design:type",Object)],f.prototype,"searchBrowserService",void 0),r.__decorate([(0,o.Autowired)(g.IWorkspaceEditService),r.__metadata("design:type",Object)],f.prototype,"workspaceEditService",void 0),t.ReplaceDocumentModelContentProvider=f=r.__decorate([(0,o.Injectable)()],f);let a=class extends p.Disposable{get viewReady(){return this.viewReadyDeferered.promise}constructor(){super(),this.viewReadyDeferered=new p.Deferred,this.addDispose(this.rangeHighlightDecorations),this.addDispose(this.contentRegistry.registerEditorDocumentModelContentProvider(this.replaceDocumentModelContentProvider))}get replaceValue(){return this.searchBrowserService.replaceValue}get resultTotal(){return this.searchBrowserService.resultTotal}get contextKey(){return this.searchContextKey}initContextKey(y){this.contextKey.initScopedContext(y),this.viewReadyDeferered.resolve()}removeHighlightRange(){this.rangeHighlightDecorations.removeHighlightRange()}async resolveChildren(y){var A;if(y){if(y)if(d.SearchRoot.isRoot(y)){const S=this.searchBrowserService.searchResults;if(!S)return[];const w=[];for(const T of S){const D=T[0],I=T[1],O=new p.URI(D),M=(A=await this.workspaceService.asRelativePath(O.parent))===null||A===void 0?void 0:A.path;!I||I.length<1||w.push(new d.SearchFileNode(this,I,M,await this.getReadableTooltip(O),this.labelService.getIcon(O),O,y))}return w}else return y.contentResults.map(w=>{const T=(w.renderStart||w.matchStart)-1,D=T+w.matchLength,I=w.renderLineText||w.lineText;return new d.SearchContentNode(this,w,I,{start:T,end:D},y.resource,y)})}else return[new d.SearchRoot(this)];return[]}async getCurrentUserHome(){if(!this.userhomePath)try{const y=await this.fileServiceClient.getCurrentUserHome();y&&(this.userhomePath=new p.URI(y.uri))}catch{}return this.userhomePath}async getReadableTooltip(y){const A=y.toString(),S=await this.getCurrentUserHome();if(!S)return decodeURIComponent(y.withScheme("").toString());if(S.isEqualOrParent(y)){const w=S&&S.toString();return decodeURIComponent(A.replace(w,"~"))}return decodeURIComponent(y.withScheme("").toString())}};t.SearchTreeService=a,r.__decorate([(0,o.Autowired)(l.IContentSearchClientService),r.__metadata("design:type",Object)],a.prototype,"searchBrowserService",void 0),r.__decorate([(0,o.Autowired)(s.IWorkspaceService),r.__metadata("design:type",Object)],a.prototype,"workspaceService",void 0),r.__decorate([(0,o.Autowired)(v.IEditorDocumentModelContentRegistry),r.__metadata("design:type",Object)],a.prototype,"contentRegistry",void 0),r.__decorate([(0,o.Autowired)(f),r.__metadata("design:type",f)],a.prototype,"replaceDocumentModelContentProvider",void 0),r.__decorate([(0,o.Autowired)(E),r.__metadata("design:type",E)],a.prototype,"rangeHighlightDecorations",void 0),r.__decorate([(0,o.Autowired)(m.IFileServiceClient),r.__metadata("design:type",Object)],a.prototype,"fileServiceClient",void 0),r.__decorate([(0,o.Autowired)(u.SearchContextKey),r.__metadata("design:type",u.SearchContextKey)],a.prototype,"searchContextKey",void 0),r.__decorate([(0,o.Autowired)(c.LabelService),r.__metadata("design:type",c.LabelService)],a.prototype,"labelService",void 0),r.__decorate([p.memoize,r.__metadata("design:type",Function),r.__metadata("design:paramtypes",[]),r.__metadata("design:returntype",Promise)],a.prototype,"getCurrentUserHome",null),t.SearchTreeService=a=r.__decorate([(0,o.Injectable)(),r.__metadata("design:paramtypes",[])],a)},68267:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchTree=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(92553),m=n.__importDefault(e(66653)),_=e(78182),s=e(13072),g=({total:h,state:u,model:d})=>{const[E,f]=(0,o.useState)(!1),a=(0,p.useInjectable)(s.SearchModelService),b=(0,o.useCallback)(()=>{a.clearSearchResults()},[a]),y=(0,o.useCallback)(()=>{const S=!E;f(S),S?a.collapsedAll():a.expandAll()},[E,a]),A=(0,o.useCallback)(()=>{a.refresh()},[a]);return(0,o.useEffect)(()=>{if(!d)return;const S=d.root.watcher.on(c.TreeNodeEvent.DidChangeExpansionState,()=>{E&&f(!E)});return()=>{S.dispose()}},[d,E]),h.resultNum>0?o.default.createElement("p",{className:m.default.result_describe},o.default.createElement("span",{className:m.default.text},(0,p.formatLocalize)("search.files.result",String(h.resultNum),String(h.fileNum))),o.default.createElement(c.Button,{className:(0,r.default)(m.default.result_fold,{[m.default.disabled]:u===v.SEARCH_STATE.doing}),onClick:b,type:"icon",icon:"clear",title:(0,p.localize)("search.ClearSearchResultsAction.label")}),o.default.createElement(c.Button,{className:(0,r.default)(m.default.result_fresh,{[m.default.disabled]:u===v.SEARCH_STATE.doing}),onClick:A,type:"icon",icon:"refresh",title:(0,p.localize)("search.RefreshAction.label")}),o.default.createElement(c.Button,{className:(0,r.default)(m.default.result_fold,{[m.default.disabled]:u===v.SEARCH_STATE.doing}),onClick:y,type:"icon",icon:E?"expand-all":"collapse-all",title:(0,p.localize)(E?"search.ExpandDeepestExpandedLevelAction.label":"search.CollapseDeepestExpandedLevelAction.label")})):null},l=({offsetTop:h,total:u,state:d,replace:E,search:f,viewState:a,isUseRegexp:b,isMatchCase:y})=>{const[A,S]=(0,o.useState)(),w=(0,p.useInjectable)(s.SearchModelService),T=(0,p.useInjectable)(p.CommandService),D=(0,o.useRef)(null),I=(0,o.useRef)(null),[O,M]=(0,o.useState)(0),{handleTreeBlur:R,handleTreeFocus:P}=w;(0,o.useEffect)(()=>{S(w.treeModel);const B=w.onDidUpdateTreeModel(j=>{S(j)});return()=>{B.dispose()}},[]),(0,o.useEffect)(()=>{I.current&&M(I.current.clientHeight)},[I.current]);const k=(0,o.useCallback)(B=>{w.handleTreeHandler(B)},[w]),F=(0,o.useCallback)(B=>o.default.createElement(_.SearchNodeRendered,{item:B.item,itemType:B.itemType,decorations:w.decorations.getDecorations(B.item),defaultLeftPadding:8,search:f,replace:E,onClick:w.handleItemClick,onDoubleClick:w.handleItemDoubleClick,onContextMenu:w.handleContextMenu,leftPadding:8,isUseRegexp:b,isMatchCase:y,commandService:T}),[A,f,E,b,y]),L=(0,o.useCallback)(()=>{if(A)return o.default.createElement(c.RecycleTree,{height:a.height-h-O,itemHeight:_.SEARCH_TREE_NODE_HEIGHT,onReady:k,model:A},F)},[A,O,h,f,E,b,y,a]);return o.default.createElement("div",{className:m.default.tree,tabIndex:-1,onBlur:R,onFocus:P,ref:D},o.default.createElement("div",{ref:I},o.default.createElement(g,{total:u,state:d,model:A})),L())};t.SearchTree=l},13072:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchModelService=t.SearchTreeModel=void 0;const n=e(85608),r=e(76003),o=e(97267),c=e(41869),p=e(93899),v=e(54414),m=n.__importStar(e(20868)),_=e(92553),s=e(33301),g=e(5439),l=e(86109),h=n.__importDefault(e(2037));let u=class extends o.TreeModel{constructor(f){super(),this.init(f)}};t.SearchTreeModel=u,t.SearchTreeModel=u=n.__decorate([(0,r.Injectable)({multiple:!0}),n.__param(0,(0,r.Optional)()),n.__metadata("design:paramtypes",[l.SearchRoot])],u);let d=class extends c.Disposable{constructor(){super(),this.selectedDecoration=new o.Decoration(h.default.mod_selected),this.focusedDecoration=new o.Decoration(h.default.mod_focused),this.contextMenuDecoration=new o.Decoration(h.default.mod_actived),this._selectedNodes=[],this.onDidUpdateTreeModelEmitter=new c.Emitter,this.disposableCollection=new c.DisposableCollection,this.treeIsDirty=!1,this.applyFocusedDecoration=(f,a=!0)=>{var b;if(this.contextMenuNode&&(this.focusedDecoration.removeTarget(this.contextMenuNode),this.selectedDecoration.removeTarget(this.contextMenuNode),this.contextMenuDecoration.removeTarget(this.contextMenuNode),this._contextMenuNode=null),f){for(const y of this._selectedNodes)this.selectedDecoration.removeTarget(y);this.focusedNode&&this.focusedDecoration.removeTarget(this.focusedNode),this.selectedDecoration.addTarget(f),this.focusedDecoration.addTarget(f),this._focusedNode=f,this._selectedNodes=[f],a&&((b=this.treeModel)===null||b===void 0||b.dispatchChange())}},this.applyContextMenuDecoration=f=>{this.contextMenuNode&&this.contextMenuDecoration.removeTarget(this.contextMenuNode),this.focusedNode&&(this.focusedDecoration.removeTarget(this.focusedNode),this._focusedNode=null),this.contextMenuDecoration.addTarget(f),this._contextMenuNode=f,this.treeModel.dispatchChange()},this.removeFocusedDecoration=()=>{var f;this.focusedNode&&(this.focusedDecoration.removeTarget(this.focusedNode),(f=this.treeModel)===null||f===void 0||f.dispatchChange()),this._focusedNode=null},this.handleTreeBlur=()=>{this.searchTreeService.contextKey.searchViewFocusedKey.set(!1),this.removeFocusedDecoration()},this.handleTreeFocus=()=>{this.searchTreeService.contextKey.searchViewFocusedKey.set(!0)},this.handleContextMenu=(f,a)=>{if(!a){this.removeFocusedDecoration();return}this.applyContextMenuDecoration(a);const b=this.contextMenuService.createMenu({id:p.MenuId.SearchContext,contextKeyService:this.searchTreeService.contextKey.service}),y=b.getMergedMenuNodes();b.dispose();const{x:A,y:S}=f.nativeEvent;this.ctxMenuRenderer.show({anchor:{x:A,y:S},menuNodes:y,args:[a]})},this.handleItemClick=async(f,a,b=!0)=>{if(this.applyFocusedDecoration(a),l.SearchFileNode.is(a))this.toggleDirectory(a);else if(a.contentResult){const y=a.contentResult;if(this.searchPreferences["search.useReplacePreview"]&&this.searchTreeService.replaceValue){const S=new c.URI(y.fileUri),w=this.toReplaceResource(S);await this.replaceDocumentModelContentProvider.updateContent(w);const T=await this.workbenchEditorService.open(c.URI.from({scheme:"diff",query:c.URI.stringifyQuery({name:(0,c.formatLocalize)("search.fileReplaceChanges",S.displayName,w.displayName),original:S,modified:w})}),{preview:b,supportsRevive:!1});if(T){const I=T.group.currentEditor;I&&I.monacoEditor.revealLineInCenter(y.line)}this.replaceDocumentModelContentProvider.delete(w)}else{const S=new c.URI(y.fileUri),w=await this.workbenchEditorService.open(new c.URI(y.fileUri),{preview:b,focus:!b,range:{startLineNumber:y.line,startColumn:y.matchStart,endLineNumber:y.line,endColumn:y.matchStart+y.matchLength}});w&&!w.resource.deleted&&this.rangeHighlightDecorations.highlightRange(S,new m.Range(y.line,y.matchStart,y.line,y.matchStart+y.matchLength))}}},this.handleItemDoubleClick=(f,a)=>{l.SearchFileNode.is(a)||this.handleItemClick(f,a,!1)},this.toggleDirectory=f=>{f.expanded?this.searchTreeHandle.collapseNode(f):this.searchTreeHandle.expandNode(f)},this._whenReady=this.initTreeModel(),this.addDispose(this.rangeHighlightDecorations)}get onDidUpdateTreeModel(){return this.onDidUpdateTreeModelEmitter.event}get whenReady(){return this._whenReady}get searchTreeHandle(){return this._searchTreeHandle}get decorations(){return this._decorations}get treeModel(){return this._treeModel}get focusedNode(){return this._focusedNode}get selectedNodes(){return this._selectedNodes}get contextMenuNode(){return this._contextMenuNode}async initTreeModel(){const f=await this.searchTreeService.resolveChildren();if(!f)return;const a=f[0];a&&(this._treeModel=this.injector.get(u,[a]),await this._treeModel.ensureReady,this.initDecorations(a),this.disposables.push(this.searchService.onDidChange(()=>{this.searchService.searchResults.size>0?this.searchTreeService.contextKey.hasSearchResults.set(!0):this.searchTreeService.contextKey.hasSearchResults.set(!1),this.refresh()})),this.onDidUpdateTreeModelEmitter.fire(this._treeModel))}initDecorations(f){return this._decorations=new o.DecorationsManager(f),this._decorations.addDecoration(this.selectedDecoration),this._decorations.addDecoration(this.focusedDecoration),this._decorations.addDecoration(this.contextMenuDecoration),this._decorations}handleTreeHandler(f){this._searchTreeHandle=f}async refresh(){await this.whenReady,await this.searchTreeService.viewReady,(0,c.runWhenIdle)(()=>{this.searchTreeService.contextKey&&this.searchTreeService.contextKey.searchViewVisibleKey.get()?this.treeModel.root.refresh():this.treeIsDirty=!0})}collapsedAll(){return this.treeModel.root.collapsedAll()}expandAll(){return this.treeModel.root.expandedAll()}clearSearchResults(){this.searchService.clean(),this.searchService.search()}toReplaceResource(f){return f.withScheme(c.Schemes.internal).withFragment("replacePreview").withQuery(JSON.stringify({scheme:f.scheme}))}activate(){this.searchTreeService.contextKey&&this.searchTreeService.contextKey.searchViewVisibleKey.set(!0),this.treeIsDirty&&(this.refresh(),this.treeIsDirty=!1)}deactivate(){this.searchTreeService.contextKey&&this.searchTreeService.contextKey.searchViewVisibleKey.set(!1)}dispose(){this.disposableCollection.dispose()}};t.SearchModelService=d,n.__decorate([(0,r.Autowired)(_.ISearchTreeService),n.__metadata("design:type",g.SearchTreeService)],d.prototype,"searchTreeService",void 0),n.__decorate([(0,r.Autowired)(_.IContentSearchClientService),n.__metadata("design:type",Object)],d.prototype,"searchService",void 0),n.__decorate([(0,r.Autowired)(v.WorkbenchEditorService),n.__metadata("design:type",v.WorkbenchEditorService)],d.prototype,"workbenchEditorService",void 0),n.__decorate([(0,r.Autowired)(g.ReplaceDocumentModelContentProvider),n.__metadata("design:type",g.ReplaceDocumentModelContentProvider)],d.prototype,"replaceDocumentModelContentProvider",void 0),n.__decorate([(0,r.Autowired)(g.RangeHighlightDecorations),n.__metadata("design:type",g.RangeHighlightDecorations)],d.prototype,"rangeHighlightDecorations",void 0),n.__decorate([(0,r.Autowired)(p.ICtxMenuRenderer),n.__metadata("design:type",p.ICtxMenuRenderer)],d.prototype,"ctxMenuRenderer",void 0),n.__decorate([(0,r.Autowired)(p.AbstractContextMenuService),n.__metadata("design:type",p.AbstractContextMenuService)],d.prototype,"contextMenuService",void 0),n.__decorate([(0,r.Autowired)(r.INJECTOR_TOKEN),n.__metadata("design:type",r.Injector)],d.prototype,"injector",void 0),n.__decorate([(0,r.Autowired)(s.SearchPreferences),n.__metadata("design:type",Object)],d.prototype,"searchPreferences",void 0),t.SearchModelService=d=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],d)},86109:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SearchContentNode=t.SearchFileNode=t.SearchRoot=void 0;const n=e(97267);class r extends n.CompositeTreeNode{static is(v){return!!v&&!v.parent}constructor(v){super(v,void 0)}get expanded(){return!0}}t.SearchRoot=r;class o extends n.CompositeTreeNode{constructor(v,m,_="",s,g,l,h){super(v,h),this.contentResults=m,this.description=_,this.tooltip=s,this.icon=g,this.resource=l,this.isExpanded=!0}get displayName(){return this.resource.displayName}get badge(){return this.branchSize}get highlight(){return{}}}t.SearchFileNode=o;class c extends n.TreeNode{constructor(v,m,_="",s,g,l){super(v,l),this.contentResult=m,this.description=_,this.highlight=s,this.resource=g}get displayName(){return""}get tooltip(){if(this.description&&this.highlight){const{start:v,end:m}=this.highlight;return`${this.description.slice(0,v)}${this._tree.replaceValue||this.description.slice(v,m)}${this.description.slice(m)}`.slice(0,999)}return""}}t.SearchContentNode=c},92553:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FilterFileWithGlobRelativePath=t.SEARCH_STATE=t.ISearchTreeService=t.IContentSearchClientService=t.DEFAULT_SEARCH_IN_WORKSPACE_LIMIT=t.IContentSearchServer=t.ContentSearchServerPath=void 0,t.anchorGlob=o,t.getRoot=c,t.cutShortSearchResult=p;const n=e(43718);t.ContentSearchServerPath="ContentSearchServerPath",t.IContentSearchServer=Symbol("ContentSearchService"),t.DEFAULT_SEARCH_IN_WORKSPACE_LIMIT=2e3,t.IContentSearchClientService=Symbol("IContentSearchClientService"),t.ISearchTreeService=Symbol("ISearchTreeService");var r;(function(m){m[m.todo=0]="todo",m[m.doing=1]="doing",m[m.done=2]="done",m[m.error=3]="error"})(r||(t.SEARCH_STATE=r={}));function o(m,_){const s=_===!1?"":"**/";return n.strings.startsWith(m,"./")&&(m=m.replace(/^.\//,"")),n.strings.endsWith(m,"/")?`${s}${m}**`:!/[*{(+@!^|?]/.test(m)&&!/\.[A-Za-z0-9]+$/.test(m)?`${s}${m}/**`:n.strings.startsWith(m,s)?m:`${s}${m}`}function c(m,_){let s="";return!m||!_||m.some(g=>{if(_.indexOf(g)===0)return s=g,!0}),s}function p(m){const _=Object.assign({},m),{lineText:s,matchLength:g,matchStart:l}=_,h=500,u=h;if(!s)return _;if(s.length>h){const E=l-20>-1?l-20:0;return _.renderLineText=s.slice(E,E+500),delete _.lineText,_.renderStart=l-E,_.matchLength=g>u?u:g,_}else{const E=l-40>-1?l-40:0;return _.renderLineText=s.slice(E,s.length),delete _.lineText,_.renderStart=l-E,_}}class v{constructor(_,s){this.matcherList=[],!(_.length<1||s.length<1)&&_.forEach(g=>{const l=new n.URI(g);s.forEach(h=>{if(n.strings.startsWith(h,"./")){const u=(0,n.parseGlob)(o(h));h=h.slice(2,h.length);const d=l.resolve(o(h,!1)).path.toString();this.matcherList.push({relative:u,absolute:(0,n.parseGlob)(d)})}})})}test(_){let s=!0;if(this.matcherList.length<1)return s;const g=new n.URI(_).path.toString();return this.matcherList.some(l=>{if(l.relative(g))s=!1;else return;return s=l.absolute(g),s}),s}}t.FilterFileWithGlobRelativePath=v},52925:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(92553),t)},13439:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(52925),t)},97462:(x,t,e)=>{"use strict";var n;n={value:!0},n=t.$h=void 0;const r=e(73827),o=e(32004),c=e(54230),p=e(41869),v=e(33969),m=e(4958),_=e(17242),s=e(57517),g=e(59027),l=e(40731),h=e(38105),u=e(53599),d=e(52568),E=e(96708),f=e(83709),a=e(21774),b=e(83507),y=e(7480),A=e(93374),S=e(99669),w=e(64523),T=e(62663),D=e(72106),I=e(31379),O=e(46608),M=e(89549),R=e(96194),P=e(58408),k=e(96534),F=e(31435),L=e(6556),B=e(16158),j=e(28639),W=e(95737),U=e(17236),Q=e(26874),V=e(7443),$=e(47289),Y=e(40968),z=e(65046),H=e(41103),K=e(7284);t.$h=[y.MainLayoutModule,R.OverlayModule,b.LogModule,p.ClientCommonModule,w.MenuBarModule,T.MonacoModule,B.StatusBarModule,s.EditorModule,g.ExplorerModule,f.FileTreeNextModule,E.FileServiceClientModule,L.SearchModule,d.FileSchemeModule,M.OutputModule,k.QuickOpenModule,S.MarkersModule,V.ThemeModule,H.WorkspaceModule,u.ExtensionStorageModule,j.StorageModule,I.OpenedEditorModule,O.OutlineModule,P.PreferencesModule,$.ToolbarModule,z.WebviewModule,A.MarkdownModule,K.WorkspaceEditModule,F.SCMModule,m.DecorationModule,v.DebugModule,Y.VariableModule,a.KeymapsModule,U.TerminalNextModule,l.ExtensionModule,h.OpenVsxExtensionManagerModule,D.MonacoEnhanceModule,r.ClientAddonModule,c.CommentsModule,W.TaskModule,Q.TestingModule],n=[_.DesignModule,o.AINativeModule]},16158:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarModule=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(26542),p=e(52172),v=e(60643);let m=class extends o.BrowserModule{constructor(){super(...arguments),this.providers=[{token:c.IStatusBarService,useClass:v.StatusBarService},p.StatusBarContribution]}};t.StatusBarModule=m,t.StatusBarModule=m=n.__decorate([(0,r.Injectable)()],m)},92237:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarItem=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(97267),p=e(41869),v=e(48560),m=e(43718),_=e(52416),s=n.__importDefault(e(6373)),g=(0,o.memo)(l=>{const h=(0,v.useInjectable)(m.CommandService),u=(0,v.useInjectable)(_.IIconService),{contents:d}=l,E=(0,o.useCallback)(f=>{f&&h.executeCommand(f.id,...f.arguments||[])},[]);return o.default.createElement("div",null,d.map((f,a)=>o.default.createElement("div",{key:`${f.title}-${a}`,className:s.default.popover_content},o.default.createElement("span",null,f.title&&(0,p.transformLabelWithCodicon)(f.title,{},u.fromString.bind(u)),f.name&&` - ${f.name}`),f.command&&o.default.createElement(c.Button,{type:"link",title:f.command.tooltip,onClick:()=>E(f.command)},f.command.title))))});t.StatusBarItem=(0,o.memo)(l=>{const{entryId:h,text:u,onClick:d,tooltip:E,command:f,ariaLabel:a,iconClass:b,className:y,role:A="button",hoverContents:S,color:w,backgroundColor:T,side:D}=l,I=(0,v.useInjectable)(_.IThemeService),O=(0,v.useInjectable)(p.IOpenerService),M=(0,v.useInjectable)(_.IIconService),R=(0,o.useMemo)(()=>!E&&!S,[E,S]),P=(0,o.useMemo)(()=>{if(S)return o.default.createElement(g,{contents:S});if(E&&E.value){const F=(0,p.toMarkdownHtml)(E.value),L=(0,p.transformLabelWithCodiconHtml)(F,M.fromString.bind(M));return(0,p.toMarkdown)(L,O,void 0,!0)}return(0,m.isString)(E)&&o.default.createElement("div",{className:s.default.popover_tooltip},(0,p.transformLabelWithCodicon)(E,{},M.fromString.bind(M)))},[E]),k=F=>{var L,B;return F?(0,m.isThemeColor)(F)?(B=(L=I.getColor(F))===null||L===void 0?void 0:L.toString())!==null&&B!==void 0?B:"":F:""};return o.default.createElement("div",{id:h,className:(0,r.default)(s.default.element,y,{[s.default.hasCommand]:f||d}),onClick:d,style:{color:k(w),backgroundColor:k(T)},"aria-label":a},o.default.createElement(c.Popover,{id:`${h}-popover`,content:P,trigger:c.PopoverTriggerType.hover,delay:.2,position:D==="left"?c.PopoverPosition.topLeft:D==="right"?c.PopoverPosition.topRight:c.PopoverPosition.top,disable:R},o.default.createElement("div",{className:s.default.popover_item},b&&o.default.createElement("span",{key:-1,className:(0,r.default)(s.default.icon,b)}),typeof u=="string"?(0,p.transformLabelWithCodicon)(u,{},M.fromString.bind(M),(F,L)=>o.default.createElement("span",{key:`${F}-${L}`,style:{height:"22px",lineHeight:"22px"},"aria-label":a,role:A},(0,p.replaceLocalizePlaceholder)(F))):u)))})},52172:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarContribution=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(68456),p=e(26542),v=e(67899),m=e(29079);let _=class{registerComponent(g){g.register("@opensumi/ide-status-bar",{component:m.StatusBarView,id:"ide-status-bar"},{size:24})}registerCommands(g){g.registerCommand(p.StatusBarCommand.changeBackgroundColor,{execute:l=>this.statusBarService.setBackgroundColor(l)}),g.registerCommand(p.StatusBarCommand.changeColor,{execute:l=>this.statusBarService.setColor(l)}),g.registerCommand(p.StatusBarCommand.addElement,{execute:(l,h)=>this.statusBarService.addElement(l,h)}),g.registerCommand(p.StatusBarCommand.toggleElement,{execute:l=>{this.statusBarService.toggleElement(l)}})}};t.StatusBarContribution=_,n.__decorate([(0,r.Autowired)(v.IStatusBarService),n.__metadata("design:type",Object)],_.prototype,"statusBarService",void 0),t.StatusBarContribution=_=n.__decorate([(0,o.Domain)(c.ComponentContribution,o.CommandContribution)],_)},60643:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarService=void 0;const n=e(85608),r=e(76003),o=e(40396),c=e(41869),p=e(95416),v=e(93899),m=e(40191),_=e(26542),s=e(43718),g=e(28423);let l=class extends c.Disposable{constructor(){super(...arguments),this.emitter=this.registerDispose(new o.EventEmitter),this.entriesObservable=(0,g.observableValue)(this,new Map),this.disposableCollection=new Map,this.entriesArray=(0,g.derived)(this,u=>{const d=this.entriesObservable.read(u);return Array.from(d.values()).sort((E,f)=>{const a=E.priority||0;return(f.priority||0)-a})}),this.leftEntries=(0,g.derived)(this,u=>this.entriesArray.read(u).filter(E=>!E.hidden&&E.alignment===_.StatusBarAlignment.LEFT)),this.rightEntries=(0,g.derived)(this,u=>this.entriesArray.read(u).filter(E=>!E.hidden&&E.alignment===_.StatusBarAlignment.RIGHT))}getBackgroundColor(){return this.appConfig.extensionDevelopmentHost?"var(--kt-statusBar-extensionDebuggingBackground)":this.background}getColor(){return this.foreground}setBackgroundColor(u){this.background=u,this.emitter.emit("backgroundColor",u)}setColor(u){this.foreground=u,this.emitter.emit("color",u)}getElementConfig(u,d){return d.command&&(d.onClick=this.onclick(d)),d.entryId=u,(0,c.isUndefined)(d.id)&&(d.id=u),d}getEntriesById(u){return this.entriesArray.get().filter(d=>d.id===u)}getStorageState(u){return this.layoutState.getState(p.LAYOUT_STATE.STATUSBAR,{})[u]}setStorageState(u,d){this.layoutState.setState(p.LAYOUT_STATE.STATUSBAR,{...this.layoutState.getState(p.LAYOUT_STATE.STATUSBAR,{}),[u]:d})}addElement(u,d){var E,f,a,b;const y=new s.DisposableCollection;d=this.getElementConfig(u,d);const A=d.id,S=(f=(E=this.getStorageState(A))===null||E===void 0?void 0:E.hidden)!==null&&f!==void 0?f:d.hidden;if(d.hidden=S,d.name&&this.getEntriesById(A).length===0){const T=new m.RawContextKey(`${A}:toggle`,!S);T.bind(this.contextKeyService);const D=d.alignment===_.StatusBarAlignment.LEFT?-1*((a=d.priority)!==null&&a!==void 0?a:0):Number.MAX_SAFE_INTEGER-((b=d.priority)!==null&&b!==void 0?b:0),I=this.menuRegistry.registerMenuItem(v.MenuId.StatusBarContext,{command:{id:_.StatusBarCommand.toggleElement.id,label:d.name},order:D,extraTailArgs:[u],toggledWhen:T.raw});y.push(I)}const w=this.entriesObservable.get();return w.set(u,d),(0,g.transaction)(T=>{this.entriesObservable.set(new Map(w),T)}),y.push(c.Disposable.create(()=>{const T=this.entriesObservable.get();T.delete(u),(0,g.transaction)(D=>{this.entriesObservable.set(new Map(T),D)})})),this.disposableCollection.set(u,y),{dispose:()=>{this.removeElement(u)},update:T=>{this.setElement(u,T)}}}toggleElement(u){const E=this.entriesObservable.get().get(u);if(E?.id){const f=`${E.id}:toggle`,a=!E.hidden;this.contextKeyService.createKey(f,!a),this.setStorageState(E.id,{hidden:a});for(const b of this.getEntriesById(E.id))b.hidden=!b.hidden}}setElement(u,d){const E=this.entriesObservable.get(),f=E.get(u);if(f){const a={...f,...d};E.set(u,this.getElementConfig(u,a)),(0,g.transaction)(b=>{this.entriesObservable.set(new Map(E),b)})}else throw new Error(`not found id is ${u} element`)}removeElement(u){var d;(d=this.disposableCollection.get(u))===null||d===void 0||d.dispose(),this.disposableCollection.delete(u)}onclick(u){return()=>{if(u.command){const d=u.arguments||[];this.commandService.executeCommand(u.command,...d)}}}get contextKeyService(){return this.registerDispose(this.globalContextKeyService.createScoped())}get contextMenu(){return this.registerDispose(this.menuService.createMenu(v.MenuId.StatusBarContext,this.contextKeyService))}};t.StatusBarService=l,n.__decorate([(0,r.Autowired)(s.CommandService),n.__metadata("design:type",Object)],l.prototype,"commandService",void 0),n.__decorate([(0,r.Autowired)(c.AppConfig),n.__metadata("design:type",Object)],l.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(v.IMenuRegistry),n.__metadata("design:type",v.IMenuRegistry)],l.prototype,"menuRegistry",void 0),n.__decorate([(0,r.Autowired)(v.AbstractMenuService),n.__metadata("design:type",v.AbstractMenuService)],l.prototype,"menuService",void 0),n.__decorate([(0,r.Autowired)(c.IContextKeyService),n.__metadata("design:type",Object)],l.prototype,"globalContextKeyService",void 0),n.__decorate([(0,r.Autowired)(p.LayoutState),n.__metadata("design:type",p.LayoutState)],l.prototype,"layoutState",void 0),n.__decorate([s.memoize,n.__metadata("design:type",Object),n.__metadata("design:paramtypes",[])],l.prototype,"contextKeyService",null),n.__decorate([s.memoize,n.__metadata("design:type",Object),n.__metadata("design:paramtypes",[])],l.prototype,"contextMenu",null),t.StatusBarService=l=n.__decorate([(0,r.Injectable)()],l)},29079:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarView=void 0;const n=e(85608),r=n.__importDefault(e(53373)),o=n.__importStar(e(14041)),c=e(41869),p=e(1149),v=e(63373),m=e(93899),_=e(48560),s=e(26542),g=e(92237),l=n.__importDefault(e(6373));t.StatusBarView=(0,o.memo)(()=>{const h=(0,_.useInjectable)(s.IStatusBarService),u=(0,c.useAutorun)(h.leftEntries),d=(0,c.useAutorun)(h.rightEntries),E=(0,_.useInjectable)(m.ICtxMenuRenderer),f=(0,_.useInjectable)(p.LayoutViewSizeConfig),a=(0,c.useEventDrivenState)(h.emitter,"backgroundColor",()=>h.getBackgroundColor()),b=(0,c.useEventDrivenState)(h.emitter,"color",()=>h.getColor()),y=(0,o.useCallback)(A=>{A.preventDefault();const S=(0,m.generateCtxMenu)({menus:h.contextMenu,args:[]});E.show({anchor:{x:A.clientX,y:A.clientY},menuNodes:S[1]})},[]);return o.default.createElement("div",{id:v.VIEW_CONTAINERS.STATUSBAR,className:l.default.statusBar,style:{backgroundColor:a,height:f.statusBarHeight+"px"},onContextMenu:y},o.default.createElement("div",{className:(0,r.default)(l.default.area,l.default.left)},u.length?u.map((A,S)=>o.default.createElement(g.StatusBarItem,{side:"left",key:`${A.entryId}-${S}`,...A,color:b??A.color})):null),o.default.createElement("div",{className:(0,r.default)(l.default.area,l.default.right)},d.length?d.map((A,S)=>o.default.createElement(g.StatusBarItem,{side:"right",key:`${A.entryId}-${S}`,...A,color:b??A.color})):null))}),t.StatusBarView.displayName="StatusBar"},67899:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IStatusBarService=void 0;var n=e(26542);Object.defineProperty(t,"IStatusBarService",{enumerable:!0,get:function(){return n.IStatusBarService}})},40293:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e(85608).__exportStar(e(67899),t)},28639:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageModule=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(22992),p=e(2948),v=e(53920),m=e(57919);let _=class extends o.BrowserModule{constructor(){super(...arguments),this.providers=[{token:c.IStoragePathServer,useClass:p.StoragePathServer},{token:c.IGlobalStorageServer,useClass:m.GlobalStorageServer},{token:c.IWorkspaceStorageServer,useClass:m.WorkspaceStorageServer},v.DatabaseStorageContribution]}};t.StorageModule=_,t.StorageModule=_=n.__decorate([(0,r.Injectable)()],_)},2948:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StoragePathServer=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(14951),{Path:p}=o.path;let v=class{constructor(){this.windowsDataFolders=[o.StoragePaths.WINDOWS_APP_DATA_DIR,o.StoragePaths.WINDOWS_ROAMING_DIR],this.ensureStorageDirPromises=new Map,this.init()}async init(){this.deferredWorkspaceStoragePath=new o.Deferred,this.deferredGlobalStoragePath=new o.Deferred,this.workspaceStoragePathInitialized=!1,this.globalStoragePathInitialized=!1,this._userHome=this.getUserHomeDir()}get userHome(){return this._userHome}async ensureStorageDir(_){if(this.ensureStorageDirPromises.has(_))return await this.ensureStorageDirPromises.get(_);const s=this.doEnsureStorageDir(_);return this.ensureStorageDirPromises.set(_,s),await s}async doEnsureStorageDir(_){try{await this.fileSystem.access(_)||await this.fileSystem.createFolder(_)}catch(s){this.logger.error(s)}}async provideWorkspaceStorageDirPath(_){if(this.cachedWorkspaceStoragePath)return this.cachedWorkspaceStoragePath;const s=await this.getBaseStorageDirPath(_),g=o.URI.file(s).resolve(o.StoragePaths.DEFAULT_DATA_DIR_NAME).toString();if(!s)throw new Error("Unable to get parent storage directory");return this.workspaceStoragePathInitialized||await this.ensureStorageDir(g),this.deferredWorkspaceStoragePath.resolve(g),this.workspaceStoragePathInitialized=!0,this.cachedWorkspaceStoragePath=g}async provideGlobalStorageDirPath(_){if(this.cachedGlobalStoragePath)return this.cachedGlobalStoragePath;const s=await this.getBaseStorageDirPath(_),g=o.URI.file(s).toString();if(!s)throw new Error("Unable to get parent storage directory");return this.globalStoragePathInitialized||await this.ensureStorageDir(g),this.deferredGlobalStoragePath.resolve(g),this.globalStoragePathInitialized=!0,this.cachedGlobalStoragePath=g}async getBaseStorageDirPath(_){return await this.getDataDirPath(_)}async getDataDirPath(_){const s=await this.userHome,g=_||o.StoragePaths.DEFAULT_STORAGE_DIR_NAME;return new p(s).join(...o.isWindows?this.windowsDataFolders:[""],g).toString()}async getUserHomeDir(){const _=await this.fileSystem.getCurrentUserHome();if(!_)throw new Error("Unable to get user home directory");return await this.fileSystem.getFsPath(_.uri)||""}async getLastWorkspaceStoragePath(){return this.workspaceStoragePathInitialized?this.cachedWorkspaceStoragePath:this.deferredWorkspaceStoragePath.promise}async getLastGlobalStoragePath(){return this.globalStoragePathInitialized?this.cachedGlobalStoragePath:this.deferredGlobalStoragePath.promise}};t.StoragePathServer=v,n.__decorate([(0,r.Autowired)(c.IFileServiceClient),n.__metadata("design:type",Object)],v.prototype,"fileSystem",void 0),n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],v.prototype,"logger",void 0),t.StoragePathServer=v=n.__decorate([(0,r.Injectable)(),n.__metadata("design:paramtypes",[])],v)},53920:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DatabaseStorageContribution=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(51500),p=e(22992),v=e(93046);let m=class{constructor(){this.cache=new Map}async resolve(s){const g=s.path.toString();let l;const h=this.cache.get(s.toString());if(h)l=h;else{if(s.scheme===o.STORAGE_SCHEMA.SCOPE)this.isBuiltinStorage(s)?l=new v.Storage(this.workspaceStorage,this.workspaceService,this.appConfig,g,!1,this.scopedLocalStorage):l=new v.Storage(this.workspaceStorage,this.workspaceService,this.appConfig,g,!1);else if(s.scheme===o.STORAGE_SCHEMA.GLOBAL)this.isBuiltinStorage(s)?l=new v.Storage(this.globalStorage,this.workspaceService,this.appConfig,g,!0,this.globalLocalStorage):l=new v.Storage(this.globalStorage,this.workspaceService,this.appConfig,g,!0);else return;this.cache.set(s.toString(),l)}return await l.whenReady,l}isBuiltinStorage(s){const g=Object.keys(o.STORAGE_NAMESPACE);for(const l of g)if(s.isEqual(o.STORAGE_NAMESPACE[l]))return!0;return!1}};t.DatabaseStorageContribution=m,n.__decorate([(0,r.Autowired)(p.IWorkspaceStorageServer),n.__metadata("design:type",Object)],m.prototype,"workspaceStorage",void 0),n.__decorate([(0,r.Autowired)(p.IGlobalStorageServer),n.__metadata("design:type",Object)],m.prototype,"globalStorage",void 0),n.__decorate([(0,r.Autowired)(o.AppConfig),n.__metadata("design:type",Object)],m.prototype,"appConfig",void 0),n.__decorate([(0,r.Autowired)(c.IWorkspaceService),n.__metadata("design:type",Object)],m.prototype,"workspaceService",void 0),n.__decorate([(0,r.Autowired)(o.GlobalBrowserStorageService),n.__metadata("design:type",o.GlobalBrowserStorageService)],m.prototype,"globalLocalStorage",void 0),n.__decorate([(0,r.Autowired)(o.ScopedBrowserStorageService),n.__metadata("design:type",o.ScopedBrowserStorageService)],m.prototype,"scopedLocalStorage",void 0),t.DatabaseStorageContribution=m=n.__decorate([(0,o.Domain)(o.StorageResolverContribution)],m)},93046:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=void 0;const n=e(43718);var r;(function(c){c[c.None=0]="None",c[c.Initialized=1]="Initialized",c[c.Closed=2]="Closed"})(r||(r={}));class o{constructor(p,v,m,_,s=!0,g){this.database=p,this.workspace=v,this.appConfig=m,this.storageName=_,this.isGlobal=s,this.browserLocalStorage=g,this._onDidChangeStorage=new n.Emitter,this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=r.None,this.cache=new Map,this.pendingDeletes=new Set,this.pendingInserts=new Map,this.toDisposableCollection=new n.DisposableCollection,this.logger=(0,n.getDebugLogger)(),this.readyDeferred=new n.Deferred,this.whenReadyToWriteDeferred=new n.Deferred,this.toDisposableCollection.push(this._onDidChangeStorage),this.flushDelayer=new n.ThrottledDelayer(o.DEFAULT_FLUSH_DELAY),this.init(_).then(()=>{this.toDisposableCollection.push(this.workspace.onWorkspaceChanged(()=>{this.init(_)}))})}get whenReady(){return this.readyDeferred.promise}get whenReadyToWrite(){return this.whenReadyToWriteDeferred.promise}get items(){return this.cache}get size(){return this.cache.size}async init(p){var v;const m=((v=this.workspace.workspace)===null||v===void 0?void 0:v.uri)||n.URI.file(this.appConfig.workspaceDir).toString();let _;this.browserLocalStorage&&(_=await this.browserLocalStorage.getData(p)),_?this.database.init(this.appConfig.storageDirName,this.isGlobal?void 0:m).then(()=>{this.database.getItems(p).then(async s=>{var g;this.cache=this.jsonToMap(s),(g=this.browserLocalStorage)===null||g===void 0||g.setData(p,s),this.whenReadyToWriteDeferred.resolve()})}):(await this.database.init(this.appConfig.storageDirName,this.isGlobal?void 0:m),_=await this.database.getItems(p),this.browserLocalStorage&&this.browserLocalStorage.setData(p,_),this.whenReadyToWriteDeferred.resolve()),this.cache=this.jsonToMap(_),this.state=r.Initialized,this.readyDeferred.resolve()}async reConnectInit(){this.readyDeferred=new n.Deferred,this.init(this.storageName)}dispose(){this.toDisposableCollection.dispose()}get(p,v){let m=this.cache.get(p);if((0,n.isUndefinedOrNull)(m))return v;try{m=JSON.parse(m)}catch(_){this.logger.error("Could not parse value: ",m,_)}return m}getBoolean(p,v){const m=this.get(p);return(0,n.isUndefinedOrNull)(m)?v:m==="true"}getNumber(p,v){const m=this.get(p);return(0,n.isUndefinedOrNull)(m)?v:parseInt(m,10)}set(p,v){if(this.state===r.Closed)return Promise.resolve();if((0,n.isUndefinedOrNull)(v))return this.delete(p);const m=JSON.stringify(v);return this.cache.get(p)===m?Promise.resolve():(this.cache.set(p,m),this.pendingInserts.set(p,m),this.pendingDeletes.delete(p),this._onDidChangeStorage.fire(p),this.flushDelayer.trigger(()=>this.flushPending()))}delete(p){return this.state===r.Closed||!this.cache.delete(p)?Promise.resolve():(this.pendingDeletes.has(p)||this.pendingDeletes.add(p),this.pendingInserts.delete(p),this._onDidChangeStorage.fire(p),this.flushDelayer.trigger(()=>this.flushPending()))}async close(){if(this.state===r.Closed)return Promise.resolve();this.state=r.Closed;try{await this.flushDelayer.trigger(()=>this.flushPending(),0)}catch{}await this.database.close(()=>this.cache)}async flushPending(){if(await this.whenReadyToWrite,this.pendingInserts.size===0&&this.pendingDeletes.size===0)return Promise.resolve();const p={insert:this.mapToJson(this.pendingInserts),delete:Array.from(this.pendingDeletes)};if(this.browserLocalStorage){let v=this.mapToJson(this.cache);for(const m of p?.delete||[])delete v[m];v={...v,...p.insert},this.browserLocalStorage.setData(this.storageName,v)}return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(this.storageName,p)}mapToJson(p){const v=Object.create(null);for(const[m,_]of p)v[m]=_;return v}jsonToMap(p){if(typeof p=="string")try{p=JSON.parse(p)}catch(m){return this.logger.debug(m),p}const v=new Map;for(const m of Object.keys(p))v.set(m,p[m]);return v}}t.Storage=o,o.DEFAULT_FLUSH_DELAY=200},57919:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalStorageServer=t.WorkspaceStorageServer=t.StorageServer=void 0;const n=e(85608),r=e(76003),o=e(43718),c=e(14951),p=e(22992),{Path:v}=o.path;let m=class{constructor(){this.storageExistPromises=new Map,this._cache={},this.onDidChangeEmitter=new o.Emitter,this.onDidChange=this.onDidChangeEmitter.event}async close(l){}async asAccess(l,h){if(h)return await this.fileSystem.access(l);if(!this.storageExistPromises.has(l)){const u=this.fileSystem.access(l);this.storageExistPromises.set(l,u)}return await this.storageExistPromises.get(l)}async setupDirectories(l,h){if(!this.deferredStorageDirPath){this.deferredStorageDirPath=new o.Deferred;let u;l===o.STORAGE_SCHEMA.GLOBAL?u=this.dataStoragePathServer.provideGlobalStorageDirPath:u=this.dataStoragePathServer.provideWorkspaceStorageDirPath;const d=await u.apply(this.dataStoragePathServer,[h]);return this.deferredStorageDirPath.resolve(d),this.databaseStorageDirPath=d,d}return this.databaseStorageDirPath}async getStoragePath(l,h){this.databaseStorageDirPath||await this.deferredStorageDirPath.promise;const u=h.indexOf(v.separator)>=0;let d;l===o.STORAGE_SCHEMA.GLOBAL?d=this.dataStoragePathServer.getLastGlobalStoragePath:d=this.dataStoragePathServer.getLastWorkspaceStoragePath;const E=await d.apply(this.dataStoragePathServer);if(u){const f=new v(h);h=f.name;const a=new o.URI(E).resolve(f.dir).toString();return await this.fileSystem.access(a)||await this.fileSystem.createFolder(a),E?new o.URI(a).resolve(`${h}.json`).toString():void 0}return E?new o.URI(E).resolve(`${h}.json`).toString():void 0}};t.StorageServer=m,n.__decorate([(0,r.Autowired)(c.IFileServiceClient),n.__metadata("design:type",Object)],m.prototype,"fileSystem",void 0),n.__decorate([(0,r.Autowired)(p.IStoragePathServer),n.__metadata("design:type",Object)],m.prototype,"dataStoragePathServer",void 0),n.__decorate([(0,r.Autowired)(o.ILogger),n.__metadata("design:type",Object)],m.prototype,"logger",void 0),t.StorageServer=m=n.__decorate([(0,r.Injectable)()],m);let _=class extends m{constructor(){super(...arguments),this.readyDeferred=new o.Deferred}get whenReady(){return this.readyDeferred.promise}async init(l,h){return this.workspaceNamespace=h,await this.setupDirectories(o.STORAGE_SCHEMA.SCOPE,l)}async getItems(l){if(this._cache[l])return this._cache[l];let h={};const u=this.workspaceNamespace,d=await this.getStoragePath(o.STORAGE_SCHEMA.SCOPE,l);if(!d)this.logger.error(`Storage [${l}] is invalid.`);else{const E=new o.URI(d).toString();if(await this.asAccess(E,!0)){const f=await this.fileSystem.readFile(E);try{h=JSON.parse(f.content.toString())}catch(a){this.logger.error(`Storage [${l}] content can not be parse with path ${E}. Error: ${a.stack}`),h={}}}}return this._cache[l]=h,u&&(h=h[u]||{}),this.readyDeferred.resolve(),h}async updateItems(l,h){await this.whenReady;let u={};const d=this.workspaceNamespace;this._cache[l]?u=this._cache[l]:(u=await this.getItems(l),d&&(u=u[d])),h.insert&&(d?u[d]={...u[d],...h.insert}:u={...u,...h.insert}),h.delete&&h.delete.length>0&&new Set(h.delete).forEach(a=>{d?u[d][a]&&delete u[d][a]:u[a]&&delete u[a]}),this._cache[l]=u;const E=await this.getStoragePath(o.STORAGE_SCHEMA.SCOPE,l);if(E){const f=new o.URI(E).toString();let a=await this.fileSystem.getFileStat(f);a||(a=await this.fileSystem.createFile(f)),await this.fileSystem.setContent(a,JSON.stringify(u));const b={path:a.uri,data:JSON.stringify(u)};this.onDidChangeEmitter.fire(b)}}};t.WorkspaceStorageServer=_,t.WorkspaceStorageServer=_=n.__decorate([(0,r.Injectable)()],_);let s=class extends m{constructor(){super(...arguments),this.readyDeferred=new o.Deferred}get whenReady(){return this.readyDeferred.promise}async init(l){return await this.setupDirectories(o.STORAGE_SCHEMA.GLOBAL,l)}async getItems(l){if(this._cache[l])return this._cache[l];let h={};const u=await this.getStoragePath(o.STORAGE_SCHEMA.GLOBAL,l);if(!u)this.logger.error(`Storage [${l}] is invalid.`);else{const d=new o.URI(u).toString();if(await this.asAccess(d,!0)){const E=await this.fileSystem.readFile(d);try{h=JSON.parse(E.content.toString())}catch(f){this.logger.error(`Storage [${l}] content can not be parse. Error: ${f.stack}`),h={}}}}return this._cache[l]=h,this.readyDeferred.resolve(),h}async updateItems(l,h){await this.whenReady;let u={};this._cache[l]?u=this._cache[l]:u=await this.getItems(l),h.insert&&(u={...u,...h.insert}),h.delete&&h.delete.length>0&&new Set(h.delete).forEach(f=>{u[f]&&delete u[f]}),this._cache[l]=u;const d=await this.getStoragePath(o.STORAGE_SCHEMA.GLOBAL,l);if(d){let E=await this.fileSystem.getFileStat(d);E||(E=await this.fileSystem.createFile(d,{content:""})),await this.fileSystem.setContent(E,JSON.stringify(u));const f={path:E.uri,data:JSON.stringify(u)};this.onDidChangeEmitter.fire(f)}}};t.GlobalStorageServer=s,t.GlobalStorageServer=s=n.__decorate([(0,r.Injectable)()],s)},22992:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(85608);n.__exportStar(e(62025),t),n.__exportStar(e(5597),t)},5597:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IStoragePathServer=void 0,t.IStoragePathServer=Symbol("IStoragePathServer")},62025:(x,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IGlobalStorageServer=t.IWorkspaceStorageServer=void 0,t.IWorkspaceStorageServer="IWorkspaceStorageServer",t.IGlobalStorageServer="IGlobalStorageServer"},95737:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaskModule=void 0;const n=e(85608),r=e(76003),o=e(41869),c=e(91825),p=e(93950),v=e(27347),m=e(41824),_=e(77554),s=e(95521),g=e(66893);let l=class extends o.BrowserModule{constructor(){super(...arguments),this.providers=[_.TaskContribution,v.TaskPreferencesContribution,{token:c.FolderFilePreferenceProvider,useClass:m.TaskFolderPreferenceProvider,dropdownForTag:!0,tag:"tasks"},{token:p.ITaskService,useClass:s.TaskService},{token:p.ITaskSystem,useClass:g.TerminalTaskSystem}]}};t.TaskModule=l,t.TaskModule=l=n.__decorate([(0,r.Injectable)()],l)},17654:(x,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProblemMatcherParser=t.ProblemPatternParser=t.Config=t.Parser=t.ValidationStatus=void 0;const n=e(43718),{deepClone:r}=n.objects;class o{constructor(){this._state=0}get state(){return this._state}set state(s){s>this._state&&(this._state=s)}isOK(){return this._state===0}isFatal(){return this._state===4}}t.ValidationStatus=o;class c{constructor(s){this._problemReporter=s}reset(){this._problemReporter.status.state=0}get problemReporter(){return this._problemReporter}info(s){this._problemReporter.info(s)}warn(s){this._problemReporter.warn(s)}error(s){this._problemReporter.error(s)}fatal(s){this._problemReporter.fatal(s)}}t.Parser=c;var p;(function(_){let s;(function(f){function a(b){const y=b;return y&&(0,n.isString)(y.regexp)}f.is=a})(s=_.CheckedProblemPattern||(_.CheckedProblemPattern={}));let g;(function(f){function a(b){const y=b;return y&&(0,n.isString)(y.name)}f.is=a})(g=_.NamedProblemPattern||(_.NamedProblemPattern={}));let l;(function(f){function a(b){const y=b;return y&&g.is(y)&&(0,n.isString)(y.regexp)}f.is=a})(l=_.NamedCheckedProblemPattern||(_.NamedCheckedProblemPattern={}));let h;(function(f){function a(b){return b&&(0,n.isArray)(b)}f.is=a})(h=_.MultiLineProblemPattern||(_.MultiLineProblemPattern={}));let u;(function(f){function a(b){if(!h.is(b))return!1;for(const y of b)if(!_.CheckedProblemPattern.is(y))return!1;return!0}f.is=a})(u=_.MultiLineCheckedProblemPattern||(_.MultiLineCheckedProblemPattern={}));let d;(function(f){function a(b){const y=b;return y&&(0,n.isString)(y.name)&&(0,n.isArray)(y.patterns)&&u.is(y.patterns)}f.is=a})(d=_.NamedMultiLineCheckedProblemPattern||(_.NamedMultiLineCheckedProblemPattern={}));function E(f){return(0,n.isString)(f.name)}_.isNamedProblemMatcher=E})(p||(t.Config=p={}));class v extends c{constructor(s){super(s)}parse(s){if(p.NamedMultiLineCheckedProblemPattern.is(s))return this.createNamedMultiLineProblemPattern(s);if(p.MultiLineCheckedProblemPattern.is(s))return this.createMultiLineProblemPattern(s);if(p.NamedCheckedProblemPattern.is(s)){const g=this.createSingleProblemPattern(s);return g.name=s.name,g}else return p.CheckedProblemPattern.is(s)?this.createSingleProblemPattern(s):(this.error((0,n.localize)("ProblemPatternParser.problemPattern.missingRegExp","The problem pattern is missing a regular expression.")),null)}createSingleProblemPattern(s){const g=this.doCreateSingleProblemPattern(s,!0);return g===void 0?null:(g.kind===void 0&&(g.kind=n.ProblemLocationKind.Location),this.validateProblemPattern([g])?g:null)}createNamedMultiLineProblemPattern(s){const g=this.createMultiLineProblemPattern(s.patterns);return g?{name:s.name,label:s.label?s.label:s.name,patterns:g}:null}createMultiLineProblemPattern(s){const g=[];for(let l=0;l<s.length;l++){const h=this.doCreateSingleProblemPattern(s[l],!1);if(h===void 0)return null;l<s.length-1&&!(0,n.isUndefined)(h.loop)&&h.loop&&(h.loop=!1,this.error((0,n.localize)("ProblemPatternParser.loopProperty.notLast","The loop property is only supported on the last line matcher."))),g.push(h)}return g[0].kind===void 0&&(g[0].kind=n.ProblemLocationKind.Location),this.validateProblemPattern(g)?g:null}doCreateSingleProblemPattern(s,g){const l=this.createRegularExpression(s.regexp);if(l===void 0)return;let h={regexp:l};s.kind&&(h.kind=n.ProblemLocationKind.fromString(s.kind));function u(d,E,f,a){const b=E[a];typeof b=="number"&&(d[f]=b)}if(u(h,s,"file","file"),u(h,s,"location","location"),u(h,s,"line","line"),u(h,s,"character","column"),u(h,s,"endLine","endLine"),u(h,s,"endCharacter","endColumn"),u(h,s,"severity","severity"),u(h,s,"code","code"),u(h,s,"message","message"),(s.loop===!0||s.loop===!1)&&(h.loop=s.loop),g)if(h.location||h.kind===n.ProblemLocationKind.File){const d={file:1,message:0};h=(0,n.mixin)(h,d,!1)}else{const d={file:1,line:2,character:3,message:0};h=(0,n.mixin)(h,d,!1)}return h}validateProblemPattern(s){let g=!1,l=!1,h=!1,u=!1;const d=s[0].kind===void 0?n.ProblemLocationKind.Location:s[0].kind;return s.forEach((E,f)=>{f!==0&&E.kind&&this.error((0,n.localize)("ProblemPatternParser.problemPattern.kindProperty.notFirst","The problem pattern is invalid. The kind property must be provided only in the first element")),g=g||!(0,n.isUndefined)(E.file),l=l||!(0,n.isUndefined)(E.message),h=h||!(0,n.isUndefined)(E.location),u=u||!(0,n.isUndefined)(E.line)}),g&&l?d===n.ProblemLocationKind.Location&&!(h||u)?(this.error((0,n.localize)("ProblemPatternParser.problemPattern.missingLocation",'The problem pattern is invalid. It must either have kind: "file" or have a line or location match group.')),!1):!0:(this.error((0,n.localize)("ProblemPatternParser.problemPattern.missingProperty","The problem pattern is invalid. It must have at least have a file and a message.")),!1)}createRegularExpression(s){let g;try{g=new RegExp(s)}catch{this.error((0,n.localize)("ProblemPatternParser.invalidRegexp",`Error: The string {0} is not a valid regular expression.
31945
31945
  `,s))}return g}}t.ProblemPatternParser=v;class m extends c{constructor(s){super(s)}parse(s,g,l){const h=this.createProblemMatcher(s,g,l);if(this.checkProblemMatcherValid(s,h))return this.addWatchingMatcher(s,h),h}checkProblemMatcherValid(s,g){return g?g.pattern?g.owner?(0,n.isUndefined)(g.fileLocation)?(this.error((0,n.localize)("ProblemMatcherParser.noFileLocation",`Error: the description doesn't define a file location:
31946
31946
  {0}
31947
31947
  `,JSON.stringify(s,null,4))),!1):!0:(this.error((0,n.localize)("ProblemMatcherParser.noOwner",`Error: the description doesn't define an owner: