src/vs/workbench/browser/parts/panel/panelPart.ts/BasePanelPart/getVisiblePaneCompositeIds
class BasePanelPart:	getVisiblePaneCompositeIds(): string[] {
		return this.compositeBar.getVisibleComposites()
			.filter(v => this.getActivePaneComposite()?.getId() === v.id || this.compositeBar.isPinned(v.id))
			.map(v => v.id);
	}