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E,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC","sources":["./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/components/autocomplete-dropdown/autocomplete-dropdown.component.ts","./src/app/components/autocomplete-dropdown/autocomplete-dropdown.component.html","./src/app/components/provider-tile/provider-tile.component.ts","./src/app/components/provider-tile/provider-tile.component.html","./src/app/components/providers/providers.component.ts","./src/app/components/providers/providers.component.html","./src/app/pipes/filter.pipe.ts","./src/app/pipes/proper-case.pipe.ts","./src/app/pipes/safe-url.pipe.ts","./src/app/pipes/tel-href.pipe.ts","./src/app/services/geolocation.service.ts","./src/app/services/jsona.service.ts","./src/app/services/personalization.service.ts","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.scss']\n})\nexport class AppComponent {\n title = 'app';\n}\n","\n\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { AppComponent } from './app.component';\nimport { ProvidersComponent } from './components/providers/providers.component';\nimport { PersonalizationService } from './services/personalization.service';\n\nimport { HttpClientModule } from '@angular/common/http';\nimport { ProviderTileComponent } from './components/provider-tile/provider-tile.component';\nimport { FilterPipe } from './pipes/filter.pipe';\nimport { TelHrefPipe } from './pipes/tel-href.pipe';\nimport { ProperCasePipe } from './pipes/proper-case.pipe';\n\nimport { AutocompleteDropdownComponent } from './components/autocomplete-dropdown/autocomplete-dropdown.component';\nimport { SafeUrlPipe } from './pipes/safe-url.pipe';\nimport { GeolocationService } from './services/geolocation.service';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n declarations: [\n AppComponent,\n ProvidersComponent,\n ProviderTileComponent,\n FilterPipe,\n TelHrefPipe,\n ProperCasePipe,\n AutocompleteDropdownComponent,\n SafeUrlPipe,\n ],\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n HttpClientModule,\n FormsModule,\n CommonModule\n ],\n providers: [\n PersonalizationService,\n GeolocationService\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","import { Component, Input, Output, EventEmitter, OnChanges } from '@angular/core';\n\n@Component({\n selector: 'autocomplete-dropdown',\n templateUrl: './autocomplete-dropdown.component.html',\n styleUrls: ['./autocomplete-dropdown.component.scss']\n})\nexport class AutocompleteDropdownComponent implements OnChanges {\n // The placeholder text for the input element\n @Input() placeholder: string;\n // The options that will be available for autocomplete dropdown\n @Input() dropdownList: string[] = [];\n // distinguishes one autocomplete-dropdown from another\n // GTM event that is fired when a dropdown option is selected is 'uniqueID Filter'\n @Input() uniqueID: string;\n // When this value becomes true the autocomplete dropdown will clear itself (resets)\n @Input() clear: boolean;\n // The value to be output to be used outside of the component\n @Output() selectedOption = new EventEmitter();\n // Outputs whether results for the search were found or not. Used to grey out the input\n @Output() disabled = new EventEmitter(true);\n\n public input: string = '';\n public hasList: boolean = true;\n public currentFilteredList: string[] = [];\n // The dropdown list is initially hidden\n public dropdownListHidden: boolean = true;\n // The list element that was most recently navigated to using the keyboard\n public currentListElement: HTMLElement;\n // The most recent list element that was focused by the user\n public focusedListItemIndex: number;\n\n constructor() {}\n\n /**\n * Whenever there are changes the\n * - current list is sorted\n * - autocomplete dropdown is cleared/reset if needed\n * - autocomplete dropdown is disabled/enabled as needed\n * - list is filtered based on current input\n */\n ngOnChanges() {\n this.dropdownList = this.dropdownList.sort();\n this.currentFilteredList = this.dropdownList;\n if(this.clear) {\n this.input = '';\n }\n this.clear = false;\n if (this.currentFilteredList && this.currentFilteredList.length === 0) {\n this.disableDropdown();\n } else {\n this.enableDropdown();\n }\n this.filterList();\n }\n\n /**\n * Adds every string from dropdownList to filteredList that contains the value contained in\n * input somewhere within the string\n */\n filterList() {\n // add strings from dropdownList to filteredList if the string contains the current input\n let filteredList: string[] = [];\n for (let str of this.dropdownList) {\n if (str && this.input && this.input !== '') {\n if (str.toLowerCase().includes(this.input.toLowerCase())) {\n filteredList.push(str);\n }\n }\n }\n // if filtered list is empty then it is set to dropdownList so 'no results' will be displayed\n if (filteredList.length === 0 && this.input === '') {\n filteredList = this.dropdownList;\n }\n this.currentFilteredList = filteredList;\n }\n\n /**\n * Visually disable the dropdown by greying it out to inform the user that there are no results\n */\n disableDropdown() {\n if (document.getElementById(this.uniqueID)) {\n this.input = \"No results\";\n this.disabled.emit(true);\n this.hasList = false;\n let dropdownListInput = document.getElementById(this.uniqueID);\n dropdownListInput.setAttribute('style', 'border-bottom: 1px sold #979797');\n }\n }\n\n /**\n * Visually enable the dropdown to let the user know they can use it to refine their search\n */\n enableDropdown() {\n if (document.getElementById(this.uniqueID)) {\n this.disabled.emit(false);\n this.hasList = true;\n let dropdownListInput = document.getElementById(this.uniqueID);\n dropdownListInput.setAttribute('style', 'border-bottom: 1px solid #abc0d3');\n }\n }\n\n /**\n * Called when a user makes a selection from the dropdown menu. Hides the dropdown and emits the selected value\n * @param str the value that was selected by the user\n */\n selectListElem(str: string) {\n this.input = str;\n this.selectedOption.emit(str);\n this.hideDropdownList();\n }\n\n /**\n * Called when a user makes a selection from the dropdown menu using their keyboard. The value most recently\n * navigated to using the arrow keys will be the element that is selected.\n */\n selectCurrentListElem() {\n if (this.currentListElement) {\n this.selectedOption.emit(this.currentListElement.textContent.trim());\n this.input = this.currentListElement.textContent.trim();\n this.pushToDataLayer(this.currentListElement.textContent.trim());\n }\n }\n\n /**\n * Toggles whether the user can/cannot view the dropdown list\n */\n toggleDropdownList() {\n (!this.dropdownListHidden) ? this.hideDropdownList() : this.showDropdownList();\n }\n\n /**\n * Shows the dropdown list to the user\n */\n showDropdownList() {\n let dropdownList = document.getElementsByClassName(this.uniqueID).item(0);\n if (this.hasList && dropdownList) {\n dropdownList.setAttribute('style', 'display: block');\n let dropdownListInput = document.getElementById(this.uniqueID);\n dropdownListInput.setAttribute('style', 'border-bottom: 1px sold #158a97');\n this.dropdownListHidden = false;\n }\n }\n\n /**\n * Hides the dropdown list from the users view\n */\n hideDropdownList() {\n let dropdownList = document.getElementsByClassName(this.uniqueID).item(0);\n if (this.hasList && dropdownList) {\n this.scrollToListItem(this.getListElemByIndex(0));\n dropdownList.setAttribute('style', 'display: none');\n let dropdownListInput = document.getElementById(this.uniqueID);\n dropdownListInput.setAttribute('style', 'border-bottom: 1px solid #abc0d3');\n if (this.currentListElement) {\n this.currentListElement.style.background = \"\";\n this.currentListElement.style.color = \"\";\n this.currentListElement = null;\n }\n this.focusedListItemIndex = null;\n dropdownListInput.blur();\n this.dropdownListHidden = true;\n }\n }\n\n /**\n * Returns a list element in the dropdown list\n * @param index the index of the list element to return\n */\n getListElemByIndex(index: number): HTMLElement {\n return document.getElementById(this.uniqueID + \"listElem\" + index);\n }\n\n /**\n * Called when the user is navigating the dropdown using arrow keys. Tracks which list element the user is currently\n * focused on.\n */\n incrementIndex() {\n this.focusedListItemIndex = (this.focusedListItemIndex + 1) % this.currentFilteredList.length;\n this.currentListElement = this.getListElemByIndex(this.focusedListItemIndex);\n }\n\n /**\n * Called when the user is navigating the dropdown using arrow keys. Tracks which list element the user is currently\n * focused on.\n */\n decrementIndex() {\n this.focusedListItemIndex = this.focusedListItemIndex - 1;\n if (this.focusedListItemIndex === -1) {\n this.focusedListItemIndex = this.currentFilteredList.length - 1;\n }\n this.currentListElement = this.getListElemByIndex(this.focusedListItemIndex);\n }\n\n /**\n * Scrolls to the next item in the dropdown list. Called when a user is navigating the dropdown list using arrow\n * keys. Handles logic to keep track of currently selected list element since the user is not using a mouse.\n */\n scrollToNextListItem() {\n if (this.currentListElement) {\n this.currentListElement.style.background = \"\";\n this.currentListElement.style.color = \"\";\n this.incrementIndex();\n if (this.currentListElement) {\n this.currentListElement.style.background = \"#158a97\";\n this.currentListElement.style.color = \"#ffffff\";\n this.scrollToListItem(this.currentListElement);\n }\n } else {\n this.focusedListItemIndex = 0;\n this.currentListElement = this.getListElemByIndex(this.focusedListItemIndex);\n if (this.currentListElement) {\n this.currentListElement.style.background = \"#158a97\";\n this.currentListElement.style.color = \"#ffffff\";\n this.scrollToListItem(this.currentListElement);\n }\n }\n }\n\n /**\n * Scrolls to the previous item in the dropdown list. Called when a user is navigating the dropdown list using arrow\n * keys. Handles logic to keep track of currently selected list element since the user is not using a mouse.\n */\n scrollToPreviousListItem() {\n if (this.currentListElement) {\n this.currentListElement.style.background = \"\";\n this.currentListElement.style.color = \"\";\n this.decrementIndex();\n if (this.currentListElement) {\n this.currentListElement.style.background = \"#158a97\";\n this.currentListElement.style.color = \"#ffffff\";\n this.scrollToListItem(this.currentListElement);\n }\n } else {\n this.focusedListItemIndex = this.currentFilteredList.length - 1;\n this.currentListElement = this.getListElemByIndex(this.focusedListItemIndex);\n if (this.currentListElement) {\n this.currentListElement.style.background = \"#158a97\";\n this.currentListElement.style.color = \"#ffffff\";\n this.scrollToListItem(this.currentListElement);\n }\n }\n }\n\n /**\n * Scrolls to a HTMLElement within the dropdown. Called when a user is navigating the dropdown using arrow keys to keep\n * list items in view.\n * @param elem The HTMLElement to scroll to\n */\n scrollToListItem(elem: HTMLElement) {\n if (elem !== null) {\n let dropdownList = document.getElementsByClassName(this.uniqueID).item(0);\n dropdownList.scrollTop = elem.offsetTop;\n }\n\n }\n\n /**\n * Pushes a custom GTM event to the dataLayer. Called when the user selects a value from the custom dropdown\n * @param value The event label for the custom GTM event that will be pushed to the dataLayer\n */\n pushToDataLayer(value: string) {\n let event = {};\n let eventName = this.uniqueID + ' Filter';\n event['event'] = eventName;\n event['eventAction'] = 'A option was selected in the ' + this.uniqueID + ' dropdown';\n event['eventCategory'] = 'Custom dropdown';\n event['eventLabel'] = value;\n let dataLayer = window['dataLayer'] = window['dataLayer'] || [];\n dataLayer.push(event);\n }\n}\n","
\n \n \n
\n\n","import { Component, Input, OnInit, OnChanges } from '@angular/core';\nimport { PhysicianProfile } from '../../domain/provider';\n\n@Component({\n selector: 'app-provider-tile',\n templateUrl: './provider-tile.component.html',\n styleUrls: ['./provider-tile.component.scss']\n})\nexport class ProviderTileComponent implements OnInit, OnChanges {\n @Input() provider: PhysicianProfile;\n profileURL: string;\n defaultProfileURL: string;\n imageLoaded = false;\n imageError = false;\n whiteStarWidth: any;\n goldStarWidth: any;\n public phoneNumber: string;\n\n constructor() { }\n\n /**\n * On initialization of component\n * - retrieves profile photo, if there is one, from the Provider profile pictures hosted on AWS by Chesapeake\n * - if no profile photo is available it is set to the default photo based on gender of provider\n */\n ngOnInit() {\n const profilePicture = this.provider.field_profile_picture;\n if (profilePicture) {\n this.profileURL = profilePicture.field_media_image.uri.url;\n } else {\n // tslint:disable-next-line:max-line-length\n this.profileURL = 'https://s3.amazonaws.com/chesapeake-regional-find-a-doctor/ProviderIDs/ProviderIDs/' + this.provider.field_provider_id + '.jpg';\n }\n this.defaultProfileURL = 'assets/maleprofile.svg';\n if (this.provider.field_sex === 'F') {\n this.defaultProfileURL = 'assets/femaleprofile.svg';\n }\n if (this.provider.field_review_average) {\n this.goldStarWidth = 15 * this.provider.field_review_average;\n this.whiteStarWidth = 75 - this.goldStarWidth;\n }\n this.phoneNumber = this.provider.field_location_1_phone ?? this.provider.field_internal_locations[0].field_phone_number;\n }\n /**\n * Waits for changes\n * - only change that would be made is to the 'distance from user' feature\n */\n ngOnChanges() {\n /** Empty by design */\n }\n\n setImageLoaded() {\n this.imageLoaded = true;\n }\n\n setImageError() {\n this.imageError = true;\n }\n\n /**\n * Sends a Google Tag Manager event to the data layer recording which provider\n * tile was selected.\n */\n providerTileClickGTMEvent() {\n let event = {};\n let eventName = 'Provider Tile';\n event['event'] = eventName;\n event['eventAction'] = 'A provider tile was selected in the Find A Doctor tool';\n event['eventCategory'] = 'Provider Tile';\n let doctorName = this.provider.field_display_title;\n // this.provider.middleInit ? doctorName = this.provider.firstName +\n // ' ' + this.provider.middleInit + '. ' + this.provider.lastName : doctorName = this.provider.firstName + ' ' + this.provider.lastName;\n event['eventLabel'] = doctorName;\n let dataLayer = window['dataLayer'] = window['dataLayer'] || [];\n dataLayer.push(event);\n }\n\n providerTilePhoneNumberClickGTMEvent() {\n let event = {};\n let eventName = 'Provider Click To Call';\n event['event'] = eventName;\n event['eventAction'] = 'A provider tile was selected in the Find A Doctor tool';\n event['eventCategory'] = 'Provider Tile';\n let doctorName = this.provider.field_display_title;\n // this.provider.middleInit ? doctorName = this.provider.firstName +\n // ' ' + this.provider.middleInit + '. ' + this.provider.lastName : doctorName = this.provider.firstName + ' ' + this.provider.lastName;\n event['eventLabel'] = doctorName;\n let dataLayer = window['dataLayer'] = window['dataLayer'] || [];\n dataLayer.push(event);\n }\n}\n","\n","import { Component, OnInit } from '@angular/core';\nimport { InsuranceCompany } from '../../domain/insurance-company';\nimport { PhysicianProfile } from '../../domain/provider';\nimport { Title } from '@angular/platform-browser';\nimport { HostListener } from '@angular/core';\nimport { JsonaService } from '../../services/jsona.service';\nimport { AcceptedInsurance } from '../../domain/accepted-insurance';\nimport { switchMap } from 'rxjs/operators';\n\n@Component({\n selector: 'app-providers',\n templateUrl: './providers.component.html',\n styleUrls: ['./providers.component.scss']\n})\nexport class ProvidersComponent implements OnInit {\n public doctors = new Array();\n public filteredDoctors = new Array();\n public insuranceCompanies: Array = new Array();\n public insuranceCompaniesDropdownList = new Array();\n public numOfProvidersToShow = 9;\n public specialties = new Array();\n public specialty: string;\n public searchtext: string;\n public practices = new Array();\n public languages = new Array();\n public gender: string = null;\n public genders = ['M', 'F'];\n public gendersDisabled = false;\n public language: string;\n public crmg = false;\n public medicalGroupDisabled = false;\n public practice: string;\n public refineMobileOpen = false;\n public chooseSpecialty = 'All Specialties';\n public specialtyDropdownHasNoResults = false;\n public choosePractice = 'Select a location';\n public practiceDropdownHasNoResults = false;\n public chooseLanguage = 'Select an additional language';\n public languageDropdownHasNoResults = false;\n public resultsDesc: string;\n public chooseInsurance = 'Choose insurance';\n public insuranceDropdownHasNoResults = false;\n public insurance: string;\n public missingResultsDesc: string;\n public clearSpec = false;\n public clearLoc = false;\n public clearLang = false;\n public clearGroup = false;\n private resizeTimeout;\n public locationErrorMessage: string;\n public acceptedLocationServices: boolean;\n public acknowledgedSnackbar: boolean;\n public medicalGroupTooltipDisabled = true;\n\n /**\n * This HostListener closes the drawer where the user refines the filters on mobile if it is\n * open and the window is resized to more than 1140px. This is required to prevent the user from\n * getting stuck in that mobile filter drawer as it would disappear once the desktop breakpoint is\n * reached.\n */\n @HostListener('window:resize')\n onWindowResize() {\n // debounce resize, wait for resize to finish before doing stuff\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n this.resizeTimeout = setTimeout((() => {\n if (window.innerWidth > 1140) {\n this.refineMobileOpen = false;\n }\n }).bind(this), 500);\n }\n constructor(\n private jsonaService: JsonaService,\n public title: Title,\n ) {}\n\n ngOnInit() {\n this.getData();\n }\n private getData() {\n return this.getDoctors()\n .pipe(\n switchMap(doctorsData => {\n this.processDoctors(doctorsData);\n return this.getInsuranceCompanies();\n })\n )\n .subscribe((insuranceCompaniesData: Array) =>\n this.processInsuranceCompanies(insuranceCompaniesData)\n );\n }\n private processInsuranceCompanies(insuranceCompaniesData: Array) {\n const acceptedInsuranceCompanies = this.filterAcceptedInsuranceCompanies(insuranceCompaniesData);\n this.insuranceCompanies = [...this.insuranceCompanies, ...acceptedInsuranceCompanies];\n this.buildDropdownLists();\n this.clearAndInitFilters();\n }\n private processDoctors(doctorsData: Array) {\n const providers = doctorsData.sort((a, b) => {\n if (a.field_crmg_physician && b.field_crmg_physician) {\n return 0;\n } else if (a.field_crmg_physician) {\n return -1;\n } else {\n return 1;\n }\n });\n this.doctors = providers;\n this.filteredDoctors = providers;\n }\n private buildInsuranceCompaniesList() {\n this.insuranceCompaniesDropdownList = this.insuranceCompanies.map(({ title }) => title);\n }\n private buildDropdownLists() {\n this.buildInsuranceCompaniesList();\n this.buildSpecialtiesList();\n this.buildPractices();\n this.buildLanguages();\n }\n private clearAndInitFilters() {\n this.clearFilters();\n this.filter();\n }\n\n private getInsuranceCompanies() {\n return this.jsonaService.getInsuranceCompanies();\n }\n private getDoctors() {\n const includes = [\n 'field_secondary_specialties',\n 'field_internal_locations',\n 'field_external_locations',\n 'field_profile_picture.field_media_image',\n ];\n const publishedFilter = '[status][value]=1';\n const sortCriteria = 'field_last_name';\n\n return this.jsonaService.getAllWithResourceCount(\n 'node',\n 'physician_profile',\n includes,\n publishedFilter,\n sortCriteria\n );\n }\n\n private filterAcceptedInsuranceCompanies(insuranceCompanies: Array): Array {\n const acceptedInsuranceCompanies = insuranceCompanies.filter(insuranceCompany => {\n const isAcceptedByAnyDoctor = this.doctors.some(doctor => {\n return doctor.field_accepted_insurance.some(doctorAcceptedInsurance => {\n return doctorAcceptedInsurance.id === insuranceCompany.id;\n });\n });\n\n return isAcceptedByAnyDoctor;\n });\n return acceptedInsuranceCompanies;\n }\n\n private doctorMeetsInsuranceCompanyCriteria(doc: PhysicianProfile): boolean {\n if (!this.insurance) {\n return true;\n }\n if (Array.isArray(this.insuranceCompanies) && this.insuranceCompanies.length) {\n return doc.field_accepted_insurance.find((acceptedInsurance: AcceptedInsurance): AcceptedInsurance | null => {\n if (acceptedInsurance.id === this.getInsuranceCompanyIdByTitle(this.insurance || '')) {\n return acceptedInsurance;\n }\n return null;\n }) && true;\n }\n return true;\n }\n\n private doctorMeetsSpecialtyCriteria(doc: PhysicianProfile): boolean {\n if (this.specialty && this.specialty !== '' && this.specialty !== 'Search a specialty...') {\n const hasMatchingPrimarySpecialty = doc.field_primary_specialty === this.specialty;\n const hasMatchingSecondarySpecialty = doc.field_secondary_specialties.some((specialty) => {\n return specialty.field_specialty_name === this.specialty;\n });\n const hasMatchingSpecialty = hasMatchingPrimarySpecialty || hasMatchingSecondarySpecialty;\n return hasMatchingSpecialty;\n } else {\n // no specialty filter selected\n return true;\n }\n }\n\n private findByValue(doc: PhysicianProfile, searchText: string): boolean {\n for (const key in doc) {\n if (doc.hasOwnProperty(key)) {\n const term = doc[key];\n if (!Array.isArray(term) && (term + '').toLowerCase().indexOf(searchText) !== -1) {\n return true;\n } else if (Array.isArray(term)) {\n for (const key2 in term) {\n if (term.hasOwnProperty(key2)) {\n const term2 = term[key2];\n if ((term2 + '').toLowerCase().indexOf(searchText) !== -1) {\n return true;\n }\n }\n }\n }\n }\n }\n return false;\n }\n\n private doctorMeetsTextCriteria(doc: PhysicianProfile): boolean {\n if (this.searchtext && this.searchtext !== '') {\n const toSearch = this.searchtext.toLowerCase().trim();\n return this.findByValue(doc, toSearch);\n } else {\n return true;\n }\n }\n\n private doctorMeetsPracticeCriteria(doc: PhysicianProfile): boolean {\n if (this.practice && this.practice !== '') {\n const matchesPracticeReferenceCriteria = doc.field_internal_locations.some((location) => location.title === this.practice);\n const matchesExternalParagraphCriteria = doc.field_external_locations.some(location => location.field_display_title === this.practice);\n const matchesFirstPlainTextLocation = doc.field_location_1_title === this.practice;\n const matchesSecondPlainTextLocation = doc.field_location_2_title === this.practice;\n const matchesThirdPlainTextLocation = doc.field_location_3_title === this.practice;\n // tslint:disable-next-line:max-line-length\n const matchesPracticePlainTextCriteria = matchesFirstPlainTextLocation || matchesSecondPlainTextLocation || matchesThirdPlainTextLocation;\n return matchesPracticeReferenceCriteria || matchesPracticePlainTextCriteria || matchesExternalParagraphCriteria;\n } else {\n return true;\n }\n }\n\n private doctorMeetsGenderCriteria(doc: PhysicianProfile): boolean {\n if (this.gender && this.gender !== '') {\n let docGender = '';\n if (this.gender === 'Male') {\n docGender = 'M';\n } else if (this.gender === 'Female') {\n docGender = 'F';\n }\n const matchesGenderCriteria = doc.field_sex === docGender;\n return matchesGenderCriteria;\n } else {\n return true;\n }\n }\n\n private doctorMeetsLanguageCriteria(doc: PhysicianProfile): boolean {\n if (this.language && this.language !== '') {\n const hasFirstLanguage = doc.field_language_1 === this.language;\n const hasSecondLanguage = doc.field_language_2 === this.language;\n const hasThirdLanguage = doc.field_language_3 === this.language;\n return hasFirstLanguage || hasSecondLanguage || hasThirdLanguage;\n } else {\n return true;\n }\n }\n\n private doctorMeetsCRMGCriteria(doc: PhysicianProfile): boolean {\n if (this.crmg) {\n return doc.field_crmg_physician;\n } else {\n return true;\n }\n }\n\n public filter() {\n const resultPhrases = new Array();\n const missingResultPhrases = new Array();\n this.filteredDoctors = this.doctors;\n let tempDoctors = this.filteredDoctors;\n\n // filter by specialty\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsSpecialtyCriteria(doc));\n\n if (this.specialty && this.specialty !== '' && this.specialty !== 'Search a specialty...') {\n if (this.filteredDoctors.length) {\n resultPhrases.push('Specialty ' + this.specialty + '');\n } else {\n missingResultPhrases.push('Specialty ' + this.specialty + '');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n tempDoctors = this.filteredDoctors;\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsTextCriteria(doc));\n\n if (this.searchtext && this.searchtext !== '') {\n if (this.filteredDoctors.length) {\n resultPhrases.push('The search term ' + this.searchtext + '');\n } else {\n missingResultPhrases.push('The search term ' + this.searchtext + '');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n tempDoctors = this.filteredDoctors;\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsPracticeCriteria(doc));\n\n if (this.practice && this.practice !== '') {\n if (this.filteredDoctors.length) {\n resultPhrases.push('Practice ' + this.practice + '');\n } else {\n missingResultPhrases.push('Practice ' + this.practice + '');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n tempDoctors = this.filteredDoctors;\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsGenderCriteria(doc));\n\n if (this.gender && this.gender !== '') {\n if (this.filteredDoctors.length) {\n resultPhrases.push('Gender ' + this.gender + '');\n } else {\n missingResultPhrases.push('Gender ' + this.gender + '');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n tempDoctors = this.filteredDoctors;\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsLanguageCriteria(doc));\n\n if (this.language && this.language !== '') {\n if (this.filteredDoctors.length) {\n resultPhrases.push('Language ' + this.language + '');\n } else {\n missingResultPhrases.push('Language ' + this.language + '');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n tempDoctors = this.filteredDoctors;\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsCRMGCriteria(doc));\n\n if (this.crmg) {\n if (this.filteredDoctors.length) {\n resultPhrases.push('Chesapeake Regional Medical Group');\n } else {\n missingResultPhrases.push('Chesapeake Regional Medical Group');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n tempDoctors = this.filteredDoctors;\n this.filteredDoctors = this.filteredDoctors.filter(doc => this.doctorMeetsInsuranceCompanyCriteria(doc));\n\n if (this.insurance) {\n if (this.filteredDoctors.length) {\n resultPhrases.push('Accepted Insurance ' + this.insurance + '');\n } else {\n missingResultPhrases.push('Accepted Insurance ' + this.insurance + '');\n this.filteredDoctors = tempDoctors;\n }\n }\n\n this.buildSpecialtiesList();\n this.buildPractices();\n this.buildLanguages();\n\n let resultsDesc = '';\n let missingResultsDesc = '';\n for (let index = 0; index < resultPhrases.length; index++) {\n resultsDesc += resultPhrases[index];\n if (index < resultPhrases.length - 2) {\n resultsDesc += ', ';\n } else if (index === resultPhrases.length - 2) {\n resultsDesc += ' and ';\n }\n }\n this.resultsDesc = resultsDesc;\n\n for (let index = 0; index < missingResultPhrases.length; index++) {\n missingResultsDesc += missingResultPhrases[index];\n if (index < missingResultPhrases.length - 2) {\n missingResultsDesc += ', ';\n } else if (index === missingResultPhrases.length - 2) {\n missingResultsDesc += ' and ';\n }\n }\n if (missingResultsDesc.length > 0) {\n missingResultsDesc = 'Missing: ' + missingResultsDesc;\n }\n this.missingResultsDesc = missingResultsDesc;\n\n this.numOfProvidersToShow = 9; // reset amount of providers to display to user\n }\n private getInsuranceCompanyIdByTitle(title) {\n const matchingInsuranceCompany: any = this.insuranceCompanies.find((insuranceCompany: any) => {\n return insuranceCompany.title === title;\n });\n if (!matchingInsuranceCompany) { return; }\n return matchingInsuranceCompany.id;\n }\n\n private buildSpecialtiesList() {\n const specialties = this.filteredDoctors.map((doc) => {\n const secondarySpecialtyNames = doc.field_secondary_specialties.map((paragraph) => paragraph.field_specialty_name);\n return [doc.field_primary_specialty, ...secondarySpecialtyNames];\n });\n\n const flatUniqueSpecialties = [...new Set(specialties.flat())];\n\n this.specialties = flatUniqueSpecialties;\n this.specialties.sort();\n }\n\n private buildPractices() {\n const practices = this.filteredDoctors.map((doc) => {\n const locationReferenceTitles = doc.field_internal_locations.map((reference) => reference.title);\n const locationPlainTextTitles = [doc.field_location_1_title, doc.field_location_2_title, doc.field_location_3_title];\n const externalLocationParagraphTitles = doc.field_external_locations.map(paragraph => paragraph.field_display_title);\n return [...locationReferenceTitles, ...locationPlainTextTitles, ...externalLocationParagraphTitles];\n });\n const flatUniquePractices = [...new Set(practices.flat())].sort();\n this.practices = flatUniquePractices;\n }\n\n private buildLanguages(): Array {\n const allLanguages = this.filteredDoctors.map(doc => {\n return [doc.field_language_1, doc.field_language_2, doc.field_language_3];\n });\n const uniqueLanguages = [...new Set(allLanguages.flat())].sort();\n this.languages = uniqueLanguages;\n return uniqueLanguages;\n }\n\n public toggleTooltip() {\n this.medicalGroupTooltipDisabled = !this.medicalGroupTooltipDisabled;\n }\n\n /**\n * Used to hide the tooltip ON DESKTOP ONLY; Mobile tooltip is closed by button in tooltip\n * Function checks to see if Desktop tooltip is in the DOM using its ID. Mobile search drawer is always in DOM\n * currently, but desktop is only there if above tablet breakpoint\n */\n @HostListener('document:click', ['$event'])\n public closeDesktopTooltip(event: Event) {\n if (document.querySelector('#desktopTooltip') === null) {\n return;\n }\n\n if (event.target !== document.querySelector('#desktopTooltip')) {\n this.medicalGroupTooltipDisabled = true;\n }\n }\n\n /**\n * This is called to ensure CRMG boolean is reset (along with other filters).\n * There's currently an Angular bug with routing that causes certain things not to be reset\n * when using the back/forward buttons. Couldn't find another workaround. Add to this function\n * any additional cleanup necessary when leaving a page in case Angular decides not to rebuild it when\n * routing back to it in History.\n */\n @HostListener('window:beforeunload')\n public resetEverythingDefinitely() {\n this.clearFilters();\n }\n\n public clearFilters() {\n this.gender = null;\n this.crmg = false;\n this.medicalGroupDisabled = false;\n this.language = '';\n this.practice = '';\n this.specialty = '';\n this.insurance = '';\n this.filter();\n this.clearSpec = true;\n this.clearLoc = true;\n this.clearLang = true;\n\n setTimeout(() => {\n this.clearSpec = false;\n this.clearLoc = false;\n this.clearLang = false;\n }, 5000);\n }\n\n /**\n * Scrolls to the top of the page\n */\n public goToTopOfPage() {\n window.scrollTo({top: 0, left: 0, behavior: 'smooth'});\n }\n\n public openMobileFilters() {\n this.refineMobileOpen = true;\n this.slideFiltersOut();\n }\n\n public slideFiltersOut() {\n const mobileFilters = document.getElementById('mobileFilterDrawer');\n mobileFilters.style.left = '0';\n mobileFilters.style.height = window.innerHeight - 75 + 'px';\n }\n\n public closeMobileFilters() {\n this.refineMobileOpen = false;\n this.slideFiltersIn();\n }\n\n public slideFiltersIn() {\n const mobileFilters = document.getElementById('mobileFilterDrawer');\n mobileFilters.style.left = '-100vw';\n mobileFilters.style.height = window.innerHeight - 75 + 'px';\n }\n}\n","\n
\n
\n
\n
\n Find A Doctor\n
\n
\n
\n
SPECIALTY
\n
\n \n
\n
\n
\n
SEARCH
\n
\n \n \n
\n
\n
\n
SEARCH
\n
\n \n \n
\n
\n
\n
\n\n \n
\n
Refine Results
\n
\n
\n \n
\n
\n
\n
\n \n \n \n \n
\n
Search Filters
\n
Gender
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
Practice Location
\n
\n \n
\n
\n\n
\n
Accepted Insurance
\n
\n \n
\n
\n\n
\n
Additional Language Spoken
\n
\n \n
\n
\n\n
Medical Group
\n
\n
\n \n \n
?
\n
\n
\n

Selecting this will only show Chesapeake Regional Medical Group physicians, which are part of Chesapeake Regional Healthcare’s network.

\n \n
\n
\n\n
Clear Filters \"clear\"
\n\n
\n
\n
Refine Results
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n
Practice Location
\n
\n \n
\n
\n\n
\n
Accepted Insurance
\n
\n \n
\n
\n\n
\n
Gender
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
Additional Language Spoken
\n
\n \n
\n
\n\n
\n
Medical Group
\n
\n \n \n
?
\n
\n
\n Selecting this will only show Chesapeake Regional Medical Group physicians, which are part of Chesapeake Regional Healthcare’s network.\n
\n
\n
\n
Clear Filters \"clear\"
\n
\n
\n \n\n \n
\n \n
\n Showing {{filteredDoctors?.length}} results:\n
\n \n
\n \n
\n\n \n
\n \n
\n\n
\n \n \n
\n
\n
\n \n
\n    \n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'filter'\n})\nexport class FilterPipe implements PipeTransform {\n\n transform(values: any[], args?: any): any {\n return values.filter((value) => {\n for (let i = 0; i < args.length; i++) {\n if (value[args[i][0]] != args[i][1]) {\n return false;\n }\n }\n return true;\n });\n }\n\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'properCase'\n})\nexport class ProperCasePipe implements PipeTransform {\n\n /**\n * Converts a string to proper case where the first letter of each word is capitalized\n * @param input a string to be converted to proper case\n */\n transform(input: string): string {\n let retStrArray = [];\n if (input) {\n input = input.trim();\n input.split(' ').map(str => {\n retStrArray.push(str[0].toUpperCase() + str.substr(1).toLowerCase());\n });\n return retStrArray.join(' ');\n }\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\n\n@Pipe({\n name: 'safeUrl'\n})\nexport class SafeUrlPipe implements PipeTransform {\n\n constructor(private sanitizer: DomSanitizer) {}\n\n transform(url: string): SafeResourceUrl {\n return this.sanitizer.bypassSecurityTrustResourceUrl(url);\n }\n\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'telHref'\n})\nexport class TelHrefPipe implements PipeTransform {\n \n /**\n * Transforms a phone number of a specified format to be used with tel link href's\n * @param phoneNumber is a string of the form \"###-###-####\"\n * @returns a string of the form \"tel:+1-###-###-####\"\n */\n transform(phoneNumber: string): string {\n if (phoneNumber) {\n let telLinkString:string = \"tel:+1-\";\n telLinkString += phoneNumber;\n return telLinkString;\n }\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { PersonalizationService } from './personalization.service';\n\nconst GEOLOCATION_ERRORS = {\n // tslint:disable-next-line:max-line-length\n 'errors.location.unsupportedBrowser': 'Your browser does not support using location services. \\nPlease update your browser to use this feature.',\n // tslint:disable-next-line:max-line-length\n 'errors.location.permissionDenied': 'It looks like you have denied us permission to use your location in the past or have disabled it for all websites. \\nTo fix, update your location permissions in your browser settings.',\n 'errors.location.positionUnavailable': 'Unable to determine your location. Please try again later.',\n 'errors.location.timeout': 'Service timeout has been reached. Please try again.'\n};\n\nconst DEFAULT_OPTIONS = {\n maximumAge: 120000 // 2 minutes\n};\n\n@Injectable()\nexport class GeolocationService {\n constructor(\n private personalizationService: PersonalizationService\n ) { }\n\n getLocation(options = DEFAULT_OPTIONS, fromSearch: boolean = false): Observable {\n return Observable.create(observer => {\n if (window.navigator && window.navigator.geolocation) {\n window.navigator.geolocation.getCurrentPosition(\n (position) => {\n this.personalizationService.setLocationServices(1);\n observer.next(position);\n observer.complete();\n },\n (error) => {\n switch (error.code) {\n case 1:\n this.personalizationService.setLocationServices(0);\n if (fromSearch) {\n // tslint:disable-next-line:max-line-length\n observer.error(GEOLOCATION_ERRORS['errors.location.permissionDenied']);\n } else {\n observer.error(GEOLOCATION_ERRORS['errors.location.permissionDenied']);\n }\n break;\n case 2:\n observer.error(GEOLOCATION_ERRORS['errors.location.positionUnavailable']);\n break;\n case 3:\n observer.error(GEOLOCATION_ERRORS['errors.location.timeout']);\n break;\n }\n },\n options\n );\n } else {\n this.personalizationService.setLocationServices(0);\n observer.error('Unsupported Browser');\n }\n });\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { asapScheduler, EMPTY, forkJoin, Observable, of, scheduled } from 'rxjs';\nimport { catchError, expand, map, mergeMap, reduce } from 'rxjs/operators';\nimport Jsona from 'jsona';\nimport { TJsonApiBody } from 'jsona/lib/JsonaTypes';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class JsonaService {\n\n constructor(private http: HttpClient) {\n }\n\n /**\n * Used to build mock JSON:API responses used in service tests\n * @param response the JSON object you want to deserialize, must match JSON:API spec\n */\n public static deserializeMockResponse(response: TJsonApiBody): any {\n const dataFormatter = new Jsona();\n if (response.included) {\n for (const datum of response.included) {\n for (const property in datum.relationships) {\n // there may be a case where value.data is not an array but still 'missing', that is currently not handled\n if (Array.isArray(datum.relationships[property]?.data)) {\n datum.relationships[property].data =\n (datum.relationships[property].data as Array).filter((relData) => relData.id !== 'missing');\n }\n }\n }\n }\n return dataFormatter.deserialize(response);\n }\n\n /**\n * Retrieves all of a certain type of content/paragraph type\n * @param entityType The type of entity to request\n * @param machineName The machine name of the entity to request\n * @param includes The additional data to include in the request\n * @param filterParam The filter to apply to the returned collection\n * @param sort The sort to apply to the returned collection\n */\n // tslint:disable-next-line:max-line-length\n public getAll(entityType = 'node', machineName = 'physician_profile', includes = new Array(), filterParam = '', sort = ''): Observable {\n const collectionUrl = this.createCollectionUrl(entityType, machineName, includes, filterParam, sort);\n const dataFormatter = new Jsona();\n return this.http.get(collectionUrl).pipe(\n expand((json: any) => {\n if (json.meta?.omitted?.detail) {\n console.warn(json.meta?.omitted?.detail);\n }\n return json.links.next ? this.http.get(json.links.next.href) : EMPTY;\n }),\n reduce((acc: any, res: any) => {\n acc.data = acc.data.concat(res.data);\n if (acc.included) {\n acc.included = acc.included.concat(res.included);\n }\n return acc;\n }),\n map((res: any) => {\n for (const datum of res.data) {\n for (const [value] of Object.entries(datum.relationships)) {\n // there may be a case where value.data is not an array but still 'missing', that is currently not handled\n // @ts-ignore\n if (Array.isArray(value.data)) {\n // @ts-ignore\n value.data = value.data.filter((relData) => relData.id !== 'missing');\n }\n }\n }\n return dataFormatter.deserialize(res);\n }),\n catchError((error) => scheduled(of(console.error('Error retrieving JSON collection: ', error)), asapScheduler))\n );\n }\n\n private generateAllRequests(collectionUrl: string, count: number): Array> {\n const pageSize = 50;\n const requests = new Array>();\n for (let i = 0; i < count; i += pageSize) {\n const pagedUrl = collectionUrl + `&page[offset]=${i}&page[limit]=50`;\n requests.push(this.http.get(pagedUrl));\n }\n return requests;\n }\n\n /**\n * Retrieves all of a certain type of content/paragraph type\n * @param entityType The type of entity to request\n * @param machineName The machine name of the entity to request\n * @param includes The additional data to include in the request\n * @param filterParam The filter to apply to the returned collection\n * @param sort The sort to apply to the returned collection\n */\n // tslint:disable-next-line:max-line-length\n public getAllWithResourceCount(entityType = 'node', machineName = 'physician_profile', includes = new Array(), filterParam = '', sort = ''): Observable {\n const collectionUrl = this.createCollectionUrl(entityType, machineName, includes, filterParam, sort);\n const dataFormatter = new Jsona();\n return this.http.get(collectionUrl).pipe(\n mergeMap((json: any) => {\n if (json.meta?.count) {\n const requests = forkJoin(this.generateAllRequests(collectionUrl, json.meta?.count));\n return requests;\n } else {\n console.warn('No resource count provided, unable to make additional requests');\n }\n }),\n reduce((acc: any, res: any) => {\n acc.data = acc.data.concat(res.data);\n if (acc.included) {\n acc.included = acc.included.concat(res.included);\n }\n return acc;\n }),\n map((res: any) => {\n const providers = new Array();\n for (const result of res) {\n for (const datum of result.data) {\n for (const [value] of Object.entries(datum.relationships)) {\n // there may be a case where value.data is not an array but still 'missing', that is currently not handled\n // @ts-ignore\n if (Array.isArray(value.data)) {\n // @ts-ignore\n value.data = value.data.filter((relData) => relData.id !== 'missing');\n }\n }\n }\n const providersChunk = dataFormatter.deserialize(result);\n providers.push(providersChunk);\n }\n return providers.flat();\n }),\n catchError((error) => scheduled(of(console.error('Error retrieving JSON collection: ', error)), asapScheduler))\n );\n }\n\n /**\n * Creates a URL to request a given collections data\n * @param entityType The type of entity to request\n * @param machineName The machine name of the entity to request\n * @param includes The additional data to be returned in the request\n * @param filterParam The filter to apply to the requested collection\n * @param sort The sort to apply to the returned collection\n * @private\n */\n private createCollectionUrl(\n entityType: string,\n machineName: string,\n includes = new Array(),\n filterParam = '',\n sort = ''\n ): string {\n let url = '/jsonapi/' + entityType + '/' + machineName;\n let firstParam = true;\n if (includes.length) {\n url += '?include=' + includes.join(',') + '&fields[file--file]=url,uri';\n firstParam = false;\n }\n if (filterParam.length) {\n if (firstParam) {\n url += '?filter' + filterParam;\n firstParam = false;\n } else {\n url += '&filter' + filterParam;\n }\n }\n if (sort.length) {\n if (firstParam) {\n url += '?sort=' + sort;\n firstParam = false;\n } else {\n url += '&sort=' + sort;\n }\n }\n return url;\n }\n public getInsuranceCompanies() {\n const machineName = 'insurance_company';\n const collectionUrl = `/jsonapi/node/${machineName}`;\n const dataFormatter = new Jsona();\n return this.http.get(collectionUrl).pipe(\n expand((json: any) => {\n return json.links.next ? this.http.get(json.links.next.href) : EMPTY;\n }),\n map((res: any) => {\n for (const datum of res.data) {\n for (const [value] of Object.entries(datum.relationships)) {\n // there may be a case where value.data is not an array but still 'missing', that is currently not handled\n // @ts-ignore\n if (Array.isArray(value.data)) {\n // @ts-ignore\n value.data = value.data.filter((relData) => relData.id !== 'missing');\n }\n }\n }\n return dataFormatter.deserialize(res);\n })\n );\n }\n\n}\n","import { Injectable } from '@angular/core';\n\nexport type personalizationKeys = 'background' | 'recommendations' | 'searchHistory' |\n 'acceptedLocationServices' | 'acknowledgedSnackbar';\nexport type source = 'pageVisit' | 'fad' | 'locationSearch' | 'globalSearch';\n\n@Injectable()\nexport class PersonalizationService {\n public userCoordsSet = false;\n public lat: any;\n public long: any;\n\n constructor() { }\n\n public saveItemToDomStorage(key: personalizationKeys, item: string, storageType: 'session' | 'local'): void {\n if (typeof (Storage) !== 'undefined' && item) {\n if (storageType === 'session') {\n window.sessionStorage.removeItem(item);\n window.sessionStorage.setItem(key, item);\n } else {\n window.localStorage.removeItem(item);\n window.localStorage.setItem(key, item);\n }\n } else {\n console.log(`LocalStorage not available for \\\"${item}\\\"`);\n }\n }\n\n public getItemFromDomStorage(key: personalizationKeys, storageType: 'session' | 'local'): any {\n if (typeof (Storage) !== 'undefined') {\n let item: any;\n if (storageType === 'session') {\n item = window.sessionStorage.getItem(key);\n } else {\n item = window.localStorage.getItem(key);\n }\n return item;\n } else {\n console.log('LocalStorage not available');\n }\n }\n\n public setLocationServices(acceptedLocationServices): void {\n this.saveItemToDomStorage('acceptedLocationServices', acceptedLocationServices + '', 'local');\n }\n\n public snackbarAknowledgement() {\n this.saveItemToDomStorage('acknowledgedSnackbar', '1', 'local');\n }\n\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * In development mode, to ignore zone related error stack frames such as\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\n * import the following file, but please comment it out in production mode\n * because it will have performance impact when throw error\n */\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\n","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"],"names":[],"sourceRoot":"webpack:///"}