<commit_before><div
  *ngIf="blur"
  class="background"
  [class.open]="circleOpen"
  (click)="toggle()"
></div>

<div
  class="circle"
  [ngStyle]="{
    'margin-top': top,
    'margin-left': right,
    'z-index': circleOpen ? 10 : 0,
    transform: circleOpen ? translate : 'translate(0,0)'
  }"
>
  <!-- wheel -->
  <ul #wheel class="wheel" [class.open]="circleOpen">
    <li class="title-slice" (click)="command.buttonPress('title slice')">
      <div></div>
    </li>

    <li
      *ngFor="let i of preset.inputs"
      class="input-slice"
      [class.selected-input]="getInput() === i"
      [class.grey]="sharing && i.reachableDisplays.length === 1"
      (click)="
        i.click.emit();
        command.buttonPress('change input', {
          input: i?.name,
          displays: getDisplayNames()
        })
      "
      (press)="
        openInputModal(i);
        command.buttonPress('long press remirror', i?.displayname)
      "
    >
      <div class="input" [style.top]="topoffset" [style.right]="rightoffset">
        <i class="material-icons">{{ i.icon }}</i>
        <span class="name">{{ i.displayname }}</span>
      </div>
    </li>
<commit_msg>don't open modal for an extra input<commit_after><div
  *ngIf="blur"
  class="background"
  [class.open]="circleOpen"
  (click)="toggle()"
></div>

<div
  class="circle"
  [ngStyle]="{
    'margin-top': top,
    'margin-left': right,
    'z-index': circleOpen ? 10 : 0,
    transform: circleOpen ? translate : 'translate(0,0)'
  }"
>
  <!-- wheel -->
  <ul #wheel class="wheel" [class.open]="circleOpen">
    <li class="title-slice" (click)="command.buttonPress('title slice')">
      <div></div>
    </li>

    <li
      *ngFor="let i of preset.inputs"
      class="input-slice"
      [class.selected-input]="getInput() === i"
      [class.grey]="sharing && i.reachableDisplays.length === 1"
      (click)="
        i.click.emit();
        command.buttonPress('change input', {
          input: i?.name,
          displays: getDisplayNames()
        })
      "
      (press)="command.buttonPress('long press remirror', i?.displayname)"
    >
      <div class="input" [style.top]="topoffset" [style.right]="rightoffset">
        <i class="material-icons">{{ i.icon }}</i>
        <span class="name">{{ i.displayname }}</span>
      </div>
    </li>

{'fraction_non_alphanumeric': 0.2018111254851229, 'fraction_numerical': 0.00517464424320828, 'mean_word_length': 2.717948717948718, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '3131712', 'n_tokens_mistral': 810, 'n_tokens_neox': 786, 'n_words': 146}