@codingame/monaco-vscode-welcome-service-override 2.2.2 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-welcome-service-override",
3
- "version": "2.2.2",
3
+ "version": "3.1.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@2.2.2",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@3.1.0",
22
22
  "vscode-marked": "npm:marked@=3.0.2"
23
23
  }
24
24
  }
@@ -6,13 +6,13 @@ import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
6
6
  import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
7
7
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
8
8
  import { ContextKeyExpr, IContextKeyService, RawContextKey } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
9
- import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
9
+ import { IEditorService, SIDE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
10
10
  import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
11
11
  import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
12
12
  import { IWalkthroughsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService';
13
13
  import { GettingStartedInput } from './gettingStartedInput.js';
14
- import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
15
- import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
14
+ import { registerWorkbenchContribution2 } from 'vscode/vscode/vs/workbench/common/contributions';
15
+ import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
16
16
  import { workbenchConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
17
17
  import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
18
18
  import { ICommandService, CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
@@ -21,7 +21,7 @@ import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/
21
21
  import { isMacintosh, isLinux, isWindows } from 'vscode/vscode/vs/base/common/platform';
22
22
  import { IExtensionManagementServerService } from 'vscode/vscode/vs/workbench/services/extensionManagement/common/extensionManagement';
23
23
  import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
24
- import { StartupPageContribution } from './startupPage.js';
24
+ import { StartupPageEditorResolverContribution, StartupPageRunnerContribution } from './startupPage.js';
25
25
  import { ExtensionsInput } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensionsInput';
26
26
  import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
27
27
 
@@ -51,6 +51,13 @@ registerAction2(class extends Action2 {
51
51
  if (walkthroughID) {
52
52
  const selectedCategory = typeof walkthroughID === 'string' ? walkthroughID : walkthroughID.category;
53
53
  const selectedStep = typeof walkthroughID === 'string' ? undefined : walkthroughID.step;
54
+ if (!selectedCategory && !selectedStep) {
55
+ editorService.openEditor({
56
+ resource: GettingStartedInput.RESOURCE,
57
+ options: { preserveFocus: toSide ?? false }
58
+ }, toSide ? SIDE_GROUP : undefined);
59
+ return;
60
+ }
54
61
  for (const group of editorGroupsService.groups) {
55
62
  if (group.activeEditor instanceof GettingStartedInput) {
56
63
  group.activeEditorPane.makeCategoryVisibleWhenAvailable(selectedCategory, selectedStep);
@@ -85,13 +92,16 @@ registerAction2(class extends Action2 {
85
92
  editorService.openEditor({
86
93
  resource: GettingStartedInput.RESOURCE,
87
94
  options: { selectedCategory: selectedCategory, selectedStep: selectedStep, preserveFocus: toSide ?? false }
88
- }).then((editor) => {
95
+ }, toSide ? SIDE_GROUP : undefined).then((editor) => {
89
96
  editor?.makeCategoryVisibleWhenAvailable(selectedCategory, selectedStep);
90
97
  });
91
98
  }
92
99
  }
93
100
  else {
94
- editorService.openEditor({ resource: GettingStartedInput.RESOURCE });
101
+ editorService.openEditor({
102
+ resource: GettingStartedInput.RESOURCE,
103
+ options: { preserveFocus: toSide ?? false }
104
+ }, toSide ? SIDE_GROUP : undefined);
95
105
  }
96
106
  }
97
107
  });
@@ -251,6 +261,7 @@ const WorkspacePlatform = ( new RawContextKey('workspacePlatform', undefined, (
251
261
  "The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
252
262
  ))));
253
263
  let WorkspacePlatformContribution = class WorkspacePlatformContribution {
264
+ static { this.ID = 'workbench.contrib.workspacePlatform'; }
254
265
  constructor(extensionManagementServerService, remoteAgentService, contextService) {
255
266
  this.extensionManagementServerService = extensionManagementServerService;
256
267
  this.remoteAgentService = remoteAgentService;
@@ -289,9 +300,7 @@ WorkspacePlatformContribution = ( __decorate([
289
300
  ( __param(1, IRemoteAgentService)),
290
301
  ( __param(2, IContextKeyService))
291
302
  ], WorkspacePlatformContribution));
292
- ( Registry.as(Extensions.Workbench))
293
- .registerWorkbenchContribution(WorkspacePlatformContribution, 3 );
294
- const configurationRegistry = ( Registry.as(Extensions$1.Configuration));
303
+ const configurationRegistry = ( Registry.as(Extensions.Configuration));
295
304
  configurationRegistry.registerConfiguration({
296
305
  ...workbenchConfigurationNodeBase,
297
306
  properties: {
@@ -308,7 +317,7 @@ configurationRegistry.registerConfiguration({
308
317
  'workbench.startupEditor': {
309
318
  'scope': 4 ,
310
319
  'type': 'string',
311
- 'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench'],
320
+ 'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
312
321
  'enumDescriptions': [
313
322
  ( localizeWithPath(
314
323
  'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution',
@@ -335,6 +344,11 @@ configurationRegistry.registerConfiguration({
335
344
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.welcomePageInEmptyWorkbench' },
336
345
  "Open the Welcome page when opening an empty workbench."
337
346
  )),
347
+ ( localizeWithPath(
348
+ 'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution',
349
+ { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.startupEditor.terminal' },
350
+ "Open a new terminal in the editor area."
351
+ )),
338
352
  ],
339
353
  'default': 'welcomePage',
340
354
  'description': ( localizeWithPath(
@@ -360,7 +374,8 @@ configurationRegistry.registerConfiguration({
360
374
  }
361
375
  }
362
376
  });
363
- ( Registry.as(Extensions.Workbench))
364
- .registerWorkbenchContribution(StartupPageContribution, 3 );
377
+ registerWorkbenchContribution2(WorkspacePlatformContribution.ID, WorkspacePlatformContribution, 3 );
378
+ registerWorkbenchContribution2(StartupPageEditorResolverContribution.ID, StartupPageEditorResolverContribution, 2 );
379
+ registerWorkbenchContribution2(StartupPageRunnerContribution.ID, StartupPageRunnerContribution, 3 );
365
380
 
366
381
  export { WorkspacePlatform };
@@ -27,8 +27,6 @@ import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/c
27
27
  import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
28
28
  import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
29
29
  import { RawContextKey, ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
30
- import { IExtensionManagementService } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagement';
31
- import { ExtensionIdentifier } from 'vscode/vscode/vs/platform/extensions/common/extensions';
32
30
  import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
33
31
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
34
32
  import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
@@ -38,7 +36,7 @@ import { Link } from 'vscode/vscode/vs/platform/opener/browser/link';
38
36
  import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
39
37
  import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
40
38
  import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
41
- import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
39
+ import { WillSaveStateReason, IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
42
40
  import { firstSessionDateStorageKey, ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
43
41
  import { getTelemetryLevel } from 'vscode/vscode/vs/platform/telemetry/common/telemetryUtils';
44
42
  import { defaultToggleStyles, defaultButtonStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
@@ -50,7 +48,6 @@ import { OpenFolderViaWorkspaceAction, OpenFileFolderAction, OpenFolderAction }
50
48
  import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
51
49
  import { WorkbenchStateContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
52
50
  import { IWebviewService } from 'vscode/vscode/vs/workbench/contrib/webview/browser/webview';
53
- import { IFeaturedExtensionsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService';
54
51
  import './gettingStartedColors.js';
55
52
  import { GettingStartedDetailsRenderer } from './gettingStartedDetailsRenderer.js';
56
53
  import { gettingStartedUncheckedCodicon, gettingStartedCheckedCodicon } from './gettingStartedIcons.js';
@@ -82,13 +79,12 @@ const REDUCED_MOTION_KEY = 'workbench.welcomePage.preferReducedMotion';
82
79
  let GettingStartedPage = class GettingStartedPage extends EditorPane {
83
80
  static { GettingStartedPage_1 = this; }
84
81
  static { this.ID = 'gettingStartedPage'; }
85
- constructor(commandService, productService, keybindingService, gettingStartedService, featuredExtensionService, configurationService, telemetryService, languageService, fileService, openerService, themeService, storageService, extensionService, instantiationService, notificationService, groupsService, contextService, quickInputService, workspacesService, labelService, hostService, webviewService, workspaceContextService, accessibilityService, extensionManagementService) {
82
+ constructor(commandService, productService, keybindingService, gettingStartedService, configurationService, telemetryService, languageService, fileService, openerService, themeService, storageService, extensionService, instantiationService, notificationService, groupsService, contextService, quickInputService, workspacesService, labelService, hostService, webviewService, workspaceContextService, accessibilityService) {
86
83
  super(GettingStartedPage_1.ID, telemetryService, themeService, storageService);
87
84
  this.commandService = commandService;
88
85
  this.productService = productService;
89
86
  this.keybindingService = keybindingService;
90
87
  this.gettingStartedService = gettingStartedService;
91
- this.featuredExtensionService = featuredExtensionService;
92
88
  this.configurationService = configurationService;
93
89
  this.languageService = languageService;
94
90
  this.fileService = fileService;
@@ -105,7 +101,6 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
105
101
  this.webviewService = webviewService;
106
102
  this.workspaceContextService = workspaceContextService;
107
103
  this.accessibilityService = accessibilityService;
108
- this.extensionManagementService = extensionManagementService;
109
104
  this.inProgressScroll = Promise.resolve();
110
105
  this.dispatchListeners = ( new DisposableStore());
111
106
  this.stepDisposables = ( new DisposableStore());
@@ -136,12 +131,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
136
131
  this.contextService = this._register(contextService.createScoped(this.container));
137
132
  inWelcomeContext.bindTo(this.contextService).set(true);
138
133
  this.gettingStartedCategories = this.gettingStartedService.getWalkthroughs();
139
- this.featuredExtensions = this.featuredExtensionService.getExtensions();
140
134
  this._register(this.dispatchListeners);
141
135
  this.buildSlideThrottle = ( new Throttler());
142
136
  const rerender = () => {
143
137
  this.gettingStartedCategories = this.gettingStartedService.getWalkthroughs();
144
- this.featuredExtensions = this.featuredExtensionService.getExtensions();
145
138
  if (this.currentWalkthrough) {
146
139
  const existingSteps = ( this.currentWalkthrough.steps.map(step => step.id));
147
140
  const newCategory = this.gettingStartedCategories.find(category => this.currentWalkthrough?.id === category.id);
@@ -156,14 +149,6 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
156
149
  this.buildSlideThrottle.queue(() => this.buildCategoriesSlide());
157
150
  }
158
151
  };
159
- this._register(this.extensionManagementService.onDidInstallExtensions(async (result) => {
160
- for (const e of result) {
161
- const installedFeaturedExtension = (await this.featuredExtensions)?.find(ext => ExtensionIdentifier.equals(ext.id, e.identifier.id));
162
- if (installedFeaturedExtension) {
163
- this.hideExtension(e.identifier.id);
164
- }
165
- }
166
- }));
167
152
  this._register(this.gettingStartedService.onDidAddWalkthrough(rerender));
168
153
  this._register(this.gettingStartedService.onDidRemoveWalkthrough(rerender));
169
154
  this.recentlyOpened = this.workspacesService.getRecentlyOpened();
@@ -204,11 +189,13 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
204
189
  const badgeelements = assertIsDefined(getWindow(this.container).document.querySelectorAll(`[data-done-step-id="${step.id}"]`));
205
190
  badgeelements.forEach(badgeelement => {
206
191
  if (step.done) {
192
+ badgeelement.setAttribute('aria-checked', 'true');
207
193
  badgeelement.parentElement?.setAttribute('aria-checked', 'true');
208
194
  badgeelement.classList.remove(...ThemeIcon.asClassNameArray(gettingStartedUncheckedCodicon));
209
195
  badgeelement.classList.add('complete', ...ThemeIcon.asClassNameArray(gettingStartedCheckedCodicon));
210
196
  }
211
197
  else {
198
+ badgeelement.setAttribute('aria-checked', 'false');
212
199
  badgeelement.parentElement?.setAttribute('aria-checked', 'false');
213
200
  badgeelement.classList.remove('complete', ...ThemeIcon.asClassNameArray(gettingStartedCheckedCodicon));
214
201
  badgeelement.classList.add(...ThemeIcon.asClassNameArray(gettingStartedUncheckedCodicon));
@@ -217,6 +204,19 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
217
204
  }
218
205
  this.updateCategoryProgress();
219
206
  }));
207
+ this._register(this.storageService.onWillSaveState((e) => {
208
+ if (e.reason !== WillSaveStateReason.SHUTDOWN) {
209
+ return;
210
+ }
211
+ if (this.workspaceContextService.getWorkspace().folders.length !== 0) {
212
+ return;
213
+ }
214
+ if (!this.editorInput || !this.currentWalkthrough || !this.editorInput.selectedCategory || !this.editorInput.selectedStep) {
215
+ return;
216
+ }
217
+ const restoreData = { folder: UNKNOWN_EMPTY_WINDOW_WORKSPACE.id, category: this.editorInput.selectedCategory, step: this.editorInput.selectedStep };
218
+ this.storageService.store(restoreWalkthroughsConfigurationKey, JSON.stringify(restoreData), 0 , 1 );
219
+ }));
220
220
  }
221
221
  shouldAnimate() {
222
222
  if (this.configurationService.getValue(REDUCED_MOTION_KEY)) {
@@ -362,7 +362,6 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
362
362
  }
363
363
  hideExtension(extensionId) {
364
364
  this.setHiddenCategories([...this.getHiddenCategories().add(extensionId)]);
365
- this.featuredExtensionsList?.rerender();
366
365
  this.registerDispatchListeners();
367
366
  }
368
367
  markAllStepsComplete() {
@@ -523,7 +522,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
523
522
  this.stepDisposables.add(toDisposable(() => { isDisposed = true; }));
524
523
  this.stepDisposables.add(this.webview.onDidClickLink(link => {
525
524
  if (matchesScheme(link, Schemas.https) || matchesScheme(link, Schemas.http) || (matchesScheme(link, Schemas.command))) {
526
- this.openerService.open(link, { allowCommands: true });
525
+ const toSide = link.startsWith('command:toSide:');
526
+ if (toSide) {
527
+ link = link.replace('command:toSide:', 'command:');
528
+ this.focusSideEditorGroup();
529
+ }
530
+ this.openerService.open(link, { allowCommands: true, openToSide: toSide });
527
531
  }
528
532
  }));
529
533
  if (rawHTML.indexOf('<code>') >= 0) {
@@ -588,7 +592,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
588
592
  stepElement.classList.add('expanded');
589
593
  stepElement.setAttribute('aria-expanded', 'true');
590
594
  this.buildMediaComponent(id);
591
- this.gettingStartedService.progressStep(id);
595
+ this.gettingStartedService.progressByEvent('stepSelected:' + id);
592
596
  }
593
597
  else {
594
598
  this.editorInput.selectedStep = undefined;
@@ -674,29 +678,16 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
674
678
  const rightColumn = $('.categories-column.categories-column-right', {});
675
679
  const startList = this.buildStartList();
676
680
  const recentList = this.buildRecentlyOpenedList();
677
- const featuredExtensionList = this.buildFeaturedExtensionsList();
678
681
  const gettingStartedList = this.buildGettingStartedWalkthroughsList();
679
682
  const footer = $('.footer', {}, $('p.showOnStartup', {}, showOnStartupCheckbox.domNode, showOnStartupLabel));
680
683
  const layoutLists = () => {
681
684
  if (gettingStartedList.itemCount) {
682
685
  this.container.classList.remove('noWalkthroughs');
683
- reset(rightColumn, featuredExtensionList.getDomElement(), gettingStartedList.getDomElement());
686
+ reset(rightColumn, gettingStartedList.getDomElement());
684
687
  }
685
688
  else {
686
689
  this.container.classList.add('noWalkthroughs');
687
- reset(rightColumn, featuredExtensionList.getDomElement());
688
- }
689
- setTimeout(() => this.categoriesPageScrollbar?.scanDomNode(), 50);
690
- layoutRecentList();
691
- };
692
- const layoutFeaturedExtension = () => {
693
- if (featuredExtensionList.itemCount) {
694
- this.container.classList.remove('noExtensions');
695
- reset(rightColumn, featuredExtensionList.getDomElement(), gettingStartedList.getDomElement());
696
- }
697
- else {
698
- this.container.classList.add('noExtensions');
699
- reset(rightColumn, gettingStartedList.getDomElement());
690
+ reset(rightColumn);
700
691
  }
701
692
  setTimeout(() => this.categoriesPageScrollbar?.scanDomNode(), 50);
702
693
  layoutRecentList();
@@ -712,8 +703,6 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
712
703
  reset(leftColumn, startList.getDomElement(), recentList.getDomElement());
713
704
  }
714
705
  };
715
- featuredExtensionList.onDidChange(layoutFeaturedExtension);
716
- layoutFeaturedExtension();
717
706
  gettingStartedList.onDidChange(layoutLists);
718
707
  layoutLists();
719
708
  reset(this.categoriesSlide, $('.gettingStartedCategoriesContainer', {}, header, leftColumn, rightColumn, footer));
@@ -731,6 +720,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
731
720
  return;
732
721
  }
733
722
  }
723
+ else {
724
+ this.buildCategorySlide(this.editorInput.selectedCategory, this.editorInput.selectedStep);
725
+ this.setSlide('details');
726
+ return;
727
+ }
734
728
  }
735
729
  const someStepsComplete = ( this.gettingStartedCategories.some(category => category.steps.find(s => s.done)));
736
730
  if (this.editorInput.showTelemetryNotice && this.productService.openToWelcomeMainPage) {
@@ -973,59 +967,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
973
967
  allWalkthroughsHiddenContext.bindTo(this.contextService).set(gettingStartedList.itemCount === 0);
974
968
  return gettingStartedList;
975
969
  }
976
- buildFeaturedExtensionsList() {
977
- const renderFeaturedExtensions = (entry) => {
978
- const descriptionContent = $('.featured-description-content', {});
979
- reset(descriptionContent, ...renderLabelWithIcons(entry.description));
980
- const titleContent = $('h3.category-title.max-lines-3', { 'x-category-title-for': entry.id });
981
- reset(titleContent, ...renderLabelWithIcons(entry.title));
982
- return $('button.getting-started-category', {
983
- 'x-dispatch': 'openExtensionPage:' + entry.id,
984
- 'title': entry.description
985
- }, $('.main-content', {}, $('img.featured-icon.icon-widget', { src: entry.imagePath }), titleContent, $('a.codicon.codicon-close.hide-category-button', {
986
- 'tabindex': 0,
987
- 'x-dispatch': 'hideExtension:' + entry.id,
988
- 'title': ( localizeWithPath(
989
- 'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
990
- 'close',
991
- "Hide"
992
- )),
993
- 'role': 'button',
994
- 'aria-label': ( localizeWithPath(
995
- 'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
996
- 'closeAriaLabel',
997
- "Hide"
998
- )),
999
- })), descriptionContent);
1000
- };
1001
- if (this.featuredExtensionsList) {
1002
- this.featuredExtensionsList.dispose();
1003
- }
1004
- const featuredExtensionsList = this.featuredExtensionsList = ( new GettingStartedIndexList({
1005
- title: this.featuredExtensionService.title,
1006
- klass: 'featured-extensions',
1007
- limit: 5,
1008
- renderElement: renderFeaturedExtensions,
1009
- rankElement: (extension) => { if (( this.getHiddenCategories().has(extension.id))) {
1010
- return null;
1011
- } return 0; },
1012
- contextService: this.contextService,
1013
- }));
1014
- this.featuredExtensions?.then(extensions => {
1015
- featuredExtensionsList.setEntries(extensions);
1016
- });
1017
- this.featuredExtensionsList?.onDidChange(() => {
1018
- this.registerDispatchListeners();
1019
- });
1020
- return featuredExtensionsList;
1021
- }
1022
970
  layout(size) {
1023
971
  this.detailsScrollbar?.scanDomNode();
1024
972
  this.categoriesPageScrollbar?.scanDomNode();
1025
973
  this.detailsPageScrollbar?.scanDomNode();
1026
974
  this.startList?.layout(size);
1027
975
  this.gettingStartedList?.layout(size);
1028
- this.featuredExtensionsList?.layout(size);
1029
976
  this.recentlyOpenedList?.layout(size);
1030
977
  if (this.editorInput?.selectedStep && this.currentMediaType) {
1031
978
  this.mediaDisposables.clear();
@@ -1096,25 +1043,31 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1096
1043
  widget.classList.add('icon-widget');
1097
1044
  return widget;
1098
1045
  }
1046
+ focusSideEditorGroup() {
1047
+ const fullSize = this.group ? this.groupsService.getPart(this.group).contentDimension : undefined;
1048
+ if (!fullSize || fullSize.width <= 700) {
1049
+ return;
1050
+ }
1051
+ if (this.groupsService.count === 1) {
1052
+ const sideGroup = this.groupsService.addGroup(this.groupsService.groups[0], 3 );
1053
+ this.groupsService.activateGroup(sideGroup);
1054
+ const gettingStartedSize = Math.floor(fullSize.width / 2);
1055
+ const gettingStartedGroup = this.groupsService.getGroups(1 ).find(group => (group.activeEditor instanceof GettingStartedInput));
1056
+ this.groupsService.setSize(assertIsDefined(gettingStartedGroup), { width: gettingStartedSize, height: fullSize.height });
1057
+ }
1058
+ const nonGettingStartedGroup = this.groupsService.getGroups(1 ).find(group => !(group.activeEditor instanceof GettingStartedInput));
1059
+ if (nonGettingStartedGroup) {
1060
+ this.groupsService.activateGroup(nonGettingStartedGroup);
1061
+ nonGettingStartedGroup.focus();
1062
+ }
1063
+ }
1099
1064
  runStepCommand(href) {
1100
1065
  const isCommand = href.startsWith('command:');
1101
1066
  const toSide = href.startsWith('command:toSide:');
1102
1067
  const command = href.replace(/command:(toSide:)?/, 'command:');
1103
1068
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'runStepAction', argument: href, walkthroughId: this.currentWalkthrough?.id });
1104
- const fullSize = this.group ? this.groupsService.getPart(this.group).contentDimension : undefined;
1105
- if (toSide && fullSize && fullSize.width > 700) {
1106
- if (this.groupsService.count === 1) {
1107
- const sideGroup = this.groupsService.addGroup(this.groupsService.groups[0], 3 );
1108
- this.groupsService.activateGroup(sideGroup);
1109
- const gettingStartedSize = Math.floor(fullSize.width / 2);
1110
- const gettingStartedGroup = this.groupsService.getGroups(1 ).find(group => (group.activeEditor instanceof GettingStartedInput));
1111
- this.groupsService.setSize(assertIsDefined(gettingStartedGroup), { width: gettingStartedSize, height: fullSize.height });
1112
- }
1113
- const nonGettingStartedGroup = this.groupsService.getGroups(1 ).find(group => !(group.activeEditor instanceof GettingStartedInput));
1114
- if (nonGettingStartedGroup) {
1115
- this.groupsService.activateGroup(nonGettingStartedGroup);
1116
- nonGettingStartedGroup.focus();
1117
- }
1069
+ if (toSide) {
1070
+ this.focusSideEditorGroup();
1118
1071
  }
1119
1072
  if (isCommand) {
1120
1073
  const commandURI = ( URI.parse(command));
@@ -1270,6 +1223,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1270
1223
  'x-dispatch': 'toggleStepCompletion:' + step.id,
1271
1224
  'role': 'checkbox',
1272
1225
  'tabindex': '0',
1226
+ 'aria-checked': step.done ? 'true' : 'false'
1273
1227
  });
1274
1228
  const container = $('.step-description-container', { 'x-step-description-for': step.id });
1275
1229
  this.buildStepMarkdownDescription(container, step.description);
@@ -1288,7 +1242,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1288
1242
  'x-dispatch': 'selectTask:' + step.id,
1289
1243
  'data-step-id': step.id,
1290
1244
  'aria-expanded': 'false',
1291
- 'aria-checked': '' + step.done,
1245
+ 'aria-checked': step.done ? 'true' : 'false',
1292
1246
  'role': 'button',
1293
1247
  }, codicon, stepDescription);
1294
1248
  })));
@@ -1367,6 +1321,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1367
1321
  this.editorInput.selectedCategory = undefined;
1368
1322
  this.editorInput.selectedStep = undefined;
1369
1323
  this.editorInput.showTelemetryNotice = false;
1324
+ if (this.gettingStartedCategories.length !== this.gettingStartedList?.itemCount) {
1325
+ this.buildCategoriesSlide();
1326
+ }
1370
1327
  this.selectStep(undefined);
1371
1328
  this.setSlide('categories');
1372
1329
  this.container.focus();
@@ -1419,27 +1376,25 @@ GettingStartedPage = GettingStartedPage_1 = ( __decorate([
1419
1376
  ( __param(1, IProductService)),
1420
1377
  ( __param(2, IKeybindingService)),
1421
1378
  ( __param(3, IWalkthroughsService)),
1422
- ( __param(4, IFeaturedExtensionsService)),
1423
- ( __param(5, IConfigurationService)),
1424
- ( __param(6, ITelemetryService)),
1425
- ( __param(7, ILanguageService)),
1426
- ( __param(8, IFileService)),
1427
- ( __param(9, IOpenerService)),
1428
- ( __param(10, IThemeService)),
1429
- ( __param(11, IStorageService)),
1430
- ( __param(12, IExtensionService)),
1431
- ( __param(13, IInstantiationService)),
1432
- ( __param(14, INotificationService)),
1433
- ( __param(15, IEditorGroupsService)),
1434
- ( __param(16, IContextKeyService)),
1435
- ( __param(17, IQuickInputService)),
1436
- ( __param(18, IWorkspacesService)),
1437
- ( __param(19, ILabelService)),
1438
- ( __param(20, IHostService)),
1439
- ( __param(21, IWebviewService)),
1440
- ( __param(22, IWorkspaceContextService)),
1441
- ( __param(23, IAccessibilityService)),
1442
- ( __param(24, IExtensionManagementService))
1379
+ ( __param(4, IConfigurationService)),
1380
+ ( __param(5, ITelemetryService)),
1381
+ ( __param(6, ILanguageService)),
1382
+ ( __param(7, IFileService)),
1383
+ ( __param(8, IOpenerService)),
1384
+ ( __param(9, IThemeService)),
1385
+ ( __param(10, IStorageService)),
1386
+ ( __param(11, IExtensionService)),
1387
+ ( __param(12, IInstantiationService)),
1388
+ ( __param(13, INotificationService)),
1389
+ ( __param(14, IEditorGroupsService)),
1390
+ ( __param(15, IContextKeyService)),
1391
+ ( __param(16, IQuickInputService)),
1392
+ ( __param(17, IWorkspacesService)),
1393
+ ( __param(18, ILabelService)),
1394
+ ( __param(19, IHostService)),
1395
+ ( __param(20, IWebviewService)),
1396
+ ( __param(21, IWorkspaceContextService)),
1397
+ ( __param(22, IAccessibilityService))
1443
1398
  ], GettingStartedPage));
1444
1399
  class GettingStartedInputSerializer {
1445
1400
  canSerialize(editorInput) {
@@ -1,6 +1,6 @@
1
1
  import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
2
 
3
- var css = ".file-icons-enabled .show-file-icons .vscode_getting_started_page-name-file-icon.file-icon:before{background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMDI0IDEwMjRIMFYwaDEwMjR2MTAyNHoiIHN0eWxlPSJmaWxsOiNmNmY2ZjY7ZmlsbC1vcGFjaXR5OjAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTAyNCA4NS4zMzN2ODUzLjMzM0gwVjg1LjMzM2gxMDI0eiIgc3R5bGU9ImZpbGw6I2ZmZiIvPjxwYXRoIGQ9Ik0wIDg1LjMzM2gyOTguNjY3djg1My4zMzNIMFY4NS4zMzN6bTEwMjQgMHY4NTMuMzMzSDM4NFY4NS4zMzNoNjQwem0tNTU0LjY2NyAxNjBoMzQxLjMzM3YtNjRINDY5LjMzM3Y2NHptMzQxLjMzNCA1MzMuMzM0SDQ2OS4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0xMjgtMTQ5LjMzNEg1OTcuMzMzdjY0aDM0MS4zMzNsLjAwMS02NHptMC0xNDkuMzMzSDU5Ny4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0wLTE0OS4zMzNINTk3LjMzM3Y2NGgzNDEuMzMzbC4wMDEtNjR6IiBzdHlsZT0iZmlsbDojMTY3YWJmIi8+PC9zdmc+\");content:\" \"}.monaco-workbench .part.editor>.content .gettingStartedContainer{box-sizing:border-box;height:inherit;line-height:22px;outline:none;overflow:hidden;position:relative;user-select:auto;-webkit-user-select:initial;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer.loading{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer img{max-height:100%;max-width:100%;object-fit:contain;pointer-events:none}.monaco-workbench .part.editor>.content .gettingStartedContainer{font-size:13px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer h1{border:none;font-size:2.7em;font-weight:400;margin:0;padding:5px 0 0;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .title{flex:1 100%;margin-bottom:1em;margin-top:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .subtitle{display:block;font-size:2em;margin-top:.6em}.monaco-workbench.hc-black .part.editor>.content .gettingStartedContainer .subtitle,.monaco-workbench.hc-light .part.editor>.content .gettingStartedContainer .subtitle{font-weight:200}.monaco-workbench .part.editor>.content .gettingStartedContainer h2{font-size:1.5em;font-weight:400;line-height:normal;margin-bottom:5px;margin-top:0}.monaco-workbench .part.editor>.content .gettingStartedContainer a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide{box-sizing:border-box;height:100%;left:0;padding:0;position:absolute;top:0;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories{padding:12px 24px}.monaco-workbench .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left .25s,opacity .25s}.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer .gettingStartedSlide,.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left 0s,opacity 0s}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{display:grid;grid-template-areas:\". header header header .\" \". left-column . right-column .\" \". footer footer footer .\";grid-template-columns:1fr 6fr 1fr 6fr 1fr;grid-template-rows:25% minmax(min-content,auto) min-content;height:100%;margin:0 auto;max-width:1200px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:auto min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column right-column\" \"footer footer\";grid-template-rows:auto minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li.showWalkthroughsEntry,.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{display:none}.gettingStartedContainer.noExtensions,.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .gettingStartedSlideCategories li.showWalkthroughsEntry{display:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>*{overflow:hidden;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column>div{margin-bottom:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-left{grid-area:left-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-right{grid-area:right-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{align-self:end;grid-area:header}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer{grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .categories-slide-container{max-width:1200px;width:90%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-title{display:inline-block;font-size:14px;font-weight:500;margin:4px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-progress{bottom:0;left:0;position:absolute;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.no-progress{padding:3px 6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category.no-progress .category-progress{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories ul{line-height:24px;list-style:none;margin:0;padding-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li{list-style:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .path{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .icon-widget,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{font-size:20px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:not(.icon-widget,.featured-icon,.hide-category-button){margin:0 2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:first-child{margin-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .start-container img{max-height:16px;max-width:16px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .keybinding-label{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{height:4px;margin-top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category{box-sizing:border-box;font-size:13px;line-height:normal;margin:8px 8px 8px 0;padding:3px 6px 6px;text-align:left;width:calc(100% - 16px)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category{border-radius:6px;overflow:hidden;position:relative}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .main-content{align-items:center;display:flex;justify-content:flex-start;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured-description-content{margin-left:28px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content>.codicon{font-size:16px;padding-right:1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content:not(:empty){margin-bottom:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured-description-content:not(:empty){-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin-bottom:8px;margin-left:32px;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{align-self:flex-start;border-radius:4px;font-size:11px;justify-self:flex-end;margin:4px;padding:2px 4px;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured-badge{left:-8px;position:relative;top:-4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured{border-right:40px solid transparent;border-top:30px solid var(--vscode-activityBarBadge-background);box-sizing:border-box;height:20px;position:absolute;width:30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon{font-size:14px;left:4px;top:-30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .codicon.hide-category-button{margin-left:auto;right:8px;top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.featured .icon-widget{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.category-icon{max-height:20px;max-width:20px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.featured-icon{border-radius:4px;max-height:24px;max-width:24px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category img.category-icon{margin-left:10px;margin-right:10px;max-height:32px;max-width:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails{display:flex;flex-direction:column;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category{display:flex;margin-bottom:24px;min-height:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .gap{flex:150px 1 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category>.codicon-getting-started-setup{font-size:28px;margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns{display:flex;justify-content:flex-start;max-height:calc(100% - 40px);padding:40px 40px 0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step{border-radius:6px;display:flex;overflow:hidden;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .button-container:not(:last-of-type){margin-bottom:6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded{border:1px solid var(--vscode-welcomePage-tileBorder);cursor:default!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded h3{color:var(--vscode-walkthrough-stepTitle-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded>.codicon{cursor:pointer!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded){background:none;color:var(--vscode-descriptionForeground);height:48px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded):hover{background:var(--vscode-welcomePage-tileHoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-title .codicon{position:relative;top:2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .getting-started-detail-left>div{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-description-container{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-container{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description{padding-top:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .actions{align-items:center;display:flex;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message{color:var(--vscode-descriptionForeground);display:flex;font-size:12px;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message .keybinding{font-weight:600}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-next{margin-left:auto;margin-right:10px;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon.hidden{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step-action{font-size:13px;margin-bottom:0;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-left{display:flex;flex-direction:column;max-width:400px;min-width:330px;width:40%}.monaco-workbench .part.editor>.content .gettingStartedContainer .full-height-scrollable,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-container{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent{display:grid;grid-template-areas:\". back . media .\" \". title . media .\" \". steps . media .\" \". . . media .\" \". footer footer footer .\";grid-template-columns:1fr 5fr 1fr 8fr;grid-template-rows:calc(25% - 100px) auto auto 1fr auto;height:100%;margin:0 auto;max-width:1200px;padding:0 32px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-areas:\"back\" \"title\" \"steps\" \"media\" \"footer\";grid-template-columns:auto;grid-template-rows:30px max-content minmax(30%,max-content) minmax(30%,1fr) auto;max-width:500px;row-gap:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown{grid-template-rows:30px max-content minmax(30%,max-content) minmax(40%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained.height-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-rows:0 max-content minmax(25%,max-content) minmax(25%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.prev-button{grid-area:back}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category{align-self:flex-end;grid-area:title}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.steps-container{grid-area:steps;height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-media{align-self:center;grid-area:media}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown>.getting-started-media{height:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{align-self:unset;display:flex;grid-area:title-start/media-start/steps-end/media-end;justify-content:center}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{display:flex;grid-area:media;height:inherit;justify-content:center;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{align-self:flex-end;grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right{align-items:flex-start;display:flex;justify-content:center;max-width:800px;min-height:300px;min-width:400px;padding:0 0 20px 44px;width:66%}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .button-link{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .see-all-walkthroughs{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer.someWalkthroughsHidden .index-list.getting-started .see-all-walkthroughs{display:inline}.monaco-workbench .part.editor>.content .gettingStartedContainer.noExtensions .index-list.featured-extensions,.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .index-list.getting-started{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img{cursor:unset;object-fit:contain}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img.clickable{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:none;color:inherit;font-family:inherit;font-size:13px;margin:1px 0;padding:16px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus{outline:none}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus-visible{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button.button-link{display:none;left:40px;margin:10px;padding:0 2px 2px;position:absolute;top:5px;z-index:1}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .prev-button.button-link{left:0;top:-10px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .moreText{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button .codicon{left:-4px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-arrow-right{padding-left:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-check-all{padding-right:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .skip{display:block;margin:2px auto;text-align:center;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2{font-size:26px;font-weight:400;margin:0 0 8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2 .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h3{font-size:13px;font-weight:600;margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .subtitle{font-size:16px;margin:0;padding:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showCategories .gettingStartedSlideDetails{left:100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .gettingStartedSlideCategories{left:-100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .categoriesScrollbar .scrollbar.vertical{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container{display:flex;padding:16px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link{background:transparent;cursor:pointer;margin:2px;max-width:100%;overflow:hidden;padding:0;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container .button-link{align-items:center;display:flex}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link.next{margin-left:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link:hover{background:transparent}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .openAWalkthrough>button,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .showOnStartup{align-items:center;display:flex;gap:8px;justify-content:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{border:1px solid transparent;border-radius:3px;color:inherit!important;height:18px;margin-right:9px;padding:0;width:18px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox.codicon:not(.checked):before{opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer p{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer .index-list.start-container{margin-bottom:16px;min-height:156px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer>button{text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category .codicon{top:0}.monaco-workbench .part.editor>.content .getting-started-category .codicon-star-full:before{vertical-align:middle}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:focus-within .hide-category-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:hover .hide-category-button{visibility:visible}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container span{line-height:1.3em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .max-lines-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button{align-items:center;display:flex;height:24px;min-width:max-content;padding:0 11px;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{border-radius:5px;padding:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:before{vertical-align:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer{background:var(--vscode-welcomePage-background);color:var(--vscode-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .description{color:var(--vscode-descriptionForeground);line-height:1.4em}.monaco-workbench .part.editor>.content .gettingStartedContainer .category-progress .message,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded .codicon-getting-started-step-unchecked,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{background:var(--vscode-welcomePage-tileHoverBackground);outline-color:var(--vscode-contrastActiveBorder,var(--vscode-focusBorder))}.monaco-workbench .part.editor>.content .gettingStartedContainer button.expanded:hover{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis{background:var(--vscode-button-background);color:var(--vscode-button-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis:hover{background:var(--vscode-button-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button){color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):active,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover .codicon{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.codicon-close):focus{outline-color:var(--vscode-focusBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:1px solid var(--vscode-contrastBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link{border:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{background-color:var(--vscode-welcomePage-progress-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{background-color:var(--vscode-welcomePage-progress-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{color:var(--vscode-activityBarBadge-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{background-color:var(--vscode-activityBarBadge-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{background-color:var(--vscode-checkbox-background)!important;border-color:var(--vscode-checkbox-border)!important;color:var(--vscode-checkbox-foreground)!important}";
3
+ var css = ".file-icons-enabled .show-file-icons .vscode_getting_started_page-name-file-icon.file-icon:before{background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMDI0IDEwMjRIMFYwaDEwMjR2MTAyNHoiIHN0eWxlPSJmaWxsOiNmNmY2ZjY7ZmlsbC1vcGFjaXR5OjAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTAyNCA4NS4zMzN2ODUzLjMzM0gwVjg1LjMzM2gxMDI0eiIgc3R5bGU9ImZpbGw6I2ZmZiIvPjxwYXRoIGQ9Ik0wIDg1LjMzM2gyOTguNjY3djg1My4zMzNIMFY4NS4zMzN6bTEwMjQgMHY4NTMuMzMzSDM4NFY4NS4zMzNoNjQwem0tNTU0LjY2NyAxNjBoMzQxLjMzM3YtNjRINDY5LjMzM3Y2NHptMzQxLjMzNCA1MzMuMzM0SDQ2OS4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0xMjgtMTQ5LjMzNEg1OTcuMzMzdjY0aDM0MS4zMzNsLjAwMS02NHptMC0xNDkuMzMzSDU5Ny4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0wLTE0OS4zMzNINTk3LjMzM3Y2NGgzNDEuMzMzbC4wMDEtNjR6IiBzdHlsZT0iZmlsbDojMTY3YWJmIi8+PC9zdmc+\");content:\" \"}.monaco-workbench .part.editor>.content .gettingStartedContainer{box-sizing:border-box;height:inherit;line-height:22px;outline:none;overflow:hidden;position:relative;user-select:auto;-webkit-user-select:initial;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer.loading{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer img{max-height:100%;max-width:100%;object-fit:contain;pointer-events:none}.monaco-workbench .part.editor>.content .gettingStartedContainer{font-size:13px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer h1{border:none;font-size:2.7em;font-weight:400;margin:0;padding:5px 0 0;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .title{flex:1 100%;margin-bottom:1em;margin-top:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .subtitle{display:block;font-size:2em;margin-top:.6em}.monaco-workbench.hc-black .part.editor>.content .gettingStartedContainer .subtitle,.monaco-workbench.hc-light .part.editor>.content .gettingStartedContainer .subtitle{font-weight:200}.monaco-workbench .part.editor>.content .gettingStartedContainer h2{font-size:1.5em;font-weight:400;line-height:normal;margin-bottom:5px;margin-top:0}.monaco-workbench .part.editor>.content .gettingStartedContainer a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide{box-sizing:border-box;height:100%;left:0;padding:0;position:absolute;top:0;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories{padding:12px 24px}.monaco-workbench .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left .25s,opacity .25s}.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer .gettingStartedSlide,.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left 0s,opacity 0s}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{display:grid;grid-template-areas:\". header header header .\" \". left-column . right-column .\" \". footer footer footer .\";grid-template-columns:1fr 6fr 1fr 6fr 1fr;grid-template-rows:25% minmax(min-content,auto) min-content;height:100%;margin:0 auto;max-width:1200px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:auto min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column right-column\" \"footer footer\";grid-template-rows:auto minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li.showWalkthroughsEntry,.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{display:none}.gettingStartedContainer.noExtensions,.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .gettingStartedSlideCategories li.showWalkthroughsEntry{display:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>*{overflow:hidden;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column>div{margin-bottom:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-left{grid-area:left-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-right{grid-area:right-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{align-self:end;grid-area:header}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer{grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .categories-slide-container{max-width:1200px;width:90%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-title{display:inline-block;font-size:14px;font-weight:500;margin:4px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-progress{bottom:0;left:0;position:absolute;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.no-progress{padding:3px 6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category.no-progress .category-progress{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories ul{line-height:24px;list-style:none;margin:0;padding-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li{list-style:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .path{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .icon-widget,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{font-size:20px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:not(.icon-widget,.featured-icon,.hide-category-button){margin:0 2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:first-child{margin-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .start-container img{max-height:16px;max-width:16px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .keybinding-label{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{height:4px;margin-top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category{box-sizing:border-box;font-size:13px;line-height:normal;margin:8px 8px 8px 0;padding:3px 6px 6px;text-align:left;width:calc(100% - 16px)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category{border-radius:6px;overflow:hidden;position:relative}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .main-content{align-items:center;display:flex;justify-content:flex-start;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content{margin-left:28px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content>.codicon{font-size:16px;padding-right:1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content:not(:empty){margin-bottom:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{align-self:flex-start;border-radius:4px;font-size:11px;justify-self:flex-end;margin:4px;padding:2px 4px;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured-badge{left:-8px;position:relative;top:-4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured{border-right:40px solid transparent;border-top:30px solid var(--vscode-activityBarBadge-background);box-sizing:border-box;height:20px;position:absolute;width:30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon{font-size:14px;left:4px;top:-30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .codicon.hide-category-button{margin-left:auto;right:8px;top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.featured .icon-widget{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.category-icon{max-height:20px;max-width:20px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.featured-icon{border-radius:4px;max-height:24px;max-width:24px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category img.category-icon{margin-left:10px;margin-right:10px;max-height:32px;max-width:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails{display:flex;flex-direction:column;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category{display:flex;margin-bottom:24px;min-height:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .gap{flex:150px 1 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category>.codicon-getting-started-setup{font-size:28px;margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns{display:flex;justify-content:flex-start;max-height:calc(100% - 40px);padding:40px 40px 0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step{border-radius:6px;display:flex;overflow:hidden;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .button-container:not(:last-of-type){margin-bottom:6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded{border:1px solid var(--vscode-welcomePage-tileBorder);cursor:default!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded h3{color:var(--vscode-walkthrough-stepTitle-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded>.codicon{cursor:pointer!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded){background:none;color:var(--vscode-descriptionForeground);height:48px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded):hover{background:var(--vscode-welcomePage-tileHoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-title .codicon{position:relative;top:2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .getting-started-detail-left>div{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-description-container{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-container{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description{padding-top:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .actions{align-items:center;display:flex;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message{color:var(--vscode-descriptionForeground);display:flex;font-size:12px;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message .keybinding{font-weight:600}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-next{margin-left:auto;margin-right:10px;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon.hidden{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step-action{font-size:13px;margin-bottom:0;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-left{display:flex;flex-direction:column;max-width:400px;min-width:330px;width:40%}.monaco-workbench .part.editor>.content .gettingStartedContainer .full-height-scrollable,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-container{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent{display:grid;grid-template-areas:\". back . media .\" \". title . media .\" \". steps . media .\" \". . . media .\" \". footer footer footer .\";grid-template-columns:1fr 5fr 1fr 8fr;grid-template-rows:calc(25% - 100px) auto auto 1fr auto;height:100%;margin:0 auto;max-width:1200px;padding:0 32px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-areas:\"back\" \"title\" \"steps\" \"media\" \"footer\";grid-template-columns:auto;grid-template-rows:30px max-content minmax(30%,max-content) minmax(30%,1fr) auto;max-width:500px;row-gap:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown{grid-template-rows:30px max-content minmax(30%,max-content) minmax(40%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained.height-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-rows:0 max-content minmax(25%,max-content) minmax(25%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.prev-button{grid-area:back}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category{align-self:flex-end;grid-area:title}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.steps-container{grid-area:steps;height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-media{align-self:center;grid-area:media}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown>.getting-started-media{height:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{align-self:unset;display:flex;grid-area:title-start/media-start/steps-end/media-end;justify-content:center}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{display:flex;grid-area:media;height:inherit;justify-content:center;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{align-self:flex-end;grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right{align-items:flex-start;display:flex;justify-content:center;max-width:800px;min-height:300px;min-width:400px;padding:0 0 20px 44px;width:66%}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .button-link{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .see-all-walkthroughs{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer.someWalkthroughsHidden .index-list.getting-started .see-all-walkthroughs{display:inline}.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .index-list.getting-started{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img{cursor:unset;object-fit:contain}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img.clickable{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:none;color:inherit;font-family:inherit;font-size:13px;margin:1px 0;padding:16px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus{outline:none}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus-visible{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button.button-link{display:none;left:40px;margin:10px;padding:0 2px 2px;position:absolute;top:5px;z-index:1}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .prev-button.button-link{left:0;top:-10px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .moreText{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button .codicon{left:-4px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-arrow-right{padding-left:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-check-all{padding-right:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .skip{display:block;margin:2px auto;text-align:center;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2{font-size:26px;font-weight:400;margin:0 0 8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2 .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h3{font-size:13px;font-weight:600;margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .subtitle{font-size:16px;margin:0;padding:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showCategories .gettingStartedSlideDetails{left:100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .gettingStartedSlideCategories{left:-100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .categoriesScrollbar .scrollbar.vertical{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container{display:flex;padding:16px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link{background:transparent;cursor:pointer;margin:2px;max-width:100%;overflow:hidden;padding:0;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container .button-link{align-items:center;display:flex}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link.next{margin-left:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link:hover{background:transparent}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .openAWalkthrough>button,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .showOnStartup{align-items:center;display:flex;gap:8px;justify-content:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{border:1px solid transparent;border-radius:3px;color:inherit!important;height:18px;margin-right:9px;padding:0;width:18px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox.codicon:not(.checked):before{opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer p{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer .index-list.start-container{margin-bottom:16px;min-height:156px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer>button{text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category .codicon{top:0}.monaco-workbench .part.editor>.content .getting-started-category .codicon-star-full:before{vertical-align:middle}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:focus-within .hide-category-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:hover .hide-category-button{visibility:visible}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container span{line-height:1.3em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .max-lines-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button{align-items:center;display:flex;height:24px;min-width:max-content;padding:0 11px;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{border-radius:5px;padding:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:before{vertical-align:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer{background:var(--vscode-welcomePage-background);color:var(--vscode-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .description{color:var(--vscode-descriptionForeground);line-height:1.4em}.monaco-workbench .part.editor>.content .gettingStartedContainer .category-progress .message,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded .codicon-getting-started-step-unchecked,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{background:var(--vscode-welcomePage-tileHoverBackground);outline-color:var(--vscode-contrastActiveBorder,var(--vscode-focusBorder))}.monaco-workbench .part.editor>.content .gettingStartedContainer button.expanded:hover{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis{background:var(--vscode-button-background);color:var(--vscode-button-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis:hover{background:var(--vscode-button-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button){color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):active,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover .codicon{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.codicon-close):focus{outline-color:var(--vscode-focusBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:1px solid var(--vscode-contrastBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link{border:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{background-color:var(--vscode-welcomePage-progress-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{background-color:var(--vscode-welcomePage-progress-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{color:var(--vscode-activityBarBadge-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{background-color:var(--vscode-activityBarBadge-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{background-color:var(--vscode-checkbox-background)!important;border-color:var(--vscode-checkbox-border)!important;color:var(--vscode-checkbox-foreground)!important}";
4
4
  n(css,{});
5
5
 
6
6
  export { css, css as default };
@@ -25,22 +25,10 @@ const restoreWalkthroughsConfigurationKey = 'workbench.welcomePage.restorableWal
25
25
  const configurationKey = 'workbench.startupEditor';
26
26
  const oldConfigurationKey = 'workbench.welcome.enabled';
27
27
  const telemetryOptOutStorageKey = 'workbench.telemetryOptOutShown';
28
- let StartupPageContribution = class StartupPageContribution {
29
- constructor(instantiationService, configurationService, editorService, workingCopyBackupService, fileService, contextService, lifecycleService, layoutService, productService, commandService, environmentService, storageService, logService, notificationService, editorResolverService) {
28
+ let StartupPageEditorResolverContribution = class StartupPageEditorResolverContribution {
29
+ static { this.ID = 'workbench.contrib.startupPageEditorResolver'; }
30
+ constructor(instantiationService, editorResolverService) {
30
31
  this.instantiationService = instantiationService;
31
- this.configurationService = configurationService;
32
- this.editorService = editorService;
33
- this.workingCopyBackupService = workingCopyBackupService;
34
- this.fileService = fileService;
35
- this.contextService = contextService;
36
- this.lifecycleService = lifecycleService;
37
- this.layoutService = layoutService;
38
- this.productService = productService;
39
- this.commandService = commandService;
40
- this.environmentService = environmentService;
41
- this.storageService = storageService;
42
- this.logService = logService;
43
- this.notificationService = notificationService;
44
32
  editorResolverService.registerEditor(`${GettingStartedInput.RESOURCE.scheme}:/**`, {
45
33
  id: GettingStartedInput.ID,
46
34
  label: ( localizeWithPath(
@@ -63,9 +51,32 @@ let StartupPageContribution = class StartupPageContribution {
63
51
  };
64
52
  }
65
53
  });
54
+ }
55
+ };
56
+ StartupPageEditorResolverContribution = ( __decorate([
57
+ ( __param(0, IInstantiationService)),
58
+ ( __param(1, IEditorResolverService))
59
+ ], StartupPageEditorResolverContribution));
60
+ let StartupPageRunnerContribution = class StartupPageRunnerContribution {
61
+ static { this.ID = 'workbench.contrib.startupPageRunner'; }
62
+ constructor(configurationService, editorService, workingCopyBackupService, fileService, contextService, lifecycleService, layoutService, productService, commandService, environmentService, storageService, logService, notificationService) {
63
+ this.configurationService = configurationService;
64
+ this.editorService = editorService;
65
+ this.workingCopyBackupService = workingCopyBackupService;
66
+ this.fileService = fileService;
67
+ this.contextService = contextService;
68
+ this.lifecycleService = lifecycleService;
69
+ this.layoutService = layoutService;
70
+ this.productService = productService;
71
+ this.commandService = commandService;
72
+ this.environmentService = environmentService;
73
+ this.storageService = storageService;
74
+ this.logService = logService;
75
+ this.notificationService = notificationService;
66
76
  this.run().then(undefined, onUnexpectedError);
67
77
  }
68
78
  async run() {
79
+ await this.lifecycleService.when(3 );
69
80
  if (this.productService.enableTelemetry
70
81
  && this.productService.showTelemetryOptOut
71
82
  && getTelemetryLevel(this.configurationService) !== 0
@@ -99,6 +110,9 @@ let StartupPageContribution = class StartupPageContribution {
99
110
  else if (startupEditorSetting.value === 'welcomePage' || startupEditorSetting.value === 'welcomePageInEmptyWorkbench') {
100
111
  await this.openGettingStarted();
101
112
  }
113
+ else if (startupEditorSetting.value === 'terminal') {
114
+ this.commandService.executeCommand("workbench.action.createTerminalEditor" );
115
+ }
102
116
  }
103
117
  }
104
118
  }
@@ -169,23 +183,21 @@ let StartupPageContribution = class StartupPageContribution {
169
183
  }
170
184
  }
171
185
  };
172
- StartupPageContribution = ( __decorate([
173
- ( __param(0, IInstantiationService)),
174
- ( __param(1, IConfigurationService)),
175
- ( __param(2, IEditorService)),
176
- ( __param(3, IWorkingCopyBackupService)),
177
- ( __param(4, IFileService)),
178
- ( __param(5, IWorkspaceContextService)),
179
- ( __param(6, ILifecycleService)),
180
- ( __param(7, IWorkbenchLayoutService)),
181
- ( __param(8, IProductService)),
182
- ( __param(9, ICommandService)),
183
- ( __param(10, IWorkbenchEnvironmentService)),
184
- ( __param(11, IStorageService)),
185
- ( __param(12, ILogService)),
186
- ( __param(13, INotificationService)),
187
- ( __param(14, IEditorResolverService))
188
- ], StartupPageContribution));
186
+ StartupPageRunnerContribution = ( __decorate([
187
+ ( __param(0, IConfigurationService)),
188
+ ( __param(1, IEditorService)),
189
+ ( __param(2, IWorkingCopyBackupService)),
190
+ ( __param(3, IFileService)),
191
+ ( __param(4, IWorkspaceContextService)),
192
+ ( __param(5, ILifecycleService)),
193
+ ( __param(6, IWorkbenchLayoutService)),
194
+ ( __param(7, IProductService)),
195
+ ( __param(8, ICommandService)),
196
+ ( __param(9, IWorkbenchEnvironmentService)),
197
+ ( __param(10, IStorageService)),
198
+ ( __param(11, ILogService)),
199
+ ( __param(12, INotificationService))
200
+ ], StartupPageRunnerContribution));
189
201
  function isStartupPageEnabled(configurationService, contextService, environmentService) {
190
202
  if (environmentService.skipWelcome) {
191
203
  return false;
@@ -199,7 +211,8 @@ function isStartupPageEnabled(configurationService, contextService, environmentS
199
211
  }
200
212
  return startupEditor.value === 'welcomePage'
201
213
  || startupEditor.value === 'readme' && (startupEditor.userValue === 'readme' || startupEditor.defaultValue === 'readme')
202
- || (contextService.getWorkbenchState() === 1 && startupEditor.value === 'welcomePageInEmptyWorkbench');
214
+ || (contextService.getWorkbenchState() === 1 && startupEditor.value === 'welcomePageInEmptyWorkbench')
215
+ || startupEditor.value === 'terminal';
203
216
  }
204
217
 
205
- export { StartupPageContribution, restoreWalkthroughsConfigurationKey };
218
+ export { StartupPageEditorResolverContribution, StartupPageRunnerContribution, restoreWalkthroughsConfigurationKey };
@@ -1,4 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
+ import { promiseWithResolvers } from 'vscode/vscode/vs/base/common/async';
2
3
  import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
3
4
  import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
4
5
  import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
@@ -86,10 +87,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
86
87
  }
87
88
  }
88
89
  async selectNewEntry(entries) {
89
- let resolveResult;
90
- const resultPromise = ( new Promise(resolve => {
91
- resolveResult = resolve;
92
- }));
90
+ const { promise: resultPromise, resolve: resolveResult } = promiseWithResolvers();
93
91
  const disposables = ( new DisposableStore());
94
92
  const qp = this.quickInputService.createQuickPick();
95
93
  qp.title = ( localizeWithPath(
@@ -6,7 +6,7 @@ import { ViewsWelcomeContribution } from './viewsWelcomeContribution.js';
6
6
  import { viewsWelcomeExtensionPointDescriptor } from './viewsWelcomeExtensionPoint.js';
7
7
  import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
8
8
 
9
- const extensionPoint = ( ExtensionsRegistry.registerExtensionPoint(viewsWelcomeExtensionPointDescriptor));
9
+ const extensionPoint = ExtensionsRegistry.registerExtensionPoint(viewsWelcomeExtensionPointDescriptor);
10
10
  let WorkbenchConfigurationContribution = class WorkbenchConfigurationContribution {
11
11
  constructor(instantiationService) {
12
12
  instantiationService.createInstance(ViewsWelcomeContribution, extensionPoint);
@@ -8,7 +8,7 @@ import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
8
8
  import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
9
9
  import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
10
10
  import { registerAction2, MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
11
- import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
11
+ import { registerWorkbenchContribution2 } from 'vscode/vscode/vs/workbench/common/contributions';
12
12
  import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
13
13
  import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
14
14
 
@@ -20,8 +20,7 @@ import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common
20
20
  ))), [( new SyncDescriptor(WalkThroughInput))]);
21
21
  registerAction2(EditorWalkThroughAction);
22
22
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(EditorWalkThroughInputSerializer.ID, EditorWalkThroughInputSerializer);
23
- ( Registry.as(Extensions.Workbench))
24
- .registerWorkbenchContribution(WalkThroughSnippetContentProvider, 2 );
23
+ registerWorkbenchContribution2(WalkThroughSnippetContentProvider.ID, WalkThroughSnippetContentProvider, { editorTypeId: WalkThroughPart.ID });
25
24
  KeybindingsRegistry.registerCommandAndKeybindingRule(WalkThroughArrowUp);
26
25
  KeybindingsRegistry.registerCommandAndKeybindingRule(WalkThroughArrowDown);
27
26
  KeybindingsRegistry.registerCommandAndKeybindingRule(WalkThroughPageUp);
@@ -3,10 +3,10 @@ import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInpu
3
3
  import { EditorModel } from 'vscode/vscode/vs/workbench/common/editor/editorModel';
4
4
  import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
5
5
  import marked from 'vscode-marked';
6
- import { Schemas } from 'vscode/vscode/vs/base/common/network';
7
6
  import { isEqual } from 'vscode/vscode/vs/base/common/resources';
8
7
  import { requireToContent } from '../common/walkThroughContentProvider.js';
9
8
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
9
+ import { Schemas } from 'vscode/vscode/vs/base/common/network';
10
10
 
11
11
  var WalkThroughInput_1;
12
12
  class WalkThroughModel extends EditorModel {
@@ -268,7 +268,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
268
268
  editor.setModel(model);
269
269
  this.contentDisposables.push(editor);
270
270
  const updateHeight = (initial) => {
271
- const lineHeight = editor.getOption(66 );
271
+ const lineHeight = editor.getOption(67 );
272
272
  const height = `${Math.max(model.getLineCount() + 1, 4) * lineHeight}px`;
273
273
  if (div.style.height !== height) {
274
274
  div.style.height = height;
@@ -285,7 +285,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
285
285
  if (innerContent) {
286
286
  const targetTop = div.getBoundingClientRect().top;
287
287
  const containerTop = innerContent.getBoundingClientRect().top;
288
- const lineHeight = editor.getOption(66 );
288
+ const lineHeight = editor.getOption(67 );
289
289
  const lineTop = (targetTop + (e.position.lineNumber - 1) * lineHeight) - containerTop;
290
290
  const lineBottom = lineTop + lineHeight;
291
291
  const scrollDimensions = this.scrollbar.getScrollDimensions();
@@ -21,6 +21,7 @@ async function requireToContent(instantiationService, resource) {
21
21
  return instantiationService.invokeFunction(content);
22
22
  }
23
23
  let WalkThroughSnippetContentProvider = class WalkThroughSnippetContentProvider {
24
+ static { this.ID = 'workbench.contrib.walkThroughSnippetContentProvider'; }
24
25
  constructor(textModelResolverService, languageService, modelService, instantiationService) {
25
26
  this.textModelResolverService = textModelResolverService;
26
27
  this.languageService = languageService;
package/welcome.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
2
2
  import { IWalkthroughsService, WalkthroughsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService';
3
- import { IFeaturedExtensionsService, FeaturedExtensionsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService';
4
3
  import './vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js';
5
4
  import './vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js';
6
5
  import './vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcome.contribution.js';
@@ -17,8 +16,7 @@ FileAccess.registerModuleContentProvider('vs/workbench/contrib/welcomeGettingSta
17
16
  FileAccess.registerModuleContentProvider('vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile', () => import('./vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js').then(module => module.default ?? module));
18
17
  function getServiceOverride() {
19
18
  return {
20
- [( IWalkthroughsService.toString())]: new SyncDescriptor(WalkthroughsService, [], true),
21
- [( IFeaturedExtensionsService.toString())]: new SyncDescriptor(FeaturedExtensionsService, [], true)
19
+ [( IWalkthroughsService.toString())]: new SyncDescriptor(WalkthroughsService, [], true)
22
20
  };
23
21
  }
24
22