<commit_before>import {
  AfterContentInit,
  Component,
  ContentChild,
  ContentChildren,
  ElementRef,
  forwardRef,
  Inject,
  Injector,
  Optional,
  QueryList,
  Renderer2,
  ViewChild,
  ViewEncapsulation,
} from '@angular/core';
import { MatLine, MatListAvatarCssMatStyler, MatListItem } from '@angular/material';

import { Util } from '../../../util/util';
import { OListComponent } from '../o-list.component';

@Component({
  moduleId: module.id,
  selector: 'o-list-item',
  templateUrl: './o-list-item.component.html',
  styleUrls: ['./o-list-item.component.scss'],
  encapsulation: ViewEncapsulation.None,
  host: {
    '[class.o-list-item]': 'true'
  }
})
export class OListItemComponent implements AfterContentInit {

  public modelData: any;
  protected _isSelected: boolean = false;

  @ContentChildren(MatLine)
  protected _lines: QueryList<MatLine>;

  @ViewChild('innerListItem', { static: true })
  protected _innerListItem: MatListItem;

  @ContentChild(MatListAvatarCssMatStyler, { static: false })
  set _hasAvatar(avatar: MatListAvatarCssMatStyler) {
    const listItemNativeEl = this.elRef.nativeElement.getElementsByTagName('mat-list-item');
    if (listItemNativeEl && listItemNativeEl.length === 1) {
      if ((avatar !== null && avatar !== undefined)) {<commit_msg>Adding missing interface implementation<commit_after>import {
  AfterContentInit,
  Component,
  ContentChild,
  ContentChildren,
  ElementRef,
  forwardRef,
  Inject,
  Injector,
  Optional,
  QueryList,
  Renderer2,
  ViewChild,
  ViewEncapsulation,
} from '@angular/core';
import { MatLine, MatListAvatarCssMatStyler, MatListItem } from '@angular/material';

import { Util } from '../../../util/util';
import { OListComponent } from '../o-list.component';
import { IListItem } from '../../../interfaces/o-list-item.interface';

@Component({
  moduleId: module.id,
  selector: 'o-list-item',
  templateUrl: './o-list-item.component.html',
  styleUrls: ['./o-list-item.component.scss'],
  encapsulation: ViewEncapsulation.None,
  host: {
    '[class.o-list-item]': 'true'
  }
})
export class OListItemComponent implements IListItem, AfterContentInit {

  public modelData: any;
  protected _isSelected: boolean = false;

  @ContentChildren(MatLine)
  protected _lines: QueryList<MatLine>;

  @ViewChild('innerListItem', { static: true })
  protected _innerListItem: MatListItem;

  @ContentChild(MatListAvatarCssMatStyler, { static: false })
  set _hasAvatar(avatar: MatListAvatarCssMatStyler) {
    const listItemNativeEl = this.elRef.nativeElement.getElementsByTagName('mat-list-item');
    if (listItemNativeEl && listItemNativeEl.length === 1) {
      if ((avatar !== null && avatar !== undefined)) {
{'fraction_non_alphanumeric': 0.13804589193190228, 'fraction_numerical': 0.0014803849000740192, 'mean_word_length': 4.561728395061729, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7593822', 'n_tokens_mistral': 890, 'n_tokens_neox': 875, 'n_words': 176}