\n
{{ titlePath }}
\n
\n {{ body | htmlToText | translate }}\n - {{ subPath }}\n
\n
\n","import {\n AfterContentChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewChild,\n OnDestroy\n} from '@angular/core';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\nimport { Observable, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\nimport { selectChamberUser } from '@app/store/reducers/live-sharing.reducer';\nimport { selectChatMessages } from '@app/store/reducers/chat.reducer';\nimport {\n UserRole,\n CBSValidators\n} from 'proceduralsystem-cbs-common-components';\nimport { InAppState } from '@app/app.types';\nimport { IChatMessage } from '@shared/components/chat/chat.types';\nimport { ChatService } from '@shared/components/chat/chat.service';\n\n@Component({\n selector: 'oir-chat',\n templateUrl: './chat.component.html',\n styleUrls: ['./chat.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ChatComponent implements AfterContentChecked, OnDestroy {\n @ViewChild('chatBody', { static: true })\n private chatBodyScrollContainer: ElementRef;\n private destroy$ = new Subject