-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.bundle.js.map
1 lines (1 loc) · 97 KB
/
main.bundle.js.map
1
{"version":3,"sources":["/Users/cnishina/src/testing-angular-applications/website/src/$_lazy_route_resource lazy","/Users/cnishina/src/testing-angular-applications/website/src/app/app-routing.module.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/app.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/app.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/app.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/app.material.module.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/app.module.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.constants.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.constants.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/contact-feed.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/contact-feed.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/contact-feed.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.constants.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contacts.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contacts.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contacts.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/new-contact/new-contact.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/new-contact/new-contact.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/new-contact/new-contact.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/data/mock-contacts.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/favorite-icon/favorite-icon.constants.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/favorite-icon/favorite-icon.directive.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/favorite-icon/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/modal.constants.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/country-dialing-codes.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/phone-number-error-messages.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/phone-number.model.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/phone-number.pipe.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/services/contact-feed.service.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/services/contact.service.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/services/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/show-contacts/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/show-contacts/show-contacts.directive.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/in-memory-data.service.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/index.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/page-not-found-component.component.css","/Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/page-not-found-component.component.html","/Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/page-not-found-component.component.ts","/Users/cnishina/src/testing-angular-applications/website/src/app/rxjs-extensions.ts","/Users/cnishina/src/testing-angular-applications/website/src/environments/environment.ts","/Users/cnishina/src/testing-angular-applications/website/src/main.ts"],"names":[],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,yF;;;;;;;;;;;;;;;;;;;;;;ACVyC;AACc;AAEW;AAC0B;AACN;AACH;AAChB;AAEnE,IAAM,MAAM,GAAW;IACrB,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,uFAAiB,EAAE;IAC1C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AgB,CAAC,CAAC","file":"main.bundle.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"../../../../../src/$$_lazy_route_resource lazy recursive\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/$$_lazy_route_resource lazy\n// module id = ../../../../../src/$$_lazy_route_resource lazy recursive\n// module chunks = main","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { ContactsComponent } from './contacts/contacts.component';\nimport { ContactDetailComponent } from './contacts/contact-detail/contact-detail.component';\nimport { ContactEditComponent } from './contacts/contact-edit/contact-edit.component';\nimport { NewContactComponent } from './contacts/new-contact/new-contact.component';\nimport { PageNotFoundComponent } from './page-not-found-component';\n\nconst routes: Routes = [\n { path: '', component: ContactsComponent },\n { path: 'add', component: NewContactComponent },\n { path: 'contacts', component: ContactsComponent },\n { path: 'contact/:id', component: ContactDetailComponent },\n { path: 'edit/:id', component: ContactEditComponent },\n { path: '**', component: PageNotFoundComponent }\n];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes, {useHash: true})],\n exports: [RouterModule],\n providers: []\n})\nexport class RoutingModule { }\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/app-routing.module.ts","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"div {\\n margin: 10px 100px;\\n text-align: left;\\n}\\n\\nmain {\\n padding: 20px;\\n}\\n\\na.titleBar {\\n color: white;\\n text-decoration: none;\\n padding-left: 10px;\\n}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/app.component.css\n// module id = ../../../../../src/app/app.component.css\n// module chunks = main","module.exports = \"<mat-toolbar color=\\\"primary\\\">\\n <a class=\\\"titleBar\\\" routerLink=\\\"/contacts\\\">{{ title }}</a>\\n</mat-toolbar>\\n<div>\\n <main>\\n <router-outlet></router-outlet>\\n </main>\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/app.component.html\n// module id = ../../../../../src/app/app.component.html\n// module chunks = main","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'Contacts';\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/app.component.ts","import { NgModule } from '@angular/core';\nimport { MatButtonModule, MatCardModule, MatDialogModule, MatFormFieldModule, MatIconModule, MatInputModule, MatListModule, MatOptionModule,\n MatProgressBarModule, MatSelectModule, MatSnackBarModule, MatToolbarModule, MatTooltipModule } from '@angular/material';\n\n@NgModule({\n imports: [\n MatButtonModule,\n MatCardModule,\n MatDialogModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatOptionModule,\n MatProgressBarModule,\n MatSelectModule,\n MatSnackBarModule,\n MatToolbarModule,\n MatTooltipModule\n ],\n exports: [\n MatButtonModule,\n MatCardModule,\n MatDialogModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatOptionModule,\n MatProgressBarModule,\n MatSelectModule,\n MatSnackBarModule,\n MatToolbarModule,\n MatTooltipModule\n ]\n})\nexport class AppMaterialModule { }\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/app.material.module.ts","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { HttpModule } from '@angular/http';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nimport { InMemoryWebApiModule } from 'angular-in-memory-web-api';\nimport { InMemoryDataService } from './in-memory-data.service';\n\nimport './rxjs-extensions';\n\nimport { AppMaterialModule } from './app.material.module';\nimport { ContactDetailComponent } from './contacts/contact-detail';\nimport { ContactEditComponent } from './contacts/contact-edit';\nimport { ContactListComponent } from './contacts/contact-list';\nimport { ContactsComponent } from './contacts/contacts.component';\nimport { ContactFeedDialogComponent } from './contacts/contact-feed';\nimport { ContactFeedService } from './contacts/shared/services';\nimport { ContactService } from './contacts/shared/services';\nimport { FavoriteIconDirective } from './contacts/shared/favorite-icon';\nimport { PageNotFoundComponent } from './page-not-found-component';\nimport { PhoneNumberPipe } from './contacts/shared/phone-number';\nimport { NewContactComponent } from './contacts/new-contact/new-contact.component';\nimport { ShowContactsDirective } from './contacts/shared/show-contacts';\n\nimport { AppComponent } from './app.component';\nimport { RoutingModule } from './app-routing.module';\nimport { InvalidEmailModalComponent } from './contacts/shared';\nimport { InvalidPhoneNumberModalComponent } from './contacts/shared';\n\n@NgModule({\n declarations: [\n AppComponent,\n ContactEditComponent,\n ContactDetailComponent,\n ContactFeedDialogComponent,\n ContactListComponent,\n ContactsComponent,\n FavoriteIconDirective,\n InvalidEmailModalComponent,\n InvalidPhoneNumberModalComponent,\n PageNotFoundComponent,\n PhoneNumberPipe,\n NewContactComponent,\n ShowContactsDirective\n ],\n entryComponents: [\n ContactFeedDialogComponent,\n InvalidEmailModalComponent,\n InvalidPhoneNumberModalComponent\n ],\n imports: [\n AppMaterialModule,\n BrowserModule,\n BrowserAnimationsModule,\n FormsModule,\n HttpModule,\n InMemoryWebApiModule.forRoot(InMemoryDataService, { dataEncapsulation: true }),\n RoutingModule\n ],\n providers: [\n ContactService,\n ContactFeedService,\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/app.module.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".messages {\\n text-align: center;\\n}\\n\\n.back-button {\\n cursor: pointer;\\n margin-top: 10px;\\n -webkit-transform: rotate(180deg);\\n transform: rotate(180deg);\\n}\\n\\n.back-button-icon {\\n color: white;\\n}\\n\\n.feed-button {\\n cursor: pointer;\\n margin-top: 10px;\\n}\\n\\n.feed-button-icon {\\n color: white;\\n}\\n\\n.buttons {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-pack: justify;\\n -ms-flex-pack: justify;\\n justify-content: space-between;\\n}\\n\\n.buttons div {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n}\\n\\n.avatar {\\n margin-top: 15px;\\n}\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.component.css\n// module id = ../../../../../src/app/contacts/contact-detail/contact-detail.component.css\n// module chunks = main","module.exports = \"<div *ngIf=\\\"isLoading\\\">\\n <h6 class=\\\"messages\\\">{{ loadingContactMessage }}</h6>\\n <mat-progress-bar class=\\\"app-progress\\\" mode=\\\"indeterminate\\\"\\n aria-label=\\\"Indeterminate progress-bar example\\\"></mat-progress-bar>\\n</div>\\n\\n<div *ngIf=\\\"!isLoading && contact !== null\\\">\\n <mat-card>\\n <mat-card-title-group>\\n <mat-icon>mood</mat-icon>\\n <mat-card-title>\\n {{ contact.name }}\\n </mat-card-title>\\n <mat-card-subtitle>{{ contact.email }}</mat-card-subtitle>\\n <mat-card-subtitle>\\n {{ contact.number | phoneNumber : \\\"default\\\" : contact.country }}\\n </mat-card-subtitle>\\n </mat-card-title-group>\\n </mat-card>\\n</div>\\n\\n<div *ngIf=\\\"!isLoading && contact === null\\\">\\n <h6 class=\\\"messages\\\">{{ noContactFoundMessage }}</h6>\\n</div>\\n\\n<div class=\\\"buttons\\\" *ngIf=\\\"!isLoading\\\">\\n <div>\\n <a routerLink=\\\"/contacts\\\">\\n <button mat-fab class=\\\"back-button\\\">\\n <mat-icon class=\\\"back-button-icon\\\" matTooltip=\\\"Add new contact\\\">forward</mat-icon>\\n </button>\\n </a>\\n </div>\\n\\n <div>\\n <button mat-fab class=\\\"feed-button\\\" color=\\\"primary\\\" (click)=\\\"openDialog()\\\">\\n <mat-icon class=\\\"feed-button-icon\\\">rss_feed</mat-icon>\\n </button>\\n </div>\\n</div>\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.component.html\n// module id = ../../../../../src/app/contacts/contact-detail/contact-detail.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { ContactFeedDialogComponent } from '../contact-feed';\n\nimport {\n Contact,\n ContactService,\n} from '../shared';\nimport { constants } from './contact-detail.constants';\nimport { MatDialog } from '@angular/material';\n\n@Component({\n selector: 'app-contact-detail',\n templateUrl: './contact-detail.component.html',\n styleUrls: ['./contact-detail.component.css']\n})\nexport class ContactDetailComponent implements OnInit {\n public loadingContactMessage: string = constants.LOADING_CONTACT_MESSAGE;\n public noContactFoundMessage: string = constants.NO_CONTACT_FOUND_MESSAGE;\n public isLoading = true;\n public contact: Contact = null;\n\n constructor(private contactService: ContactService, private route: ActivatedRoute, private dialog: MatDialog) { }\n\n ngOnInit() {\n this.loadContact();\n }\n\n private loadContact(): void {\n this.route.params.subscribe(params => {\n const id = +params['id'];\n this.contactService.getContact(id)\n .then(contact => {\n this.isLoading = false;\n this.contact = contact;\n });\n });\n }\n\n openDialog(): void {\n // For instructional purposes, insert a slight delay before opening the dialog\n setTimeout(() => {\n const dialogRef = this.dialog.open(ContactFeedDialogComponent, {disableClose: true, data: {name: this.contact.name}});\n dialogRef.afterClosed().subscribe(result => {\n // TODO do something here if Follow is clicked\n });\n }, 500);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.component.ts","export const constants = {\n NO_CONTACT_FOUND_MESSAGE: 'Contact not found',\n LOADING_CONTACT_MESSAGE: 'Loading contact...'\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/contact-detail.constants.ts","export * from './contact-detail.component';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-detail/index.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".messages {\\n text-align: center;\\n}\\n\\n.back-button {\\n cursor: pointer;\\n margin-top: 10px;\\n -webkit-transform: rotate(180deg);\\n transform: rotate(180deg);\\n}\\n\\n.back-button-icon {\\n color: white;\\n}\\n\\n.avatar {\\n margin-top: 15px;\\n}\\n\\ninput {\\n width: 300px;\\n}\\n\\ni {\\n cursor: pointer;\\n}\\n\\n.left-padding {\\n padding-left: 35px;\\n}\\n\\n.update-contact-button {\\n padding-left: 25px;\\n}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.component.css\n// module id = ../../../../../src/app/contacts/contact-edit/contact-edit.component.css\n// module chunks = main","module.exports = \"<div>\\n <div *ngIf=\\\"isLoading\\\">\\n <h6 class=\\\"messages\\\">{{ loadingContactMessage }}</h6>\\n <mat-progress-bar class=\\\"app-progress\\\" mode=\\\"indeterminate\\\"\\n aria-label=\\\"Indeterminate progress-bar example\\\"></mat-progress-bar>\\n </div>\\n\\n <div *ngIf=\\\"!isLoading && contact !== null\\\">\\n <mat-card>\\n <mat-card-title-group>\\n <mat-icon>mood</mat-icon>\\n <mat-card-title>\\n <i [appFavoriteIcon]=\\\"contact.favorite\\\" [color]=\\\"'gold'\\\"\\n [matTooltip]=\\\"contact.favorite ? 'Starred' : 'Not Starred'\\\"\\n (click)=\\\"saveContact(contact)\\\"></i>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Name\\\" [(ngModel)]=\\\"contact.name\\\" class=\\\"contact-name\\\" />\\n </mat-form-field>\\n </mat-card-title>\\n <mat-card-subtitle class=\\\"left-padding\\\">\\n <mat-form-field>\\n <input matInput placeholder=\\\"Email\\\" [(ngModel)]=\\\"contact.email\\\" />\\n </mat-form-field>\\n </mat-card-subtitle>\\n <mat-card-subtitle class=\\\"left-padding\\\">\\n <mat-form-field>\\n <input matInput placeholder=\\\"Phone Number\\\" [(ngModel)]=\\\"contact.number\\\" />\\n </mat-form-field>\\n </mat-card-subtitle>\\n <mat-card-subtitle class=\\\"left-padding\\\">\\n <mat-form-field>\\n <mat-select placeholder=\\\"Country code\\\" [(ngModel)]=\\\"contact.country\\\">\\n <mat-option *ngFor=\\\"let countryDialingCode of countryDialingCodes\\\" [value]=\\\"countryDialingCode\\\">\\n {{ countryDialingCode }}\\n </mat-option>\\n </mat-select>\\n </mat-form-field>\\n </mat-card-subtitle>\\n </mat-card-title-group>\\n <div class=\\\"update-contact-button\\\">\\n <button (click)=\\\"updateContact(contact)\\\" mat-raised-button color=\\\"primary\\\">\\n Update Contact\\n </button>\\n </div>\\n </mat-card>\\n </div>\\n\\n <div *ngIf=\\\"!isLoading && contact === null\\\">\\n <h6 class=\\\"messages\\\">{{ noContactFoundMessage }}</h6>\\n </div>\\n\\n <a *ngIf=\\\"!isLoading\\\" routerLink=\\\"/contacts\\\">\\n <button mat-fab class=\\\"back-button\\\"><mat-icon class=\\\"back-button-icon\\\" matTooltip=\\\"Add new contact\\\">forward</mat-icon></button>\\n </a>\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.component.html\n// module id = ../../../../../src/app/contacts/contact-edit/contact-edit.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { MatDialog, MatSnackBar, MatSnackBarConfig } from '@angular/material';\nimport { ActivatedRoute } from '@angular/router';\nimport { Router } from '@angular/router';\n\nimport {\n Contact,\n ContactService,\n} from '../shared';\nimport { constants } from './contact-edit.constants';\nimport { InvalidEmailModalComponent } from '../shared';\nimport { InvalidPhoneNumberModalComponent } from '../shared';\nimport { countryDialingCodes } from '../shared';\n\n@Component({\n selector: 'app-contact-detail',\n templateUrl: './contact-edit.component.html',\n styleUrls: ['./contact-edit.component.css'],\n providers: [MatSnackBar]\n})\nexport class ContactEditComponent implements OnInit {\n public loadingContactMessage: string = constants.LOADING_CONTACT_MESSAGE;\n public noContactFoundMessage: string = constants.NO_CONTACT_FOUND_MESSAGE;\n public isLoading = true;\n public contact: Contact = null;\n public countryDialingCodes: string[] = this.getKeys(countryDialingCodes);\n\n constructor(private contactService: ContactService, private route: ActivatedRoute, private router: Router,\n private snackBar: MatSnackBar, private dialog: MatDialog) { }\n\n ngOnInit() {\n this.loadContact();\n }\n\n public saveContact(contact: Contact) {\n contact.favorite = !contact.favorite;\n this.contactService.save(contact);\n }\n\n public loadContact(): void {\n this.route.params.subscribe(params => {\n const id = +params['id'];\n this.contactService.getContact(id)\n .then(contact => {\n this.isLoading = false;\n this.contact = contact;\n });\n });\n }\n\n public updateContact(contact: Contact): void {\n if (!this.isContactValid(contact)) {\n return;\n }\n\n this.displayEditSnackBar();\n this.contactService.save(contact)\n .then(() => {\n this.router.navigate(['/']);\n });\n }\n\n private getKeys(object: Object): string[] {\n return Object.keys(object).map((key, value) => key);\n }\n\n private displayEditSnackBar(): void {\n const message = 'Contact updated';\n const snackConfig: MatSnackBarConfig = {duration: 2000};\n const actionLabel = '';\n\n this.snackBar.open(message, actionLabel, snackConfig);\n }\n\n private isEmailValid(email: string): boolean {\n return email === '' || (email !== '' && email.includes('@') && email.includes('.'));\n }\n\n private isPhoneNumberValid(phoneNumber: string): boolean {\n return phoneNumber === '' || (phoneNumber !== '' && phoneNumber.length === 10 && /^\\d+$/.test(phoneNumber));\n }\n\n private isContactValid(contact: Contact): boolean {\n if (!this.isEmailValid(contact.email)) {\n this.dialog.open(InvalidEmailModalComponent);\n return false;\n }\n\n if (!this.isPhoneNumberValid(contact.number)) {\n this.dialog.open(InvalidPhoneNumberModalComponent);\n return false;\n }\n\n return true;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.component.ts","export const constants = {\n INVALID_PHONE_NUMBER_MESSAGE: 'Please enter a phone number with 10 digits (For example, 2125551234).',\n INVALID_EMAIL_ADDRESS_MESSAGE: 'Please enter a valid email address.',\n NO_CONTACTS_FOUND_MESSAGE: 'You do not have any contacts yet',\n LOADING_CONTACTS_MESSAGE: 'Loading contacts...',\n NO_CONTACT_FOUND_MESSAGE: 'Contact not found',\n LOADING_CONTACT_MESSAGE: 'Loading contact...'\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/contact-edit.constants.ts","export * from './contact-edit.component';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-edit/index.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".messages {\\n text-align: center;\\n}\\n\\n.update-time {\\n color: grey\\n}\\n\\n.buttons {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-pack: justify;\\n -ms-flex-pack: justify;\\n justify-content: space-between;\\n width: 100%;\\n}\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/contact-feed.component.css\n// module id = ../../../../../src/app/contacts/contact-feed/contact-feed.component.css\n// module chunks = main","module.exports = \"<h2 mat-dialog-title>Latest posts from {{name}}</h2>\\n<mat-dialog-content>\\n<mat-list *ngIf=\\\"updates.length > 0\\\">\\n <mat-list-item *ngFor=\\\"let update of updates\\\">\\n <h4 mat-line>{{update}}</h4>\\n <p class=\\\"update-time\\\" mat-line>at Wed 12:00</p>\\n </mat-list-item>\\n</mat-list>\\n\\n<mat-progress-bar color=\\\"secondary\\\" mode=\\\"indeterminate\\\" *ngIf=\\\"updates.length == 0\\\"></mat-progress-bar>\\n</mat-dialog-content>\\n<mat-dialog-actions>\\n <div class=\\\"buttons\\\">\\n <button mat-raised-button mat-dialog-close disabled=\\\"{{closeDisabled}}\\\">Close</button>\\n <button mat-raised-button class=\\\"follow\\\" color=\\\"primary\\\" disabled=\\\"{{updates.length < 2}}\\\">Follow</button>\\n </div>\\n</mat-dialog-actions>\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/contact-feed.component.html\n// module id = ../../../../../src/app/contacts/contact-feed/contact-feed.component.html\n// module chunks = main","import {Component, OnInit, OnDestroy, NgZone, Optional, Inject} from '@angular/core';\nimport {MatDialogRef, MAT_DIALOG_DATA} from '@angular/material';\nimport {ContactFeedService} from '../shared/services/contact-feed.service';\nimport {Subscription} from 'rxjs/Subscription';\n\n@Component({\n selector: 'app-contact-feed',\n templateUrl: './contact-feed.component.html',\n styleUrls: ['./contact-feed.component.css']\n})\nexport class ContactFeedDialogComponent implements OnInit, OnDestroy {\n sub: Subscription;\n updates: string[] = [];\n name: string;\n closeDisabled = true;\n\n constructor(public dialogRef: MatDialogRef<ContactFeedDialogComponent>, private feed: ContactFeedService, private zone: NgZone,\n @Optional() @Inject(MAT_DIALOG_DATA) data: any) {\n this.name = data.name;\n }\n\n ngOnInit() {\n /*\n This version runs inside the Angular zone, and will block Protractor testing indefinitely.\n this.sub = this.feed.getFeed().subscribe((x) => {\n this.updates.push(x);\n if (this.updates.length > 5) {\n this.updates.shift();\n }\n });\n */\n this.closeDisabled = false;\n\n this.zone.runOutsideAngular(() => {\n this.sub = this.feed.getFeed().subscribe((x) => {\n this.zone.run(() => {\n this.updates.push(x);\n if (this.updates.length > 4) {\n this.updates.shift();\n }\n });\n });\n });\n }\n\n ngOnDestroy() {\n this.sub.unsubscribe();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/contact-feed.component.ts","export * from './contact-feed.component';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-feed/index.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"table {\\n margin-left: auto; \\n margin-right: auto;\\n width: 50%;\\n}\\n\\ntr {\\n cursor: pointer;\\n}\\n\\n.messages {\\n text-align: center;\\n}\\n\\n.add-fab {\\n float: right;\\n cursor: pointer;\\n}\\n\\n.add-fab-icon {\\n color: white;\\n}\\n\\n.edit-icon {\\n color: white;\\n}\\n\\n.edit-icon:hover {\\n color: black;\\n}\\n\\n.delete-icon {\\n color: white;\\n}\\n\\n.delete-icon:hover {\\n color: black;\\n}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.component.css\n// module id = ../../../../../src/app/contacts/contact-list/contact-list.component.css\n// module chunks = main","module.exports = \"<div *appShowContacts=\\\"contacts.length && !deletingContact && !deletingContacts\\\">\\n <table class=\\\"mdl-data-table mdl-js-data-table mdl-shadow--2dp\\\">\\n <thead>\\n <tr>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\"></th>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\">Name</th>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\">Email</th>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\">Number</th>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\"></th>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\"></th>\\n <th class=\\\"mdl-data-table__cell--non-numeric\\\"></th>\\n </tr>\\n </thead>\\n <tbody>\\n <tr *ngFor=\\\"let contact of contacts\\\" (click)=\\\"onSelect(contact)\\\">\\n <td class=\\\"mdl-data-table__cell--non-numeric\\\" (click)=\\\"onClick(contact)\\\">\\n <mat-icon>mood</mat-icon>\\n </td>\\n <td class=\\\"mdl-data-table__cell--non-numeric\\\" (click)=\\\"onClick(contact)\\\"><strong>{{ contact.name }}</strong></td>\\n <td class=\\\"mdl-data-table__cell--non-numeric\\\" (click)=\\\"onClick(contact)\\\">{{ contact.email }}</td>\\n <td class=\\\"mdl-data-table__cell--non-numeric\\\" (click)=\\\"onClick(contact)\\\">\\n {{ contact.number | phoneNumber : \\\"default\\\" : contact.country : true }}\\n </td>\\n <td>\\n <mat-icon class=\\\"edit-icon\\\" (click)=\\\"editContact(contact)\\\" matTooltip=\\\"Edit\\\">\\n edit\\n </mat-icon>\\n </td>\\n <td>\\n <mat-icon class=\\\"delete-icon\\\" (click)=\\\"deleteContact(contact)\\\" matTooltip=\\\"Delete\\\">\\n delete\\n </mat-icon>\\n </td>\\n <td class=\\\"mdl-data-table__cell--non-numeric icon\\\">\\n <i [appFavoriteIcon]=\\\"contact.favorite\\\" [color]=\\\"'gold'\\\"\\n [matTooltip]=\\\"contact.favorite ? 'Starred' : 'Not Starred'\\\"\\n (click)=\\\"saveContact(contact)\\\"></i>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n <br>\\n <button mat-raised-button color=\\\"primary\\\" (click)=\\\"deleteContacts()\\\">\\n Delete All Contacts\\n </button>\\n <a *ngIf=\\\"!isLoading && !deletingContact\\\" routerLink=\\\"/add\\\">\\n <button mat-fab class=\\\"add-fab\\\" id=\\\"add-contact\\\"><mat-icon class=\\\"add-fab-icon\\\" matTooltip=\\\"Add new contact\\\">add</mat-icon></button>\\n </a>\\n</div>\\n\\n<div *appShowContacts=\\\"!contacts.length && !isLoading && !deletingContact && !deletingContacts\\\">\\n <h6 class=\\\"messages\\\">{{ noContactsFoundMessage }}</h6>\\n <button (click)=\\\"refreshContacts()\\\" mat-raised-button color=\\\"primary\\\">Add Contacts</button>\\n</div>\\n\\n<div *appShowContacts=\\\"!contacts.length && isLoading && !deletingContact && !deletingContacts\\\">\\n <h6 class=\\\"messages\\\">{{ loadingContactsMessage }}</h6>\\n <mat-progress-bar class=\\\"app-progress\\\" mode=\\\"indeterminate\\\"\\n aria-label=\\\"Indeterminate progress-bar example\\\"></mat-progress-bar>\\n</div>\\n\\n<div *appShowContacts=\\\"deletingContact\\\">\\n <h6 class=\\\"messages\\\">{{ deletingContactMessage }}</h6>\\n <mat-progress-bar class=\\\"app-progress\\\" mode=\\\"indeterminate\\\"\\n aria-label=\\\"Indeterminate progress-bar example\\\"></mat-progress-bar>\\n</div>\\n\\n<div *appShowContacts=\\\"deletingContacts\\\">\\n <h6 class=\\\"messages\\\">{{ deletingContactsMessage }}</h6>\\n <mat-progress-bar class=\\\"app-progress\\\" mode=\\\"indeterminate\\\"\\n aria-label=\\\"Indeterminate progress-bar example\\\"></mat-progress-bar>\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.component.html\n// module id = ../../../../../src/app/contacts/contact-list/contact-list.component.html\n// module chunks = main","import { Component, Input, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { MatSnackBar, MatSnackBarConfig } from '@angular/material';\n\nimport {\n Contact,\n ContactService\n} from '../shared';\nimport { constants } from './contact-list.constants';\nimport { CONTACTS } from '../shared/data/mock-contacts';\n\n@Component({\n selector: 'app-contact-list',\n templateUrl: './contact-list.component.html',\n styleUrls: ['./contact-list.component.css'],\n providers: [MatSnackBar]\n})\nexport class ContactListComponent implements OnInit {\n public noContactsFoundMessage: string = constants.NO_CONTACTS_FOUND_MESSAGE;\n public loadingContactsMessage: string = constants.LOADING_CONTACTS_MESSAGE;\n public deletingContactsMessage: string = constants.DELETING_CONTACTS_MESSAGE;\n public deletingContactMessage: string = constants.DELETING_CONTACT_MESSAGE;\n public isLoading = true;\n public deletingContacts = false;\n public deletingContact = false;\n public readonly backupContacts: Array<Contact> = CONTACTS.slice();\n public selectedContact: Contact;\n\n @Input('contacts') contacts: Contact[];\n\n constructor(private contactService: ContactService, private router: Router, private snackBar: MatSnackBar) {}\n\n ngOnInit() {\n this.getContacts();\n }\n\n public onClick(contact: Contact): void {\n this.router.navigate(['/contact', contact.id]);\n }\n\n public editContact(contact: Contact): void {\n this.router.navigate(['/edit', contact.id]);\n }\n\n public displayDeleteSnackBar(contact: Contact): void {\n const message = `${contact.name} deleted.`;\n const snackConfig: MatSnackBarConfig = {duration: 2000};\n const actionLabel = '';\n\n this.snackBar.open(message, actionLabel, snackConfig);\n }\n\n public deleteContact(contact: Contact): void {\n this.deletingContact = true;\n this.displayDeleteSnackBar(contact);\n\n this.contactService\n .delete(contact)\n .then(() => {\n this.contacts = this.contacts.filter(c => c !== contact);\n\n if (this.selectedContact === contact) {\n this.selectedContact = null;\n }\n\n this.deletingContact = false;\n });\n }\n\n public deleteContacts(): void {\n this.deletingContacts = true;\n\n this.contacts.forEach((contact, index) => {\n this.contactService.delete(contact);\n\n if (index === this.contacts.length - 1) {\n this.getContacts();\n }\n });\n }\n\n public getContacts(): void {\n this.isLoading = true;\n\n this.contactService.getContacts()\n .then(contacts => {\n this.isLoading = false;\n this.deletingContacts = false;\n this.contacts = contacts;\n });\n }\n\n public refreshContacts() {\n this.backupContacts.forEach((contact, index) => {\n this.contactService.post(contact);\n\n if (index === this.backupContacts.length - 1) {\n this.getContacts();\n }\n });\n }\n\n public saveContact(contact: Contact) {\n contact.favorite = !contact.favorite;\n this.contactService.save(contact);\n }\n\n public onSelect(contact: Contact): void {\n this.selectedContact = contact;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.component.ts","export const constants = {\n NO_CONTACTS_FOUND_MESSAGE: 'You do not have any contacts yet',\n LOADING_CONTACTS_MESSAGE: 'Loading contacts...',\n DELETING_CONTACTS_MESSAGE: 'Deleting contacts...',\n DELETING_CONTACT_MESSAGE: 'Deleting contact...',\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/contact-list.constants.ts","export * from './contact-list.component';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contact-list/index.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contacts.component.css\n// module id = ../../../../../src/app/contacts/contacts.component.css\n// module chunks = main","module.exports = \"<app-contact-list [contacts]=contacts></app-contact-list>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contacts.component.html\n// module id = ../../../../../src/app/contacts/contacts.component.html\n// module chunks = main","import { Component } from '@angular/core';\n\nimport { Contact } from './shared/';\n\n@Component({\n selector: 'app-contacts',\n templateUrl: './contacts.component.html',\n styleUrls: ['./contacts.component.css']\n})\nexport class ContactsComponent {\n contacts: Contact[] = [];\n\n constructor() {}\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/contacts.component.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".back-button {\\n color: white;\\n cursor: pointer;\\n margin-top: 10px;\\n -webkit-transform: rotate(180deg);\\n transform: rotate(180deg);\\n}\\n\\n.messages {\\n text-align: center;\\n}\\n\\nmd-input {\\n width: 300px;\\n}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/new-contact/new-contact.component.css\n// module id = ../../../../../src/app/contacts/new-contact/new-contact.component.css\n// module chunks = main","module.exports = \"<div *ngIf=\\\"contact && !savingContact\\\">\\n <mat-card>\\n <div>\\n <h4>Add New Contact</h4>\\n <mat-form-field>\\n <input matInput type=\\\"text\\\" id=\\\"contact-name\\\"\\n placeholder=\\\"Name\\\" align=\\\"end\\\" [(ngModel)]=\\\"contact.name\\\" required />\\n </mat-form-field>\\n <br />\\n <div *ngIf=\\\"contact.name\\\">\\n <mat-form-field>\\n <input matInput type=\\\"email\\\" css=\\\"contact-email\\\" id=\\\"contact-email\\\"\\n placeholder=\\\"Email\\\" align=\\\"end\\\" [(ngModel)]=\\\"contact.email\\\" />\\n </mat-form-field>\\n <br />\\n <mat-form-field>\\n <input matInput id=\\\"tel\\\" type=\\\"tel\\\" id=\\\"contact-tel\\\"\\n placeholder=\\\"Phone Number (10 digits)\\\" align=\\\"end\\\" [(ngModel)]=\\\"contact.number\\\" />\\n </mat-form-field>\\n <br />\\n <button class=\\\"create-button\\\" (click)=\\\"addNewContact(contact)\\\" mat-raised-button color=\\\"primary\\\">Create</button>\\n </div>\\n </div>\\n </mat-card>\\n <a *ngIf=\\\"!savingContact\\\" routerLink=\\\"/contacts\\\">\\n <button mat-fab class=\\\"back-button\\\"><mat-icon class=\\\"back-button-icon\\\">forward</mat-icon></button>\\n </a>\\n</div>\\n<div *ngIf=\\\"savingContact\\\">\\n <h6 class=\\\"messages\\\">Saving Contact...</h6>\\n <mat-progress-bar class=\\\"app-progress\\\" mode=\\\"indeterminate\\\"\\n aria-label=\\\"Indeterminate progress-bar example\\\"></mat-progress-bar>\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/new-contact/new-contact.component.html\n// module id = ../../../../../src/app/contacts/new-contact/new-contact.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { MatDialog } from '@angular/material';\nimport { Router } from '@angular/router';\n\nimport { ContactService } from '../shared/services/contact.service';\nimport { Contact } from '../shared/models/contact.model';\nimport { InvalidEmailModalComponent } from '../shared';\nimport { InvalidPhoneNumberModalComponent } from '../shared';\n\n@Component({\n selector: 'app-new-contact',\n templateUrl: './new-contact.component.html',\n styleUrls: ['./new-contact.component.css']\n})\nexport class NewContactComponent implements OnInit {\n public contact: Contact;\n public id: number;\n public savingContact = false;\n\n constructor(private contactService: ContactService, private router: Router, private dialog: MatDialog) { }\n\n ngOnInit() {\n this.contactService.getContacts()\n .then(contacts => { this.createNewContact(contacts.length); });\n }\n\n createNewContact(numContacts: number) {\n const contactId = numContacts + 1;\n\n this.contact = {\n id: contactId,\n email: '',\n number: '',\n country: 'us',\n favorite: false\n };\n }\n\n public addNewContact(contact: Contact): void {\n if (!this.isFormValid()) {\n return;\n }\n\n this.savingContact = true;\n\n this.contactService.save(contact)\n .then(() => {\n this.savingContact = false;\n this.router.navigate(['/']);\n });\n }\n\n private isEmailValid(): boolean {\n return this.contact.email === '' ||\n (this.contact.email !== '' && this.contact.email.includes('@') && this.contact.email.includes('.'));\n }\n\n private isPhoneNumberValid(): boolean {\n return this.contact.number === '' ||\n this.contact.number !== '' && this.contact.number.length === 10 && /^\\d+$/.test(this.contact.number);\n }\n\n private isFormValid(): boolean {\n if (!this.isEmailValid()) {\n this.dialog.open(InvalidEmailModalComponent);\n return false;\n }\n\n if (!this.isPhoneNumberValid()) {\n this.dialog.open(InvalidPhoneNumberModalComponent);\n return false;\n }\n\n return true;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/new-contact/new-contact.component.ts","import { Contact } from '../';\n\nexport const CONTACTS: Contact[] = [\n {\n id: 1,\n name: 'Adrian Directive',\n email: '[email protected]',\n number: '7035550123',\n country: 'us',\n favorite: true\n },\n {\n id: 2,\n name: 'Rusty Component',\n email: '[email protected]',\n number: '4415550122',\n country: 'bm',\n favorite: false\n },\n {\n id: 3,\n name: 'Jeff Pipe',\n email: '[email protected]',\n number: '7145550111',\n country: 'us',\n favorite: true\n },\n {\n id: 4,\n name: 'Craig Service',\n email: '[email protected]',\n number: '5145550132',\n country: 'ca',\n favorite: false\n }\n];\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/data/mock-contacts.ts","export const constants = {\n classes: {\n SOLID_STAR: 'fa fa-star fa-lg',\n OUTLINE_STAR: 'fa fa-star-o fa-lg',\n SOLID_STAR_STYLE_LIST: ['fa', 'fa-star', 'fa-lg'],\n OUTLINE_STAR_STYLE_LIST: ['fa', 'fa-star-o', 'fa-lg']\n }\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/favorite-icon/favorite-icon.constants.ts","import { Directive, ElementRef, Input, HostListener, OnInit, Renderer } from '@angular/core';\n\nimport { constants } from './favorite-icon.constants';\n\n/**\n * FavoriteIconDirective\n * =====================\n * The FavoriteIconDirective takes in a boolean and applies a star depending\n * to the element depending on whether the boolean is true or false. If the\n * boolean is false, when the element is rolled over a outlined star appears,\n * otherwise a star with the primary color will show up. The default primary\n * color is gold. You can set the primary star color by specifying the second\n * optional color parameter.\n *\n * Usage:\n * <element [appFavoriteIcon]=\"expression\"></element>\n *\n * Example:\n * <i [appFavoriteIcon]=\"contact.favorite\"></i>\n *\n *\n * Color (optional)\n * ---------------------------------\n * The second parameter is the color of the star.\n *\n * Usage:\n * <element [appFavoriteIcon]=\"expression\" [color]=\"'color'\"></element>\n *\n * Example:\n * <i [appFavoriteIcon]=\"contact.favorite\" [color]=\"'blue'></i>\n */\n\n@Directive({\n selector: '[appFavoriteIcon]'\n})\nexport class FavoriteIconDirective implements OnInit {\n private element: HTMLElement;\n private renderer: Renderer;\n private _primaryColor = 'gold';\n private _starClasses: any = constants.classes;\n\n @Input('appFavoriteIcon') isFavorite: boolean;\n\n @Input() set color(primaryColorName: string) {\n if (primaryColorName) {\n this._primaryColor = primaryColorName.toLowerCase();\n this.setSolidColoredStar();\n }\n }\n\n constructor(element: ElementRef, renderer: Renderer) {\n this.element = element.nativeElement;\n this.renderer = renderer;\n }\n\n public ngOnInit(): void {\n if (this.isFavorite) {\n this.setSolidColoredStar();\n } else {\n this.setWhiteSolidStar();\n }\n }\n\n @HostListener('mouseenter')\n public onMouseEnter(): void {\n if (!this.isFavorite) {\n this.setBlackOulineStar();\n }\n }\n\n @HostListener('mouseleave')\n public onMouseLeave(): void {\n if (!this.isFavorite) {\n this.setWhiteSolidStar();\n }\n }\n\n @HostListener('click')\n public onClick(): void {\n this.isFavorite = !this.isFavorite;\n\n if (this.isFavorite) {\n this.setSolidColoredStar();\n } else {\n this.setBlackOulineStar();\n }\n }\n\n private setBlackOulineStar(): void {\n this.setStarColor('black');\n this.setStarClass('outline');\n }\n\n private setSolidColoredStar(): void {\n this.setStarColor(this._primaryColor);\n this.setStarClass('solid');\n }\n\n private setWhiteSolidStar(): void {\n this.setStarColor('white');\n this.setStarClass('solid');\n }\n\n private setStarClass(starType: string): void {\n const className: string = this.getStarClasses(starType);\n this.renderer.setElementAttribute(this.element, 'class', className);\n }\n\n private setStarColor(color: string): void {\n this.renderer.setElementStyle(this.element, 'color', color);\n }\n\n private getStarClasses(starType): string {\n let classNames = '';\n\n switch (starType) {\n case 'solid':\n classNames = this._starClasses.SOLID_STAR;\n break;\n case 'outline':\n classNames = this._starClasses.OUTLINE_STAR;\n break;\n default:\n classNames = this._starClasses.SOLID_STAR;\n }\n\n return classNames;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/favorite-icon/favorite-icon.directive.ts","export * from './favorite-icon.directive';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/favorite-icon/index.ts","export * from './data/mock-contacts';\nexport * from './favorite-icon/favorite-icon.directive';\nexport * from './models/contact.model';\nexport * from './phone-number/phone-number.pipe';\nexport * from './phone-number/country-dialing-codes';\nexport * from './services/contact.service';\nexport * from './show-contacts/show-contacts.directive';\nexport * from './modals/invalid-email-modal/invalid-email-modal.component';\nexport * from './modals/invalid-phone-number-modal/invalid-phone-number-modal.component';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/index.ts","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.css\n// module id = ../../../../../src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.css\n// module chunks = main","module.exports = \"<h1 mat-dialog-title>Invalid Email Address</h1>\\n<div mat-dialog-content>{{ invalidEmailMessage }}</div>\\n<div mat-dialog-actions>\\n <button mat-button mat-dialog-close>Ok</button>\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.html\n// module id = ../../../../../src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material';\n\nimport { constants } from '../modal.constants';\n\n@Component({\n selector: 'app-invalid-email-modal',\n templateUrl: './invalid-email-modal.component.html',\n styleUrls: ['./invalid-email-modal.component.css']\n})\nexport class InvalidEmailModalComponent implements OnInit {\n invalidEmailMessage = constants.INVALID_EMAIL_ADDRESS_MESSAGE;\n\n constructor(public dialogRef: MatDialogRef<InvalidEmailModalComponent>) { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-email-modal/invalid-email-modal.component.ts","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.css\n// module id = ../../../../../src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.css\n// module chunks = main","module.exports = \"<h1 mat-dialog-title>Invalid Phone Number</h1>\\n<div mat-dialog-content>{{ invalidPhoneNumberMessage }}</div>\\n<div mat-dialog-actions>\\n <button mat-button mat-dialog-close>Ok</button>\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.html\n// module id = ../../../../../src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material';\n\nimport { constants } from '../modal.constants';\n\n@Component({\n selector: 'app-invalid-phone-number-modal',\n templateUrl: './invalid-phone-number-modal.component.html',\n styleUrls: ['./invalid-phone-number-modal.component.css']\n})\nexport class InvalidPhoneNumberModalComponent implements OnInit {\n invalidPhoneNumberMessage = constants.INVALID_PHONE_NUMBER_MESSAGE;\n\n constructor(public dialogRef: MatDialogRef<InvalidPhoneNumberModalComponent>) { }\n\n ngOnInit() {\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/invalid-phone-number-modal/invalid-phone-number-modal.component.ts","export const constants = {\n INVALID_PHONE_NUMBER_MESSAGE: 'Please enter a phone number with 10 digits (For example, 2125551234).',\n INVALID_EMAIL_ADDRESS_MESSAGE: 'Please enter a valid email address.'\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/modals/modal.constants.ts","export const countryDialingCodes = {\n 'AG': 1,\n 'AI': 1,\n 'AS': 1,\n 'BB': 1,\n 'BM': 1,\n 'BS': 1,\n 'CA': 1,\n 'DM': 1,\n 'DO': 1,\n 'GD': 1,\n 'GU': 1,\n 'JM': 1,\n 'KN': 1,\n 'KY': 1,\n 'LC': 1,\n 'MP': 1,\n 'MS': 1,\n 'PR': 1,\n 'SX': 1,\n 'TC': 1,\n 'TT': 1,\n 'US': 1,\n 'VC': 1,\n 'VI': 1,\n 'VG': 1\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/country-dialing-codes.ts","export * from './phone-number.pipe';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/index.ts","export const phoneNumberErrorMessages = {\n INVALID_PHONE_NUMBER_TYPE_ERR: `The phone number type you have entered is\n invalid. The should number in a string or number format.`,\n INVALID_PHONE_NUMBER_LENGTH_ERR: `The phone number you have entered is not\n the proper length. It should be 10 characters long.`,\n INVALID_COUNTRY_CODE_WARN: `Unrecognized country code entered.`,\n INVALID_FORMAT_WARN: `Unrecognized phone format entered. Using default\n (XXX) XXX-XXXX format.`\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/phone-number-error-messages.ts","import { countryDialingCodes } from './country-dialing-codes';\nimport { phoneNumberErrorMessages } from './phone-number-error-messages';\n\nexport class PhoneNumber {\n private areaCode: string;\n private prefix: string;\n private suffix: string;\n\n constructor(phoneNumber: string) {\n this.areaCode = this.getAreaCode(phoneNumber);\n this.prefix = this.getPrefixCode(phoneNumber);\n this.suffix = this.getSuffixCode(phoneNumber);\n }\n\n private getAreaCode(phoneNumber: string): string {\n return phoneNumber.substring(0, 3);\n }\n\n private getPrefixCode(phoneNumber: string): string {\n return phoneNumber.substring(3, 6);\n }\n\n private getSuffixCode(phoneNumber: string): string {\n return phoneNumber.substring(6);\n }\n\n private getDefaultFormattedPhoneNumber(): string {\n return `(${ this.areaCode }) ${ this.prefix }-${ this.suffix }`;\n }\n\n private getHyphensFormattedPhoneNumber(): string {\n return `${ this.areaCode }-${ this.prefix }-${ this.suffix }`;\n }\n\n private getDotsFormattedPhoneNumber(): string {\n return `${ this.areaCode }.${ this.prefix }.${ this.suffix }`;\n }\n\n private getInternationCountryCodeStr(countryCode: string): string {\n countryCode = countryCode.toUpperCase();\n let countryDialingCode = '';\n\n if (countryDialingCodes[countryCode]) {\n countryDialingCode = `+${ countryDialingCodes[countryCode] }`;\n } else {\n console.warn(phoneNumberErrorMessages.INVALID_COUNTRY_CODE_WARN);\n }\n\n return countryDialingCode;\n }\n\n private getFormattedPhoneNumberStr(format = 'default', countryCode?: string): string {\n let formattedPhoneNumber = '';\n\n switch (format.toLowerCase()) {\n case 'default':\n formattedPhoneNumber = this.getDefaultFormattedPhoneNumber();\n break;\n case 'dots':\n formattedPhoneNumber = this.getDotsFormattedPhoneNumber();\n break;\n case 'hyphens':\n formattedPhoneNumber = this.getHyphensFormattedPhoneNumber();\n break;\n default:\n console.warn(phoneNumberErrorMessages.INVALID_FORMAT_WARN);\n formattedPhoneNumber = this.getDefaultFormattedPhoneNumber();\n }\n\n return formattedPhoneNumber;\n }\n\n public getFormattedPhoneNumber(format = 'default', countryCode?: string): string {\n let formattedPhoneNumber: string = this.getFormattedPhoneNumberStr(format);\n let internationalCountryCodeStr = '';\n\n if (countryCode && format) {\n internationalCountryCodeStr = this.getInternationCountryCodeStr(countryCode);\n formattedPhoneNumber = internationalCountryCodeStr ?\n `${internationalCountryCodeStr} ${formattedPhoneNumber}` : `${formattedPhoneNumber}`;\n }\n\n return formattedPhoneNumber;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/phone-number.model.ts","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { PhoneNumber } from './phone-number.model';\nimport { phoneNumberErrorMessages } from './phone-number-error-messages';\n\n/**\n * PhoneNumberPipe\n * ===============\n * The PhoneNumberPipe takes in a string or a number and transforms that input\n * into a formatted format. The format is optional and if it is not entered as\n * a parameter then the number will be formatted using the (XXX) XXX-XXXX format\n * by default. there is a format based on the format (optional) and country\n * code (optional). If the format is not entered, the number will be formatted\n * using the (XXX) XXX-XXXX format by default.\n *\n * The PhoneNumberPipe currently only supports phone numbers\n * in the North American Numbering Plan. Please see\n * https://en.wikipedia.org/wiki/North_American_Numbering_Plan for details.\n *\n * No parameters\n * -------------\n * Not specifying a format parameter will result in the pipe transforming the\n * value into a default phone format, which is (XXX) XXX-XXXX.\n *\n * Usage:\n * {{ <phone number> | phoneNumber }}\n *\n * Example:\n * {{ 7035551234 | phoneNumber }}\n * (703) 555-1234\n *\n * Phone Number Format Parameter (optional)\n * ----------------------------------------\n * The first parameter is the phone format which is optional. If there is no\n * format entered, then the default format, (XXX) XXX- XXXX, will be used.\n * Acceptable parameters are \"default\", \"dots\", \"hyphens\". The phone number\n * parameter is case insensitive.\n *\n * Usage:\n * {{ <phone number> | phoneNumber : <format-type> }}\n *\n * Examples:\n * {{ 7035551234 | phoneNumber : \"default\" }}\n * (703) 555-1234\n *\n * {{ 7035551234 | phoneNumber : \"DOTS\" }}\n * 703.555.1234\n *\n * {{ 7035551234 | phoneNumber : \"hyphens\" }}\n * 703-555-1234\n *\n * Country Code Parameter (optional)\n * ---------------------------------\n * The second parameter is the country code. Any valid two character country\n * code that uses the North American Numbering Plan is acceptable. To see a list\n * of countries that use the North American Numbering Plan see\n * https://en.wikipedia.org/wiki/North_American_Numbering_Plan. To find their\n * respective two character country code please see:\n * http://www.worldatlas.com/aatlas/ctycodes.htm. The country code parameter is\n * case insensitive.\n *\n * Usage:\n * {{ <phone number> | phoneNumber : <format-type> : <country-code> }}\n *\n * Example:\n * {{ 7035551234 | phoneNumber : \"DOTS\" : \"US\" }}\n * +1 703.555.1234\n *\n * Allow Empty String (optional)\n * ---------------------------------\n * Using this third parameter you can allow empty strings without throwing an\n * exception.\n *\n * Usage:\n * {{ <phone number> | phoneNumber : <format-type> : <country-code> : <boolean> }}\n *\n * Example:\n * {{ 7035551234 | phoneNumber : \"DOTS\" : \"US\" : true }}\n*/\n@Pipe({\n name: 'phoneNumber'\n})\nexport class PhoneNumberPipe implements PipeTransform {\n\n transform(value: string = '', format?: string, countryCode: string = '', allowEmptyString?: boolean): string {\n let phoneNumber: PhoneNumber = null;\n let formattedPhoneNumber = '';\n\n if (allowEmptyString && value === '') {\n return '';\n }\n\n if (this.isPhoneNumberValid(value)) {\n phoneNumber = new PhoneNumber(value);\n formattedPhoneNumber = phoneNumber.getFormattedPhoneNumber(format, countryCode);\n }\n\n return formattedPhoneNumber;\n }\n\n private isPhoneNumberValid(phoneNumber: any): boolean {\n const VALID_PHONE_LENGTH = 10;\n let isPhoneNumberValid = false;\n\n if (isNaN(phoneNumber)) {\n console.error(phoneNumberErrorMessages.INVALID_PHONE_NUMBER_TYPE_ERR);\n } else if (phoneNumber.toString().length !== VALID_PHONE_LENGTH) {\n console.error(phoneNumberErrorMessages.INVALID_PHONE_NUMBER_LENGTH_ERR);\n } else {\n isPhoneNumberValid = true;\n }\n\n return isPhoneNumberValid;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/phone-number/phone-number.pipe.ts","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs/Rx';\n\nconst FEED_UPDATES = [\n `Time my favorite, for burritos and beers #BurritoLyfe`,\n `Had my first Soylent today. I\\'ve reached peak SF.`,\n `Is it raining for anyone else, or is it just me?`,\n `lmao cats are so funny!`,\n `When I say mizzenmast, what I really mean is larders`,\n `A rolling stone is your oyster`,\n `Taco Bell? More like Taco Cartel, amirite?`,\n `\"Um\" - 1st horse that got ridden`,\n `The guy at Chipotle couldn\\'t close my burrito. He looked up at me. I looked at him. I whispered, \"It\\'s not your fault.\" He wept in my\n arms.`\n];\n\n/**\n * A fake service that returns an observable of a contact's social media updates.\n */\n@Injectable()\nexport class ContactFeedService {\n constructor() { }\n\n public getFeed() {\n return Observable.interval(500)\n .map((x) => Math.random() * 2 + 2)\n .concatMap((x) => Observable.of(x).delay(x * 1000))\n .map((x) => FEED_UPDATES[Math.floor(Math.random() * FEED_UPDATES.length)]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/services/contact-feed.service.ts","import { Injectable } from '@angular/core';\nimport { Headers, Http } from '@angular/http';\n\nimport 'rxjs/add/operator/toPromise';\n\nimport { Contact } from '../';\n\n@Injectable()\nexport class ContactService {\n private contactsUrl = 'app/contacts';\n private headers: Headers = new Headers({'Content-Type': 'application/json'});\n\n constructor(private http: Http) { }\n\n public getContacts(): any {\n return this.http.get(this.contactsUrl)\n .toPromise()\n .then(response => response.json().data as Contact)\n .catch(this.handleError);\n }\n\n public getContact(id: number): Promise<Contact> {\n return this.getContacts()\n .then(contacts => contacts.find(contact => contact.id === id));\n }\n\n public save(contact: Contact): Promise<Contact> {\n if (contact.id) {\n return this.put(contact);\n }\n\n return this.post(contact);\n }\n\n public new(contact: Contact): Promise<Contact> {\n return this.post(contact);\n }\n\n public delete(contact: Contact): Promise<Contact> {\n const url = `${this.contactsUrl}/${contact.id}`;\n\n return this.http\n .delete(url, {headers: this.headers})\n .toPromise()\n .then(() => null)\n .catch(this.handleError);\n }\n\n public post(contact: Contact): Promise<Contact> {\n return this.http\n .post(this.contactsUrl, JSON.stringify(contact), {headers: this.headers})\n .toPromise()\n .then(res => res.json())\n .catch(this.handleError);\n }\n\n public put(contact: Contact): Promise<Contact> {\n const url = `${this.contactsUrl}/${contact.id}`;\n\n return this.http\n .put(url, JSON.stringify(contact), {headers: this.headers})\n .toPromise()\n .then(() => contact)\n .catch(this.handleError);\n }\n\n private handleError(error: any): Promise<any> {\n console.error('An error occurred', error);\n return Promise.reject(error.message || error);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/services/contact.service.ts","export * from './contact.service';\nexport * from './contact-feed.service';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/services/index.ts","export * from './show-contacts.directive';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/show-contacts/index.ts","import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core';\n\n/**\n * ShowContactsDirective\n * =====================\n * The ShowContactsDirective takes in a boolean and will remove or add\n * an element to the DOM whether the boolean is true or false. The\n * implementation of the ShowContactsDirective is almost exactly what ngIf\n * does. This directive is only to demonstrate how a structural directive\n * works. It should not be used in production.\n *\n * Usage:\n * <element *appFavoriteIcon=\"boolean expression\"></element>\n *\n * Example:\n * <div *appShowContacts=\"contacts.length\"></div>\n */\n\n@Directive({\n selector: '[appShowContacts]'\n})\nexport class ShowContactsDirective {\n private templateRef: TemplateRef<any>;\n private viewContainer: ViewContainerRef;\n\n constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef) {\n this.templateRef = templateRef;\n this.viewContainer = viewContainer;\n }\n\n @Input() set appShowContacts(shouldShow: boolean) {\n if (shouldShow) {\n this.viewContainer.createEmbeddedView(this.templateRef);\n } else {\n this.viewContainer.clear();\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/contacts/shared/show-contacts/show-contacts.directive.ts","import { InMemoryDbService } from 'angular-in-memory-web-api';\n\nimport { Contact } from './contacts/shared/models/';\nimport { CONTACTS } from './contacts/shared/data/mock-contacts';\n\nexport class InMemoryDataService implements InMemoryDbService {\n createDb() {\n const contacts: Contact[] = CONTACTS;\n\n return {contacts};\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/in-memory-data.service.ts","export * from './page-not-found-component.component';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/index.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/page-not-found-component.component.css\n// module id = ../../../../../src/app/page-not-found-component/page-not-found-component.component.css\n// module chunks = main","module.exports = \"<p>\\n 404 - Sorry page not found.\\n</p>\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// /Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/page-not-found-component.component.html\n// module id = ../../../../../src/app/page-not-found-component/page-not-found-component.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-page-not-found-component',\n templateUrl: './page-not-found-component.component.html',\n styleUrls: ['./page-not-found-component.component.css']\n})\nexport class PageNotFoundComponent implements OnInit {\n\n constructor() {}\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/page-not-found-component/page-not-found-component.component.ts","// Observable class extensions\nimport 'rxjs/add/observable/of';\nimport 'rxjs/add/observable/throw';\n\n// Observable operators\nimport 'rxjs/add/operator/catch';\nimport 'rxjs/add/operator/debounceTime';\nimport 'rxjs/add/operator/distinctUntilChanged';\nimport 'rxjs/add/operator/do';\nimport 'rxjs/add/operator/filter';\nimport 'rxjs/add/operator/map';\nimport 'rxjs/add/operator/switchMap';\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/app/rxjs-extensions.ts","// The file contents for the current environment will overwrite these during build.\n// The build system defaults to the dev environment which uses `environment.ts`, but if you do\n// `ng build --env=prod` then `environment.prod.ts` will be used instead.\n// The list of which env maps to which file can be found in `.angular-cli.json`.\n\nexport const environment = {\n production: false\n};\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/environments/environment.ts","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.log(err));\n\n\n\n// WEBPACK FOOTER //\n// /Users/cnishina/src/testing-angular-applications/website/src/main.ts"],"sourceRoot":"webpack:///"}