\r\n
\r\n {{logs$ | async}}\r\n
\r\n
","import { FormControl, FormGroup, FormArray } from '@angular/forms';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, pipe, BehaviorSubject, of } from 'rxjs';\r\nimport { map, delay, take, auditTime, switchMap, withLatestFrom } from 'rxjs/operators';\r\nimport { ILoyaltyAppCountryAssignmentModel, IMemberModel } from '@shared/state';\r\n\r\nconst findControl = (formControl: FormGroup | FormArray, search: string) => {\r\n if (!formControl) return null;\r\n\r\n return formControl.controls[search] || findControl(formControl.parent, search);\r\n};\r\n\r\nexport const cellPhoneTakenValidator = (membersService: Services.MembersService,\r\n countryPrefixField: string = null,\r\n countries: ILoyaltyAppCountryAssignmentModel[] = [],\r\n delayResponse: number = 0) => {\r\n const nextValue = new BehaviorSubject