<commit_before><ng-template #searchBar>
  <div class="m-v3Topbar__searchBox" *ngIf="showSearchBar">
    <ng-content select="[search]"></ng-content>
  </div>
</ng-template>

<div
  class="m-v3Topbar__top"
  [class.m-v3Topbar__top--noBorder]="
    !(pageLayoutService.hasTopbarBorder$ | async)
  "
  [class.m-v3Topbar__top--noBackground]="
    !(pageLayoutService.hasTopbarBackground$ | async)
  "
  [class.m-v3Topbar__top--loggedOut]="!getCurrentUser()"
  [style.visibility]="showTopbar ? 'visible' : 'hidden'"
>
  <div class="m-v3TopbarTop__inner m-pageLayout__container">
    <div class="m-v3Topbar__leftColumn m-pageLayout__pane--left">
      <nav class="m-v3Topbar__nav">
        <a
          class="m-v3TopbarNav__item m-v3TopbarNav__item--logo"
          routerLink="/"
          title="Home"
          i18n-title="@@COMMON__HOME"
          (touchstart)="touchStart()"
          (mouseenter)="mouseEnter()"
          (mouseleave)="mouseLeave()"
        >
          <img
            [src]="cdnAssetsUrl + 'assets/logos/bulb.svg'"
            class="m-v3Topbar__logo--bulb"
          />
          <img
            *ngIf="!isDarkTheme$ | async"
            [src]="cdnAssetsUrl + 'assets/logos/logo-light-mode.svg'"
            class="m-v3Topbar__logo--full"
          />
          <img
            *ngIf="isDarkTheme$ | async"
            [src]="cdnAssetsUrl + 'assets/logos/logo-dark-mode.svg'"
            class="m-v3Topbar__logo--full"
          />
        </a>
        <m-canaryFlag></m-canaryFlag>
        <div
          class="m-v3TopbarNav__item m-v3TopbarNav__item--hamburger"<commit_msg>Hotfixing topbar not working properly in darkmode<commit_after><ng-template #searchBar>
  <div class="m-v3Topbar__searchBox" *ngIf="showSearchBar">
    <ng-content select="[search]"></ng-content>
  </div>
</ng-template>

<div
  class="m-v3Topbar__top"
  [class.m-v3Topbar__top--noBorder]="
    !(pageLayoutService.hasTopbarBorder$ | async)
  "
  [class.m-v3Topbar__top--noBackground]="
    !(pageLayoutService.hasTopbarBackground$ | async)
  "
  [class.m-v3Topbar__top--loggedOut]="!getCurrentUser()"
  [style.visibility]="showTopbar ? 'visible' : 'hidden'"
>
  <div class="m-v3TopbarTop__inner m-pageLayout__container">
    <div class="m-v3Topbar__leftColumn m-pageLayout__pane--left">
      <nav class="m-v3Topbar__nav">
        <a
          class="m-v3TopbarNav__item m-v3TopbarNav__item--logo"
          routerLink="/"
          title="Home"
          i18n-title="@@COMMON__HOME"
          (touchstart)="touchStart()"
          (mouseenter)="mouseEnter()"
          (mouseleave)="mouseLeave()"
        >
          <img
            [src]="cdnAssetsUrl + 'assets/logos/bulb.svg'"
            class="m-v3Topbar__logo--bulb"
          />
          <img
            *ngIf="!(isDarkTheme$ | async)"
            [src]="cdnAssetsUrl + 'assets/logos/logo-light-mode.svg'"
            class="m-v3Topbar__logo--full"
          />
          <img
            *ngIf="isDarkTheme$ | async"
            [src]="cdnAssetsUrl + 'assets/logos/logo-dark-mode.svg'"
            class="m-v3Topbar__logo--full"
          />
        </a>
        <m-canaryFlag></m-canaryFlag>
        <div
          class="m-v3TopbarNav__item m-v3TopbarNav__item--hamburger"
{'fraction_non_alphanumeric': 0.15893630179344465, 'fraction_numerical': 0.010513296227581941, 'mean_word_length': 2.467309753483387, 'pattern_counts': {'":': 0, '<': 39, '<?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': '5560139', 'n_tokens_mistral': 1163, 'n_tokens_neox': 1144, 'n_words': 123}