<commit_before><form (submit)="submit($event)" #loginForm="ngForm">

  <md-card>
    <div class="login-content">
      <md-card-title *ngIf="!doSignup">Login</md-card-title>
      <md-card-title *ngIf="doSignup">Signup</md-card-title>

      <md-card-content>
        <p>
          <md-input
            name="email"
            #mail="ngModel"
            [(ngModel)]="email"
            type="email"
            placeholder="Email"
            required
            [dividerColor]="(mail.valid || mail.pristine) ? 'primary' : 'warn'">
            <span md-prefix *ngIf="!doSignup">
              <md-icon>email</md-icon>&nbsp;
            </span>
          </md-input>
        </p>

        <p>
          <md-input
            minlength="8"
            required
            name="password"
            #pass="ngModel"
            [(ngModel)]="password"
            type="password"
            placeholder="Password (min 8)"
            [dividerColor]="(pass.valid || pass.pristine) ? 'primary' : 'warn'">
            <span md-prefix *ngIf="!doSignup">
              <md-icon>lock</md-icon>&nbsp;
            </span>
          </md-input>
        </p>

        <p *ngIf="doSignup">
          <md-input
            name="password2"
            minlength="8"
            #pass2="ngModel"
            [(ngModel)]="password2"
            type="password"
            placeholder="<PASSWORD>"
            [required]="doSignup"
            [dividerColor]="(pass2.valid || pass2.pristine) ? 'primary' : 'warn'">
          </md-input>
        </p>

        <p *ngIf="doSignup">
          <md-input
            name="name"
            [(ngModel)]="name"
            #iname="ngModel"
            type="text"
            spellcheck="false"
            placeholder="Your name"
            [required]="doSignup"
            [dividerColor]="(iname.valid || iname.pristine) ? 'primary' : 'warn'">
          </md-input>
        </p>

        <p *ngIf="error" class="error">{{ error }}</p>
        <p *ngIf="message">{{ message }}</p>

        <p *ngIf="!doSignup">
            <button
              md-raised-button
              color="primary"
              type="submit"
              [disabled]="loading || !loginForm.form.valid"
            >
              <md-spinner
                *ngIf="loading"
                class="in-button-spinner">
              </md-spinner>
              Login
            </button>
            <button
              md-raised-button
              (click)="toggleSignup($event)"
              [disabled]="loading"
            >
              Signup
            </button>
        </p>

        <p *ngIf="doSignup">
          <button
            md-raised-button
            color="primary"
            type="submit"
            [disabled]="loading || !loginForm.form.valid"
          >
            <md-spinner
              *ngIf="loading"
              class="in-button-spinner">
            </md-spinner>
            Signup
          </button>
          <button
            md-raised-button (click)="toggleSignup($event)"
            [disabled]="loading"
          >
            Cancel
          </button>
         </p>

      </md-card-content>
    </div>
  </md-card>

  <md-card class="primary-card">
    <h3>Welcome to our online meditation page!</h3>

    <p>The meditation we practice is based on the teachings found in <a href="http://htm.sirimangalo.org/">this booklet</a>.</p>

    <p>Please let us know you are here by submitting your intended time spent walking and sitting.</p>
  </md-card>

</form><commit_msg>feat: add 'target=_BLANK' to link on login page<commit_after><form (submit)="submit($event)" #loginForm="ngForm">

  <md-card>
    <div class="login-content">
      <md-card-title *ngIf="!doSignup">Login</md-card-title>
      <md-card-title *ngIf="doSignup">Signup</md-card-title>

      <md-card-content>
        <p>
          <md-input
            name="email"
            #mail="ngModel"
            [(ngModel)]="email"
            type="email"
            placeholder="Email"
            required
            [dividerColor]="(mail.valid || mail.pristine) ? 'primary' : 'warn'">
            <span md-prefix *ngIf="!doSignup">
              <md-icon>email</md-icon>&nbsp;
            </span>
          </md-input>
        </p>

        <p>
          <md-input
            minlength="8"
            required
            name="password"
            #pass="ngModel"
            [(ngModel)]="password"
            type="password"
            placeholder="Password (min 8)"
            [dividerColor]="(pass.valid || pass.pristine) ? 'primary' : 'warn'">
            <span md-prefix *ngIf="!doSignup">
              <md-icon>lock</md-icon>&nbsp;
            </span>
          </md-input>
        </p>

        <p *ngIf="doSignup">
          <md-input
            name="password2"
            minlength="8"
            #pass2="ngModel"
            [(ngModel)]="password2"
            type="password"
            placeholder="Repeat password"
            [required]="doSignup"
            [dividerColor]="(pass2.valid || pass2.pristine) ? 'primary' : 'warn'">
          </md-input>
        </p>

        <p *ngIf="doSignup">
          <md-input
            name="name"
            [(ngModel)]="name"
            #iname="ngModel"
            type="text"
            spellcheck="false"
            placeholder="<NAME>"
            [required]="doSignup"
            [dividerColor]="(iname.valid || iname.pristine) ? 'primary' : 'warn'">
          </md-input>
        </p>

        <p *ngIf="error" class="error">{{ error }}</p>
        <p *ngIf="message">{{ message }}</p>

        <p *ngIf="!doSignup">
            <button
              md-raised-button
              color="primary"
              type="submit"
              [disabled]="loading || !loginForm.form.valid"
            >
              <md-spinner
                *ngIf="loading"
                class="in-button-spinner">
              </md-spinner>
              Login
            </button>
            <button
              md-raised-button
              (click)="toggleSignup($event)"
              [disabled]="loading"
            >
              Signup
            </button>
        </p>

        <p *ngIf="doSignup">
          <button
            md-raised-button
            color="primary"
            type="submit"
            [disabled]="loading || !loginForm.form.valid"
          >
            <md-spinner
              *ngIf="loading"
              class="in-button-spinner">
            </md-spinner>
            Signup
          </button>
          <button
            md-raised-button (click)="toggleSignup($event)"
            [disabled]="loading"
          >
            Cancel
          </button>
         </p>

      </md-card-content>
    </div>
  </md-card>

  <md-card class="primary-card">
    <h3>Welcome to our online meditation page!</h3>

    <p>The meditation we practice is based on the teachings found in <a href="http://htm.sirimangalo.org/" target="_BLANK">this booklet</a>.</p>

    <p>Please let us know you are here by submitting your intended time spent walking and sitting.</p>
  </md-card>

</form>
{'fraction_non_alphanumeric': 0.15452507705239563, 'fraction_numerical': 0.002801905295601009, 'mean_word_length': 1.4241086587436333, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, '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': '1667890', 'n_tokens_mistral': 2157, 'n_tokens_neox': 2086, 'n_words': 365}