<commit_before>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { MaterialModule } from '@angular/material';
import { FooterModule } from './shared/footer/footer';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import 'hammerjs';

import { AppComponent } from './app.component';
import { ROCK_CHAIN_ROUTES } from './routes';
import { HomepageComponent } from './pages/homepage/homepage';
import { NavBarComponent } from './shared/navbar/navbar';
import { NowPlayingComponent } from './cards/now-playing/now-playing.component';
import { HomeComponent } from './pages/home/home.component';
import { AboutComponent } from './pages/about/about.component';
import { WalletComponent } from './cards/wallet/wallet.component';
import { CharityStandingsComponent } from './cards/charity-standings/charity-standings.component';
import { SongFeedbackComponent } from './dialogs/song-feedback/song-feedback.component';
import { RegistrationComponent, RegistrationDialogComponent } from './cards/registration/registration.component';
import { WagerService } from './services/wager.service';
import { BlockchainService } from './services/blockchain.service';
import { RegisterService } from './services/register.service';
import { WalletStandingsComponent } from './cards/wallet-standings/wallet-standings.component';
import { BetListComponent } from './cards/bet-list/bet-list.component';
import { FaqComponent } from './cards/faq/faq.component';

@NgModule({
  declarations: [
    AppComponent,
    NowPlayingComponent,
    HomeComponent,
    AboutComponent,
    WalletComponent,
    CharityStandingsComponent,
    HomepageComponent,
    NavBarComponent,
    RegistrationComponent,
    RegistrationDialogComponent,
    SongFeedbackComponent,
    WalletStandingsComponent,
    BetListComponent,
    FaqComponent
  ],
  entryComponents: [
    SongFeedbackComponent,
    RegistrationComponent,
    RegistrationDialogComponent,
    HomepageComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    MaterialModule,
    FooterModule,
    RouterModule.forRoot(ROCK_CHAIN_ROUTES),
    FormsModule,
    ReactiveFormsModule,
    BrowserAnimationsModule
  ],
  providers: [WagerService, BlockchainService, RegisterService],
  bootstrap: [AppComponent]
})
export class AppModule { }<commit_msg>fix(routing): use hash location strategy<commit_after>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HashLocationStrategy, Location, LocationStrategy } from '@angular/common';
import { MaterialModule } from '@angular/material';
import { FooterModule } from './shared/footer/footer';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import 'hammerjs';

import { AppComponent } from './app.component';
import { ROCK_CHAIN_ROUTES } from './routes';
import { HomepageComponent } from './pages/homepage/homepage';
import { NavBarComponent } from './shared/navbar/navbar';
import { NowPlayingComponent } from './cards/now-playing/now-playing.component';
import { HomeComponent } from './pages/home/home.component';
import { AboutComponent } from './pages/about/about.component';
import { WalletComponent } from './cards/wallet/wallet.component';
import { CharityStandingsComponent } from './cards/charity-standings/charity-standings.component';
import { SongFeedbackComponent } from './dialogs/song-feedback/song-feedback.component';
import { RegistrationComponent, RegistrationDialogComponent } from './cards/registration/registration.component';
import { WagerService } from './services/wager.service';
import { BlockchainService } from './services/blockchain.service';
import { RegisterService } from './services/register.service';
import { WalletStandingsComponent } from './cards/wallet-standings/wallet-standings.component';
import { BetListComponent } from './cards/bet-list/bet-list.component';
import { FaqComponent } from './cards/faq/faq.component';
import { StandingsComponent } from './pages/standings/standings.component';

@NgModule({
    declarations: [
        AppComponent,
        NowPlayingComponent,
        HomeComponent,
        AboutComponent,
        WalletComponent,
        CharityStandingsComponent,
        HomepageComponent,
        NavBarComponent,
        RegistrationComponent,
        RegistrationDialogComponent,
        SongFeedbackComponent,
        WalletStandingsComponent,
        BetListComponent,
        FaqComponent,
        StandingsComponent
    ],
    entryComponents: [
        SongFeedbackComponent,
        RegistrationComponent,
        RegistrationDialogComponent,
        HomepageComponent
    ],
    imports: [
        BrowserModule,
        BrowserAnimationsModule,
        MaterialModule,
        FooterModule,
        RouterModule.forRoot(ROCK_CHAIN_ROUTES),
        FormsModule,
        ReactiveFormsModule,
        BrowserAnimationsModule
    ],
    providers: [WagerService, BlockchainService, RegisterService, { provide: LocationStrategy, useClass: HashLocationStrategy }],
    bootstrap: [AppComponent]
})
export class AppModule { }
{'fraction_non_alphanumeric': 0.1113375324194146, 'fraction_numerical': 0.0, 'mean_word_length': 4.43158953722334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1511245', 'n_tokens_mistral': 1443, 'n_tokens_neox': 1397, 'n_words': 297}