{"version":3,"sources":["webpack:///main.1fe0b23a6090f54e967e.bundle.js","webpack:///./src/app/customer-registration-wizard/shared/modal-popup/modal-popup.service.ts","webpack:///./src/app/customer-registration-wizard/shared/spinner/spinner.service.ts","webpack:///./src/app/customer-registration-wizard/steps.ts","webpack:///./~/moment/locale ^\\.\\/.*$","webpack:///./src/app/app.component.css","webpack:///./src/app/core/navbar/navbar.component.css","webpack:///./src/app/core/page-not-found/page-not-found.component.css","webpack:///./src/app/core/toolbar/toolbar.component.css","webpack:///./src/app/customer-registration-wizard/confirmation-step/confirmation-step.component.css","webpack:///./src/app/customer-registration-wizard/consent-step/consent-step.component.css","webpack:///./src/app/customer-registration-wizard/customer-details-step/customer-details-step.component.css","webpack:///./src/app/customer-registration-wizard/medications-step/medications-step.component.css","webpack:///./src/app/customer-registration-wizard/my-practitioners-step/my-practitioners-step.component.css","webpack:///./src/app/customer-registration-wizard/mykit-step/mykit-step.component.css","webpack:///./src/app/customer-registration-wizard/pinnacle-confirmation-step/pinnacle-confirmation-step.component.css","webpack:///./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.component.css","webpack:///./src/app/shared/address-capture/address-capture.component.css","webpack:///./src/app/shared/email-validate/email-validate.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/core/navbar/navbar.component.html","webpack:///./src/app/core/page-not-found/page-not-found.component.html","webpack:///./src/app/core/toolbar/toolbar.component.html","webpack:///./src/app/customer-registration-wizard/confirmation-step/confirmation-step.component.html","webpack:///./src/app/customer-registration-wizard/consent-step/consent-step.component.html","webpack:///./src/app/customer-registration-wizard/customer-details-step/customer-details-step.component.html","webpack:///./src/app/customer-registration-wizard/customer-registration-wizard.component.html","webpack:///./src/app/customer-registration-wizard/medications-step/medications-step.component.html","webpack:///./src/app/customer-registration-wizard/my-practitioners-step/my-practitioners-step.component.html","webpack:///./src/app/customer-registration-wizard/mykit-step/mykit-step.component.html","webpack:///./src/app/customer-registration-wizard/pinnacle-confirmation-step/pinnacle-confirmation-step.component.html","webpack:///./src/app/customer-registration-wizard/questionnaire-step/questionnaire-step.component.html","webpack:///./src/app/customer-registration-wizard/report-delivery-step/report-delivery-step.component.html","webpack:///./src/app/customer-registration-wizard/select-reports-step/select-reports-step.component.html","webpack:///./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.component.html","webpack:///./src/app/shared/address-capture/address-capture.component.html","webpack:///./src/app/shared/email-validate/email-validate.component.html","webpack:///./src/app/customer-registration-wizard/services/countryCode.service.ts","webpack:///./src/app/client-api/ConsumerRegistrationApi/api/ConsumerRegistrationApi.ts","webpack:///./src/app/client-api/SelectProductsApi/variables.ts","webpack:///./src/app/healthcare-practitioner-api/variables.ts","webpack:///./src/app/client-api/CountriesApi/api/CountriesApi.ts","webpack:///./src/app/client-api/SelectProductsApi/api/KitsApi.ts","webpack:///./src/app/client-api/ValidateBarcodesAPi/api/KitBarcodesApi.ts","webpack:///./src/app/customer-registration-wizard/shared/mydna-validation/mydna-validation-patterns.ts","webpack:///./src/app/customer-registration-wizard/services/registration.service.ts","webpack:///./src/app/customer-registration-wizard/customer-registration-wizard.component.css","webpack:///./src/app/client-api/ConsumerRegistrationApi/configuration.ts","webpack:///./src/app/client-api/ConsumerRegistrationApi/variables.ts","webpack:///./src/app/client-api/CountriesApi/variables.ts","webpack:///./src/app/client-api/SelectProductsApi/api/ProductsApi.ts","webpack:///./src/app/client-api/SelectProductsApi/configuration.ts","webpack:///./src/app/client-api/ValidateBarcodesAPi/variables.ts","webpack:///./src/app/customer-registration-wizard/models/customer-details.ts","webpack:///./src/app/customer-registration-wizard/models/report-delivery-option.ts","webpack:///./src/app/customer-registration-wizard/services/identity.service.ts","webpack:///./src/app/customer-registration-wizard/services/products.service.ts","webpack:///./src/app/customer-registration-wizard/services/validateBarcodes.service.ts","webpack:///./src/app/customer-registration-wizard/shared/mydna-utility/mydna-utility.service.ts","webpack:///./src/app/healthcare-practitioner-api/api/HealthCarePractitionersApi.ts","webpack:///./src/app/healthcare-practitioner-api/api/PharmaciesApi.ts","webpack:///./src/app/healthcare-practitioner-api/configuration.ts","webpack:///./src/environments/environment.octopus.ts","webpack:///./src/app/client-api/Service.ts","webpack:///./src async","webpack:///./src/main.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.component.css","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/client-api/ConsumerRegistrationApi/api/api.ts","webpack:///./src/app/client-api/CountriesApi/configuration.ts","webpack:///./src/app/client-api/RequestReportApi/configuration.ts","webpack:///./src/app/client-api/RequestReportApi/model/ClinicalOrganisation.ts","webpack:///./src/app/client-api/RequestReportApi/model/Customer.ts","webpack:///./src/app/client-api/RequestReportApi/model/ReportRecipients.ts","webpack:///./src/app/client-api/RequestReportApi/model/RequestReport.ts","webpack:///./src/app/client-api/RequestReportApi/variables.ts","webpack:///./src/app/customer-registration-wizard/shared/mydna-operating-context/mydna-operating-context.service.ts","webpack:///./src/app/client-api/StorageService.ts","webpack:///./src/app/client-api/ValidateBarcodesAPi/configuration.ts","webpack:///./src/app/client-api/ValidateBarcodesAPi/model/ValidatedKitBarcode.ts","webpack:///./src/app/core/mydna-core.module.ts","webpack:///./src/app/core/navbar/navbar.component.ts","webpack:///./src/app/core/page-not-found/page-not-found.component.ts","webpack:///./src/app/core/toolbar/toolbar.component.ts","webpack:///./src/app/customer-registration-wizard/breadcrumb/breadcrumb.component.ts","webpack:///./src/app/customer-registration-wizard/confirmation-step/confirmation-step.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/consent-step.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.au.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.ca.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.cwwr.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.generic.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.habit.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.pinnacle.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.research.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.uk.component.ts","webpack:///./src/app/customer-registration-wizard/consent-step/terms/terms.usa.component.ts","webpack:///./src/app/customer-registration-wizard/customer-details-step/customer-details-step.component.ts","webpack:///./src/app/customer-registration-wizard/customer-registration-wizard.component.ts","webpack:///./src/app/customer-registration-wizard/customer-registration-wizard.module.ts","webpack:///./src/app/customer-registration-wizard/medications-step/medications-step.component.ts","webpack:///./src/app/customer-registration-wizard/models/pinnacleDoctorForm.ts","webpack:///./src/app/customer-registration-wizard/models/registration.ts","webpack:///./src/app/customer-registration-wizard/models/validator.ts","webpack:///./src/app/customer-registration-wizard/my-practitioners-step/my-practitioners-step.component.ts","webpack:///./src/app/customer-registration-wizard/mykit-step/mykit-step.component.ts","webpack:///./src/app/customer-registration-wizard/pinnacle-confirmation-step/pinnacle-confirmation-step.component.ts","webpack:///./src/app/customer-registration-wizard/questionnaire-step/questionnaire-step.component.ts","webpack:///./src/app/customer-registration-wizard/report-delivery-step/report-delivery-step.component.ts","webpack:///./src/app/customer-registration-wizard/select-reports-step/select-reports-step.component.ts","webpack:///./src/app/customer-registration-wizard/services/doctors.service.ts","webpack:///./src/app/customer-registration-wizard/services/pharmacies.service.ts","webpack:///./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.component.ts","webpack:///./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.module.ts","webpack:///./src/app/customer-registration-wizard/shared/mydna-customdirectives/equal-validator.directive.ts","webpack:///./src/app/customer-registration-wizard/shared/mydna-utility/mydna-utility.module.ts","webpack:///./src/app/healthcare-practitioner-api/api/api.ts","webpack:///./src/app/shared/address-capture/address-capture.component.ts","webpack:///./src/app/shared/email-validate/email-validate.component.ts","webpack:///./src/app/shared/services/address-capture/address-capture.service.ts","webpack:///./src/app/shared/services/email-validate/email-validate.service.ts"],"names":["webpackJsonp","110","module","exports","__webpack_require__","__WEBPACK_IMPORTED_MODULE_0__angular_core__","__WEBPACK_IMPORTED_MODULE_1_rxjs__","n","d","ModalPopupService","__decorate","this","decorators","target","key","desc","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__metadata","k","v","metadata","defaultContent","title","description","status","content","prototype","show","next","show500","content500","show400","data","message","modelState","JSON","stringify","content400","hide","111","SpinnerService","displayText","newContent","112","Steps","mykit","Step","selectReports","customerDetails","medications","myPractitioners","confirmation","pinnacleConfirmation","consent","questionnaire","workflow","setWorkflow","productNumber","ChemistWarehouseWellnessRevolution","steps","StepWorkflow","FullMedication","PinnacleProduct","PartialMedication","Wellness","getWorkflow","getNextStep","currentStep","curr","find","s","view","indexOf","label","display","type","activeStep","1139","webpackContext","req","webpackContextResolve","id","map","Error","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./gom-latn","./gom-latn.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","keys","resolve","1165","1166","1167","1168","1169","1170","1171","1172","1173","1174","1175","1176","1177","1178","1180","1181","1182","1183","1184","1185","1186","1187","1188","1189","1190","1191","1192","1193","1194","1195","1196","1197","144","__WEBPACK_IMPORTED_MODULE_1__client_api_CountriesApi_api_CountriesApi__","CountryCodeService","countriesApi","getCountryName","countryIso2","GetAllCountriesWithCodes","countries","countryObject","coutryList","isO2","name","getCountriesAndCodes","getStatesForCountry","countryCode","GetStatesUsingIso2","_a","1448","201","__WEBPACK_IMPORTED_MODULE_1__angular_http__","__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__","__WEBPACK_IMPORTED_MODULE_3__variables__","__WEBPACK_IMPORTED_MODULE_4__configuration__","ConsumerRegistrationApi","__param","paramIndex","decorator","http","basePath","configuration","defaultHeaders","identityDoesUserExist","username","extraHttpRequestParams","identityDoesUserExistWithHttpInfo","response","json","path","queryParameters","headers","toJSON","undefined","set","requestOptions","method","Get","search","withCredentials","assign","request","String","_b","202","Select_Products_Api_BASE_PATH","203","HealthCarePractitionerApi_BASE_PATH","302","__WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__","__WEBPACK_IMPORTED_MODULE_2__variables__","__WEBPACK_IMPORTED_MODULE_3__Service__","CountriesApi","service","GetAllCountries","get","GetCountryUsingCountryId","countryId","303","__WEBPACK_IMPORTED_MODULE_0__Address__","__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__","__WEBPACK_IMPORTED_MODULE_2__ClinicalOrganisation__","__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__","__WEBPACK_IMPORTED_MODULE_4__ContactDetails__","__WEBPACK_IMPORTED_MODULE_5__Customer__","__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__","__WEBPACK_IMPORTED_MODULE_7__Identity__","__WEBPACK_IMPORTED_MODULE_8__KitBarcode__","__WEBPACK_IMPORTED_MODULE_9__Medication__","__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__","__WEBPACK_IMPORTED_MODULE_11__Product__","__WEBPACK_IMPORTED_MODULE_12__ReportRecipients__","__WEBPACK_IMPORTED_MODULE_13__RequestReport__","__WEBPACK_IMPORTED_MODULE_14__Preferences__","__WEBPACK_IMPORTED_MODULE_15__Token__","__WEBPACK_IMPORTED_MODULE_16__PartnerReference__","o","304","KitsApi","kitsGetKit","kitId","getProductRequirements","productId","305","KitBarcodesApi","kitBarcodesGet","barcodeNumber","306","__WEBPACK_IMPORTED_MODULE_0__models_validator__","MyDnaValidationPatterns","nonBlankString","defaultEmail","defaultUsername","defaultName","defaultPassword","defaultPhone","defaultMobile","defaultPostcode","defaultSuburb","defaultState","auPhone","auMobile","auPostcode","auSuburb","auState","caPhone","caMobile","caPostcode","caSuburb","caState","nzPostcode","nzSuburb","ukPostcode","ukSuburb","validator","email","password","phone","mobile","postcode","state","suburb","regCode","getDefaultValidatons","307","__WEBPACK_IMPORTED_MODULE_0__api_api__","35","__WEBPACK_IMPORTED_MODULE_2__models_registration__","__WEBPACK_IMPORTED_MODULE_3__environments_environment__","__WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__","__WEBPACK_IMPORTED_MODULE_5__shared_modal_popup_modal_popup_service__","__WEBPACK_IMPORTED_MODULE_6__steps__","__WEBPACK_IMPORTED_MODULE_7__client_api_RequestReportApi_model_models__","__WEBPACK_IMPORTED_MODULE_8__shared_mydna_operating_context_mydna_operating_context_service__","__WEBPACK_IMPORTED_MODULE_9__client_api_Service__","RegistrationService","loader","popup","myDnaOperatingContextService","_this","navigator","extractIdsFromResponse","requestReportObject","requestReportId","customerId","customer","doctorsDetails","hasUnknownHealthCarePractitioners","doctor","healthcarePractitioners_1","resultRecipients","healthcarePractitioners","forEach","healthCarePractitioner","hcp","firstName","lastName","clinicalOrganisation","clinicName","clinicID","totalPharmacy","getData","setData","setIsSmoker","_smoker","smoker","getIsSmoker","setMedications","_medications","getMedications","getReportSelection","currentReportSelection","setReportSelection","currentSelectedReport","getReportDropDownSelection","currentReportDropDownSelection","setReportDropDownSelection","setCustomerDetails","_custDetails","CustomerDetails","setLoginDetails","_logindetails","loginDetails","getLoginDetail","getCustomerDetails","getE2ETestIds","production","setPharmacyDetails","pharmacyDetails","PharmacyDetails","getPharmacyDetails","removePharmacyDetails","index","splice","setDoctorsDetails","_doctorsDetails","setMarketingConsent","value","marketingConsent","setAdditionalDetails","questions","post","RequestReportApiEndPoint","Content-Type","subscribe","_","nextPage","getMarketingConsent","window","scrollTo","getDoctorsDetails","submit","isFinalSubmission","identityRequired","isPut","toRequestReport","StatusEnum","SubmittedForProcessing","New","x-mydna-channel","channel","product","config","hideCustomerAddressOnRegistration","identity","preferences","submitSubject","skipIdentity","put","error","complete","token","unitMemberId","unitId","isActivationProduct","has","setSubmitResponse","err","console","log","isIdentityCreated","_c","_d","_e","354","503","Configuration","504","CONSUMER_REGISTRATION_BASE_PATH","505","CountriesApi_BASE_PATH","506","ProductsApi","productsGet","productsGetWithHttpInfo","507","508","VaildateBarcodesApi_BASE_PATH","509","510","ReportDeliveryOption","511","__WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__","__WEBPACK_IMPORTED_MODULE_2__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__","__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_map__","__WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_catch__","IdentityService","consumerRegistrationApi","fetchUsernameDetails","_convertResponseToUsernameDetails","catch","_convertErrorResponseToUsernameDetails","resp","UsernameDetails","caught","of","IsValid","AlreadyInUse","512","__WEBPACK_IMPORTED_MODULE_1__client_api_SelectProductsApi_api_KitsApi__","__WEBPACK_IMPORTED_MODULE_2__client_api_Service__","__WEBPACK_IMPORTED_MODULE_3__client_api_SelectProductsApi_variables__","__WEBPACK_IMPORTED_MODULE_4__shared_mydna_operating_context_mydna_operating_context_service__","ProductsService","kitsApi","_myDnaOperatingContextService","getKitDetails","kitTypeId","getNewHeadersJsonWithOperatingContext","513","__WEBPACK_IMPORTED_MODULE_1__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__","ValidateBarcodesService","kitBarcodesApi","getBarcodeDetails","514","MyDnaUtilityService","splitPhoneNumber","strphonenumber","country","output","PhoneNumber","substring","CountryCode","515","HealthCarePractitionersApi","healthCarePractitionersGetClinicians","doctorNameOrClinicName","partnerName","partnerReferenceId","partnerReferenceText","healthCarePractitionersGetCliniciansWithHttpInfo","516","PharmaciesApi","getPharmacies","query","bannerGroup","httpRequest","517","54","environment","parse","medicationsApiEndpoint","pharmacistsApiEndpoint","HealthCarePractitionerApiEndPoint","SelectProductsApiEndPoint","ValidateBarcodesApiEndPoint","ConsumerRegistrationApiEndPoint","CountriesApiEndPoint","enableAppConferenceModule","enableConsumerRegistrationModule","addressCaptureToken","captureSupportedCountries","captureAddressUrl","captureEmailUrl","FeatureToggleUseEmailValidatior","60","Service","url","parameters","excludeTokenInHeader","httpParams","p","additional","excludeToken","object","Put","Post","body","768","webpackEmptyContext","769","__WEBPACK_IMPORTED_MODULE_0__polyfills_ts__","__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__","__WEBPACK_IMPORTED_MODULE_2__angular_core__","__WEBPACK_IMPORTED_MODULE_3__app_app_module__","bootstrapModule","82","899","__WEBPACK_IMPORTED_MODULE_1__operators__","__WEBPACK_IMPORTED_MODULE_2_ng2_bootstrap_modal__","__WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_shared_modal_popup_modal_popup_service__","__WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_shared_spinner_spinner_service__","AppComponent","modalService","spinnerService","showSpinner","isModalShown","ngAfterViewInit","val","modalContent","spinnerContent","showModal","hideModal","autoShownModal","onHidden","toggleModal","selector","template","styles","providers","900","xsrfFactory","__WEBPACK_IMPORTED_MODULE_2__angular_http__","__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__","__WEBPACK_IMPORTED_MODULE_3__app_component__","__WEBPACK_IMPORTED_MODULE_4__core_mydna_core_module__","__WEBPACK_IMPORTED_MODULE_5__customer_registration_wizard_customer_registration_wizard_module__","__WEBPACK_IMPORTED_MODULE_6__customer_registration_wizard_shared_modal_popup_modal_popup_service__","__WEBPACK_IMPORTED_MODULE_7__customer_registration_wizard_shared_spinner_spinner_service__","__WEBPACK_IMPORTED_MODULE_8_ng2_bootstrap__","__WEBPACK_IMPORTED_MODULE_9__client_api_StorageService__","AppModule","imports","forRoot","declarations","provide","useFactory","bootstrap","901","__WEBPACK_IMPORTED_MODULE_0__ConsumerRegistrationApi__","902","__WEBPACK_IMPORTED_MODULE_1__variables__","903","904","905","__WEBPACK_IMPORTED_MODULE_1__model_models__","906","907","908","__WEBPACK_IMPORTED_MODULE_0__Countries__","__WEBPACK_IMPORTED_MODULE_1__StateProvince__","909","910","__WEBPACK_IMPORTED_MODULE_0__model_models__","911","912","913","ClinicalOrganisation","CategoryEnum","914","915","916","Customer","GenderEnum","917","918","919","920","921","922","923","924","925","ReportRecipients","ResultsExplainedByEnum","926","RequestReport","927","928","REQUEST_REPORT_BASE_PATH","929","93","__WEBPACK_IMPORTED_MODULE_0__environments_environment__","__WEBPACK_IMPORTED_MODULE_1__angular_core__","MyDnaOperatingContextService","setContextCountryCode","_countryCode","setOperatingContextHeaders","930","931","932","933","934","935","__WEBPACK_IMPORTED_MODULE_0__Country__","__WEBPACK_IMPORTED_MODULE_1__Kit__","__WEBPACK_IMPORTED_MODULE_2__Product__","__WEBPACK_IMPORTED_MODULE_3__Requirement__","936","StorageService","localStorage","setItem","removeItem","native","e","getItem","hasOwnProperty","clear","937","938","939","940","ValidatedKitBarcode","941","942","__WEBPACK_IMPORTED_MODULE_1__angular_common__","__WEBPACK_IMPORTED_MODULE_2__angular_forms__","__WEBPACK_IMPORTED_MODULE_3__angular_router__","__WEBPACK_IMPORTED_MODULE_4__toolbar_toolbar_component__","__WEBPACK_IMPORTED_MODULE_5__navbar_navbar_component__","__WEBPACK_IMPORTED_MODULE_6__page_not_found_page_not_found_component__","MyDNACoreModule","ngModule","943","__WEBPACK_IMPORTED_MODULE_1__environments_environment__","NavbarComponent","944","PageNotFoundComponent","945","ToolbarComponent","946","__WEBPACK_IMPORTED_MODULE_1__services_registration_service__","__WEBPACK_IMPORTED_MODULE_2__steps__","BreadcrumbComponent","registrationService","stepsService","filter","step","wf","947","ConfirmationStepComponent","e2eIds","948","ConsentStepComponent","isConsent","showMarketingConsent","showErrors","kitCountryIso2Code","toUpperCase","termsConditionsURL","privacyPolicyURL","consentReference","registrationWorkflow","navigate","myForm","valid","949","TermsAuConditionsComponent","950","TermsCaConditionsComponent","951","TermsCWWRConditionsComponent","952","TermsGenericConditionsComponent","953","TermsHabitConditionsComponent","954","TermsPinnacleConditionsComponent","955","TermsResearchConditionsComponent","956","TermsUkConditionsComponent","957","TermsUsaConditionsComponent","958","__WEBPACK_IMPORTED_MODULE_1__angular_forms__","__WEBPACK_IMPORTED_MODULE_2__services_registration_service__","__WEBPACK_IMPORTED_MODULE_3__models_customer_details__","__WEBPACK_IMPORTED_MODULE_4__steps__","__WEBPACK_IMPORTED_MODULE_5__shared_mydna_utility_mydna_utility_service__","__WEBPACK_IMPORTED_MODULE_6__shared_mydna_validation_mydna_validation_patterns__","__WEBPACK_IMPORTED_MODULE_7__shared_modal_popup_modal_popup_service__","__WEBPACK_IMPORTED_MODULE_8__shared_spinner_spinner_service__","__WEBPACK_IMPORTED_MODULE_9__services_identity_service__","__WEBPACK_IMPORTED_MODULE_10__services_countryCode_service__","__WEBPACK_IMPORTED_MODULE_11__environments_environment__","__WEBPACK_IMPORTED_MODULE_12_rxjs__","CustomerDetailsStepComponent","myDnaValidationPatterns","myDnaUtilityService","identityService","countryCodeService","parentFormSubmittedSubject","showCountryErrors","showStateErrors","showUsernameErrors","atLeastOneContactIsProvided","authenticationFailed","requiresLanguageSelection","requiresEthnicitySelection","requiresPatientIdentifier","mustSpecifyEthnicity","requiresRegistrationCode","requiresContactDetails","fullAddress","hideAddressFields","_isAnAddressSearchSupportedCountry","_isIndiciProduct","productConfig","buildForm","countriesServiceGetAllCountryNames","validateContactNumber","pinnacleProductType","frm","Country","kitCountry","ISO2CountryCode","isIdentityCreatedForLogin","deepTrim","obj","prop","trim","guid","s4","Math","floor","random","toString","formatPhoneNumber","checkForValidCountryEntered","checkForValidStateEntered","checkForValidAddress1Entered","checkForValidEmailEntered","Username","Password","Email","hasNonDefaultLanguagePreference","Language","shouldIncludeIdentity","StatesList","currentState","stateProvinces","stateProvince","State","code","FirstName","LastName","AddressSearchQuery","duplicatedForm","ConfirmPassword","Phone","stripLeadingZero","MobileNumber","Mobile","num","startsWith","substr","event","OnBlurUsername","usernameField","usernameDetails","usernameAlreadyExists","control","setErrors","pattern","OnChangeGender","resetPasswordAndIdentityFields","OnChangeDob","OnChangeUsername","OnChangePassword","resetIdentityFields","setValidationRules","emailPattern","usernamePattern","namePattern","phonePattern","mobilePattern","postcodePattern","passwordPattern","suburbPattern","statePattern","regCodePattern","languageFieldCheck","AllCountriesAndCodes","CountrySearchDataSource","checkForRegistrationCode","digits","sum","split","reduce","a","b","Number","checkSum","StateSearchDataSource","OnAddressChange","$event","AddressLine1","AddressLine2","Suburb","Zip","CountryPhoneCode","ISO3CountryCode","supportedCountriesArray","toLowerCase","OnEmailChange","OnEthnicityChange","specifiedEthnicityReference","ethnicityReference","endsWith","_f","_g","_h","_j","959","CustomerRegistrationWizardComponent","960","__WEBPACK_IMPORTED_MODULE_3__shared_date_dropdown_date_dropdown_module__","__WEBPACK_IMPORTED_MODULE_4__shared_mydna_utility_mydna_utility_module__","__WEBPACK_IMPORTED_MODULE_5__services_registration_service__","__WEBPACK_IMPORTED_MODULE_6__services_products_service__","__WEBPACK_IMPORTED_MODULE_7__services_validateBarcodes_service__","__WEBPACK_IMPORTED_MODULE_8__services_identity_service__","__WEBPACK_IMPORTED_MODULE_9__services_countryCode_service__","__WEBPACK_IMPORTED_MODULE_10__customer_registration_wizard_component__","__WEBPACK_IMPORTED_MODULE_11__mykit_step_mykit_step_component__","__WEBPACK_IMPORTED_MODULE_12__customer_details_step_customer_details_step_component__","__WEBPACK_IMPORTED_MODULE_13__select_reports_step_select_reports_step_component__","__WEBPACK_IMPORTED_MODULE_14__medications_step_medications_step_component__","__WEBPACK_IMPORTED_MODULE_15__my_practitioners_step_my_practitioners_step_component__","__WEBPACK_IMPORTED_MODULE_16__confirmation_step_confirmation_step_component__","__WEBPACK_IMPORTED_MODULE_17__pinnacle_confirmation_step_pinnacle_confirmation_step_component__","__WEBPACK_IMPORTED_MODULE_18__report_delivery_step_report_delivery_step_component__","__WEBPACK_IMPORTED_MODULE_19__questionnaire_step_questionnaire_step_component__","__WEBPACK_IMPORTED_MODULE_20__shared_address_capture_address_capture_component__","__WEBPACK_IMPORTED_MODULE_21__shared_email_validate_email_validate_component__","__WEBPACK_IMPORTED_MODULE_22__ng_bootstrap_ng_bootstrap__","__WEBPACK_IMPORTED_MODULE_23__mydna_medication_typeahead__","__WEBPACK_IMPORTED_MODULE_24__environments_environment__","__WEBPACK_IMPORTED_MODULE_25__mydna_medication_api__","__WEBPACK_IMPORTED_MODULE_26__healthcare_practitioner_api__","__WEBPACK_IMPORTED_MODULE_27__client_api_Service__","__WEBPACK_IMPORTED_MODULE_28__client_api_SelectProductsApi_api_KitsApi__","__WEBPACK_IMPORTED_MODULE_29__client_api_SelectProductsApi_api_ProductsApi__","__WEBPACK_IMPORTED_MODULE_30__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__","__WEBPACK_IMPORTED_MODULE_31__client_api_CountriesApi_api_CountriesApi__","__WEBPACK_IMPORTED_MODULE_32__client_api_SelectProductsApi_index__","__WEBPACK_IMPORTED_MODULE_33__client_api_ValidateBarcodesAPi_index__","__WEBPACK_IMPORTED_MODULE_34__client_api_CountriesApi_index__","__WEBPACK_IMPORTED_MODULE_35__shared_mydna_customdirectives_equal_validator_directive__","__WEBPACK_IMPORTED_MODULE_36_ng2_bootstrap__","__WEBPACK_IMPORTED_MODULE_37__client_api_RequestReportApi__","__WEBPACK_IMPORTED_MODULE_38__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__","__WEBPACK_IMPORTED_MODULE_39__client_api_ConsumerRegistrationApi__","__WEBPACK_IMPORTED_MODULE_40__consent_step_consent_step_component__","__WEBPACK_IMPORTED_MODULE_41__consent_step_terms_terms_generic_component__","__WEBPACK_IMPORTED_MODULE_42__consent_step_terms_terms_au_component__","__WEBPACK_IMPORTED_MODULE_43__consent_step_terms_terms_uk_component__","__WEBPACK_IMPORTED_MODULE_44__consent_step_terms_terms_usa_component__","__WEBPACK_IMPORTED_MODULE_45__consent_step_terms_terms_ca_component__","__WEBPACK_IMPORTED_MODULE_46__consent_step_terms_terms_cwwr_component__","__WEBPACK_IMPORTED_MODULE_47__shared_mydna_operating_context_mydna_operating_context_service__","__WEBPACK_IMPORTED_MODULE_48_ng2_completer__","__WEBPACK_IMPORTED_MODULE_49__steps__","__WEBPACK_IMPORTED_MODULE_50__breadcrumb_breadcrumb_component__","__WEBPACK_IMPORTED_MODULE_51__consent_step_terms_terms_habit_component__","__WEBPACK_IMPORTED_MODULE_52__consent_step_terms_terms_pinnacle_component__","__WEBPACK_IMPORTED_MODULE_53__consent_step_terms_terms_research_component__","CustomerRegistrationWizardModule","useValue","961","MedicationsStepComponent","showDuplicateError","isSmoker","contactText","showHint","notFoundText","placeHolder","searchCharLength","onSelect","hasMedication","selectedItem","push","preventDefault","clearInputField","med","m","Id","encapsulation","None","962","PinnacleDoctorForm","963","__WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__","__WEBPACK_IMPORTED_MODULE_1__report_delivery_option__","Registration","_venturesPartnerReferenceStrategy","_partnerReferences","patientPartnerReferenceTemplate","PartnerReference","PartnerId","partnerId","ObjectType","ethnicity","TextValue","FieldName","patientIdentifier","patientIdentifierReference","partnerReferenceDoctorForm","ventureDoctorFormTemplate_1","property","newItem","_RequestReport","_toCustomer","kitBarcodes","_toKitBarcodes","_toMedications","products","_toProducts","_toResultRecipient","paymentDetails","_toPaymentDetails","partnerReferences","_toPartnerReferences","reportDeliveryOption","_toCustomerGender","Gender","Male","Female","Other","_toCustomerPostalAddress","_postalAddress","_Address","addressLine1","addressLine2","_toCustomerContactDetails","_contactDetails","_ContactDetail","homePhone","mobilePhone","_customer","_Customer","middleName","MiddleName","dob","Dob","dateOfBirth","gender","postalAddress","contactDetails","_Identity","Preferences","language","registrationCode","RegistrationCode","barcode","_KitBarcode","_Medication","_products","prod","_Product","_toPharmacy","_pharmacy","_ClinicalOrganisationRef","_toHealthCarePractitioners","_practitioners","_doctor","_HealthcarePractitioner","_ClinicalOrganisation","doctorsId","category","Doctor","businessAddress","address","address2","postCode","businessPhone","fax","willExplainResults","willExplainResult","isReferrer","referredByDoctor","_recipient","_ResultRecipient","pharmacy","to","resultsExplainedBy","Pharmacy","HealthcarePractitioner","_paymentDetail","_PaymentDetails","transactionReference","Array","_BusinessContactDetails","964","Validator","965","__WEBPACK_IMPORTED_MODULE_3__services_pharmacies_service__","__WEBPACK_IMPORTED_MODULE_4__services_doctors_service__","__WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__","__WEBPACK_IMPORTED_MODULE_6_rxjs_add_operator_map__","__WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_debounceTime__","__WEBPACK_IMPORTED_MODULE_8_rxjs_add_operator_distinctUntilChanged__","__WEBPACK_IMPORTED_MODULE_9_rxjs_add_observable_of__","__WEBPACK_IMPORTED_MODULE_10_rxjs_add_operator_catch__","__WEBPACK_IMPORTED_MODULE_11_rxjs_add_operator_do__","__WEBPACK_IMPORTED_MODULE_12_rxjs_add_operator_switchMap__","__WEBPACK_IMPORTED_MODULE_13_ng2_bootstrap_modal__","__WEBPACK_IMPORTED_MODULE_14__shared_mydna_validation_mydna_validation_patterns__","__WEBPACK_IMPORTED_MODULE_15__models_report_delivery_option__","__WEBPACK_IMPORTED_MODULE_16__steps__","__WEBPACK_IMPORTED_MODULE_17__services_countryCode_service__","__WEBPACK_IMPORTED_MODULE_18__shared_mydna_operating_context_mydna_operating_context_service__","__WEBPACK_IMPORTED_MODULE_19__environments_environment__","__WEBPACK_IMPORTED_MODULE_20_rxjs__","__WEBPACK_IMPORTED_MODULE_21__models_pinnacleDoctorForm__","MyPractitionersStepComponent","pharmaciesService","doctorsService","ngZone","searching","searchFailed","Doctors","dietitians","doctorSearching","doctorSearchFailed","searchingTextEnabled","dietitianSearching","pinnacleDoctorForm","isPinnaclePostcodeError","isPinnacleMeds","postcodeRegex","formatter","resultFormatter","doctorFormatter","doctorResultFormatter","text$","debounceTime","distinctUntilChanged","do","term","switchMap","results","showErrorsMain","trackJs","track","searchDoctor","getDoctors","x","pharmacyModel","showPharmaciesError","doctorModel","frmDoc","isDoctorRequired","deliveredTo","searchDietitians","productDetails","canSkipDeliveryPreference","chemistWarehouse","isChemistWarehouse","ymca","isYMCA","gymDeliveryPrefs","useGymDeliveryPreferences","organisationRequired","isPinnacleOnlineMeds","organisationCopy","directToCustomerWithCopyOrg","virtualDoctor","reportDeliveringUnitMemberId","reportDeliveringUnitMemberOrganisationId","defaultDeliveryPreference","isDeliverByDoctorEnabled","isDeliverByPharmacyEnabled","isDeliverDirectToCustomerEnabled","isDeliverByPhoneEnabled","deliveryPartyTitle","longDeliveryPartyTitle","orgSearchPlaceholderText","ValidatePinnaclePostcode","myMainForm","removePharmacy","onSelectedPharmacy","item","selectDietitian","pop","onSelectedDoctor","item_1","removeDoctor","selectedDoctor","form","controls","invalid","selectReferringDoctor","indx","doc","doctors","checked","identify","showChildModal","childModal","hideChildModal","saveChildModal","clinician","validateContactDetails","changeDoctor","_selectedDoctor","selectedIndex","selectedDoctorIndex","setDeliveryPreference","match","Emulated","_k","_l","966","__WEBPACK_IMPORTED_MODULE_2__services_validateBarcodes_service__","__WEBPACK_IMPORTED_MODULE_3__shared_modal_popup_modal_popup_service__","__WEBPACK_IMPORTED_MODULE_5__shared_mydna_operating_context_mydna_operating_context_service__","__WEBPACK_IMPORTED_MODULE_6__services_countryCode_service__","MykitStepComponent","validateBarcodesService","barcodeValid","visibleerrorMessage","countryErrorMessage","errorMessage","test","response_1","formattedBarcode","FormatBarcodeForBackendSystems","ClearError","967","PinnacleConfirmationStepComponent","968","QuestionnaireStepComponent","QuestionSet","Question","answers","QuestionSkip","KeyValue","yesNoUnsure","yesNo","buildRange","buildKV","skip","args","_i","start","end","values","setAnswer","qn","answer","loc","join","qa_1","q","Answer","969","ReportDeliverStepComponent","showDropDown","isHCPAvailable","isValid","checkPharmacyData","checkHCP","selectedValue","prepareDropDown","opt","RegistrationID","Name","options","hideDropDown","handleDropDownChange","evt","handleRadioChange","970","__WEBPACK_IMPORTED_MODULE_2__services_products_service__","__WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__","__WEBPACK_IMPORTED_MODULE_4__shared_modal_popup_modal_popup_service__","__WEBPACK_IMPORTED_MODULE_5__shared_spinner_spinner_service__","SelectReportsStepComponent","productsService","reportSelected","KitDetails","SetCobrandingImageLocation","SelectProduct","isMedicationRequired","cobrandingImageLocation","971","__WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api__","__WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__","DoctorsService","healthCarePractitionerApi","972","__WEBPACK_IMPORTED_MODULE_1__client_api_Service__","__WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api_variables__","__WEBPACK_IMPORTED_MODULE_4__healthcare_practitioner_api__","__WEBPACK_IMPORTED_MODULE_5__angular_http_src_headers__","PharmaciesService","contextHeader","bannerGroupInclude","bannerGroupCode","bannerGroupExclude","bannerGroupExclusions","bannerGroupCodes","bannerGroupCodesExclude","973","DateDropDownComponent","noop","CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR","useExisting","multi","el","renderer","innerValue","onTouchedCallback","onChangeCallback","dateFormat","dayDivClass","dayClass","monthDivClass","monthClass","yearDivClass","yearClass","dayRange","monthsArray","dateFields","day","month","year","dayList","MonthList","YearList","GetDays","GetMonths","GetYears","date","enumerable","configurable","onBlur","writeValue","onModelChange","registerOnChange","fn","registerOnTouched","setCssClasses","cssArray","setElementClass","nativeElement","days","lst","mLen","currentYear","Date","getFullYear","oldestYear","changeDate","formatDate","getDate","getMonth","checkDate","OnChangeDate","newDate","dateParts","parseInt","974","__WEBPACK_IMPORTED_MODULE_3__date_dropdown_component__","DateDropDownModule","975","EqualValidatorDirective","validateEqual","reverse","validate","root","isReverse","errors","976","__WEBPACK_IMPORTED_MODULE_1__mydna_utility_service__","MyDnaUtilityModule","977","__WEBPACK_IMPORTED_MODULE_0__PharmaciesApi__","__WEBPACK_IMPORTED_MODULE_1__HealthCarePractitionersApi__","978","979","980","__WEBPACK_IMPORTED_MODULE_0__Pharmacy__","__WEBPACK_IMPORTED_MODULE_1__Clinician__","981","__WEBPACK_IMPORTED_MODULE_0_rxjs_add_observable_throw__","__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_catch__","982","__WEBPACK_IMPORTED_MODULE_2__services_address_capture_address_capture_service__","__WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_services_countryCode_service__","__WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_models_customer_details__","__WEBPACK_IMPORTED_MODULE_5__environments_environment__","__WEBPACK_IMPORTED_MODULE_6_rxjs__","AddressCaptureComponent","addressCaptureService","searchResults","searchQuery","addressCaptureOutput","showAddressErrors","showManualForm","_isSearchEnabled","_currentActiveAddressSearchElement","ngOnInit","parentFormSubmitted","CheckForValidCountryEntered","CheckForValidStateEntered","BuildForm","CountriesServiceGetAllCountryNames","EmitOutput","emit","countryNameInput","hideAddressInput","GetSearchResults","isActive","GetFormattedAddress","formatUrl","formattedResult","DecodeFormattedResponse","OnCountryChange","ClearAddressForm","OnCountrySelected","countryCodeObject","CheckIfSearchShouldAppear","isO3","setSearchCountryIso3","phoneCode","OnAddressBlur","OnStateBlur","OnCountryBlur","OnStateFocus","OnStateSelected","OnSearchHoverRecord","suggestion","OnSearchKeyDownArrowDown","searchIndex","OnSearchKeyDownArrowUp","OnSearchKeyDownEnter","ResolveSearch","OnSearchBlur","OnSearchClickedRecord","currentAddress","format","flattened","addrElement","addressLine3","locality","province","postalCode","Boolean","983","__WEBPACK_IMPORTED_MODULE_1__services_email_validate_email_validate_service__","__WEBPACK_IMPORTED_MODULE_2__customer_registration_wizard_shared_mydna_validation_mydna_validation_patterns__","__WEBPACK_IMPORTED_MODULE_3_environments_environment__","__WEBPACK_IMPORTED_MODULE_4_rxjs__","EmailValidateComponent","emailService","emailValidateOutput","verboseResponseMessage","certaintyLevel","correctionSuggestions","emailValue","_iconSources","ok","warning","loading","certaintyLevelStates","verified","undeliverable","unreachable","illegitimate","disposable","unknown","verboseResponses","mailboxDisabled","mailboxDoesNotExist","mailboxFull","syntaxFailure","roleAccount","typoDomain","localPartSpamTrap","timeout","acceptAll","relayDenied","iconSource","Validate","ValidationRequest","receivedData","VerboseOutput","Corrections","Certainty","ResetFields","984","__WEBPACK_IMPORTED_MODULE_2__environments_environment__","AddressCaptureService","Iso3CountryCode","countryIso3","addrSearchUrl","take","Auth-Token","985","EmailValidateService","emailAddress","emailValidateUrl","Timeout","Verbose","986","__WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol__","__WEBPACK_IMPORTED_MODULE_1_core_js_es6_object__","__WEBPACK_IMPORTED_MODULE_2_core_js_es6_function__","__WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int__","__WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float__","__WEBPACK_IMPORTED_MODULE_5_core_js_es6_number__","__WEBPACK_IMPORTED_MODULE_6_core_js_es6_math__","__WEBPACK_IMPORTED_MODULE_7_core_js_es6_string__","__WEBPACK_IMPORTED_MODULE_8_core_js_es6_date__","__WEBPACK_IMPORTED_MODULE_9_core_js_es6_array__","__WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp__","__WEBPACK_IMPORTED_MODULE_11_core_js_es6_map__","__WEBPACK_IMPORTED_MODULE_12_core_js_es6_set__","__WEBPACK_IMPORTED_MODULE_13_core_js_es6_reflect__","__WEBPACK_IMPORTED_MODULE_14_core_js_es7_reflect__","__WEBPACK_IMPORTED_MODULE_15_zone_js_dist_zone__"],"mappings":"AAAAA,cAAc,EAAE,IAEVC,IACA,SAASC,EAAQC,EAASC,GAEhC,YACqB,IAAIC,GAA8CD,EAAoB,GAClEE,EAAqCF,EAAoB,GACZA,GAAoBG,EAAED,EAC7DF,GAAoBI,EAAEL,EAAS,IAAK,WAAa,MAAOM,IACvF,IAAIC,GAAcC,MAAQA,KAAKD,YAAe,SAAUE,EAAYC,EAAQC,EAAKC,GAC7E,GAA2HP,GAAvHQ,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOK,OAAOC,yBAAyBR,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ACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,aAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,aAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,UAAA,IACAC,aAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,aAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,YAAA,IACAC,eAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,QAAA,IACAC,WAAA,IACAC,OAAA,IACAC,UAAA,IACAC,UAAA,IACAC,aAAA,IACAC,QAAA,IACAC,WAAA,IACAC,OAAA,IACAC,UAAA,IACAC,QAAA,IACAC,WAAA,IACAC,QAAA,IACAC,aAAA,IACAC,gBAAA,IACAC,WAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,OAAA,IACAC,YAAA,IACAC,eAAA,IACAC,UAAA,IACAC,OAAA,IACAC,UAAA,IACAC,aAAA,IACAC,gBAAA,IACAC,OAAA,IACAC,UAAA,IACAC,UAAA,IACAC,aAAA,IACAC,UAAA,IACA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ymD,MAqBvG","file":"main.1fe0b23a6090f54e967e.bundle.js","sourcesContent":["webpackJsonp([0,4],{\n\n/***/ 110:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ModalPopupService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar ModalPopupService = (function () {\r\n    function ModalPopupService() {\r\n        this.defaultContent = { title: 'Title Here', description: 'Description here' };\r\n        this.status = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"BehaviorSubject\"](false);\r\n        this.content = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"BehaviorSubject\"](this.defaultContent);\r\n    }\r\n    // or just `Subject` depending on your requirements'\r\n    ModalPopupService.prototype.show = function (title, description) {\r\n        this.status.next(true);\r\n        this.content.next({ title: title, description: description });\r\n    };\r\n    ModalPopupService.prototype.show500 = function () {\r\n        var content500 = { title: 'Error', description: \"An unexpected error has occurred. Please contact the myDNA \\n    Support Team on 1300 436 373 or help@mydna.life for further assistance.\" };\r\n        this.status.next(true);\r\n        this.content.next(content500);\r\n    };\r\n    ModalPopupService.prototype.show400 = function (data) {\r\n        var message = '';\r\n        if (data.message) {\r\n            message = data.message;\r\n        }\r\n        if (data.modelState) {\r\n            message += JSON.stringify(data.modelState);\r\n        }\r\n        var content400 = { title: 'Bad Request', description: message };\r\n        this.status.next(true);\r\n        this.content.next(content400);\r\n    };\r\n    ModalPopupService.prototype.hide = function () {\r\n        this.status.next(false);\r\n        this.content.next(this.defaultContent);\r\n    };\r\n    ModalPopupService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [])\r\n    ], ModalPopupService);\r\n    return ModalPopupService;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/modal-popup.service.js.map\n\n/***/ },\n\n/***/ 111:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return SpinnerService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar SpinnerService = (function () {\r\n    function SpinnerService() {\r\n        this.defaultContent = { displayText: \"\" };\r\n        this.status = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"BehaviorSubject\"](false);\r\n        this.content = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"BehaviorSubject\"](this.defaultContent);\r\n    }\r\n    // or just `Subject` depending on your requirements'\r\n    SpinnerService.prototype.show = function (displayText) {\r\n        if (displayText === void 0) { displayText = null; }\r\n        this.status.next(true);\r\n        var newContent = { displayText: displayText };\r\n        this.content.next(newContent);\r\n    };\r\n    SpinnerService.prototype.hide = function () {\r\n        this.status.next(false);\r\n        this.content.next(this.defaultContent);\r\n    };\r\n    SpinnerService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [])\r\n    ], SpinnerService);\r\n    return SpinnerService;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/spinner.service.js.map\n\n/***/ },\n\n/***/ 112:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Steps; });\n/* unused harmony export Step */\n/* unused harmony export StepWorkflow */\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar Steps = (function () {\r\n    function Steps() {\r\n        this.mykit = new Step(\"mykit-step\", \"Barcode\");\r\n        this.selectReports = new Step(\"select-reports-step\", \"Reports\");\r\n        this.customerDetails = new Step(\"customer-details-step\", \"Details\");\r\n        this.medications = new Step(\"medications-step\", \"Additional\");\r\n        this.myPractitioners = new Step(\"my-practitioners-step\", \"delivery\");\r\n        this.confirmation = new Step(\"confirmation-step\", \"Confirmation\", false);\r\n        this.pinnacleConfirmation = new Step(\"pinnacle-confirmation-step\", \"Confirmation\", false);\r\n        // reportDelivery = new Step('report-delivery-step', 'Delivery');\r\n        this.consent = new Step(\"consent-step\", \"Consent\");\r\n        this.questionnaire = new Step(\"questionnaire-step\", \"Questions\");\r\n        this.workflow = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"Subject\"]();\r\n        this.setWorkflow();\r\n    }\r\n    Steps.prototype.setWorkflow = function (key, productNumber) {\r\n        switch (key) {\r\n            case Steps.ChemistWarehouseWellnessRevolution:\r\n                this.steps = new StepWorkflow(Steps.ChemistWarehouseWellnessRevolution, [\r\n                    this.mykit,\r\n                    this.selectReports,\r\n                    this.consent,\r\n                    this.customerDetails,\r\n                    this.questionnaire,\r\n                    this.myPractitioners,\r\n                    this.confirmation,\r\n                ]);\r\n                break;\r\n            case Steps.FullMedication:\r\n                this.steps = new StepWorkflow(Steps.FullMedication, [\r\n                    this.mykit,\r\n                    this.selectReports,\r\n                    this.consent,\r\n                    this.customerDetails,\r\n                    this.medications,\r\n                    this.myPractitioners,\r\n                    productNumber === Steps.PinnacleProduct ? this.pinnacleConfirmation : this.confirmation,\r\n                ]);\r\n                break;\r\n            case Steps.PartialMedication:\r\n                this.steps = new StepWorkflow(Steps.PartialMedication, [\r\n                    this.mykit,\r\n                    this.selectReports,\r\n                    this.consent,\r\n                    this.customerDetails,\r\n                    this.myPractitioners,\r\n                    this.confirmation,\r\n                ]);\r\n                break;\r\n            case Steps.Wellness:\r\n            default:\r\n                this.steps = new StepWorkflow(Steps.Wellness, [\r\n                    this.mykit,\r\n                    this.selectReports,\r\n                    this.consent,\r\n                    this.customerDetails,\r\n                    this.myPractitioners,\r\n                    this.confirmation,\r\n                ]);\r\n                break;\r\n        }\r\n        this.workflow.next(this.steps);\r\n    };\r\n    Steps.prototype.getWorkflow = function () {\r\n        return this.steps;\r\n    };\r\n    Steps.prototype.getNextStep = function (currentStep) {\r\n        var curr = this.steps.steps.find(function (s) { return s.view === currentStep; });\r\n        return this.steps.steps[this.steps.steps.indexOf(curr) + 1].view;\r\n    };\r\n    Steps.ChemistWarehouseWellnessRevolution = \"CW-WR\";\r\n    Steps.FullMedication = \"medication\";\r\n    Steps.PartialMedication = \"single-medication\";\r\n    Steps.Wellness = \"wellness\";\r\n    Steps.PinnacleProduct = \"PPMR-NZ-B\";\r\n    Steps = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [])\r\n    ], Steps);\r\n    return Steps;\r\n}());\r\nvar Step = (function () {\r\n    function Step(view, label, display) {\r\n        if (display === void 0) { display = true; }\r\n        this.view = view;\r\n        this.label = label;\r\n        this.display = display;\r\n    }\r\n    return Step;\r\n}());\r\nvar StepWorkflow = (function () {\r\n    function StepWorkflow(type, steps, activeStep) {\r\n        if (activeStep === void 0) { activeStep = 3; }\r\n        this.type = type;\r\n        this.steps = steps;\r\n        this.activeStep = steps[activeStep];\r\n    }\r\n    return StepWorkflow;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/steps.js.map\n\n/***/ },\n\n/***/ 1139:\n/***/ function(module, exports, __webpack_require__) {\n\nvar map = {\n\t\"./af\": 555,\n\t\"./af.js\": 555,\n\t\"./ar\": 562,\n\t\"./ar-dz\": 556,\n\t\"./ar-dz.js\": 556,\n\t\"./ar-kw\": 557,\n\t\"./ar-kw.js\": 557,\n\t\"./ar-ly\": 558,\n\t\"./ar-ly.js\": 558,\n\t\"./ar-ma\": 559,\n\t\"./ar-ma.js\": 559,\n\t\"./ar-sa\": 560,\n\t\"./ar-sa.js\": 560,\n\t\"./ar-tn\": 561,\n\t\"./ar-tn.js\": 561,\n\t\"./ar.js\": 562,\n\t\"./az\": 563,\n\t\"./az.js\": 563,\n\t\"./be\": 564,\n\t\"./be.js\": 564,\n\t\"./bg\": 565,\n\t\"./bg.js\": 565,\n\t\"./bn\": 566,\n\t\"./bn.js\": 566,\n\t\"./bo\": 567,\n\t\"./bo.js\": 567,\n\t\"./br\": 568,\n\t\"./br.js\": 568,\n\t\"./bs\": 569,\n\t\"./bs.js\": 569,\n\t\"./ca\": 570,\n\t\"./ca.js\": 570,\n\t\"./cs\": 571,\n\t\"./cs.js\": 571,\n\t\"./cv\": 572,\n\t\"./cv.js\": 572,\n\t\"./cy\": 573,\n\t\"./cy.js\": 573,\n\t\"./da\": 574,\n\t\"./da.js\": 574,\n\t\"./de\": 577,\n\t\"./de-at\": 575,\n\t\"./de-at.js\": 575,\n\t\"./de-ch\": 576,\n\t\"./de-ch.js\": 576,\n\t\"./de.js\": 577,\n\t\"./dv\": 578,\n\t\"./dv.js\": 578,\n\t\"./el\": 579,\n\t\"./el.js\": 579,\n\t\"./en-au\": 580,\n\t\"./en-au.js\": 580,\n\t\"./en-ca\": 581,\n\t\"./en-ca.js\": 581,\n\t\"./en-gb\": 582,\n\t\"./en-gb.js\": 582,\n\t\"./en-ie\": 583,\n\t\"./en-ie.js\": 583,\n\t\"./en-nz\": 584,\n\t\"./en-nz.js\": 584,\n\t\"./eo\": 585,\n\t\"./eo.js\": 585,\n\t\"./es\": 587,\n\t\"./es-do\": 586,\n\t\"./es-do.js\": 586,\n\t\"./es.js\": 587,\n\t\"./et\": 588,\n\t\"./et.js\": 588,\n\t\"./eu\": 589,\n\t\"./eu.js\": 589,\n\t\"./fa\": 590,\n\t\"./fa.js\": 590,\n\t\"./fi\": 591,\n\t\"./fi.js\": 591,\n\t\"./fo\": 592,\n\t\"./fo.js\": 592,\n\t\"./fr\": 595,\n\t\"./fr-ca\": 593,\n\t\"./fr-ca.js\": 593,\n\t\"./fr-ch\": 594,\n\t\"./fr-ch.js\": 594,\n\t\"./fr.js\": 595,\n\t\"./fy\": 596,\n\t\"./fy.js\": 596,\n\t\"./gd\": 597,\n\t\"./gd.js\": 597,\n\t\"./gl\": 598,\n\t\"./gl.js\": 598,\n\t\"./gom-latn\": 599,\n\t\"./gom-latn.js\": 599,\n\t\"./he\": 600,\n\t\"./he.js\": 600,\n\t\"./hi\": 601,\n\t\"./hi.js\": 601,\n\t\"./hr\": 602,\n\t\"./hr.js\": 602,\n\t\"./hu\": 603,\n\t\"./hu.js\": 603,\n\t\"./hy-am\": 604,\n\t\"./hy-am.js\": 604,\n\t\"./id\": 605,\n\t\"./id.js\": 605,\n\t\"./is\": 606,\n\t\"./is.js\": 606,\n\t\"./it\": 607,\n\t\"./it.js\": 607,\n\t\"./ja\": 608,\n\t\"./ja.js\": 608,\n\t\"./jv\": 609,\n\t\"./jv.js\": 609,\n\t\"./ka\": 610,\n\t\"./ka.js\": 610,\n\t\"./kk\": 611,\n\t\"./kk.js\": 611,\n\t\"./km\": 612,\n\t\"./km.js\": 612,\n\t\"./kn\": 613,\n\t\"./kn.js\": 613,\n\t\"./ko\": 614,\n\t\"./ko.js\": 614,\n\t\"./ky\": 615,\n\t\"./ky.js\": 615,\n\t\"./lb\": 616,\n\t\"./lb.js\": 616,\n\t\"./lo\": 617,\n\t\"./lo.js\": 617,\n\t\"./lt\": 618,\n\t\"./lt.js\": 618,\n\t\"./lv\": 619,\n\t\"./lv.js\": 619,\n\t\"./me\": 620,\n\t\"./me.js\": 620,\n\t\"./mi\": 621,\n\t\"./mi.js\": 621,\n\t\"./mk\": 622,\n\t\"./mk.js\": 622,\n\t\"./ml\": 623,\n\t\"./ml.js\": 623,\n\t\"./mr\": 624,\n\t\"./mr.js\": 624,\n\t\"./ms\": 626,\n\t\"./ms-my\": 625,\n\t\"./ms-my.js\": 625,\n\t\"./ms.js\": 626,\n\t\"./my\": 627,\n\t\"./my.js\": 627,\n\t\"./nb\": 628,\n\t\"./nb.js\": 628,\n\t\"./ne\": 629,\n\t\"./ne.js\": 629,\n\t\"./nl\": 631,\n\t\"./nl-be\": 630,\n\t\"./nl-be.js\": 630,\n\t\"./nl.js\": 631,\n\t\"./nn\": 632,\n\t\"./nn.js\": 632,\n\t\"./pa-in\": 633,\n\t\"./pa-in.js\": 633,\n\t\"./pl\": 634,\n\t\"./pl.js\": 634,\n\t\"./pt\": 636,\n\t\"./pt-br\": 635,\n\t\"./pt-br.js\": 635,\n\t\"./pt.js\": 636,\n\t\"./ro\": 637,\n\t\"./ro.js\": 637,\n\t\"./ru\": 638,\n\t\"./ru.js\": 638,\n\t\"./sd\": 639,\n\t\"./sd.js\": 639,\n\t\"./se\": 640,\n\t\"./se.js\": 640,\n\t\"./si\": 641,\n\t\"./si.js\": 641,\n\t\"./sk\": 642,\n\t\"./sk.js\": 642,\n\t\"./sl\": 643,\n\t\"./sl.js\": 643,\n\t\"./sq\": 644,\n\t\"./sq.js\": 644,\n\t\"./sr\": 646,\n\t\"./sr-cyrl\": 645,\n\t\"./sr-cyrl.js\": 645,\n\t\"./sr.js\": 646,\n\t\"./ss\": 647,\n\t\"./ss.js\": 647,\n\t\"./sv\": 648,\n\t\"./sv.js\": 648,\n\t\"./sw\": 649,\n\t\"./sw.js\": 649,\n\t\"./ta\": 650,\n\t\"./ta.js\": 650,\n\t\"./te\": 651,\n\t\"./te.js\": 651,\n\t\"./tet\": 652,\n\t\"./tet.js\": 652,\n\t\"./th\": 653,\n\t\"./th.js\": 653,\n\t\"./tl-ph\": 654,\n\t\"./tl-ph.js\": 654,\n\t\"./tlh\": 655,\n\t\"./tlh.js\": 655,\n\t\"./tr\": 656,\n\t\"./tr.js\": 656,\n\t\"./tzl\": 657,\n\t\"./tzl.js\": 657,\n\t\"./tzm\": 659,\n\t\"./tzm-latn\": 658,\n\t\"./tzm-latn.js\": 658,\n\t\"./tzm.js\": 659,\n\t\"./uk\": 660,\n\t\"./uk.js\": 660,\n\t\"./ur\": 661,\n\t\"./ur.js\": 661,\n\t\"./uz\": 663,\n\t\"./uz-latn\": 662,\n\t\"./uz-latn.js\": 662,\n\t\"./uz.js\": 663,\n\t\"./vi\": 664,\n\t\"./vi.js\": 664,\n\t\"./x-pseudo\": 665,\n\t\"./x-pseudo.js\": 665,\n\t\"./yo\": 666,\n\t\"./yo.js\": 666,\n\t\"./zh-cn\": 667,\n\t\"./zh-cn.js\": 667,\n\t\"./zh-hk\": 668,\n\t\"./zh-hk.js\": 668,\n\t\"./zh-tw\": 669,\n\t\"./zh-tw.js\": 669\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 1139;\n\n\n/***/ },\n\n/***/ 1165:\n/***/ function(module, exports) {\n\nmodule.exports = \".spinner{\\r\\n\\theight:100%;\\r\\n\\tleft:0;\\r\\n\\tposition:fixed;\\r\\n\\ttop:0;\\r\\n\\twidth:100%;\\r\\n\\tz-index:20000;\\r\\n\\topacity:0.5;\\r\\n\\tbackground:transparent url(\\\"assets/images/Loader.gif\\\") no-repeat center 33%;\\r\\n}\"\n\n/***/ },\n\n/***/ 1166:\n/***/ function(module, exports) {\n\nmodule.exports = \"\\r\\n\\r\\n\"\n\n/***/ },\n\n/***/ 1167:\n/***/ function(module, exports) {\n\nmodule.exports = \"\"\n\n/***/ },\n\n/***/ 1168:\n/***/ function(module, exports) {\n\nmodule.exports = \".more{\\r\\n  background:url(\\\"./assets/svg/more.svg\\\");\\r\\n  float:right;\\r\\n  height:24px;\\r\\n  margin-top:12px;\\r\\n  width:24px;\\r\\n}\\r\\n\"\n\n/***/ },\n\n/***/ 1169:\n/***/ function(module, exports) {\n\nmodule.exports = \"\"\n\n/***/ },\n\n/***/ 1170:\n/***/ function(module, exports) {\n\nmodule.exports = \".no_bottom_margin{\\r\\n\\tmargin-bottom:0px;\\r\\n}\\r\\n\\r\\n.no_top_margin{\\r\\n\\tmargin-top:0px;\\r\\n}\\r\\n\\r\\n.div_scroll{\\r\\n\\theight:300px;\\r\\n\\toverflow-y:scroll;\\r\\n}\\r\\n\\r\\n.margin_top_10{\\r\\n\\t\\tmargin-top:10px;\\r\\n  padding:10px;\\r\\n}\\r\\n\\r\\n.div_border{\\r\\n\\tborder:1px solid gray;\\r\\n}\\r\\n\\r\\n.body_text_font_size{\\r\\n\\tfont-size:1.2em;\\r\\n}\\r\\n\\r\\n.p_margin_top{\\r\\n\\tmargin-top:0.8em;\\r\\n}\\r\\n\\r\\n.text_red{\\r\\n\\tcolor:red;\\r\\n}\\r\\n\"\n\n/***/ },\n\n/***/ 1171:\n/***/ function(module, exports) {\n\nmodule.exports = \".text-success{\\r\\n    color:#add462;\\r\\n    font-weight:bold;\\r\\n}\\r\\n\\r\\n.text-username-exists{\\r\\n    color:#006eb7;\\r\\n    padding-top:5px;\\r\\n    padding-bottom:10px;\\r\\n    display:inline-block;\\r\\n}\\r\\n\\r\\n.text-username-exists-success{\\r\\n    color:#1a952c;\\r\\n}\\r\\n\\r\\n.text-username-exists-warning{\\r\\n    color:#f04e5e;\\r\\n}\\r\\n\\r\\n.forgot-your-login-details{\\r\\n    float:right;\\r\\n    text-decoration:underline;\\r\\n    padding-top:5px;\\r\\n}\\r\\n\\r\\n.forgot-your-login-details a:visited, .forgot-your-login-details a:active{\\r\\n    color:#006eb7;\\r\\n}\\r\\n\\r\\n.pad-bottom{\\r\\n    padding-bottom:20px;\\r\\n}\\r\\n\\r\\n.form_label.required:after{\\r\\n  color:#006eb7;\\r\\n  content:'*';\\r\\n  font-size:16px;\\r\\n}\\r\\n\\r\\n.required-title{\\r\\n  color:#006eb7;\\r\\n  font-size:16px;\\r\\n}\\r\\n\\r\\n\\r\\n\"\n\n/***/ },\n\n/***/ 1172:\n/***/ function(module, exports) {\n\nmodule.exports = \".medication-list{\\r\\n    list-style:none;\\r\\n    margin-left:0px;\\r\\n}\\r\\n.dropdown-menu{ width:100%; }\\r\\n.form-control, .completer-input{ width:100% !important;}\\r\\n\\r\\n\\r\\n.form-control-feedback{\\r\\n    width:auto!important;\\r\\n    position:inherit!important;\\r\\n    text-align:justify!important;\\r\\n}\"\n\n/***/ },\n\n/***/ 1173:\n/***/ function(module, exports) {\n\nmodule.exports = \".dropdown-menu{\\r\\n     width:100%;\\r\\n   \\r\\n   }\\r\\n\\r\\n\\r\\n.form-control-feedback{\\r\\n    width:auto!important;\\r\\n    position:inherit!important;\\r\\n    text-align:justify!important;\\r\\n}\\r\\n\\r\\n.text-color-mydna{\\r\\n    color:#006eb7;\\r\\n}\\r\\n\\r\\n.modal-dialog{\\r\\n  width:100%!important;\\r\\n  height:100%!important;  \\r\\n  padding:0;\\r\\n  margin:auto auto;\\r\\n}\\r\\n\\r\\n.modal-content{\\r\\n  height:auto!important;\\r\\n  min-height:100%!important;\\r\\n  border-radius:0!important;\\r\\n}\\r\\n\\r\\n.no-left-padding{\\r\\n  padding-left:0;\\r\\n}\\r\\n.no-right-padding{\\r\\npadding-right:0;\\r\\n}\\r\\n\\r\\n.no-left-margin{\\r\\n  margin-left:0;\\r\\n}\\r\\n\\r\\n.no-right-margin{\\r\\n  margin-right:0;\\r\\n}\\r\\n\\r\\n.align-right{\\r\\n  text-align:right;\\r\\n}\\r\\n\\r\\n.tooltip_text{\\r\\n\\tcolor:#262626;\\r\\n  line-height:130%;\\r\\n  font-size:0.8em;\\r\\n  font-weight:initial;\\r\\n\\tfont-family:'Open Sans', sans-serif;\\r\\n}\\r\\n\\r\\n.doctors_table{\\r\\n\\tmargin-top:20px;\\r\\n\\tmargin-bottom:5px;\\r\\n\\twidth:100%;\\r\\n}\\r\\n.doctors_table TH{\\r\\n\\tbackground-color:#ffffff;\\r\\n\\tpadding:20px;\\r\\n\\tfont-weight:normal;\\r\\n\\tcolor:#262626;\\r\\n  line-height:130%;\\r\\n  font-size:1.1em;\\r\\n\\tfont-family:'Open Sans', sans-serif;\\r\\n\\ttext-transform:uppercase;\\r\\n\\tborder-bottom:1px #262626 solid;\\r\\n\\twhite-space:nowrap;\\r\\n\\tvertical-align:bottom;\\r\\n}\\r\\n.doctors_table TD{\\r\\n\\tbackground-color:#ebebeb;\\r\\n\\tpadding:10px;\\r\\n\\tcolor:#262626;\\r\\n  line-height:130%;\\r\\n  font-size:1.1em;\\r\\n\\tfont-family:'Open Sans', sans-serif;\\r\\n\\tvertical-align:top;\\r\\n}\\r\\n.doctors_table TD UL{\\r\\n\\tpadding-left:20px;\\r\\n}\\r\\n\\r\\n.right_float{\\r\\n  float:right;\\r\\n}\\r\\n\\r\\n.search_typeahead{\\r\\n  margin-bottom:20px;\\r\\n}\\r\\n\\r\\n.doctors_table .doctor_hide TD{\\r\\n  display:none;\\r\\n  visibility:hidden;\\r\\n}\"\n\n/***/ },\n\n/***/ 1174:\n/***/ function(module, exports) {\n\nmodule.exports = \".country_flag{\\r\\n    height:20px;\\r\\n    padding-right:15px;\\r\\n}\\r\\n\\r\\n.kits-img{\\r\\n    max-height:400px;\\r\\n    margin:auto;\\r\\n}\\r\\n\\r\\n@media (max-width: 992px){\\r\\n    .alternate_registration_link{\\r\\n        margin-bottom:0;\\r\\n    }\\r\\n\\r\\n    .order_online > .body_text{\\r\\n        padding-top:30px;\\r\\n    }\\r\\n}\\r\\n\\r\\n@media (max-width: 450px){\\r\\n    .order_online .body_text{\\r\\n        font-size:0.9em;\\r\\n        padding-top:18px;\\r\\n    }\\r\\n\\r\\n    .order_online button{\\r\\n        padding-left:15px;\\r\\n        padding-right:15px;\\r\\n    }\\r\\n}\\r\\n\"\n\n/***/ },\n\n/***/ 1175:\n/***/ function(module, exports) {\n\nmodule.exports = \"\"\n\n/***/ },\n\n/***/ 1176:\n/***/ function(module, exports) {\n\nmodule.exports = \".day-container{\\r\\n\\tfloat:left;\\r\\n\\tmargin-right:20px;\\r\\n\\tmargin-left:3px\\r\\n}\\r\\n\\r\\n.month-container{\\r\\n\\tfloat:left;\\r\\n\\tmargin-right:20px;\\r\\n}\\r\\n\\r\\n.year-container{\\r\\n\\tfloat:left;\\r\\n}\\r\\n\\r\\n\\r\\n.day-selector{\\r\\n\\tmin-width:1em;\\r\\n\\tpadding:8px 30px 8px 8px;\\r\\n\\r\\n}\\r\\n\\r\\n.month-selector{\\r\\n\\tmin-width:1em;\\r\\n    padding:8px 30px 8px 8px;\\r\\n}\\r\\n\\r\\n.year-selector{\\r\\n\\tmin-width:1em;\\r\\n    padding:8px 30px 8px 8px;\\r\\n}\\r\\n\"\n\n/***/ },\n\n/***/ 1177:\n/***/ function(module, exports) {\n\nmodule.exports = \".form_label.required:after{\\r\\n    color:#006eb7;\\r\\n    content:'*';\\r\\n    font-size:16px;\\r\\n  }\\r\\n\\r\\n#addrSearchResultsBox{\\r\\n    padding:0px 15px;\\r\\n    margin:0 auto;\\r\\n    position:absolute;\\r\\n    z-index:200;\\r\\n    margin-top:63px;\\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li{\\r\\n    list-style:none;\\r\\n    padding:5px 10px;\\r\\n    background-color:white;\\r\\n    border-left:lightgrey 1px solid;\\r\\n    border-right:lightgrey 1px solid;\\r\\n    \\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li:first-child{\\r\\n    border-top:lightgrey 1px solid;\\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li:last-child{\\r\\n    border-bottom:lightgrey 1px solid;\\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li.active{\\r\\n    background-color:#008dd0;\\r\\n    color:white;\\r\\n}\\r\\n\\r\\n#addrNoResults{\\r\\n    padding:0px 15px;\\r\\n    margin:0 auto;\\r\\n    position:absolute;\\r\\n    z-index:200;\\r\\n    margin-top:63px;\\r\\n}\\r\\n\\r\\n#addrNoResults div{\\r\\n    list-style:none;\\r\\n    padding:5px 10px;\\r\\n    background-color:white;\\r\\n    border:lightgrey 1px solid;\\r\\n}\\r\\n\\r\\n.searchField{\\r\\n    border:2px #008dd0 solid;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 991px){\\r\\n    #addrSearchResultsBox{\\r\\n        margin-top:-11px;\\r\\n    }\\r\\n    #addrNoResults{\\r\\n        margin-top:-11px;\\r\\n    }\\r\\n}\\r\\n\\r\\n\"\n\n/***/ },\n\n/***/ 1178:\n/***/ function(module, exports) {\n\nmodule.exports = \".email-icon{\\r\\n    position:absolute;\\r\\n    top:4px;\\r\\n    right:19px;\\r\\n}\\r\\n\\r\\n.form_label.required:after{\\r\\n    color:#006eb7;\\r\\n    content:'*';\\r\\n    font-size:16px;\\r\\n  }\"\n\n/***/ },\n\n/***/ 1180:\n/***/ function(module, exports) {\n\nmodule.exports = \"<sd-navbar></sd-navbar>\\r\\n<mydna-customerreg></mydna-customerreg>\\r\\n<div *ngIf=\\\"isModalShown\\\" [config]=\\\"{show:true, backdrop: 'static'}\\\" (onHidden)=\\\"onHidden()\\\" bsModal #autoShownModal=\\\"bs-modal\\\" class=\\\"modal fade\\\" tabindex=\\\"-1\\\" role=\\\"dialog\\\" aria-hidden=\\\"true\\\">\\r\\n  <div class=\\\"modal-dialog modal-sm\\\">\\r\\n    <div class=\\\"modal-content\\\">\\r\\n      <div class=\\\"modal-header\\\">\\r\\n        <h4 class=\\\"modal-title pull-left\\\">{{modalContent.title}}</h4>\\r\\n        <button type=\\\"button\\\" class=\\\"close pull-right\\\" aria-label=\\\"Close\\\" (click)=\\\"hideModal()\\\">\\r\\n          <span aria-hidden=\\\"true\\\">&times;</span>\\r\\n        </button>\\r\\n      </div>\\r\\n      <div class=\\\"modal-body\\\" [innerHTML] = modalContent.description >\\r\\n        \\r\\n      </div>\\r\\n      <div class=\\\"modal-footer\\\">\\r\\n        <button class=\\\"btn btn-primary\\\" (click)=\\\"hideModal()\\\">Close</button>\\r\\n      </div>\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\\r\\n\\r\\n<div *ngIf=\\\"showSpinner\\\" class=\\\"spinner\\\" >{{spinnerContent.displayText}}</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1181:\n/***/ function(module, exports) {\n\nmodule.exports = \"<!--<nav class=\\\"navbar navbar-default\\\">\\r\\n  <div class=\\\"container\\\">  \\r\\n    <div class=\\\"navbar-header\\\">\\r\\n      <button type=\\\"button\\\" class=\\\"navbar-toggle collapsed\\\" data-toggle=\\\"collapse\\\" data-target=\\\"#bs-example-navbar-collapse-1\\\" aria-expanded=\\\"false\\\">\\r\\n        <span class=\\\"sr-only\\\">Toggle navigation</span>\\r\\n        <span class=\\\"icon-bar\\\"></span>\\r\\n        <span class=\\\"icon-bar\\\"></span>\\r\\n        <span class=\\\"icon-bar\\\"></span>\\r\\n      </button>\\r\\n      <a class=\\\"navbar-brand\\\" href=\\\"/\\\"><img alt=\\\"myDNA\\\" src=\\\"./../../../assets/images/mydna-logo.png\\\"></a>\\r\\n      <h4  class=\\\"text-primary\\\"> APP Conference Registration</h4>      \\r\\n    </div>\\r\\n   \\r\\n    <div class=\\\"collapse navbar-collapse\\\" id=\\\"bs-example-navbar-collapse-1\\\">    \\r\\n      \\r\\n      <ul class=\\\"nav navbar-nav navbar-right\\\">\\r\\n        <li *ngIf=\\\"enableConsumerRegistrationModule\\\" ><a [routerLink]=\\\"['/customer-registration']\\\" [routerLinkActive]=\\\"['router-link-active']\\\" [routerLinkActiveOptions]=\\\"{exact:true}\\\">CUSTOMER REGISTRATION</a></li>\\r\\n         <li *ngIf=\\\"enableAppConferenceModule\\\" ><a [routerLink]=\\\"['/app-conference']\\\" [routerLinkActive]=\\\"['router-link-active']\\\" [routerLinkActiveOptions]=\\\"{exact:true}\\\">APP CONFERENCE</a></li>      \\r\\n      </ul>\\r\\n    </div>\\r\\n  </div>\\r\\n</nav>\\r\\n-->\\r\\n\"\n\n/***/ },\n\n/***/ 1182:\n/***/ function(module, exports) {\n\nmodule.exports = \"Unable to find the page you requested\"\n\n/***/ },\n\n/***/ 1183:\n/***/ function(module, exports) {\n\nmodule.exports = \"<!--<div class=\\\"container\\\">\\r\\n    <a href=\\\"/\\\"><img src=\\\"./../../../assets/images/mydna-logo.png\\\" class=\\\"logo\\\" alt=\\\"\\\" /></a>\\r\\n    <h3>APP Conference Registration </h3>\\r\\n</div>-->\\r\\n\\r\\n\"\n\n/***/ },\n\n/***/ 1184:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12 text-center top_padding_20\\\">\\r\\n            <h2 class='heading_caps page_heading'>Thank You!</h2>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12 text-center\\\">\\r\\n            <p class=\\\"body_text\\\">We are excited that you have chosen us to support you on your journey to better health.</p>\\r\\n            <p class=\\\"body_text\\\">Please ensure that you post your labelled DNA sample to us using the reply-paid envelope provided.</p>\\r\\n        </div>\\r\\n        <form class=\\\"style_radios vertical_radios\\\">\\r\\n             <input type=\\\"hidden\\\" class=\\\"tst_final_e2eIds\\\" [value]=\\\"e2eIds\\\" />\\r\\n             <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12 text-center\\\">                  \\r\\n                    <img src=\\\"assets/images/landing-page.png\\\" border=\\\"0\\\" alt=\\\"\\\" class=\\\"img-responsive image-responsive-center\\\">\\r\\n                </div>\\r\\n            </div>\\r\\n             <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12 text-center\\\">\\r\\n                <p class='body_text'></p>\\r\\n                  <p><a class=\\\"btn btn-lg empty_button button_p\\\" href=\\\"https://www.mydna.life/\\\" role=\\\"button\\\">go back to Website</a></p>\\r\\n              </div>\\r\\n            </div>\\r\\n            <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12\\\">\\r\\n                <h1 class='text_blue_underlined text-center'>IMPORTANT</h1>\\r\\n                <ul class=\\\"list_numbered body_text\\\">\\r\\n                    <li>Please remember the username and password you just created (this is how you will login to <a href=\\\"https://explore.mydna.life\\\">https://explore.mydna.life</a>)</li>\\r\\n                    <li>You will receive a \\\"Results are Ready\\\" email from <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a> in 10-15 working days from when our laboratory receives your sample</li>\\r\\n                </ul>\\r\\n                <p class=\\\"body_text margin_left_20\\\">For any issues, please email <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a></p>\\r\\n              </div>\\r\\n            </div>  \\r\\n        </form>\\r\\n    </div>\\r\\n</div>\"\n\n/***/ },\n\n/***/ 1185:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>PATIENT CONSENT FORM</h2>\\r\\n    </div>\\r\\n  </div>\\r\\n  <form name=\\\"form\\\" class=\\\"style_radios vertical_radios_small\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"body_text\\\">myDNA is an expert gene interpretation service that assesses your genetic profile and\\r\\n          produces personalised Medication, Nutrition &amp; Wellness reports. The myDNA reports provide insights that\\r\\n          enable you to make more informed health and wellness decisions.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 class='heading_small'>Before submitting your DNA sample for testing with MyDNA Life (“myDNA”) we require\\r\\n          your clear affirmative consent, which must be freely given, specific, informed and unambiguous.\\r\\n          By clicking that you consent you understand:</h4>\\r\\n        <p class=\\\"text_red\\\">You will find the consent tick box within the small window below. Please read the contents\\r\\n          before scrolling to the end to find this tick box.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <div id=\\\"scrollableDiv\\\" class=\\\"div_scroll margin_top_10 div_border\\\" [ngSwitch]=\\\"this.consentReference\\\">\\r\\n          <!-- By countries -->\\r\\n          <div *ngSwitchCase=\\\"'AU'\\\">\\r\\n            <mydna-au-terms-conditions></mydna-au-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'CA'\\\">\\r\\n            <mydna-ca-terms-conditions></mydna-ca-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'GB'\\\">\\r\\n            <mydna-uk-terms-conditions></mydna-uk-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'US'\\\">\\r\\n            <mydna-usa-terms-conditions></mydna-usa-terms-conditions>\\r\\n          </div>\\r\\n          <!-- Default -->\\r\\n          <div *ngSwitchDefault>\\r\\n            <mydna-generic-terms-conditions></mydna-generic-terms-conditions>\\r\\n          </div>\\r\\n          <!-- By product or partner -->\\r\\n          <div *ngSwitchCase=\\\"'CW-WR'\\\">\\r\\n            <mydna-cwwr-terms-conditions></mydna-cwwr-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'Habit'\\\">\\r\\n            <mydna-habit-terms-conditions></mydna-habit-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'Pinnacle'\\\">\\r\\n            <mydna-pinnacle-terms-conditions></mydna-pinnacle-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'research'\\\">\\r\\n            <mydna-research-terms-conditions></mydna-research-terms-conditions>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12 style_checkboxes horizontal_checkboxes\\\">\\r\\n            <label for=\\\"Agree\\\" class=\\\"horizontal_list_label no_bottom_margin\\\">\\r\\n              <input type=\\\"checkbox\\\" name=\\\"Agree\\\" id=\\\"Agree\\\" [(ngModel)]=\\\"isAgreedConsent\\\" checked=\\\"isAgreedConsent\\\"\\r\\n                required #Agree=\\\"ngModel\\\">\\r\\n              <span>\\r\\n                <p class=\\\"form_label horizontal_list_item no_bottom_margin body_text_font_size\\\">I understand and agree\\r\\n                  to the above terms of consent.</p>\\r\\n              </span>\\r\\n            </label>\\r\\n          </div>\\r\\n\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n    </div>\\r\\n    <div class=\\\"row margin_top_10\\\">\\r\\n      <div class=\\\"col-md-12 text-danger error_message\\\">\\r\\n        <div *ngIf=\\\"Agree && Agree.invalid && showErrors\\\">\\r\\n          <div *ngIf=\\\"Agree && Agree.errors.required\\\" class=\\\"tst_patient_consent_error\\\">Please accept patient consent,\\r\\n            by clicking the box at the end of the scrollable section</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"showMarketingConsent\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 class='heading_small'>I understand that the following are not necessary to provide the service (check the\\r\\n          applicable option).</h4>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"showMarketingConsent\\\">\\r\\n      <div class=\\\"col-md-8\\\">\\r\\n        <p class=\\\"body_text p_margin_top\\\">myDNA may contact me in the future to advise me on new information and/or new\\r\\n          products available.</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-4\\\">\\r\\n        <div>\\r\\n          <label for=\\\"consent_yes\\\" class=\\\"vertical_list_label no_top_margin\\\">\\r\\n            <input type=\\\"radio\\\" name=\\\"Consent\\\" value=\\\"true\\\" [(ngModel)]=\\\"isConsent\\\" #Consent=\\\"ngModel\\\" id=\\\"consent_yes\\\"\\r\\n              required />\\r\\n            <span>\\r\\n              <p class=\\\"form_label vertical_list_item\\\">I consent</p>\\r\\n            </span>\\r\\n          </label>\\r\\n          <label for=\\\"consent_no\\\" class=\\\"vertical_list_label\\\">\\r\\n            <input type=\\\"radio\\\" name=\\\"Consent\\\" value=\\\"false\\\" [(ngModel)]=\\\"isConsent\\\" id=\\\"consent_no\\\" required />\\r\\n            <span>\\r\\n              <p class=\\\"form_label vertical_list_item\\\">I do not consent</p>\\r\\n            </span>\\r\\n          </label>\\r\\n          <div class=\\\"col-md-12 text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Consent && Consent.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"Consent && Consent.errors.required\\\" class=\\\"tst_contact_consent_error\\\">Please select a consent\\r\\n                selection</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div>\\r\\n      <p class=\\\"body_text\\\">For further information please review the myDNA <span><a class=\\\"tst_terms_url\\\"\\r\\n            href=\\\"{{termsConditionsURL}}\\\" target=\\\"_blank\\\">terms & conditions</a></span> and <span><a\\r\\n            class=\\\"tst_privacy_url\\\" href=\\\"{{privacyPolicyURL}}\\\" target=\\\"_blank\\\">privacy policy</a></span>\\r\\n      </p>\\r\\n    </div>\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\"\n\n/***/ },\n\n/***/ 1186:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>Test details</h2>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"body_text\\\">Please provide the details of who is being tested.</p>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"required-title\\\">* Mandatory fields</p>\\r\\n    </div>\\r\\n  </div>\\r\\n  <form name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n    <!--<pre>form value : {{f.value | json}}</pre>-->\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h3 class='heading_normal'>Personal details</h3>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"FirstName.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">First name</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input class=\\\"form-control textbox\\\" type=\\\"text\\\" name=\\\"FirstName\\\" id=\\\"FirstName\\\" [(ngModel)]=\\\"frm.FirstName\\\"\\r\\n          required maxlength=\\\"20\\\" #FirstName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"First name\\\">\\r\\n        <div *ngIf=\\\"FirstName.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"FirstName.errors.required\\\" class=\\\"tst_missing_first_name\\\">Please enter a first name</div>\\r\\n          <div *ngIf=\\\"FirstName.errors.pattern\\\" class=\\\"tst_invalid_first_name\\\">Please enter a valid first name</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Middle Name</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"MiddleName\\\" [(ngModel)]=\\\"frm.MiddleName\\\" id=\\\"MiddleName\\\"\\r\\n          maxlength=\\\"20\\\" #MiddleName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"Middle Name\\\" />\\r\\n        <div *ngIf=\\\"MiddleName.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"MiddleName.errors.required\\\" class=\\\"tst_missing_middle_name\\\">Please enter a middle name</div>\\r\\n          <div *ngIf=\\\"MiddleName.errors.pattern\\\" class=\\\"tst_invalid_middle_name\\\">Please enter a valid middle name </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"LastName.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Last name</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"LastName\\\" id=\\\"LastName\\\" [(ngModel)]=\\\"frm.LastName\\\"\\r\\n          required maxlength=\\\"20\\\" #LastName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"Last name\\\" />\\r\\n        <div *ngIf=\\\"LastName.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"LastName.errors.required\\\" class=\\\"tst_missing_last_name\\\">Please enter a last name</div>\\r\\n          <div *ngIf=\\\"LastName.errors.pattern\\\" class=\\\"tst_invalid_last_name\\\">Please enter a valid last name</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"dateDropDown.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Date of birth</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <div>\\r\\n          <date-dropdown name=\\\"dateDropDown\\\" [(ngModel)]=\\\"frm.Dob\\\" [dateFormat]=\\\"'dd/MM/yyyy'\\\" [required]=\\\"true\\\"\\r\\n            #dateDropDown=\\\"ngModel\\\" (change)=\\\"OnChangeDob()\\\" (keyup)=\\\"OnChangeDob()\\\"></date-dropdown>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\"></div>\\r\\n      <div *ngIf=\\\"dateDropDown.invalid && showErrors\\\" class=\\\"text-danger error_message col-md-12\\\">\\r\\n        <div *ngIf=\\\"dateDropDown.errors.required\\\" class=\\\"tst_missing_dob\\\">Please enter a date of birth</div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Gender</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12 style_radios horizontal_radios\\\">\\r\\n        <label for=\\\"gender_type_1\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Gender\\\" value=\\\"M\\\" [(ngModel)]=\\\"frm.Gender\\\" #Gender=\\\"ngModel\\\" id=\\\"gender_type_1\\\"\\r\\n            required (change)=\\\"OnChangeGender()\\\" (keyup)=\\\"OnChangeGender()\\\" />\\r\\n          <span>\\r\\n            <p class=\\\"form_label horizontal_list_item\\\">Male</p>\\r\\n          </span>\\r\\n        </label>\\r\\n        <label for=\\\"gender_type_2\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Gender\\\" value=\\\"F\\\" [(ngModel)]=\\\"frm.Gender\\\" id=\\\"gender_type_2\\\" required\\r\\n            (change)=\\\"OnChangeGender()\\\" (keyup)=\\\"OnChangeGender()\\\" />\\r\\n          <span>\\r\\n            <p class=\\\"form_label horizontal_list_item\\\">Female</p>\\r\\n          </span>\\r\\n        </label>\\r\\n        <label for=\\\"gender_type_3\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Gender\\\" value=\\\"O\\\" [(ngModel)]=\\\"frm.Gender\\\" id=\\\"gender_type_3\\\" required\\r\\n            (change)=\\\"OnChangeGender()\\\" (keyup)=\\\"OnChangeGender()\\\" />\\r\\n          <span>\\r\\n            <p class=\\\"form_label horizontal_list_item\\\">Other/Unspecified </p>\\r\\n          </span>\\r\\n        </label>\\r\\n        <div *ngIf=\\\"Gender.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"Gender.errors.required\\\" class=\\\"tst_missing_gender\\\">Please select a gender</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"requiresPatientIdentifier\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Patient Identifier (NHI)</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"PatientIdentifier\\\" id=\\\"PatientIdentifier\\\"\\r\\n          [(ngModel)]=\\\"frm.patientIdentifierReference\\\" #PatientIdentifier=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n          placeholder=\\\"Patient Identifier (NHI)\\\" />\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"requiresEthnicitySelection\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Ethnicity</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <select class=\\\"form-control selectbox textbox\\\" id=\\\"Ethnicity\\\" name=\\\"Ethnicity\\\"\\r\\n          [(ngModel)]=\\\"frm.ethnicityReference\\\" (change)=\\\"OnEthnicityChange()\\\">\\r\\n          <option [ngValue]=\\\"undefined\\\" disabled selected>Select</option>\\r\\n          <option value=\\\"African\\\">African</option>\\r\\n          <option value=\\\"Asian\\\">Asian</option>\\r\\n          <option value=\\\"Chinese\\\">Chinese</option>\\r\\n          <option value=\\\"Cook Island Maori\\\">Cook Island Maori</option>\\r\\n          <option value=\\\"European\\\">European</option>\\r\\n          <option value=\\\"Fijian\\\">Fijian</option>\\r\\n          <option value=\\\"Indian\\\">Indian</option>\\r\\n          <option value=\\\"Latin American\\\">Latin American</option>\\r\\n          <option value=\\\"Maori – NZ\\\">Maori – NZ</option>\\r\\n          <option value=\\\"Middle Eastern\\\">Middle Eastern</option>\\r\\n          <option value=\\\"New Zealand European\\\">New Zealand European</option>\\r\\n          <option value=\\\"Niuean\\\">Niuean</option>\\r\\n          <option value=\\\"Other Asian\\\">Other Asian</option>\\r\\n          <option value=\\\"Other Pacific Peoples -\\\">Other Pacific Peoples - specify</option>\\r\\n          <option value=\\\"Other European -\\\">Other European - specify</option>\\r\\n          <option value=\\\"Other Ethnicity -\\\">Other Ethnicity - specify</option>\\r\\n          <option value=\\\"Samoan\\\">Samoan</option>\\r\\n          <option value=\\\"Southeast Asian\\\">Southeast Asian</option>\\r\\n          <option value=\\\"Tokelauan\\\">Tokelauan</option>\\r\\n          <option value=\\\"Tongan\\\">Tongan</option>\\r\\n        </select>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"mustSpecifyEthnicity\\\" [class.has-error]=\\\"SpecifiedEthnicity.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Specify Ethnicity</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"SpecifiedEthnicity\\\" id=\\\"SpecifiedEthnicity\\\"\\r\\n          [(ngModel)]=\\\"frm.specifiedEthnicityReference\\\" #SpecifiedEthnicity=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n          placeholder=\\\"Specify Ethnicity\\\" required />\\r\\n        <div *ngIf=\\\"SpecifiedEthnicity.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div>Please specify your ethnicity</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div *ngIf=\\\"requiresRegistrationCode\\\">\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"RegistrationCode.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label required\\\">Registration Code</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <input class=\\\"form-control textbox\\\" type=\\\"number\\\" name=\\\"RegistrationCode\\\" id=\\\"RegistrationCode\\\"\\r\\n            [(ngModel)]=\\\"frm.RegistrationCode\\\" required maxLength = \\\"8\\\" #RegistrationCode=\\\"ngModel\\\" [pattern]=\\\"regCodePattern\\\"\\r\\n            placeholder=\\\"Registration code\\\" (change)=\\\"checkForRegistrationCode($event)\\\"\\r\\n            oninput=\\\"javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);\\\" >\\r\\n          <div *ngIf=\\\"RegistrationCode.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"RegistrationCode.errors.required\\\" class=\\\"tst_missing_registration_code\\\">Please enter a registration\\r\\n              code</div>\\r\\n            <div *ngIf=\\\"RegistrationCode.errors.pattern\\\" class=\\\"tst_invalid_registration_code\\\">Please enter a valid\\r\\n              registration code</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div *ngIf=\\\"requiresContactDetails\\\">\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>Contact details</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <app-address-capture [inputCountry]=\\\"frm.Country\\\" [inputHideAddress]=\\\"hideAddressFields\\\"\\r\\n        (addressCaptureOutput)=\\\"OnAddressChange($event)\\\" [parentFormSubmitted]=\\\"parentFormSubmittedSubject\\\">\\r\\n      </app-address-capture>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"MobileNumber.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label required\\\">Mobile</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group\\\">\\r\\n            <span class=\\\"input-group-addon textbox_prompt\\\">{{CountryCode}}</span>\\r\\n            <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"MobileNumber\\\" id=\\\"MobileNumber\\\"\\r\\n              [(ngModel)]=\\\"frm.MobileNumber\\\" [pattern]=\\\"mobilePattern\\\" #MobileNumber=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n              (keyup)=\\\"validateContactNumber($event)\\\" [required]=\\\"!atLeastOneContactIsProvided\\\"\\r\\n              (change)=\\\"validateContactNumber($event)\\\" placeholder=\\\"Mobile\\\" />\\r\\n          </div>\\r\\n          <div *ngIf=\\\"MobileNumber.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"MobileNumber.errors.pattern\\\" class=\\\"tst_invalid_mobile\\\">Please enter a valid mobile number</div>\\r\\n            <div *ngIf=\\\"MobileNumber.errors.required\\\" class=\\\"tst_missing_mobile\\\">Please enter either the phone number or\\r\\n              mobile number</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"PhoneNumber.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Phone</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group\\\">\\r\\n            <span class=\\\"input-group-addon textbox_prompt\\\">{{CountryCode}}</span>\\r\\n            <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"PhoneNumber\\\" id=\\\"PhoneNumber\\\"\\r\\n              [(ngModel)]=\\\"frm.PhoneNumber\\\" [pattern]=\\\"phonePattern\\\" #PhoneNumber=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n              [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactNumber($event)\\\"\\r\\n              (change)=\\\"validateContactNumber($event)\\\" placeholder=\\\"Phone\\\" />\\r\\n          </div>\\r\\n          <div *ngIf=\\\"PhoneNumber.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"PhoneNumber.errors.pattern\\\" class=\\\"tst_invalid_phone\\\">Please enter a valid phone number</div>\\r\\n            <div *ngIf=\\\"PhoneNumber.errors.required\\\" class=\\\"tst_missing_phone\\\">Please enter either the phone number or\\r\\n              mobile number</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <app-email-validate (emailValidateOutput)=\\\"OnEmailChange($event)\\\"\\r\\n        [parentFormSubmitted]=\\\"parentFormSubmittedSubject\\\"></app-email-validate>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"!frm.Language && showErrors\\\" *ngIf=\\\"skipIdentity && requiresLanguageSelection\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Language</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <select class=\\\"form-control selectbox\\\" id=\\\"ddlLang2\\\" name=\\\"ddlLang2\\\" [(ngModel)]=\\\"frm.Language\\\" required>\\r\\n            <option [ngValue]=\\\"undefined\\\" disabled selected>Select</option>\\r\\n            <option value=\\\"en-ca\\\">English</option>\\r\\n            <option value=\\\"fr-ca\\\">French</option>\\r\\n          </select>\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"!frm.Language && showErrors\\\">Please Select Language</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div *ngIf=\\\"!skipIdentity\\\">\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>myDNA Explore Portal Account Details</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"heading_extra_small\\\">New to myDNA?</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"body_text_small\\\">Choose a username that contains only letters and numbers, or use your email\\r\\n            address.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"heading_extra_small\\\">Already Registered?</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"body_text_small\\\">If you are an existing user, please enter your username below.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"heading_extra_small\\\">Registering on behalf of someone else?</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row pad-bottom\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"body_text_small\\\">If you have an existing account but are registering on behalf of someone else, you\\r\\n            will need to create a new username and password below.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"!frm.Language && showErrors\\\" *ngIf=\\\"requiresLanguageSelection\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Language</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <select class=\\\"form-control selectbox\\\" id=\\\"ddlLang\\\" name=\\\"ddlLang\\\" [(ngModel)]=\\\"frm.Language\\\" required>\\r\\n            <option [ngValue]=\\\"undefined\\\" disabled selected>Select</option>\\r\\n            <option value=\\\"en-CA\\\">English</option>\\r\\n            <option value=\\\"fr-CA\\\">French</option>\\r\\n          </select>\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"!frm.Language && showErrors\\\">Please Select Language</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"Username.invalid && (showErrors || showUsernameErrors)\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Username</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Username\\\" id=\\\"Username\\\" [(ngModel)]=\\\"frm.Username\\\"\\r\\n            required minlength=\\\"4\\\" maxlength=\\\"50\\\" [pattern]=\\\"usernamePattern\\\" placeholder=\\\"Insert username\\\"\\r\\n            data-lpignore=\\\"true\\\" autocomplete=\\\"off\\\" #Username=\\\"ngModel\\\" (change)=\\\"OnChangeUsername()\\\"\\r\\n            (keyup)=\\\"OnChangeUsername()\\\" (blur)=\\\"OnBlurUsername(Username)\\\" />\\r\\n\\r\\n          <p class=\\\"body_text_small forgot-your-login-details\\\"><a tabindex=\\\"-1\\\"\\r\\n              href=\\\"https://explore.mydna.life/#/acctmgmt/forgotpassword\\\" target=\\\"_blank\\\">Forgot your login details?</a>\\r\\n          </p>\\r\\n          <div *ngIf=\\\"Username.invalid && (showErrors || showUsernameErrors)\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Username.errors.required\\\" class=\\\"tst_missing_username\\\">Please enter a username</div>\\r\\n            <div *ngIf=\\\"Username.errors.pattern\\\" class=\\\"tst_invalid_username\\\">Only alphanumeric characters with one\\r\\n              special character [.@_-] OR a valid email is allowed</div>\\r\\n            <div *ngIf=\\\"Username.errors.minlength\\\" class=\\\"tst_username_too_short\\\">Username must be at least 4 characters\\r\\n              long</div>\\r\\n          </div>\\r\\n          <div *ngIf=\\\"usernameAlreadyExists && !isIdentityCreatedForLogin()\\\"\\r\\n            class=\\\"text-username-exists tst_username_exists\\\">\\r\\n            <span class=\\\"text-username-exists-success\\\">This username already exists.</span> Please enter your password\\r\\n            below<br>\\r\\n            <span class=\\\"text-username-exists-warning\\\">If you are a new user then please choose a different\\r\\n              username</span>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Password</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\" *ngIf=\\\"!usernameAlreadyExists\\\" [class.has-error]=\\\"showErrors && Password.invalid\\\">\\r\\n          <input type=\\\"password\\\" class=\\\"form-control textbox\\\" name=\\\"Password\\\" id=\\\"Password\\\" [(ngModel)]=\\\"frm.Password\\\"\\r\\n            minlength=\\\"8\\\" maxlength=\\\"15\\\" required #Password=\\\"ngModel\\\" validateEqual=\\\"ConfirmPassword\\\" reverse=\\\"true\\\"\\r\\n            placeholder=\\\"Insert password\\\" data-lpignore=\\\"true\\\" autocomplete=\\\"off\\\" (change)=\\\"OnChangePassword()\\\"\\r\\n            (keyup)=\\\"OnChangePassword()\\\" [pattern]=\\\"passwordPattern\\\" [readonly]=\\\"isIdentityCreatedForLogin()\\\" />\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Password.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"Password.errors.required\\\" class=\\\"tst_missing_password\\\">Please enter a password</div>\\r\\n              <div *ngIf=\\\"Password.errors.pattern\\\" class=\\\"tst_invalid_password\\\">Please create a password between 8-15\\r\\n                characters. Passwords must include at least 1 upper case letter,\\r\\n                1 lower case letter, 1 number and 1 special character\\r\\n                (!@#$%^&amp;*()_+-=&lt;&gt;?:\\\"&#123;&#125;[];',./|\\\\~`).</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\" *ngIf=\\\"usernameAlreadyExists\\\" [class.has-error]=\\\"showErrors && Password.invalid\\\">\\r\\n          <input type=\\\"password\\\" class=\\\"form-control textbox\\\" name=\\\"Password\\\" [(ngModel)]=\\\"frm.Password\\\" minlength=\\\"6\\\"\\r\\n            maxlength=\\\"50\\\" required #Password=\\\"ngModel\\\" placeholder=\\\"Enter password\\\" autocomplete=\\\"off\\\"\\r\\n            data-lpignore=\\\"true\\\" (change)=\\\"OnChangePassword()\\\" (keyup)=\\\"OnChangePassword()\\\"\\r\\n            [readonly]=\\\"isIdentityCreatedForLogin()\\\" />\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Password.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"Password.errors.required\\\" class=\\\"tst_missing_password\\\">Please enter the password for the\\r\\n                username entered above</div>\\r\\n              <div *ngIf=\\\"Password.errors.minlength\\\" class=\\\"tst_password_too_short\\\">Password must be at least 6\\r\\n                characters.</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"!usernameAlreadyExists\\\"\\r\\n        [class.has-error]=\\\"ConfirmPassword !== null && ConfirmPassword.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Confirm Password</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <input type=\\\"password\\\" class=\\\"form-control textbox\\\" name=\\\"ConfirmPassword\\\" id=\\\"ConfirmPassword\\\"\\r\\n            [(ngModel)]=\\\"frm.ConfirmPassword\\\" autocomplete=\\\"off\\\" data-lpignore=\\\"true\\\" required minlength=\\\"8\\\"\\r\\n            maxlength=\\\"15\\\" #ConfirmPassword=\\\"ngModel\\\" validateEqual=\\\"Password\\\" reverse=\\\"false\\\" data-lpignore=\\\"true\\\"\\r\\n            autocomplete=\\\"off\\\" placeholder=\\\"Re-enter password \\\" [pattern]=\\\"passwordPattern\\\"\\r\\n            [readonly]=\\\"isIdentityCreatedForLogin()\\\" />\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"ConfirmPassword.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"ConfirmPassword.errors.required\\\" class=\\\"tst_missing_confirm_password\\\">Please enter a confirm\\r\\n                password</div>\\r\\n              <div *ngIf=\\\"ConfirmPassword.errors.pattern\\\" class=\\\"tst_invalid_confirm_password\\\">Please create a password\\r\\n                between 8-15 characters. Passwords must include at least 1 upper case letter,\\r\\n                1 lower case letter and 1 number. </div>\\r\\n              <div\\r\\n                *ngIf=\\\"ConfirmPassword.errors.validateEqual&&(!ConfirmPassword.errors.pattern&&!ConfirmPassword.errors.required)\\\"\\r\\n                class=\\\"tst_passwords_do_not_match\\\">Passwords do not match</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isIdentityCreatedForLogin()\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"text-success tst_username_created\\\">Your username and password has been created.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\"\n\n/***/ },\n\n/***/ 1187:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-4 logo_bar pull-left\\\">\\r\\n            <span class=\\\"logo_center\\\"></span><img src=\\\"assets/images/mydna-logo.png\\\" border=\\\"0\\\" alt=\\\"\\\">\\r\\n        </div>\\r\\n        <div *ngIf=\\\"registrationService.data.cobrandingImageLocation != null\\\" class=\\\"col-md-4 logo_bar pull-left\\\">\\r\\n            <span class=\\\"logo_center\\\"></span><img class=\\\"cobrand-image\\\" src=\\\"{{registrationService.data.cobrandingImageLocation}}\\\" border=\\\"0\\\" alt=\\\"\\\">\\r\\n        </div>\\r\\n    </div>\\r\\n</div>\\r\\n\\r\\n<form name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\" class=\\\"form-horizontal\\\">\\r\\n    <div>\\r\\n        <mydna-customerreg-breadcrumb></mydna-customerreg-breadcrumb>\\r\\n        <mydna-customerreg-mykit-step *ngIf=\\\"currentStep === 'mykit-step'\\\"></mydna-customerreg-mykit-step>\\r\\n        <mydna-customerreg-consent-step *ngIf=\\\"currentStep === 'consent-step'\\\"></mydna-customerreg-consent-step>\\r\\n        <mydna-customerreg-customer-details-step *ngIf=\\\"currentStep === 'customer-details-step'\\\"></mydna-customerreg-customer-details-step>\\r\\n        <mydna-customerreg-select-reports-step *ngIf=\\\"currentStep === 'select-reports-step'\\\"></mydna-customerreg-select-reports-step>\\r\\n        <mydna-customerreg-medications-step *ngIf=\\\"currentStep === 'medications-step'\\\"></mydna-customerreg-medications-step>\\r\\n        <mydna-customerreg-my-practitioners-step *ngIf=\\\"currentStep === 'my-practitioners-step'\\\"></mydna-customerreg-my-practitioners-step>\\r\\n        <mydna-customerreg-confirmation-step *ngIf=\\\"currentStep === 'confirmation-step'\\\"></mydna-customerreg-confirmation-step>\\r\\n        <mydna-customerreg-pinnacle-confirmation-step *ngIf=\\\"currentStep === 'pinnacle-confirmation-step'\\\"></mydna-customerreg-pinnacle-confirmation-step>\\r\\n        <mydna-customerreg-report-delivery-step *ngIf=\\\"currentStep === 'report-delivery-step'\\\"></mydna-customerreg-report-delivery-step>\\r\\n        <mydna-customerreg-questionnaire-step *ngIf=\\\"currentStep === 'questionnaire-step'\\\"></mydna-customerreg-questionnaire-step>\\r\\n    </div>\\r\\n</form>\\r\\n<div id=\\\"disable-shield\\\" class=\\\"{{disableClass}}\\\"></div>\\r\\n\"\n\n/***/ },\n\n/***/ 1188:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>ADDITIONAL DETAILS</h2>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"body_text\\\">To assist us in creating your personalised report, please provide additional details. </p>\\r\\n    </div>\\r\\n  </div>\\r\\n  <form class=\\\"style_radios horizontal_radios\\\"  name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h3 class='heading_normal'>Add your medications</h3>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"body_text\\\">Add any currently prescribed medications for your report. If you would like to further clarify whether your medications\\r\\n          are covered {{contactText}}.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12 no_right_padding\\\">\\r\\n        <medication-typeahead (onSelection)=\\\"onSelect($event)\\\" [config]=\\\"config\\\"></medication-typeahead>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"_medications.length>0\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <div class=\\\"table-responsive\\\">\\r\\n          <table class=\\\"medications_table\\\">\\r\\n            <colgroup>\\r\\n              <col class=\\\"col-md-3\\\">\\r\\n              <col class=\\\"col-md-8\\\">\\r\\n              <col class=\\\"col-md-1\\\">\\r\\n            </colgroup>\\r\\n            <thead>\\r\\n            <tr>\\r\\n              <th>Medication</th>\\r\\n              <th>Common Uses</th>\\r\\n              <th></th>\\r\\n            </tr>\\r\\n            </thead>\\r\\n            <tbody>\\r\\n            <tr *ngFor=\\\"let med of _medications; let i = index\\\">\\r\\n\\r\\n              <td>{{med.Name}}</td>\\r\\n              <td>\\r\\n                <ul class=\\\"medication-list\\\">\\r\\n                  <li *ngFor=\\\"let treat of med.CommonUsage.ForTreatmentOf\\\">\\r\\n                    For treatment of {{treat}}\\r\\n                  </li>\\r\\n                </ul>\\r\\n              </td>\\r\\n              <td>\\r\\n                <div class=\\\"remove_button\\\" (click)=\\\"removeItem(i)\\\"></div>\\r\\n              </td>\\r\\n            </tr>\\r\\n            </tbody>\\r\\n          </table>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h3 class='heading_normal'>Are you a smoker?</h3>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"body_text\\\">Smoking can affect the way you break down certain medications.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <label for=\\\"smoker_yes\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Smoker\\\" value=\\\"true\\\" [(ngModel)]=\\\"isSmoker\\\" #Smoker=\\\"ngModel\\\" id=\\\"smoker_yes\\\" required/>\\r\\n          <span>\\r\\n\\t\\t        \\t<p class=\\\"form_label horizontal_list_item\\\">Yes</p>\\r\\n\\t\\t\\t\\t\\t\\t</span>\\r\\n        </label>\\r\\n        <label for=\\\"smoker_no\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Smoker\\\" value=\\\"false\\\" [(ngModel)]=\\\"isSmoker\\\"  id=\\\"smoker_no\\\" required/>\\r\\n          <span>\\r\\n\\t\\t        \\t<p class=\\\"form_label horizontal_list_item\\\">No</p>\\r\\n\\t\\t\\t\\t\\t\\t</span>\\r\\n        </label>\\r\\n        <div class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"Smoker.invalid && showErrors\\\">\\r\\n            <div *ngIf=\\\"Smoker.errors.required\\\">Please indicate if you are a smoker</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1189:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\" *ngIf=\\\"unitId\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h4 class='heading_caps page_heading'>Report Delivery</h4>\\r\\n      <h3 class='heading_normal'>Select your dietitian</h3>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <div *ngIf=\\\"dietitianSearching\\\">Searching...</div>\\r\\n    </div>\\r\\n    <form class=\\\"style_radios vertical_radios\\\" #f1=\\\"ngForm\\\">\\r\\n      <div class=\\\"col-md-12\\\" *ngFor=\\\"let d of dietitians\\\">\\r\\n        <label (click)=\\\"selectDietitian(d)\\\" class=\\\"vertical_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"dietitian\\\" required>\\r\\n          <span><p class=\\\"heading_normal\\\">{{d.firstName}} {{d.lastName}} - {{d.clinicName}}</p></span>\\r\\n        </label>\\r\\n      </div>\\r\\n      <div *ngIf=\\\"showErrorsMain && Doctors.length===0\\\" class=\\\"text-danger error_message\\\">\\r\\n        <div class=\\\"tst_select_pharmacy_required\\\">\\r\\n          <div>Please select a dietitian from the list above.</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </form>\\r\\n  </div>\\r\\n</div>\\r\\n\\r\\n<div class=\\\"container\\\" *ngIf=\\\"isPinnacleOnlineMeds\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 class='heading_caps page_heading'>Report Delivery</h4>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row margin-bottom30\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n          <p class='body_text'>Your results will be delivered to a New Zealand based Ventures Doctor.\\r\\n              <br><br>\\r\\n              Ventures will contact you once your results are available to provide you with a detailed consultation explaining your results\\r\\n              <br><br>\\r\\n              If you wish to add your GP’s name to your file please provide it below.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n      <form class=\\\"style_radios vertical_radios margin-bottom30\\\" #f1=\\\"ngForm\\\">\\r\\n        <div class=\\\"row\\\">\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <p class=\\\"form_label\\\">Name</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"100\\\" placeholder=\\\"Name\\\" (input)=\\\"pinnacleDoctorForm.gpName = $event.target.value\\\">\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\">\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <p class=\\\"form_label\\\">Clinic Name</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"100\\\" placeholder=\\\"Clinic Name\\\" (input)=\\\"pinnacleDoctorForm.clinicName = $event.target.value\\\">\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\">\\r\\n          <div class=\\\"col-md-6\\\">\\r\\n            <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Address</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"200\\\" placeholder=\\\"Address\\\" (input)=\\\"pinnacleDoctorForm.address = $event.target.value\\\">\\r\\n                </div>\\r\\n            </div>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-4\\\">\\r\\n            <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                    <p class=\\\"form_label\\\">Suburb</p>\\r\\n                  </div>\\r\\n                  <div class=\\\"col-md-12\\\">\\r\\n                    <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"100\\\" placeholder=\\\"Suburb\\\" (input)=\\\"pinnacleDoctorForm.suburb = $event.target.value\\\">\\r\\n                  </div>\\r\\n            </div>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-2\\\">\\r\\n            <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Postcode</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input class=\\\"form-control textbox\\\" [class.has-error]=\\\"isPinnaclePostcodeError\\\" type=\\\"text\\\" maxlength=\\\"4\\\" placeholder=\\\"Postcode\\\" (keyup)=\\\"pinnacleDoctorForm.postcode = $event.target.value;ValidatePinnaclePostcode()\\\" >\\r\\n                </div>\\r\\n                <div class=\\\"error_message\\\" *ngIf=\\\"isPinnaclePostcodeError\\\">Postcode is invalid</div>\\r\\n              </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </form>\\r\\n  </div>\\r\\n  \\r\\n\\r\\n<div class=\\\"container\\\" *ngIf=\\\"!unitId && !isPinnacleOnlineMeds\\\">\\r\\n  <div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 *ngIf=\\\"!chemistWarehouse && !gymDeliveryPrefs\\\" class='heading_caps page_heading'>Report Delivery</h4>\\r\\n        <h4 *ngIf=\\\"chemistWarehouse || gymDeliveryPrefs\\\" class='heading_caps page_heading'>Where did you buy/receive your kit?</h4>\\r\\n        <div *ngIf=\\\"isDeliverByDoctorEnabled || isDeliverByPharmacyEnabled || chemistWarehouse || gymDeliveryPrefs\\\">\\r\\n          <p class='body_text' *ngIf=\\\"!chemistWarehouse && !gymDeliveryPrefs\\\">Your results will be explained to you during a consultation with your healthcare professional.</p>\\r\\n          \\r\\n          <p class='body_text' *ngIf=\\\"isDeliverByDoctorEnabled && isDeliverByPharmacyEnabled && !gymDeliveryPrefs\\\">Please add your doctor(s) and healthcare professional's details below and select who you would like to deliver your results to you.</p>\\r\\n          <p class='body_text' *ngIf=\\\"isDeliverByDoctorEnabled && !isDeliverByPharmacyEnabled && !gymDeliveryPrefs\\\">Please add your doctor(s) details below and select who you would like to deliver your results to you.</p>\\r\\n          <p class='body_text' *ngIf=\\\"!isDeliverByDoctorEnabled && isDeliverByPharmacyEnabled && !gymDeliveryPrefs\\\">Please add your healthcare professional's details below and select who you would like to deliver your results to you.</p>\\r\\n          \\r\\n          <p class='body_text' *ngIf=\\\"!isDeliverByDoctorEnabled && isDeliverDirectToCustomerEnabled && chemistWarehouse\\\">Which Chemist Warehouse did you purchase your kit from?</p>\\r\\n          <p class='body_text' *ngIf=\\\"gymDeliveryPrefs\\\">Which {{deliveryPartyTitle}} did you purchase your kit from?</p>\\r\\n          \\r\\n          <p class='body_text' *ngIf=\\\"!chemistWarehouse && !gymDeliveryPrefs\\\">Note: All healthcare professionals added will receive a copy of your results.</p>\\r\\n        </div>\\r\\n        <div *ngIf=\\\"organisationCopy\\\">\\r\\n          <p class='body_text'>When ready, both you and your {{longDeliveryPartyTitle}} will receive your DNA Vitamins results. All you need to do is head in-store and the {{deliveryPartyTitle}} can explain your DNA results and help you decide how to turn your insights into action to get you feeling your very best.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <form class=\\\"style_radios vertical_radios\\\" name=\\\"form1\\\" #f1=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n      <input type=\\\"hidden\\\" class=\\\"tst_e2eIds\\\" [value]=\\\"e2eIds\\\" />\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByDoctorEnabled\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>Add your doctor/s</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByDoctorEnabled\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label_high\\\">Search for a Doctor</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group add-on search_typeahead\\\" style=\\\"width: 100%\\\">\\r\\n            <div  [class.has-danger]=\\\"doctorSearchFailed\\\" >\\r\\n              <input name=\\\"doctorSearchTypeAhead\\\" type=\\\"text\\\" class=\\\"form-control large_textbox\\\" [(ngModel)]=\\\"doctorModel\\\" [ngbTypeahead]=\\\"searchDoctor\\\"\\r\\n                     placeholder=\\\"Search for a doctor by name or practice\\\" [resultFormatter]=\\\"doctorResultFormatter\\\"\\r\\n                     [inputFormatter]=\\\"doctorFormatter\\\" (selectItem)=\\\"onSelectedDoctor($event)\\\" />\\r\\n              <span *ngIf=\\\"searchingTextEnabled\\\">searching...</span>\\r\\n\\r\\n            </div>\\r\\n          </div>\\r\\n          <div *ngIf=\\\"showErrorsMain && !canSkipDeliveryPreference && deliveredTo === 'doctor' && Doctors.length === 0\\\" class=\\\"text-danger error_message tst_add_doctor_required\\\">\\r\\n            Please add a doctor to your profile to receive your results.\\r\\n          </div>\\r\\n          <div *ngIf=\\\"showErrorsMain && isDoctorRequired && Doctors.length === 0\\\" class=\\\"text-danger error_message tst_add_doctor_required\\\">\\r\\n            This is a mandatory field. Please enter the details of your doctor. If you do not have a doctor, please call the myDNA Helpdesk on 1300 436 373 to complete this order.\\r\\n          </div>\\r\\n          <div class=\\\"text-danger error_message error_message\\\" *ngIf=\\\"doctorSearchFailed && !isPinnacleMeds\\\"> No doctors found - please add your doctor.</div>\\r\\n          <a *ngIf=\\\"(doctorSearchFailed||doctorSearching) && !isPinnacleMeds\\\" class=\\\"btn btn-lg full_button pull-right button_p\\\" (click)=\\\"showChildModal()\\\" role=\\\"button\\\">Add</a>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div *ngIf=\\\"Doctors.length>0\\\" class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12 style_checkboxes horizontal_checkboxes\\\">\\r\\n          <div class=\\\"table-responsive\\\">\\r\\n            <table class=\\\"table doctors_table\\\">\\r\\n              <colgroup>\\r\\n                <col class=\\\"col-md-4\\\">\\r\\n                <col class=\\\"col-md-5\\\">\\r\\n                <col class=\\\"col-md-2\\\">\\r\\n                <col class=\\\"col-md-1\\\">\\r\\n              </colgroup>\\r\\n              <thead>\\r\\n              <tr>\\r\\n                <th>Doctor name</th>\\r\\n                <th>Practice</th>\\r\\n                <th>Referred By<sup>*</sup></th>\\r\\n                <th></th>\\r\\n              </tr>\\r\\n              </thead>\\r\\n              <tbody>\\r\\n              <tr *ngFor=\\\"let doc of Doctors;let i=index;trackBy:identify\\\" [class.doctor_hide]=\\\"doc.hidden\\\">\\r\\n                <td>{{doc.firstName}} {{ doc.lastName}}</td>\\r\\n                <td>{{doc.clinicName}}\\r\\n                  <ul class=\\\"no-left-padding \\\" style=\\\"list-style-type:none;padding-left: 0!important;\\\">\\r\\n                    <li>\\r\\n                      {{doc.address}}, {{doc.suburb}}, {{doc.state}} {{doc.postCode}}\\r\\n                    </li>\\r\\n                  </ul>\\r\\n                </td>\\r\\n                <td>\\r\\n                  <label for=\\\"ReferringDoctor{{i}}\\\" class=\\\"horizontal_list_label\\\">\\r\\n                    <input name=\\\"ReferringDoctor{{i}}\\\" id=\\\"ReferringDoctor{{i}}\\\" type=\\\"checkbox\\\" [(ngModel)]=\\\"doc.referredByDoctor\\\" style=\\\"text-align: center;\\\"\\r\\n                           [checked]=\\\"doc.referredByDoctor\\\" #ReferringDoctor{{i}}=\\\"ngModel\\\" (change)=\\\"selectReferringDoctor(i,doc,$event)\\\">\\r\\n                    <span>\\r\\n                        <p class=\\\"form_label horizontal_list_item\\\"></p>\\r\\n                     </span>\\r\\n                  </label>\\r\\n                </td>\\r\\n                <td><div class=\\\"remove_button tst_remove_doctor_{{i}}\\\" (click)=\\\"removeDoctor(i)\\\"></div></td>\\r\\n\\r\\n              </tr>\\r\\n              </tbody>\\r\\n            </table>\\r\\n            <p class=\\\"tooltip_text align-right\\\"><sup>*</sup>Tick this box if your doctor has referred you to take this test.</p>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByPharmacyEnabled && !chemistWarehouse && !gymDeliveryPrefs\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>Add a {{longDeliveryPartyTitle}} (pharmacy, dietitian, etc.)</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"text-danger error_message\\\" *ngIf=\\\"showPharmaciesError\\\">\\r\\n        <strong>Only one {{deliveryPartyTitle}} can be added. Please remove the existing {{deliveryPartyTitle}} to add a new one.</strong>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByPharmacyEnabled || organisationRequired\\\">\\r\\n      \\r\\n        <div class=\\\"col-md-12\\\" *ngIf=\\\"!chemistWarehouse\\\">\\r\\n          <p class=\\\"form_label_high\\\">Search for a {{longDeliveryPartyTitle}}</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group add-on search_typeahead\\\" style=\\\"width: 100%\\\">\\r\\n            <div  [class.has-danger]=\\\"searchFailed\\\">\\r\\n              <input name=\\\"pharmacySearchTypeAhead\\\" type=\\\"text\\\" class=\\\"form-control large_textbox\\\" [(ngModel)]=\\\"pharmacyModel\\\" [ngbTypeahead]=\\\"search\\\"\\r\\n                     placeholder=\\\"{{orgSearchPlaceholderText}}\\\" [resultFormatter]=\\\"resultFormatter\\\"\\r\\n                     [inputFormatter]=\\\"formatter\\\" (selectItem)=\\\"onSelectedPharmacy($event)\\\" />\\r\\n              <span *ngIf=\\\"searching\\\">searching...</span>\\r\\n              <div class=\\\"form-control-feedback\\\" *ngIf=\\\"(searchFailed&&!searching)\\\">No matching {{deliveryPartyTitle}} found.</div>\\r\\n            </div>\\r\\n            <div *ngIf=\\\"showErrorsMain && !canSkipDeliveryPreference && Pharmacy.length===0 && ( deliveredTo==='pharmacy' || organisationRequired)\\\" class=\\\"text-danger error_message tst_must_select_pharmacy_error\\\">\\r\\n              Please add a {{longDeliveryPartyTitle}} to your profile to receive your results.\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"Pharmacy.length>0\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"table-responsive\\\">\\r\\n            <table class=\\\"table medications_table\\\">\\r\\n              <colgroup>\\r\\n                <col class=\\\"col-md-4\\\">\\r\\n                <col class=\\\"col-md-4\\\">\\r\\n                <col class=\\\"col-md-3\\\">\\r\\n                <col class=\\\"col-md-1\\\">\\r\\n              </colgroup>\\r\\n              <thead>\\r\\n              <tr>\\r\\n                <th>{{deliveryPartyTitle}}</th>\\r\\n                <th>Address</th>\\r\\n                <th>Phone</th>\\r\\n                <th></th>\\r\\n              </tr>\\r\\n              </thead>\\r\\n              <tbody>\\r\\n              <tr *ngFor=\\\"let pharm of Pharmacy;let i = index;\\\">\\r\\n                <td>{{pharm.name}}</td>\\r\\n                <td>{{pharm.addressLine1}}, {{pharm.suburb}}, {{pharm.state}} {{pharm.postCode}}</td>\\r\\n                <td>{{pharm.phone}}</td>\\r\\n                <td><div class=\\\"remove_button\\\"  (click)=\\\"removePharmacy(i)\\\"></div></td>\\r\\n              </tr>\\r\\n              </tbody>\\r\\n            </table>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div *ngIf=\\\"!canSkipDeliveryPreference\\\">\\r\\n        <div class=\\\"row\\\" >\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <h3 class='heading_normal heading_pad_top'>Where would you like your report delivered to?</h3>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row no_mobile_underpad\\\" *ngIf=\\\"isDeliverByDoctorEnabled\\\" >\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <label for=\\\"deliver_report_to_doctor\\\" class=\\\"vertical_list_label\\\" >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_doctor\\\" value=\\\"doctor\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='doctor'\\\" #Deliver=\\\"ngModel\\\"  required (change)=\\\"setDeliveryPreference($event)\\\"   />\\r\\n              <span>\\r\\n                        <p class=\\\"heading_normal\\\">My doctor</p>\\r\\n                            </span>\\r\\n            </label>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"deliveredTo==='doctor' && Doctors.length===0\\\">\\r\\n                <div>Please add a doctor to your profile to receive your results.</div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\" *ngIf=\\\"(Doctors.length>0 && isDeliverByDoctorEnabled && deliveredTo==='doctor')\\\">\\r\\n          <div class=\\\"col-md-2\\\">\\r\\n            <p class=\\\"form_label\\\">Select doctor</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            {{frm.Doctor|json}}\\r\\n            <select id=\\\"inputDoctor\\\" class=\\\"form-control selectbox\\\" name=\\\"inputDoctor\\\" id=\\\"inputDoctor\\\" [(ngModel)]=\\\"selectedDoctor\\\" #inputDoctor=\\\"ngModel\\\" (change)=\\\"changeDoctor($event, selectedDoctor)\\\" required  >\\r\\n              <option [ngValue]=\\\"undefined\\\" selected>Select</option>\\r\\n              <option *ngFor=\\\"let doc of Doctors; let i = index;\\\" [value]=\\\"doc.id\\\"  >{{doc.salutation?doc.salutation:'Dr'}} {{doc.firstName}} {{doc.lastName}}</option>\\r\\n            </select>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"(deliveredTo==='doctor' && inputDoctor.invalid && showErrorsMain)\\\" class=\\\"tst_select_doctor_required\\\">\\r\\n                <div *ngIf=\\\"inputDoctor.errors.required\\\">Please select at least one doctor </div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\" *ngIf=\\\"isDeliverByPharmacyEnabled\\\">\\r\\n          <div class=\\\"col-md-12\\\" *ngIf=\\\"!gymDeliveryPrefs\\\">\\r\\n            <label for=\\\"deliver_report_to_pharmacy\\\" class=\\\"vertical_list_label\\\" >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_pharmacy\\\" value=\\\"pharmacy\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='pharmacy'\\\"    required (change)=\\\"setDeliveryPreference($event)\\\"  >\\r\\n              <span>\\r\\n                <p class=\\\"heading_normal\\\">My {{deliveryPartyTitle}} (pharmacy, dietitian, etc.)</p>\\r\\n                            </span>\\r\\n            </label>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"showErrorsMain && Pharmacy.length===0 && (deliveredTo==='pharmacy' || organisationRequired)\\\" class=\\\"tst_select_pharmacy_required\\\">\\r\\n                <div>Please add a {{longDeliveryPartyTitle}} to your profile to receive your results.</div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n\\r\\n          <div class=\\\"col-md-12\\\" *ngIf=\\\"gymDeliveryPrefs\\\">\\r\\n            <label for=\\\"deliver_report_to_pharmacy\\\" class=\\\"vertical_list_label\\\" >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_pharmacy\\\" value=\\\"pharmacy\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='pharmacy'\\\"    required (change)=\\\"setDeliveryPreference($event)\\\"  >\\r\\n              <span>\\r\\n                <p *ngIf=\\\"Pharmacy != undefined && Pharmacy != null && Pharmacy.length > 0 && Pharmacy[0].name != null && Pharmacy[0].name != ''\\\" class=\\\"heading_normal\\\">{{Pharmacy[0].name}}</p>\\r\\n                <p *ngIf=\\\"!Pharmacy || Pharmacy.length == 0 || !Pharmacy[0].name || Pharmacy[0].name === ''\\\" class=\\\"heading_normal\\\">My nominated {{longDeliveryPartyTitle}}</p>\\r\\n              </span>\\r\\n            </label>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"showErrorsMain && Pharmacy.length===0 && (deliveredTo==='pharmacy' || organisationRequired)\\\" class=\\\"tst_select_pharmacy_required\\\">\\r\\n                <div>Please add a {{longDeliveryPartyTitle}} to your profile to receive your results.</div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n\\r\\n        </div>\\r\\n        <div class=\\\"row\\\" *ngIf=\\\"isDeliverDirectToCustomerEnabled\\\" >\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <label for=\\\"deliver_report_to_customer\\\" class=\\\"vertical_list_label\\\"  >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_customer\\\" value=\\\"customer\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='customer'\\\"   required (change)=\\\"setDeliveryPreference($event)\\\"   >\\r\\n              <span>\\r\\n                <p class=\\\"heading_normal\\\">Direct to me</p>\\r\\n              </span>\\r\\n            </label>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"deliveredTo==='' && showErrorsMain\\\">\\r\\n            <div class=\\\"tst_must_select_delivery_option_error\\\">Please select who you would like to deliver your report results to you</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </form>\\r\\n  </div>\\r\\n</div>\\r\\n\\r\\n\\r\\n<div bsModal #childModal=\\\"bs-modal\\\" class=\\\"modal fade\\\" [config]=\\\"{backdrop: 'static'}\\\"  tabindex=\\\"-1\\\" role=\\\"dialog\\\" aria-labelledby=\\\"myLargeModalLabel\\\" aria-hidden=\\\"true\\\">\\r\\n  <div class=\\\"container\\\">\\r\\n    <form class=\\\"style_radios horizontal_radios\\\">\\r\\n      <div class=\\\"modal-dialog modal-lg\\\">\\r\\n        <div class=\\\"modal-content\\\">\\r\\n\\r\\n          <div class=\\\"modal-header\\\">\\r\\n            <h3 class='heading_caps page_heading pull-left'>Enter New Doctor Details</h3>\\r\\n            <button type=\\\"button\\\" class=\\\"close pull-right\\\" aria-label=\\\"Close\\\" (click)=\\\"hideChildModal()\\\">\\r\\n              <span aria-hidden=\\\"true\\\" style=\\\"color:red\\\">&times;</span>\\r\\n            </button>\\r\\n          </div>\\r\\n          <!--<pre>form value : {{f.value | json}}</pre>-->\\r\\n          <div class=\\\"modal-body\\\">\\r\\n            <form name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"body_text\\\">Please enter all the details below for the new doctor.</p>\\r\\n                </div>\\r\\n              </div>\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <h2 class=\\\"heading_normal\\\">Doctor details</h2>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Salutation.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Salutation</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <select class=\\\"form-control selectbox\\\" name=\\\"Salutation\\\" id=\\\"Salutation\\\" [(ngModel)]=\\\"frmDoc.salutation\\\" #Salutation=\\\"ngModel\\\" required>\\r\\n                    <option [ngValue]=\\\"undefined\\\" selected>Select</option>\\r\\n                    <option value=\\\"Dr\\\" selected>Dr</option>\\r\\n                    <option value=\\\"Mr\\\">Mr</option>\\r\\n                    <option value=\\\"Mrs\\\">Mrs</option>\\r\\n                    <option value=\\\"Miss\\\">Miss</option>\\r\\n                    <option value=\\\"Ms\\\">Ms</option>\\r\\n                    <option value=\\\"Prof\\\">Prof</option>\\r\\n                    <option value=\\\"A/Prof\\\">A/Prof</option>\\r\\n                    <option value=\\\"N/A\\\">N/A</option>\\r\\n                  </select>\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Salutation.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Salutation.errors.required\\\">Please select a salutation</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"FirstName.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">First Name</p>\\r\\n                </div>\\r\\n\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"FirstName\\\" id=\\\"FirstName\\\" [(ngModel)]=\\\"frmDoc.firstName\\\" required maxlength=\\\"20\\\"\\r\\n                         #FirstName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"First Name\\\" />\\r\\n\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"FirstName.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"FirstName.errors.required\\\">Please enter a first name</div>\\r\\n                      <div *ngIf=\\\"FirstName.errors.pattern\\\">Please enter a valid first name</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"LastName.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Last Name</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"LastName\\\" id=\\\"LastName\\\" [(ngModel)]=\\\"frmDoc.lastName\\\" required maxlength=\\\"20\\\"\\r\\n                         #LastName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"Last Name\\\" />\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"LastName.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"LastName.errors.required\\\">Please enter a last name</div>\\r\\n                      <div *ngIf=\\\"LastName.errors.pattern\\\">Please enter a valid last name</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <h2 class=\\\"heading_normal\\\">Practice details</h2>\\r\\n                </div>\\r\\n              </div>\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"ClinicName.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Practice Name</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"ClinicName\\\" id=\\\"ClinicName\\\" [(ngModel)]=\\\"frmDoc.clinicName\\\" required maxlength=\\\"60\\\"\\r\\n                         #ClinicName=\\\"ngModel\\\" placeholder=\\\"Practice Name\\\" />\\r\\n\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"ClinicName.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"ClinicName.errors.required\\\">Please enter a practice name</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n              <app-address-capture [inputCountry]=\\\"frmDoc.country\\\" (addressCaptureOutput)=\\\"OnAddressChange($event)\\\" [parentFormSubmitted]=\\\"parentFormSubmittedSubject\\\"></app-address-capture>\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <h2 class=\\\"heading_normal\\\">Practice contact details</h2>\\r\\n                </div>\\r\\n              </div>\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Email.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Email</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Email\\\" id=\\\"Email\\\" [(ngModel)]=\\\"frmDoc.email\\\" [pattern]=\\\"emailPattern\\\" #Email=\\\"ngModel\\\"\\r\\n                         placeholder=\\\"Email\\\" maxlength=\\\"40\\\" minlength=\\\"5\\\" [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactDetails($event)\\\"\\r\\n                         (change)=\\\"validateContactDetails($event)\\\" />\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Email.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Email.errors.required\\\">Please enter at least one of: email or phone or fax</div>\\r\\n                      <div *ngIf=\\\"Email.errors.pattern\\\">Please enter a valid email</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Phone.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Phone</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <div class=\\\"input-group\\\">\\r\\n                    <span class=\\\"input-group-addon textbox_prompt\\\" id=\\\"basic-addon1\\\">{{CountryCode}}</span>\\r\\n                    <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Phone\\\" id=\\\"Phone\\\" [(ngModel)]=\\\"frmDoc.phone\\\" [pattern]=\\\"phonePattern\\\" #Phone=\\\"ngModel\\\"\\r\\n                           placeholder=\\\"Phone\\\" maxlength=\\\"20\\\" [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactDetails($event)\\\"\\r\\n                           (change)=\\\"validateContactDetails($event)\\\" />\\r\\n                  </div>\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Phone.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Phone.errors.required\\\">Please enter at least one of: email or phone or fax</div>\\r\\n                      <div *ngIf=\\\"Phone.errors.pattern\\\">Please enter a valid phone number</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Fax.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Fax</p>\\r\\n                </div>\\r\\n\\r\\n                <div class=\\\"col-md-12 col-sm-10 col-xs-10\\\">\\r\\n                  <div class=\\\"input-group\\\">\\r\\n                    <span class=\\\"input-group-addon textbox_prompt\\\" id=\\\"basic-addon1\\\">{{CountryCode}}</span>\\r\\n                    <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Fax\\\" id=\\\"Fax\\\" [(ngModel)]=\\\"frmDoc.fax\\\" [pattern]=\\\"phonePattern\\\" #Fax=\\\"ngModel\\\"\\r\\n                           placeholder=\\\"Fax\\\" maxlength=\\\"20\\\" [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactDetails($event)\\\"\\r\\n                           (change)=\\\"validateContactDetails($event)\\\" />\\r\\n                  </div>\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Fax.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Fax.errors.required\\\">Please enter at least one of: email or phone or fax</div>\\r\\n                      <div *ngIf=\\\"Fax.errors.pattern\\\">Please enter a valid fax number</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n            </form>\\r\\n          </div>\\r\\n\\r\\n          <div class=\\\"modal-footer\\\">\\r\\n            <div class=\\\"clearfix\\\">\\r\\n              <a class=\\\"btn btn-lg full_button pull-right\\\" style=\\\"margin-left: 10px\\\"  (click)=\\\"saveChildModal()\\\" role=\\\"button\\\">Save</a>\\r\\n              <a class=\\\"btn btn-lg empty_button pull-right\\\" style=\\\"margin-left: 10px\\\" (click)=\\\"hideChildModal()\\\" role=\\\"button\\\">Close</a>\\r\\n            </div>\\r\\n          </div>\\r\\n\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n    </form>\\r\\n  </div>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1190:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-8\\\">\\r\\n      <h2 class=\\\"heading_normal\\\">You are one step closer to learning more about yourself.</h2>\\r\\n      <p class='body_text'>In your myDNA test kit you will find your unique registration barcode. This code allows you to register your DNA sample\\r\\n        with us and request your personalised myDNA report.</p>\\r\\n      <div class=\\\"row\\\">\\r\\n        <form class=\\\"form\\\">\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <h3 class='heading_caps'>ENTER YOUR UNIQUE NUMERIC BARCODE</h3>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-9\\\">\\r\\n            <input class=\\\"form-control large_textbox\\\" type=\\\"text\\\" placeholder=\\\"e.g. 0123456789\\\" [(ngModel)]=\\\"barcode\\\" name=\\\"barcode\\\"\\r\\n                   (focus)=\\\"ClearError()\\\" maxlength=\\\"10\\\" required autofocus/>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-3\\\"></div>\\r\\n          <div class=\\\"col-md-12 text-danger error_message tst_barcode_error\\\" *ngIf=\\\"visibleerrorMessage\\\">\\r\\n            <p>{{errorMessage}}</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12 text-danger error_message tst_country_error\\\" *ngIf=\\\"countryErrorMessage\\\">\\r\\n            <label>Looks  like you’re registering one of our {{countryLocation}} Test Kits. If so, please register it through our <a [href]=\\\"countryURL\\\">{{countryLocation}} website</a>.\\r\\n              If you have any questions please call us on {{countryPhone}}.</label>\\r\\n          </div>\\r\\n        </form>\\r\\n      </div>\\r\\n\\r\\n    </div>\\r\\n    <div class=\\\"col-md-4\\\">\\r\\n      <img src=\\\"assets/images/test_kits.png\\\" border=\\\"0\\\" alt=\\\"\\\" class=\\\"img-responsive kits-img\\\">\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n    <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n            role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\\r\\n\"\n\n/***/ },\n\n/***/ 1191:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12 text-center top_padding_20\\\">\\r\\n            <h2 class='heading_caps page_heading'>Thank You!</h2>\\r\\n        </div>\\r\\n        <form class=\\\"style_radios vertical_radios\\\">\\r\\n             <input type=\\\"hidden\\\" class=\\\"tst_final_e2eIds\\\" [value]=\\\"e2eIds\\\" />\\r\\n             <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12 text-center\\\">\\r\\n                <p class='body_text'></p>\\r\\n                  <p><a class=\\\"btn btn-lg empty_button button_p\\\" href=\\\"https://www.mydna.life/\\\" role=\\\"button\\\" style=\\\"margin:60px;\\\">go back to Website</a></p>\\r\\n              </div>\\r\\n            </div>\\r\\n            <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12\\\">\\r\\n                <h1 class='text_blue_underlined text-center'>IMPORTANT</h1>\\r\\n                <ul class=\\\"list_numbered body_text\\\">\\r\\n                    <li>Your doctor will receive your test results approximately 15 working days after your sample arrives at the myDNA laboratory.</li>\\r\\n                    <li>For any enquiries about your sample status, please email <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a></li>\\r\\n                </ul>\\r\\n              </div>\\r\\n            </div>  \\r\\n        </form>\\r\\n    </div>\\r\\n</div>\"\n\n/***/ },\n\n/***/ 1192:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n  <h2>The Wellness Revolution Registration Survey</h2>\\r\\n  <p>Thank you for agreeing to take part in the myDNA Chemist Warehouse Revolution!</p>\\r\\n  <p>We’d like to kick things off by asking you a few questions. By taking part in this study you’ll contribute to an understanding of the health of our nation.</p>\\r\\n  <p>We want to support you to live the healthiest life possible and your answers will help us do that.</p>\\r\\n  <p>Let’s go...</p>\\r\\n  <br><br>\\r\\n  <form name=\\\"form\\\" #answerForm=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n    <div *ngFor=\\\"let qn of questions.questions\\\" class=\\\"row\\\" [class.has-error]=\\\"!answers[qn.key] && showErrors\\\">\\r\\n      <div *ngIf=\\\"!qn.skip || (qn.skip.answers.indexOf(answers[qn.skip.key]) === -1)\\\">\\r\\n        <div class=\\\"col-md-6\\\">\\r\\n          <p class=\\\"form_label required\\\">{{qn.title}}</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6\\\" *ngIf=\\\"qn.type === 'single'\\\">\\r\\n          <select class=\\\"form-control selectbox\\\" [name]=\\\"'select' + answers[qn.key]\\\" [required]=\\\"true\\\" [(ngModel)]=\\\"answers[qn.key]\\\">\\r\\n            <option [value]=\\\"undefined\\\">Select a value</option>\\r\\n            <option *ngFor=\\\"let a of qn.answers\\\" [value]=\\\"a.key\\\">{{a.value}}</option>\\r\\n          </select>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6 style_checkboxes vertical_checkboxes\\\" *ngIf=\\\"qn.type === 'multiple'\\\">\\r\\n          <label class=\\\"vertical_list_label control_label\\\" *ngFor=\\\"let a of qn.answers\\\">\\r\\n            <input type=\\\"checkbox\\\" name=\\\"why\\\" [value]=\\\"a.key\\\" (click)=\\\"setAnswer(qn, a.key)\\\" class=\\\"form-control\\\">\\r\\n            <span class=\\\"form_label\\\">{{a.value}}</span>\\r\\n          </label>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6\\\" *ngIf=\\\"qn.type === 'number'\\\">\\r\\n          <input class=\\\"form-control\\\" type=\\\"number\\\" [name]=\\\"qn.key\\\" [required]=\\\"true\\\" [(ngModel)]=\\\"answers[qn.key]\\\">\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6\\\" *ngIf=\\\"qn.type === 'text'\\\">\\r\\n          <input class=\\\"form-control\\\" type=\\\"text\\\" [name]=\\\"qn.key\\\" [required]=\\\"true\\\" [(ngModel)]=\\\"answers[qn.key]\\\">\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1193:\n/***/ function(module, exports) {\n\nmodule.exports = \"<form novalidate=\\\"\\\">\\r\\n    <div *ngIf=\\\"dropDrowErrorMessage\\\" >Please select value from drop down</div>\\r\\n    <fieldset>\\r\\n        <div class=\\\"row\\\">\\r\\n            <div class=\\\"col-xs-8\\\">\\r\\n                <label style=\\\"width:300px\\\">\\r\\n                <input type=\\\"radio\\\" value=\\\"health_care_professional\\\" [disabled]=\\\"!isHCPAvailable\\\" name=\\\"hcp\\\" [(ngModel)]=\\\"deliveredTo\\\" (change)=\\\"handleRadioChange($event)\\\"> Health Care Professional</label>\\r\\n            </div>\\r\\n            <div class=\\\"col-xs-4 form-group\\\" *ngIf=\\\"showDropDown\\\">\\r\\n                <select class=\\\"form-control\\\" name=\\\"selectedoption\\\" [(ngModel)]=\\\"selectedValue\\\" (change)=\\\"handleDropDownChange($event)\\\">\\r\\n                     <option *ngFor=\\\"let c of options\\\" [ngValue]=\\\"c.id\\\" [selected]=\\\"selectedValue\\\">{{c.name}}</option>\\r\\n                </select>\\r\\n            </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\">\\r\\n            <div class=\\\"col-xs-8\\\"><label style=\\\"width:300px\\\"><input type=\\\"radio\\\" value=\\\"over_the_phone\\\" name=\\\"otp\\\" [(ngModel)]=\\\"deliveredTo\\\" (change)=\\\"handleRadioChange($event)\\\" (click)=\\\"hideDropDown()\\\"> Over the phone</label></div>\\r\\n        </div>\\r\\n    </fieldset>\\r\\n</form>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1194:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>Select Your Report</h2>\\r\\n    </div>\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"body_text\\\">Choose your report from the list below:</p>\\r\\n    </div>\\r\\n    <form class=\\\"style_radios vertical_radios\\\" *ngIf=\\\"KitDetails\\\">\\r\\n      <div class=\\\"col-md-12\\\" *ngFor=\\\"let prod of KitDetails.products;let i=index;trackBy:identify\\\">\\r\\n        <label for=\\\"report_type_button_{{i}}\\\" class=\\\"vertical_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"report_type\\\" class=\\\"tst_product\\\" id=\\\"report_type_button_{{i}}\\\" (change)=\\\"SelectProduct(prod)\\\" attr.data-country=\\\"{{prod.countryId}}\\\">\\r\\n          <span>\\r\\n\\t\\t        \\t<p class=\\\"heading_normal\\\">{{prod.productName}}</p>\\r\\n\\t\\t\\t\\t\\t\\t</span>\\r\\n        </label>\\r\\n\\r\\n      </div>\\r\\n\\r\\n    </form>\\r\\n  </div>\\r\\n\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" [disabled]=\\\"!reportSelected\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1195:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"form-inline\\\">\\r\\n    <div class=\\\"day-container form-group left_margin_day\\\">\\r\\n        <select name=\\\"dateFieldsDay\\\" id=\\\"dateFieldsDay\\\" [(ngModel)]=\\\"dateFields.day\\\"  placeholder=\\\"Day\\\" class=\\\"day-selector form-control selectbox\\\" #dateFieldsDay=\\\"ngModel\\\" (change)=\\\"OnChangeDate()\\\"   >\\r\\n          <option disabled value=\\\"\\\">Day</option>\\r\\n          <option  *ngFor=\\\"let day of dayList\\\" [ngValue]=\\\"day\\\">{{day}}</option>\\r\\n        </select>\\r\\n    </div>\\r\\n    <div class=\\\"month-container form-group left_margin_month\\\">\\r\\n        <select name=\\\"dateFieldsMonth\\\" id=\\\"dateFieldsMonth\\\" [(ngModel)]=\\\"dateFields.month\\\" placeholder=\\\"Month\\\" class=\\\"month-selector form-control selectbox\\\" (change)=\\\"OnChangeDate()\\\" >\\r\\n          <option disabled value=\\\"\\\">Month</option>\\r\\n          <option  *ngFor=\\\"let month of MonthList\\\" [ngValue]=\\\"month.value\\\">{{month.name}}</option>\\r\\n        </select>\\r\\n    </div>\\r\\n    <div class=\\\"year-container form-group left_margin_year\\\">\\r\\n        <select name=\\\"dateFieldsYear\\\" id=\\\"dateFieldsYear\\\" [(ngModel)]=\\\"dateFields.year\\\"  placeholder=\\\"Year\\\" class=\\\"year-selector form-control selectbox\\\" (change)=\\\"OnChangeDate()\\\" >\\r\\n          <option disabled value=\\\"\\\">Year</option>\\r\\n          <option  *ngFor=\\\"let year of YearList\\\" [ngValue]=\\\"year\\\">{{year}}</option>\\r\\n        </select>\\r\\n        <!--<input ng-show=\\\"yearText\\\" type=\\\"text\\\" name=\\\"dateFields.year\\\" data-ng-model=\\\"dateFields.year\\\" placeholder=\\\"Year\\\" class=\\\"form-control\\\"\\r\\n            ng-disabled=\\\"disableFields\\\">-->\\r\\n         <input  type=\\\"hidden\\\" name=\\\"dateModel\\\" [(ngModel)]=\\\"value\\\" placeholder=\\\"Date Model\\\" class=\\\"form-control\\\" >\\r\\n         <!--(change)=\\\"onModelChange()\\\" (onModelChange)=\\\"onModelChange()\\\"  (touch)=\\\"onModelChange()\\\" -->\\r\\n    </div>\\r\\n</div>\\r\\n\"\n\n/***/ },\n\n/***/ 1196:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"form_label required\\\">Country</p>\\r\\n    </div>\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <ng2-completer name=\\\"Country\\\" [(ngModel)]=\\\"form.Country\\\" id=\\\"Country\\\" #Country=\\\"ngModel\\\" [datasource]=\\\"CountrySearchDataSource\\\"\\r\\n        [minSearchLength]=\\\"0\\\" [autoMatch]=\\\"true\\\" (selected)=\\\"OnCountrySelected()\\\" (focus)=\\\"OnCountryChange()\\\" (click)=\\\"$event.target.select()\\\"\\r\\n        placeholder=\\\"Search for country...\\\" [openOnFocus]=\\\"true\\\" (keydown.Tab)=\\\"OnCountryChange()\\\" [fillHighlighted]=\\\"false\\\" (blur)=\\\"OnCountryBlur()\\\"\\r\\n        required></ng2-completer>\\r\\n      <div *ngIf=\\\"showCountryErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n        <div class=\\\"tst_missing_province\\\">Please select a valid country</div>\\r\\n      </div>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div *ngIf=\\\"_isSearchEnabled\\\" class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"form_label\\\">Address Search</p>\\r\\n    </div>\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <input class=\\\"form-control textbox searchField\\\" placeholder=\\\"Search addresses in {{form.Country}}\\\" [value]=\\\"searchQuery\\\"\\r\\n        (blur)=\\\"OnSearchBlur()\\\" (click)=\\\"GetSearchResults($event.target.value)\\\" (input)=\\\"GetSearchResults($event.target.value)\\\"\\r\\n        (keydown.arrowup)=\\\"OnSearchKeyDownArrowUp()\\\" (keydown.arrowdown)=\\\"OnSearchKeyDownArrowDown()\\\" (keydown.Enter)=\\\"OnSearchKeyDownEnter()\\\"\\r\\n        autocomplete=\\\"mydna-addr-search\\\"/>\\r\\n    </div>\\r\\n\\r\\n    <ul *ngIf=\\\"searchResults && searchResults.length > 0 \\\" id=\\\"addrSearchResultsBox\\\">\\r\\n      <li *ngFor=\\\"let searchResult of searchResults\\\" [class.active]=\\\"searchResult.isActive == true\\\" (mousedown)=\\\"OnSearchClickedRecord(searchResult.suggestion)\\\"\\r\\n        (mouseenter)=\\\"OnSearchHoverRecord(searchResult.suggestion)\\\" value=\\\"searchResult.suggestion\\\"> {{\\r\\n        searchResult.suggestion }} </li>\\r\\n    </ul>\\r\\n    <div *ngIf=\\\"searchResults && searchResults.length === 0\\\" id=\\\"addrNoResults\\\">\\r\\n      <div> No results found </div>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\" [class.hidden]=\\\"showManualForm || hideAddressFields\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <a href=\\\"javascript:;\\\" (click)=\\\"showManualForm = true;\\\">Can't find your address? Click here to enter manually.</a>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div [class.hidden]=\\\"!showManualForm || hideAddressFields\\\">\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"AddressLine1.invalid && showAddressErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Address Line 1</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"AddressLine1\\\" id=\\\"AddressLine1\\\" maxlength=\\\"50\\\" [(ngModel)]=\\\"form.AddressLine1\\\"\\r\\n          #AddressLine1=\\\"ngModel\\\" [required]=\\\"!hideAddressFields\\\" placeholder=\\\"Address Line 1\\\" (focus)=\\\"CheckForValidCountryEntered();\\\" (change)=\\\"EmitOutput();\\\" (blur)=\\\"OnAddressBlur()\\\"\\r\\n          autocomplete=\\\"mydna-addr-1\\\"/>\\r\\n        <div *ngIf=\\\"AddressLine1.invalid && showAddressErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"AddressLine1.errors.required\\\" class=\\\"tst_missing_add_line_1\\\">Please enter an address line 1</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Address Line 2</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"AddressLine2\\\" id=\\\"AddressLine2\\\" maxlength=\\\"50\\\" [(ngModel)]=\\\"form.AddressLine2\\\"\\r\\n          #AddressLine2=\\\"ngModel\\\" placeholder=\\\"Address Line 2\\\" (change)=\\\"EmitOutput();\\\"\\r\\n          autocomplete=\\\"mydna-addr-2\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Suburb/City</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Suburb\\\" id=\\\"Suburb\\\" [(ngModel)]=\\\"form.Suburb\\\" maxlength=\\\"30\\\"\\r\\n          #Suburb=\\\"ngModel\\\" placeholder=\\\"Suburb/City\\\" (change)=\\\"EmitOutput();\\\"\\r\\n          autocomplete=\\\"mydna-addr-suburb\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div *ngIf=\\\"!_isSearchEnabled && StateSearchDataSource != null && StateSearchDataSource.length > 0\\\">\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label required\\\">State/Province/Region</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <ng2-completer name=\\\"State\\\" id=\\\"State\\\" #State=\\\"ngModel\\\" [(ngModel)]=\\\"form.State\\\" [datasource]=\\\"StateSearchDataSource\\\"\\r\\n            [minSearchLength]=\\\"1\\\" [autoMatch]=\\\"true\\\" placeholder=\\\"Search for state/province/region...\\\" [class.has-error]=\\\"(!form.State  || form.State === '') && showStateErrors\\\"\\r\\n            (focus)=\\\"OnStateFocus()\\\" (keydown.Tab)=\\\"OnStateFocus()\\\" [fillHighlighted]=\\\"false\\\" (change)=\\\"EmitOutput();\\\"  (blur)=\\\"OnStateBlur()\\\"\\r\\n            (selected)=\\\"OnStateSelected();\\\"></ng2-completer>\\r\\n          <div *ngIf=\\\"(!form.State  || form.State === '') && showStateErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div class=\\\"tst_missing_province\\\">Please enter a valid state/province/region</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"_isSearchEnabled\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">State/Province/Region</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" [(ngModel)]=\\\"form.State\\\"\\r\\n          #State=\\\"ngModel\\\" placeholder=\\\"State/Province/Region\\\" (change)=\\\"EmitOutput();\\\" (blur)=\\\"OnStateBlur()\\\"\\r\\n          autocomplete=\\\"mydna-addr-state\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Zip/Postal Code</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Zip\\\" id=\\\"Zip\\\" [(ngModel)]=\\\"form.Zip\\\" #Zip=\\\"ngModel\\\"\\r\\n          placeholder=\\\"Zip/Postal Code\\\" maxlength=\\\"10\\\" (focus)=\\\"CheckForValidStateEntered();\\\" (change)=\\\"EmitOutput();\\\"\\r\\n          autocomplete=\\\"mydna-addr-postcode\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\"\n\n/***/ },\n\n/***/ 1197:\n/***/ function(module, exports) {\n\nmodule.exports = \"<div class=\\\"row\\\" [class.has-error]=\\\"Email.invalid && showErrors\\\">\\r\\n  <div class=\\\"col-md-12\\\">\\r\\n    <p class=\\\"form_label required\\\">Email</p>\\r\\n  </div>\\r\\n  <div class=\\\"col-md-12\\\" [class.has-error]=\\\"certaintyLevel === 'error'\\\" [class.has-warning]=\\\"certaintyLevel === 'warning'\\\"\\r\\n    [class.has-success]=\\\"certaintyLevel === 'ok'\\\">\\r\\n    <input type=\\\"text\\\" class=\\\"form-control textbox\\\"  name=\\\"Email\\\" id=\\\"Email\\\"\\r\\n      [(ngModel)]=\\\"emailValue\\\" #Email=\\\"ngModel\\\" required [pattern]=\\\"emailPattern\\\" placeholder=\\\"Email\\\" maxlength=\\\"40\\\" (blur)=\\\"Validate()\\\" (change)=\\\"OnEmailChange()\\\" />\\r\\n    <img class=\\\"email-icon\\\" [src]=\\\"iconSource\\\">\\r\\n    <p class=\\\"body_text_small\\\" [class.error_message]=\\\"certaintyLevel === 'error'\\\" [class.warning_message]=\\\"certaintyLevel === 'warning'\\\"\\r\\n      [class.success_message]=\\\"certaintyLevel === 'ok'\\\">{{verboseResponseMessage}}</p>\\r\\n    <p class=\\\"body_text_small\\\" *ngIf=\\\"certaintyLevel === 'error' || certaintyLevel === 'warning'\\\">You're free to proceed with your registration\\r\\n      if you're confident in the email provided.</p>\\r\\n\\r\\n    <div *ngIf=\\\"correctionSuggestions != null && correctionSuggestions.length > 0\\\">\\r\\n      <p class=\\\"heading_extra_small\\\">Suggested Corrections:</p>\\r\\n      <div *ngFor=\\\"let suggestion of correctionSuggestions\\\">\\r\\n        <p class=\\\"body_text_small corrections-list\\\">{{suggestion}}</p>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n\\r\\n    <div *ngIf=\\\"Email.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n      <div *ngIf=\\\"Email.errors.required\\\" class=\\\"tst_missing_email\\\">Please enter an email</div>\\r\\n      <div *ngIf=\\\"Email.errors.pattern\\\" class=\\\"tst_invalid_email\\\">Please enter a valid email</div>\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\"\n\n/***/ },\n\n/***/ 144:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__client_api_CountriesApi_api_CountriesApi__ = __webpack_require__(302);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CountryCodeService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar CountryCodeService = (function () {\r\n    function CountryCodeService(countriesApi) {\r\n        this.countriesApi = countriesApi;\r\n    }\r\n    CountryCodeService.prototype.getCountryName = function (countryIso2) {\r\n        return this.countriesApi.GetAllCountriesWithCodes()\r\n            .map(function (data) {\r\n            var countries = data;\r\n            var countryObject = countries.coutryList.find(function (r) { return r.isO2 === countryIso2; });\r\n            return countryObject.name;\r\n        });\r\n    };\r\n    CountryCodeService.prototype.getCountriesAndCodes = function () {\r\n        return this.countriesApi.GetAllCountriesWithCodes();\r\n    };\r\n    CountryCodeService.prototype.getStatesForCountry = function (countryCode) {\r\n        return this.countriesApi.GetStatesUsingIso2(countryCode);\r\n    };\r\n    CountryCodeService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__client_api_CountriesApi_api_CountriesApi__[\"a\" /* CountriesApi */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__client_api_CountriesApi_api_CountriesApi__[\"a\" /* CountriesApi */]) === 'function' && _a) || Object])\r\n    ], CountryCodeService);\r\n    return CountryCodeService;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/countryCode.service.js.map\n\n/***/ },\n\n/***/ 1448:\n/***/ function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(769);\n\n\n/***/ },\n\n/***/ 201:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__variables__ = __webpack_require__(504);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__configuration__ = __webpack_require__(503);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ConsumerRegistrationApi; });\n/**\r\n * MyDna.ConsumerRegistrationApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar ConsumerRegistrationApi = (function () {\r\n    function ConsumerRegistrationApi(http, basePath, configuration) {\r\n        this.http = http;\r\n        this.basePath = '';\r\n        this.defaultHeaders = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */]();\r\n        this.configuration = new __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */]();\r\n        if (basePath) {\r\n            this.basePath = basePath;\r\n        }\r\n        if (configuration) {\r\n            this.configuration = configuration;\r\n        }\r\n    }\r\n    /**\r\n     *\r\n     * @param username\r\n     */\r\n    ConsumerRegistrationApi.prototype.identityDoesUserExist = function (username, extraHttpRequestParams) {\r\n        return this.identityDoesUserExistWithHttpInfo(username, extraHttpRequestParams)\r\n            .map(function (response) {\r\n            if (response.status === 204) {\r\n                return undefined;\r\n            }\r\n            else {\r\n                return response.json() || {};\r\n            }\r\n        });\r\n    };\r\n    /**\r\n     *\r\n     *\r\n     * @param username\r\n     */\r\n    ConsumerRegistrationApi.prototype.identityDoesUserExistWithHttpInfo = function (username, extraHttpRequestParams) {\r\n        var path = this.basePath + '/identity/users/exists';\r\n        var queryParameters = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"b\" /* URLSearchParams */]();\r\n        var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */](this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845\r\n        // verify required parameter 'username' is not null or undefined\r\n        if (username === null || username === undefined) {\r\n            throw new Error('Required parameter username was null or undefined when calling identityDoesUserExist.');\r\n        }\r\n        if (username !== undefined) {\r\n            queryParameters.set('username', username);\r\n        }\r\n        // to determine the Content-Type header\r\n        var consumes = [];\r\n        // to determine the Accept header\r\n        var produces = [\r\n            'application/json',\r\n            'text/json'\r\n        ];\r\n        var requestOptions = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"c\" /* RequestOptions */]({\r\n            method: __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Get,\r\n            headers: headers,\r\n            search: queryParameters,\r\n            withCredentials: this.configuration.withCredentials\r\n        });\r\n        // https://github.com/swagger-api/swagger-codegen/issues/4037\r\n        if (extraHttpRequestParams) {\r\n            requestOptions = Object.assign(requestOptions, extraHttpRequestParams);\r\n        }\r\n        return this.http.request(path, requestOptions);\r\n    };\r\n    ConsumerRegistrationApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_3__variables__[\"a\" /* CONSUMER_REGISTRATION_BASE_PATH */])),\r\n        __param(2, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */]) === 'function' && _a) || Object, String, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */]) === 'function' && _b) || Object])\r\n    ], ConsumerRegistrationApi);\r\n    return ConsumerRegistrationApi;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ConsumerRegistrationApi.js.map\n\n/***/ },\n\n/***/ 202:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Select_Products_Api_BASE_PATH; });\n/* unused harmony export COLLECTION_FORMATS */\n\r\nvar Select_Products_Api_BASE_PATH = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('basePath');\r\nvar COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/variables.js.map\n\n/***/ },\n\n/***/ 203:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return HealthCarePractitionerApi_BASE_PATH; });\n/* unused harmony export COLLECTION_FORMATS */\n\r\nvar HealthCarePractitionerApi_BASE_PATH = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('basePath');\r\nvar COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/variables.js.map\n\n/***/ },\n\n/***/ 302:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(505);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Service__ = __webpack_require__(60);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CountriesApi; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\nvar CountriesApi = (function () {\r\n    function CountriesApi(service, basePath) {\r\n        this.service = service;\r\n        this.basePath = 'https://api-dev.mydna.life/MyDna.CountriesApi';\r\n        this.basePath = basePath || this.basePath;\r\n    }\r\n    CountriesApi.prototype.GetAllCountries = function () {\r\n        return this.service.get(this.basePath + \"/Countries/AllCountries\");\r\n    };\r\n    CountriesApi.prototype.GetAllCountriesWithCodes = function () {\r\n        return this.service.get(this.basePath + \"/Countries/AllCountriesAndCodes?stripPhoneNumbers=true\");\r\n    };\r\n    CountriesApi.prototype.GetCountryUsingCountryId = function (countryId) {\r\n        return this.service.get(this.basePath + \"/Countries/GetCountryById?id=\" + countryId);\r\n    };\r\n    CountriesApi.prototype.GetStatesUsingIso2 = function (countryCode) {\r\n        return this.service.get(this.basePath + \"/StateProvince?countryCode=\" + countryCode);\r\n    };\r\n    CountriesApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_2__variables__[\"a\" /* CountriesApi_BASE_PATH */])), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_3__Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__Service__[\"a\" /* Service */]) === 'function' && _a) || Object, String])\r\n    ], CountriesApi);\r\n    return CountriesApi;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/CountriesApi.js.map\n\n/***/ },\n\n/***/ 303:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Address__ = __webpack_require__(911);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Address___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__Address__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__ = __webpack_require__(912);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ClinicalOrganisation__ = __webpack_require__(913);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__ = __webpack_require__(914);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ContactDetails__ = __webpack_require__(915);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ContactDetails___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__ContactDetails__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Customer__ = __webpack_require__(916);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__ = __webpack_require__(917);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Identity__ = __webpack_require__(918);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Identity___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__Identity__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__KitBarcode__ = __webpack_require__(919);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__KitBarcode___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__KitBarcode__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Medication__ = __webpack_require__(920);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Medication___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9__Medication__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__PaymentDetails__ = __webpack_require__(922);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__PaymentDetails___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__Product__ = __webpack_require__(924);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__Product___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11__Product__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__ReportRecipients__ = __webpack_require__(925);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__RequestReport__ = __webpack_require__(926);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__Preferences__ = __webpack_require__(923);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__Preferences___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14__Preferences__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__Token__ = __webpack_require__(927);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__Token___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15__Token__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__PartnerReference__ = __webpack_require__(921);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__PartnerReference___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_16__PartnerReference__);\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Address__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_0__Address__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Address__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_0__Address__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Address__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_0__Address__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Address__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_0__Address__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Address__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_0__Address__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_1__BusinessContactDetails__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_2__ClinicalOrganisation__[\"a\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_3__ClinicalOrganisationRef__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_4__ContactDetails__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_4__ContactDetails__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_4__ContactDetails__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_4__ContactDetails__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_4__ContactDetails__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_4__ContactDetails__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_4__ContactDetails__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_4__ContactDetails__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_4__ContactDetails__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_4__ContactDetails__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_5__Customer__[\"a\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_6__HealthcarePractitioner__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_7__Identity__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_7__Identity__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_7__Identity__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_7__Identity__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_7__Identity__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_7__Identity__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_7__Identity__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_7__Identity__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_7__Identity__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_7__Identity__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_8__KitBarcode__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_8__KitBarcode__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_8__KitBarcode__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_8__KitBarcode__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_8__KitBarcode__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_8__KitBarcode__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_8__KitBarcode__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_8__KitBarcode__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_8__KitBarcode__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_8__KitBarcode__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_9__Medication__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_9__Medication__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_9__Medication__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_9__Medication__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_9__Medication__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_9__Medication__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_9__Medication__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_9__Medication__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_9__Medication__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_9__Medication__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_10__PaymentDetails__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_10__PaymentDetails__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_10__PaymentDetails__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_10__PaymentDetails__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_10__PaymentDetails__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_10__PaymentDetails__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_11__Product__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_11__Product__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_11__Product__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_11__Product__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_11__Product__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_11__Product__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_11__Product__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_11__Product__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_11__Product__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_11__Product__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_12__ReportRecipients__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_13__RequestReport__[\"a\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_14__Preferences__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_14__Preferences__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_14__Preferences__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_14__Preferences__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_14__Preferences__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_14__Preferences__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_14__Preferences__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_14__Preferences__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_14__Preferences__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_14__Preferences__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_15__Token__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_15__Token__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_15__Token__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_15__Token__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_15__Token__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_15__Token__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_15__Token__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_15__Token__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_15__Token__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_15__Token__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_16__PartnerReference__, \"RequestReport\")) __webpack_require__.d(exports, \"RequestReport\", function() { return __WEBPACK_IMPORTED_MODULE_16__PartnerReference__[\"RequestReport\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_16__PartnerReference__, \"Customer\")) __webpack_require__.d(exports, \"Customer\", function() { return __WEBPACK_IMPORTED_MODULE_16__PartnerReference__[\"Customer\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_16__PartnerReference__, \"ClinicalOrganisation\")) __webpack_require__.d(exports, \"ClinicalOrganisation\", function() { return __WEBPACK_IMPORTED_MODULE_16__PartnerReference__[\"ClinicalOrganisation\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_16__PartnerReference__, \"ReportRecipients\")) __webpack_require__.d(exports, \"ReportRecipients\", function() { return __WEBPACK_IMPORTED_MODULE_16__PartnerReference__[\"ReportRecipients\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_16__PartnerReference__, \"REQUEST_REPORT_BASE_PATH\")) __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_16__PartnerReference__[\"REQUEST_REPORT_BASE_PATH\"]; });\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/models.js.map\n\n/***/ },\n\n/***/ 304:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(202);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Service__ = __webpack_require__(60);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return KitsApi; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\nvar KitsApi = (function () {\r\n    function KitsApi(basePath, service) {\r\n        this.service = service;\r\n        this.basePath = basePath || 'https://api-dev.mydna.life/MyDna.SelectProductsApi';\r\n    }\r\n    KitsApi.prototype.kitsGetKit = function (kitId) {\r\n        return this.service.get(this.basePath + \"/Kits/\" + kitId);\r\n    };\r\n    KitsApi.prototype.getProductRequirements = function (productId) {\r\n        return this.service.get(this.basePath + \"/Kits/ProductRequirements/\" + productId);\r\n    };\r\n    KitsApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_2__variables__[\"a\" /* Select_Products_Api_BASE_PATH */])), \r\n        __metadata('design:paramtypes', [String, (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_3__Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__Service__[\"a\" /* Service */]) === 'function' && _a) || Object])\r\n    ], KitsApi);\r\n    return KitsApi;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/KitsApi.js.map\n\n/***/ },\n\n/***/ 305:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(508);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Service__ = __webpack_require__(60);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return KitBarcodesApi; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\nvar KitBarcodesApi = (function () {\r\n    function KitBarcodesApi(service, basePath) {\r\n        this.service = service;\r\n        this.basePath = 'https://api-dev.mydna.life/MyDna.ValidateKitBarcodesApi';\r\n        this.basePath = basePath || this.basePath;\r\n    }\r\n    KitBarcodesApi.prototype.kitBarcodesGet = function (barcodeNumber) {\r\n        return this.service.get(this.basePath + \"/KitBarcodes/\" + barcodeNumber, false);\r\n    };\r\n    KitBarcodesApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_2__variables__[\"a\" /* VaildateBarcodesApi_BASE_PATH */])), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_3__Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__Service__[\"a\" /* Service */]) === 'function' && _a) || Object, String])\r\n    ], KitBarcodesApi);\r\n    return KitBarcodesApi;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/KitBarcodesApi.js.map\n\n/***/ },\n\n/***/ 306:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__models_validator__ = __webpack_require__(964);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MyDnaValidationPatterns; });\n\r\nvar MyDnaValidationPatterns = (function () {\r\n    function MyDnaValidationPatterns() {\r\n        this.nonBlankString = \"^([a-zA-Z0-9À-ÿ- '.]*)$\";\r\n        // email validation regex taken from the angular 4 source code\r\n        //defaults\r\n        this.defaultEmail = \"^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$\";\r\n        this.defaultUsername = this.defaultEmail + '|^[A-Za-z0-9]+([.@_-][A-Za-z0-9]+)?$';\r\n        this.defaultName = this.nonBlankString;\r\n        this.defaultPassword = '^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\d)(?=.*[!@#$%\\^&*()_+\\\\\\-=<>?:\"{}[\\\\\\];\\',\\.\\\\\\/\\|\\\\~`])[A-Za-z\\\\d!@#$%\\^&*()_+\\\\\\-=<>?:\"{}[\\\\\\];\\',\\.\\\\\\/\\|\\\\~`]{8,}$';\r\n        this.defaultPhone = \"^[- ()0-9]{6,20}$\";\r\n        this.defaultMobile = this.defaultPhone;\r\n        this.defaultPostcode = '';\r\n        this.defaultSuburb = '';\r\n        this.defaultState = '';\r\n        //Australia specific values - add new values to the switch below\r\n        this.auPhone = '^0[1-9]{1}[0-9]{8}$|^[1-9]{1}[0-9]{8}$';\r\n        this.auMobile = '^04[0-9]{8}$|^4[0-9]{8}$';\r\n        this.auPostcode = '^[0-9]{4,4}$';\r\n        this.auSuburb = this.nonBlankString;\r\n        this.auState = this.nonBlankString;\r\n        //Canada specific values\r\n        this.caPhone = '^([0-9]{3})([ \\-])?([0-9]{3})([ \\-])?([0-9]{4})$';\r\n        this.caMobile = this.caPhone;\r\n        this.caPostcode = '^([a-zA-Z][0-9][a-zA-Z](-| |)[0-9][a-zA-Z][0-9])$';\r\n        this.caSuburb = this.nonBlankString;\r\n        this.caState = this.nonBlankString;\r\n        this.nzPostcode = '^[0-9]{4,4}$';\r\n        this.nzSuburb = this.nonBlankString;\r\n        this.ukPostcode = '^[a-zA-Z]{1,2}([0-9]{1,2}|[0-9][a-zA-Z])(\\\\s)?[0-9][a-zA-Z]{2}$';\r\n        this.ukSuburb = this.nonBlankString;\r\n        this.validator = new __WEBPACK_IMPORTED_MODULE_0__models_validator__[\"a\" /* Validator */]();\r\n        this.validator.email = this.defaultEmail;\r\n        this.validator.username = this.defaultUsername;\r\n        this.validator.name = this.defaultName;\r\n        this.validator.password = this.defaultPassword;\r\n        this.validator.phone = this.defaultPhone;\r\n        this.validator.mobile = this.defaultMobile;\r\n        this.validator.postcode = this.defaultPostcode;\r\n        this.validator.state = this.defaultState;\r\n        this.validator.suburb = this.defaultSuburb;\r\n        this.validator.regCode = '^[0-9]{8}$';\r\n    }\r\n    MyDnaValidationPatterns.prototype.getDefaultValidatons = function () {\r\n        return this.validator;\r\n    };\r\n    return MyDnaValidationPatterns;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/mydna-validation-patterns.js.map\n\n/***/ },\n\n/***/ 307:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__api_api__ = __webpack_require__(977);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_models__ = __webpack_require__(980);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(203);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__configuration__ = __webpack_require__(517);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_0__api_api__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"c\", function() { return __WEBPACK_IMPORTED_MODULE_0__api_api__[\"b\"]; });\n/* unused harmony namespace reexport */\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_2__variables__[\"a\"]; });\n/* unused harmony namespace reexport */\n\r\n\r\n\r\n\r\n/*\r\n\r\nimport { NgModule, ModuleWithProviders } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { Http, HttpModule } from '@angular/http';\r\n\r\nimport {HealthCarePractitionerApi_BASE_PATH} from './variables';\r\n\r\nimport {HealthCarePractitionersApi} from './api/HealthCarePractitionersApi';\r\nimport {PharmaciesApi} from './api/PharmaciesApi';\r\n\r\n\r\n@NgModule({\r\n  imports: [],\r\n  exports: [],\r\n  declarations: [],\r\n  providers: [],\r\n})\r\nexport class HealthcarePractitionerApiModule {\r\n\r\n}\r\n*/\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/index.js.map\n\n/***/ },\n\n/***/ 35:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__models_registration__ = __webpack_require__(963);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__ = __webpack_require__(111);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shared_modal_popup_modal_popup_service__ = __webpack_require__(110);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__steps__ = __webpack_require__(112);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__client_api_RequestReportApi_model_models__ = __webpack_require__(303);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__client_api_Service__ = __webpack_require__(60);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return RegistrationService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar RegistrationService = (function () {\r\n    function RegistrationService(\r\n        // private requestReportApi: RequestReportsApi,\r\n        steps, loader, popup, myDnaOperatingContextService, service) {\r\n        var _this = this;\r\n        this.steps = steps;\r\n        this.loader = loader;\r\n        this.popup = popup;\r\n        this.myDnaOperatingContextService = myDnaOperatingContextService;\r\n        this.service = service;\r\n        this.navigator = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"Subject\"]();\r\n        this.extractIdsFromResponse = function (requestReportObject) {\r\n            if (!requestReportObject.id) {\r\n                return;\r\n            }\r\n            // Assign back to the main model\r\n            _this.data.requestReportId = requestReportObject.id;\r\n            _this.data.customerId = requestReportObject.customer.id;\r\n            // Extract doctors id\r\n            if (_this.data.doctorsDetails) {\r\n                var hasUnknownHealthCarePractitioners = _this.data.doctorsDetails.find(function (doctor) { return !!doctor.id; });\r\n                if (hasUnknownHealthCarePractitioners) {\r\n                    var healthcarePractitioners_1 = requestReportObject.resultRecipients.healthcarePractitioners;\r\n                    _this.data.doctorsDetails.forEach(function (doctor) {\r\n                        if (!doctor.id) {\r\n                            var healthCarePractitioner = healthcarePractitioners_1.find(function (hcp) { return hcp.firstName === doctor.firstName &&\r\n                                hcp.lastName === doctor.lastName &&\r\n                                hcp.clinicalOrganisation.name === doctor.clinicName; });\r\n                            doctor.id = healthCarePractitioner.id;\r\n                            doctor.clinicID = healthCarePractitioner.clinicalOrganisation.id;\r\n                        }\r\n                    });\r\n                }\r\n            }\r\n        };\r\n        this.data = new __WEBPACK_IMPORTED_MODULE_2__models_registration__[\"a\" /* Registration */]();\r\n        this.totalPharmacy = [];\r\n    }\r\n    RegistrationService.prototype.getData = function () {\r\n        return this.data;\r\n    };\r\n    RegistrationService.prototype.setData = function (d) {\r\n        this.data = d;\r\n    };\r\n    RegistrationService.prototype.setIsSmoker = function (_smoker) {\r\n        this.data.smoker = _smoker;\r\n    };\r\n    RegistrationService.prototype.getIsSmoker = function () {\r\n        return this.data.smoker;\r\n    };\r\n    RegistrationService.prototype.setMedications = function (_medications) {\r\n        this.data.medications = _medications;\r\n    };\r\n    RegistrationService.prototype.getMedications = function () {\r\n        return this.data.medications;\r\n    };\r\n    RegistrationService.prototype.getReportSelection = function () {\r\n        return this.currentReportSelection;\r\n    };\r\n    RegistrationService.prototype.setReportSelection = function (currentSelectedReport) {\r\n        this.currentReportSelection = currentSelectedReport;\r\n    };\r\n    RegistrationService.prototype.getReportDropDownSelection = function () {\r\n        return this.currentReportDropDownSelection;\r\n    };\r\n    RegistrationService.prototype.setReportDropDownSelection = function (currentReportDropDownSelection) {\r\n        this.currentReportDropDownSelection = currentReportDropDownSelection;\r\n    };\r\n    RegistrationService.prototype.setCustomerDetails = function (_custDetails) {\r\n        this.data.CustomerDetails = _custDetails;\r\n    };\r\n    RegistrationService.prototype.setLoginDetails = function (_logindetails) {\r\n        this.data.loginDetails = _logindetails;\r\n    };\r\n    RegistrationService.prototype.getLoginDetail = function () {\r\n        return this.data.loginDetails;\r\n    };\r\n    RegistrationService.prototype.getCustomerDetails = function () {\r\n        return this.data.CustomerDetails;\r\n    };\r\n    RegistrationService.prototype.getE2ETestIds = function () {\r\n        return !__WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].production ? (this.data.requestReportId + '|' + this.data.customerId) : '';\r\n    };\r\n    RegistrationService.prototype.setPharmacyDetails = function (pharmacyDetails) {\r\n        this.data.PharmacyDetails = pharmacyDetails;\r\n        this.totalPharmacy = pharmacyDetails;\r\n    };\r\n    RegistrationService.prototype.getPharmacyDetails = function () {\r\n        this.totalPharmacy = this.data.PharmacyDetails;\r\n        return this.totalPharmacy;\r\n    };\r\n    RegistrationService.prototype.removePharmacyDetails = function (index) {\r\n        this.totalPharmacy = this.data.PharmacyDetails.splice(index, 1);\r\n    };\r\n    RegistrationService.prototype.setDoctorsDetails = function (_doctorsDetails) {\r\n        this.data.doctorsDetails = _doctorsDetails;\r\n    };\r\n    RegistrationService.prototype.setMarketingConsent = function (value) {\r\n        this.data.marketingConsent = value;\r\n    };\r\n    RegistrationService.prototype.setAdditionalDetails = function (questions) {\r\n        var _this = this;\r\n        this.service.post(__WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].RequestReportApiEndPoint + \"Order/additionalDetails\", questions, { 'Content-Type': 'application/json' }).subscribe(function (_) {\r\n            _this.nextPage();\r\n        });\r\n    };\r\n    RegistrationService.prototype.getMarketingConsent = function () {\r\n        return this.data.marketingConsent;\r\n    };\r\n    RegistrationService.prototype.nextPage = function (next) {\r\n        this.currentStep = next || this.steps.getNextStep(this.currentStep);\r\n        this.navigator.next(this.currentStep);\r\n        window.scrollTo(0, 0);\r\n    };\r\n    RegistrationService.prototype.getDoctorsDetails = function () {\r\n        return this.data.doctorsDetails;\r\n    };\r\n    RegistrationService.prototype.submit = function (isFinalSubmission, identityRequired, isPut) {\r\n        var _this = this;\r\n        var requestReportId = this.data.requestReportId;\r\n        var requestReportObject = this.data.toRequestReport();\r\n        requestReportObject.status = isFinalSubmission ? __WEBPACK_IMPORTED_MODULE_7__client_api_RequestReportApi_model_models__[\"RequestReport\"].StatusEnum.SubmittedForProcessing : __WEBPACK_IMPORTED_MODULE_7__client_api_RequestReportApi_model_models__[\"RequestReport\"].StatusEnum.New;\r\n        // Keep as type any, otherwise Service.header function will not work\r\n        var headers = {\r\n            'Content-Type': 'application/json',\r\n            'x-mydna-channel': __WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].channel || ''\r\n        };\r\n        if (this.data.product.config.hideCustomerAddressOnRegistration) {\r\n            if (this.data.product.productNumber === \"PPMR-NZ-B\") {\r\n                headers[\"x-mydna-channel\"] = __WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].channel + \"-indici\" || \"\";\r\n            }\r\n            else {\r\n                headers[\"x-mydna-channel\"] = __WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].channel + \"-no-address\" || \"\";\r\n            }\r\n        }\r\n        if (!identityRequired) {\r\n            requestReportObject.customer.identity = null;\r\n            requestReportObject.customer.preferences = null;\r\n        }\r\n        var submitSubject = new __WEBPACK_IMPORTED_MODULE_1_rxjs__[\"Subject\"]();\r\n        if (isPut) {\r\n            if (!requestReportId || identityRequired) {\r\n                this.popup.show500();\r\n            }\r\n            else {\r\n                this.loader.show();\r\n                if (this.data.product.config.skipIdentity) {\r\n                    if (this.data.product.productNumber === \"PPMR-NZ-B\") {\r\n                        headers[\"x-mydna-channel\"] = __WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].channel + \"-indici\" || \"\";\r\n                    }\r\n                    else {\r\n                        headers[\"x-mydna-no-identity\"] = true;\r\n                    }\r\n                }\r\n                this.service.put(__WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].RequestReportApiEndPoint + \"/RequestReports/\" + requestReportId, requestReportObject, headers).subscribe(function (response) {\r\n                    _this.loader.hide();\r\n                    _this.extractIdsFromResponse(response);\r\n                    _this.nextPage();\r\n                }, function (error) {\r\n                    _this.loader.hide();\r\n                    submitSubject.error(500);\r\n                }, function () {\r\n                    submitSubject.complete();\r\n                });\r\n            }\r\n        }\r\n        else {\r\n            this.loader.show();\r\n            this.service.post(__WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].RequestReportApiEndPoint + \"RequestReports\", requestReportObject, headers).subscribe(function (response) {\r\n                _this.service.token = response.token ? response.token.value : null;\r\n                _this.unitMemberId = _this.data.product.config.unitId;\r\n                if (_this.data.product.config && _this.data.product.config.isActivationProduct) {\r\n                    _this.service.post(__WEBPACK_IMPORTED_MODULE_3__environments_environment__[\"a\" /* environment */].RequestReportApiEndPoint + \"Order/hasSubmittedOrFulfilledOrders\", null, {}).subscribe(function (has) {\r\n                        if (has) {\r\n                            _this.loader.hide();\r\n                            submitSubject.next(410);\r\n                        }\r\n                        else {\r\n                            _this.setSubmitResponse(response);\r\n                            submitSubject.complete();\r\n                            _this.nextPage();\r\n                        }\r\n                    }, function (err) {\r\n                        console.log('Should not reach this');\r\n                    }, function () {\r\n                        submitSubject.complete();\r\n                    });\r\n                }\r\n                else {\r\n                    _this.setSubmitResponse(response);\r\n                    submitSubject.complete();\r\n                    _this.nextPage();\r\n                }\r\n            }, function (error) {\r\n                _this.loader.hide();\r\n                submitSubject.next(error.status);\r\n                submitSubject.complete();\r\n            });\r\n        }\r\n        return submitSubject;\r\n    };\r\n    RegistrationService.prototype.setSubmitResponse = function (response) {\r\n        this.loader.hide();\r\n        this.extractIdsFromResponse(response);\r\n        this.data.isIdentityCreated = true;\r\n    };\r\n    RegistrationService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__steps__[\"a\" /* Steps */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_6__steps__[\"a\" /* Steps */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__[\"a\" /* SpinnerService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__[\"a\" /* SpinnerService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_5__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_5__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */]) === 'function' && _c) || Object, (typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_8__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_8__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */]) === 'function' && _d) || Object, (typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_9__client_api_Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_9__client_api_Service__[\"a\" /* Service */]) === 'function' && _e) || Object])\r\n    ], RegistrationService);\r\n    return RegistrationService;\r\n    var _a, _b, _c, _d, _e;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/registration.service.js.map\n\n/***/ },\n\n/***/ 354:\n/***/ function(module, exports) {\n\nmodule.exports = \"button:disabled{\\r\\n    background-color:#dddddd;\\r\\n}\\r\\n\\r\\n.searchRow{\\r\\n    border-radius:4px;\\r\\n    padding:5px 0;\\r\\n    margin-bottom:10px;\\r\\n}\\r\\n\\r\\n.searchRow p{\\r\\n    color:#fff;\\r\\n}\\r\\n\\r\\n.searchRow input{\\r\\n    background:url(assets/images/search_icon.png) no-repeat scroll 100% 0px;\\r\\n    background-size:contain;\\r\\n    border:1px solid #008dd0;\\r\\n}\"\n\n/***/ },\n\n/***/ 503:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Configuration; });\nvar Configuration = (function () {\r\n    function Configuration() {\r\n    }\r\n    return Configuration;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/configuration.js.map\n\n/***/ },\n\n/***/ 504:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CONSUMER_REGISTRATION_BASE_PATH; });\n/* unused harmony export COLLECTION_FORMATS */\n\r\nvar CONSUMER_REGISTRATION_BASE_PATH = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('basePath');\r\nvar COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/variables.js.map\n\n/***/ },\n\n/***/ 505:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CountriesApi_BASE_PATH; });\n/* unused harmony export COLLECTION_FORMATS */\n\r\nvar CountriesApi_BASE_PATH = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('basePath');\r\nvar COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/variables.js.map\n\n/***/ },\n\n/***/ 506:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__variables__ = __webpack_require__(202);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__configuration__ = __webpack_require__(507);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ProductsApi; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\nvar ProductsApi = (function () {\r\n    function ProductsApi(http, basePath, configuration) {\r\n        this.http = http;\r\n        this.basePath = 'https://api-dev.mydna.life/MyDna.SelectProductsApi';\r\n        this.defaultHeaders = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */]();\r\n        this.configuration = new __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */]();\r\n        if (basePath) {\r\n            this.basePath = basePath;\r\n        }\r\n        if (configuration) {\r\n            this.configuration = configuration;\r\n        }\r\n    }\r\n    ProductsApi.prototype.productsGet = function (extraHttpRequestParams) {\r\n        return this.productsGetWithHttpInfo(extraHttpRequestParams)\r\n            .map(function (response) {\r\n            if (response.status === 204) {\r\n                return undefined;\r\n            }\r\n            else {\r\n                return response.json();\r\n            }\r\n        });\r\n    };\r\n    ProductsApi.prototype.productsGetWithHttpInfo = function (extraHttpRequestParams) {\r\n        var path = this.basePath + \"/Products\";\r\n        var queryParameters = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"b\" /* URLSearchParams */]();\r\n        var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */](this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845\r\n        // to determine the Content-Type header\r\n        var consumes = [];\r\n        // to determine the Accept header\r\n        var produces = [\r\n            'application/json',\r\n            'text/json',\r\n            'application/xml',\r\n            'text/xml'\r\n        ];\r\n        var requestOptions = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"c\" /* RequestOptions */]({\r\n            method: __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Get,\r\n            headers: headers,\r\n            search: queryParameters\r\n        });\r\n        // https://github.com/swagger-api/swagger-codegen/issues/4037\r\n        if (extraHttpRequestParams) {\r\n            requestOptions = Object.assign(requestOptions, extraHttpRequestParams);\r\n        }\r\n        return this.http.request(path, requestOptions);\r\n    };\r\n    ProductsApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_3__variables__[\"a\" /* Select_Products_Api_BASE_PATH */])),\r\n        __param(2, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */]) === 'function' && _a) || Object, String, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */]) === 'function' && _b) || Object])\r\n    ], ProductsApi);\r\n    return ProductsApi;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ProductsApi.js.map\n\n/***/ },\n\n/***/ 507:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Configuration; });\nvar Configuration = (function () {\r\n    function Configuration() {\r\n    }\r\n    return Configuration;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/configuration.js.map\n\n/***/ },\n\n/***/ 508:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return VaildateBarcodesApi_BASE_PATH; });\n/* unused harmony export COLLECTION_FORMATS */\n\r\nvar VaildateBarcodesApi_BASE_PATH = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('basePath');\r\nvar COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/variables.js.map\n\n/***/ },\n\n/***/ 509:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CustomerDetails; });\nvar CustomerDetails = (function () {\r\n    function CustomerDetails() {\r\n    }\r\n    return CustomerDetails;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/customer-details.js.map\n\n/***/ },\n\n/***/ 510:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ReportDeliveryOption; });\nvar ReportDeliveryOption = (function () {\r\n    function ReportDeliveryOption() {\r\n    }\r\n    return ReportDeliveryOption;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/report-delivery-option.js.map\n\n/***/ },\n\n/***/ 511:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__ = __webpack_require__(201);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_catch__ = __webpack_require__(66);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_catch___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_catch__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return IdentityService; });\n/* unused harmony export UsernameDetails */\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\nvar IdentityService = (function () {\r\n    function IdentityService(consumerRegistrationApi) {\r\n        this.consumerRegistrationApi = consumerRegistrationApi;\r\n    }\r\n    IdentityService.prototype.fetchUsernameDetails = function (username) {\r\n        return this.consumerRegistrationApi.identityDoesUserExistWithHttpInfo(username)\r\n            .map(this._convertResponseToUsernameDetails) // anything in the 200-299 range will go here\r\n            .catch(this._convertErrorResponseToUsernameDetails);\r\n    };\r\n    IdentityService.prototype._convertResponseToUsernameDetails = function (resp) {\r\n        if (resp.status === 200) {\r\n            return new UsernameDetails(true, true);\r\n        }\r\n        throw new Error('Unknown response from fetchUsernameDetails');\r\n    };\r\n    IdentityService.prototype._convertErrorResponseToUsernameDetails = function (err, caught) {\r\n        if (err.status === 404) {\r\n            return __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__[\"Observable\"].of(new UsernameDetails(true, false));\r\n        }\r\n        else if (err.status === 400) {\r\n            return __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__[\"Observable\"].of(new UsernameDetails(false, null));\r\n        }\r\n        throw new Error('Unknown response from fetchUsernameDetails');\r\n    };\r\n    IdentityService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__[\"a\" /* ConsumerRegistrationApi */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__[\"a\" /* ConsumerRegistrationApi */]) === 'function' && _a) || Object])\r\n    ], IdentityService);\r\n    return IdentityService;\r\n    var _a;\r\n}());\r\nvar UsernameDetails = (function () {\r\n    function UsernameDetails(IsValid, AlreadyInUse) {\r\n        this.IsValid = IsValid;\r\n        this.AlreadyInUse = AlreadyInUse;\r\n    }\r\n    return UsernameDetails;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/identity.service.js.map\n\n/***/ },\n\n/***/ 512:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__client_api_SelectProductsApi_api_KitsApi__ = __webpack_require__(304);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__client_api_Service__ = __webpack_require__(60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__client_api_SelectProductsApi_variables__ = __webpack_require__(202);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ProductsService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\nvar ProductsService = (function () {\r\n    function ProductsService(basePath, service, kitsApi, _myDnaOperatingContextService) {\r\n        this.service = service;\r\n        this.kitsApi = kitsApi;\r\n        this._myDnaOperatingContextService = _myDnaOperatingContextService;\r\n        this.basePath = basePath || this.basePath;\r\n    }\r\n    ProductsService.prototype.getKitDetails = function (kitTypeId) {\r\n        var headers = this._myDnaOperatingContextService.getNewHeadersJsonWithOperatingContext();\r\n        return this.service.get(this.basePath + \"/Kits/\" + kitTypeId, {}, headers);\r\n    };\r\n    ProductsService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_3__client_api_SelectProductsApi_variables__[\"a\" /* Select_Products_Api_BASE_PATH */])), \r\n        __metadata('design:paramtypes', [String, (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__client_api_Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__client_api_Service__[\"a\" /* Service */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__client_api_SelectProductsApi_api_KitsApi__[\"a\" /* KitsApi */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__client_api_SelectProductsApi_api_KitsApi__[\"a\" /* KitsApi */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */]) === 'function' && _c) || Object])\r\n    ], ProductsService);\r\n    return ProductsService;\r\n    var _a, _b, _c;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/products.service.js.map\n\n/***/ },\n\n/***/ 513:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__ = __webpack_require__(305);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ValidateBarcodesService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar ValidateBarcodesService = (function () {\r\n    function ValidateBarcodesService(kitBarcodesApi) {\r\n        this.kitBarcodesApi = kitBarcodesApi;\r\n    }\r\n    ValidateBarcodesService.prototype.getBarcodeDetails = function (barcodeNumber) {\r\n        return this.kitBarcodesApi.kitBarcodesGet(barcodeNumber);\r\n    };\r\n    ValidateBarcodesService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__[\"a\" /* KitBarcodesApi */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__[\"a\" /* KitBarcodesApi */]) === 'function' && _a) || Object])\r\n    ], ValidateBarcodesService);\r\n    return ValidateBarcodesService;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/validateBarcodes.service.js.map\n\n/***/ },\n\n/***/ 514:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MyDnaUtilityService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar MyDnaUtilityService = (function () {\r\n    function MyDnaUtilityService() {\r\n    }\r\n    MyDnaUtilityService.prototype.splitPhoneNumber = function (strphonenumber, country) {\r\n        var output = {};\r\n        var PhoneNumber = \"\";\r\n        var countryCode = \"\";\r\n        if (strphonenumber !== '' && strphonenumber !== undefined && strphonenumber !== null) {\r\n            PhoneNumber = strphonenumber;\r\n            if (country && country === 'Australia') {\r\n                countryCode = PhoneNumber.substring(0, 3);\r\n                if (countryCode == \"+61\") {\r\n                    PhoneNumber = PhoneNumber.substring(3, PhoneNumber.length);\r\n                }\r\n            }\r\n            else if (country && country === 'Canada') {\r\n                countryCode = PhoneNumber.substring(0, 2);\r\n                if (countryCode == \"+1\") {\r\n                    PhoneNumber = PhoneNumber.substring(2, PhoneNumber.length);\r\n                }\r\n            }\r\n        }\r\n        output = {\r\n            \"CountryCode\": countryCode,\r\n            \"PhoneNumber\": PhoneNumber\r\n        };\r\n        return output;\r\n    };\r\n    MyDnaUtilityService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [])\r\n    ], MyDnaUtilityService);\r\n    return MyDnaUtilityService;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/mydna-utility.service.js.map\n\n/***/ },\n\n/***/ 515:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__variables__ = __webpack_require__(203);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__configuration__ = __webpack_require__(517);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return HealthCarePractitionersApi; });\n/**\r\n * MyDna.HealthCarePractitionerSearchApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\nvar HealthCarePractitionersApi = (function () {\r\n    function HealthCarePractitionersApi(http, basePath, configuration) {\r\n        this.http = http;\r\n        this.basePath = '';\r\n        this.defaultHeaders = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */]();\r\n        this.configuration = new __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */]();\r\n        if (basePath) {\r\n            this.basePath = basePath;\r\n        }\r\n        if (configuration) {\r\n            this.configuration = configuration;\r\n        }\r\n    }\r\n    /**\r\n     * GetClinicians Method Implementation\r\n     *\r\n     * @param doctorNameOrClinicName Search doctor Name or clinic name in CRM.\r\n     */\r\n    HealthCarePractitionersApi.prototype.healthCarePractitionersGetClinicians = function (doctorNameOrClinicName, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText) {\r\n        return this.healthCarePractitionersGetCliniciansWithHttpInfo(doctorNameOrClinicName, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText)\r\n            .map(function (response) {\r\n            if (response.status === 204) {\r\n                return undefined;\r\n            }\r\n            else {\r\n                return response.json();\r\n            }\r\n        });\r\n    };\r\n    /**\r\n     * GetClinicians Method Implementation\r\n     *\r\n     * @param doctorNameOrClinicName Search doctor Name or clinic name in CRM.\r\n     */\r\n    HealthCarePractitionersApi.prototype.healthCarePractitionersGetCliniciansWithHttpInfo = function (doctorNameOrClinicName, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText, extraHttpRequestParams) {\r\n        var path = this.basePath + \"/HealthCarePractitioners\";\r\n        var queryParameters = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"b\" /* URLSearchParams */]();\r\n        var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */](this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845\r\n        if (doctorNameOrClinicName !== undefined) {\r\n            queryParameters.set('doctorNameOrClinicName', doctorNameOrClinicName);\r\n        }\r\n        if (unitMemberId) {\r\n            queryParameters.set('memberId', unitMemberId);\r\n        }\r\n        if (partnerName) {\r\n            queryParameters.set('partnerName', partnerName);\r\n        }\r\n        if (partnerReferenceId && partnerReferenceText) {\r\n            queryParameters.set('partnerReferenceId', partnerReferenceId);\r\n            queryParameters.set('partnerReferenceText', partnerReferenceText);\r\n        }\r\n        // to determine the Content-Type header\r\n        var consumes = [];\r\n        // to determine the Accept header\r\n        var produces = [\r\n            'application/json',\r\n            'text/json',\r\n            'application/xml',\r\n            'text/xml'\r\n        ];\r\n        var requestOptions = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"c\" /* RequestOptions */]({\r\n            method: __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Get,\r\n            headers: headers,\r\n            search: queryParameters\r\n        });\r\n        // https://github.com/swagger-api/swagger-codegen/issues/4037\r\n        if (extraHttpRequestParams) {\r\n            requestOptions = Object.assign(requestOptions, extraHttpRequestParams);\r\n        }\r\n        return this.http.request(path, requestOptions);\r\n    };\r\n    HealthCarePractitionersApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_3__variables__[\"a\" /* HealthCarePractitionerApi_BASE_PATH */])),\r\n        __param(2, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */]) === 'function' && _a) || Object, String, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__configuration__[\"a\" /* Configuration */]) === 'function' && _b) || Object])\r\n    ], HealthCarePractitionersApi);\r\n    return HealthCarePractitionersApi;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/HealthCarePractitionersApi.js.map\n\n/***/ },\n\n/***/ 516:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__variables__ = __webpack_require__(203);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return PharmaciesApi; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\nvar PharmaciesApi = (function () {\r\n    function PharmaciesApi(http, basePath) {\r\n        this.http = http;\r\n        this.basePath = basePath;\r\n    }\r\n    PharmaciesApi.prototype.getPharmacies = function (query, bannerGroup) {\r\n        return this.httpRequest(this.basePath + 'ClinicalOrganisations/Pharmacies', query, bannerGroup)\r\n            .map(function (response) {\r\n            return response.status === 204 ? undefined : response.json();\r\n        });\r\n    };\r\n    PharmaciesApi.prototype.httpRequest = function (path, query, bannerGroup) {\r\n        var queryParameters = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"b\" /* URLSearchParams */]();\r\n        if (query !== undefined) {\r\n            queryParameters.set('query', query);\r\n        }\r\n        if (bannerGroup !== undefined) {\r\n            queryParameters.set('bannerGroupCode', bannerGroup);\r\n        }\r\n        var requestOptions = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"c\" /* RequestOptions */]({\r\n            method: __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Get,\r\n            headers: new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */](),\r\n            search: queryParameters\r\n        });\r\n        return this.http.request(path, requestOptions);\r\n    };\r\n    PharmaciesApi = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_3__variables__[\"a\" /* HealthCarePractitionerApi_BASE_PATH */])), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */]) === 'function' && _a) || Object, String])\r\n    ], PharmaciesApi);\r\n    return PharmaciesApi;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/PharmaciesApi.js.map\n\n/***/ },\n\n/***/ 517:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Configuration; });\nvar Configuration = (function () {\r\n    function Configuration() {\r\n    }\r\n    return Configuration;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/configuration.js.map\n\n/***/ },\n\n/***/ 54:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return environment; });\n// Using JSON.parse here for the boolean values as we want those settings to be set by Octopus in the release process and still keep those variables as boolean. If we put the variable remplacement tag ( #{} ) directly, ng build fail with an Invalid Caracter / Property declaration expected error.  \r\nvar environment = {\r\n    production: JSON.parse('true'),\r\n    medicationsApiEndpoint: 'https://api.mydna.life/MyDna.MedicationsServiceApi/',\r\n    pharmacistsApiEndpoint: 'https://api.mydna.life/MyDna.HealthCarePractitionerSearchApi/',\r\n    HealthCarePractitionerApiEndPoint: 'https://api.mydna.life/MyDna.HealthCarePractitionerSearchApi/',\r\n    RequestReportApiEndPoint: 'https://api.mydna.life/MyDna.RequestReportApi/',\r\n    SelectProductsApiEndPoint: 'https://api.mydna.life/MyDna.SelectProductsApi',\r\n    ValidateBarcodesApiEndPoint: 'https://api.mydna.life/MyDna.ValidateKitBarcodesApi',\r\n    ConsumerRegistrationApiEndPoint: 'https://api.mydna.life/MyDna.ConsumerRegistrationApi',\r\n    CountriesApiEndPoint: 'https://api.mydna.life/MyDna.CountriesApi',\r\n    enableAppConferenceModule: JSON.parse('false'),\r\n    enableConsumerRegistrationModule: JSON.parse('true'),\r\n    channel: 'customer-registration',\r\n    addressCaptureToken: 'ff1ce302-11c2-4686-a412-7c655029e6e7',\r\n    captureSupportedCountries: 'australia,canada,united kingdom,new zealand',\r\n    captureAddressUrl: 'https://api.edq.com/capture/address/v2/search',\r\n    captureEmailUrl: 'https://api.experianmarketingservices.com/sync/queryresult/EmailValidate/1.0/',\r\n    FeatureToggleUseEmailValidatior: 'false'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/environment.octopus.js.map\n\n/***/ },\n\n/***/ 60:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Service; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\nvar Service = (function () {\r\n    function Service(http) {\r\n        this.http = http;\r\n    }\r\n    Service.prototype.get = function (url, parameters, headers, excludeTokenInHeader) {\r\n        if (parameters === void 0) { parameters = {}; }\r\n        var httpParams = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"b\" /* URLSearchParams */]();\r\n        Object.keys(parameters || {}).forEach(function (p) { return httpParams.set(p, parameters[p]); });\r\n        var requestOptions = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"c\" /* RequestOptions */]({\r\n            method: __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Get,\r\n            headers: this.headers(headers, excludeTokenInHeader),\r\n            search: httpParams\r\n        });\r\n        return this.http.request(url, requestOptions)\r\n            .map(function (response) {\r\n            return response.status === 204 ? undefined : response.json();\r\n        });\r\n    };\r\n    Service.prototype.headers = function (additional, excludeToken) {\r\n        if (additional) {\r\n            if (this.token && !excludeToken) {\r\n                additional['Authorization'] = 'Bearer ' + this.token;\r\n            }\r\n        }\r\n        var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"a\" /* Headers */](additional || null);\r\n        return headers;\r\n    };\r\n    /*\r\n      public get<T>(url: string, parameters: any = {}, headers?: any): Observable<any> {\r\n        return this.request<T>(RequestMethod.Get, url, parameters, headers);\r\n      }*/\r\n    Service.prototype.put = function (url, object, headers) {\r\n        return this.request(__WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Put, url, object, headers);\r\n    };\r\n    Service.prototype.post = function (url, object, headers) {\r\n        return this.request(__WEBPACK_IMPORTED_MODULE_1__angular_http__[\"d\" /* RequestMethod */].Post, url, object, headers);\r\n    };\r\n    Service.prototype.request = function (type, url, object, headers) {\r\n        var requestOptions = new __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"c\" /* RequestOptions */]({\r\n            method: type,\r\n            headers: this.headers(headers),\r\n            body: object ? JSON.stringify(object) : '' // https://github.com/angular/angular/issues/10612\r\n        });\r\n        return this.http.request(url, requestOptions).map(function (response) {\r\n            return response.status === 204 ? undefined : response.json();\r\n        });\r\n    };\r\n    Service = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_http__[\"e\" /* Http */]) === 'function' && _a) || Object])\r\n    ], Service);\r\n    return Service;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Service.js.map\n\n/***/ },\n\n/***/ 768:\n/***/ function(module, exports) {\n\nfunction webpackEmptyContext(req) {\n\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 768;\n\n\n/***/ },\n\n/***/ 769:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__polyfills_ts__ = __webpack_require__(986);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__polyfills_ts___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__polyfills_ts__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__ = __webpack_require__(856);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_app_module__ = __webpack_require__(900);\n\r\n\r\n\r\n\r\n//if (environment.production) {\r\n__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__angular_core__[\"_41\" /* enableProdMode */])();\r\n//}\r\n__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__[\"a\" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_3__app_app_module__[\"a\" /* AppModule */]);\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/main.js.map\n\n/***/ },\n\n/***/ 82:\n/***/ function(module, exports) {\n\nmodule.exports = \"li{\\r\\n  margin-top:7px;\\r\\n}\\r\\n\"\n\n/***/ },\n\n/***/ 899:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__operators__ = __webpack_require__(981);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__operators___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__operators__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ng2_bootstrap_modal__ = __webpack_require__(335);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_shared_modal_popup_modal_popup_service__ = __webpack_require__(110);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_shared_spinner_spinner_service__ = __webpack_require__(111);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return AppComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * This class represents the main application component.\r\n */\r\nvar AppComponent = (function () {\r\n    function AppComponent(modalService, spinnerService) {\r\n        this.modalService = modalService;\r\n        this.spinnerService = spinnerService;\r\n        this.showSpinner = false;\r\n        this.isModalShown = false;\r\n    }\r\n    AppComponent.prototype.ngAfterViewInit = function () {\r\n        var _this = this;\r\n        this.modalService.status.subscribe(function (val) {\r\n            _this.isModalShown = val;\r\n        });\r\n        this.modalService.content.subscribe(function (content) {\r\n            _this.modalContent = content;\r\n        });\r\n        this.spinnerService.status.subscribe(function (val) {\r\n            _this.showSpinner = val;\r\n        });\r\n        this.spinnerService.content.subscribe(function (content) {\r\n            _this.spinnerContent = content;\r\n        });\r\n    };\r\n    AppComponent.prototype.showModal = function () {\r\n        this.isModalShown = true;\r\n    };\r\n    AppComponent.prototype.hideModal = function () {\r\n        this.autoShownModal.hide();\r\n    };\r\n    AppComponent.prototype.onHidden = function () {\r\n        this.isModalShown = false;\r\n    };\r\n    AppComponent.prototype.toggleModal = function () {\r\n        this.modalService.show('505 Error', 'Something went wrong with the server');\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('autoShownModal'), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ng2_bootstrap_modal__[\"a\" /* ModalDirective */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2_ng2_bootstrap_modal__[\"a\" /* ModalDirective */]) === 'function' && _a) || Object)\r\n    ], AppComponent.prototype, \"autoShownModal\", void 0);\r\n    AppComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'app-root',\r\n            template: __webpack_require__(1180),\r\n            styles: [__webpack_require__(1165)],\r\n            providers: [__WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */]]\r\n        }),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */])),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_shared_spinner_spinner_service__[\"a\" /* SpinnerService */])), \r\n        __metadata('design:paramtypes', [(typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_shared_spinner_spinner_service__[\"a\" /* SpinnerService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_shared_spinner_spinner_service__[\"a\" /* SpinnerService */]) === 'function' && _c) || Object])\r\n    ], AppComponent);\r\n    return AppComponent;\r\n    var _a, _b, _c;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/app.component.js.map\n\n/***/ },\n\n/***/ 900:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(140);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_http__ = __webpack_require__(25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(899);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__core_mydna_core_module__ = __webpack_require__(942);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__customer_registration_wizard_customer_registration_wizard_module__ = __webpack_require__(960);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__customer_registration_wizard_shared_modal_popup_modal_popup_service__ = __webpack_require__(110);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__customer_registration_wizard_shared_spinner_spinner_service__ = __webpack_require__(111);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_ng2_bootstrap__ = __webpack_require__(693);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__client_api_StorageService__ = __webpack_require__(936);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return AppModule; });\n/* unused harmony export xsrfFactory */\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar AppModule = (function () {\r\n    function AppModule() {\r\n    }\r\n    AppModule = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"I\" /* NgModule */])({\r\n            imports: [\r\n                __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__[\"b\" /* BrowserModule */],\r\n                __WEBPACK_IMPORTED_MODULE_2__angular_http__[\"f\" /* HttpModule */],\r\n                __WEBPACK_IMPORTED_MODULE_5__customer_registration_wizard_customer_registration_wizard_module__[\"a\" /* CustomerRegistrationWizardModule */],\r\n                __WEBPACK_IMPORTED_MODULE_4__core_mydna_core_module__[\"a\" /* MyDNACoreModule */].forRoot(),\r\n                __WEBPACK_IMPORTED_MODULE_8_ng2_bootstrap__[\"a\" /* ModalModule */].forRoot()\r\n            ],\r\n            declarations: [__WEBPACK_IMPORTED_MODULE_3__app_component__[\"a\" /* AppComponent */]],\r\n            providers: [\r\n                __WEBPACK_IMPORTED_MODULE_6__customer_registration_wizard_shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */],\r\n                __WEBPACK_IMPORTED_MODULE_7__customer_registration_wizard_shared_spinner_spinner_service__[\"a\" /* SpinnerService */],\r\n                __WEBPACK_IMPORTED_MODULE_9__client_api_StorageService__[\"a\" /* StorageService */],\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_2__angular_http__[\"g\" /* XSRFStrategy */],\r\n                    useFactory: xsrfFactory\r\n                }\r\n            ],\r\n            bootstrap: [__WEBPACK_IMPORTED_MODULE_3__app_component__[\"a\" /* AppComponent */]]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], AppModule);\r\n    return AppModule;\r\n}());\r\nfunction xsrfFactory() {\r\n    return new __WEBPACK_IMPORTED_MODULE_2__angular_http__[\"h\" /* CookieXSRFStrategy */]('csrftoken', 'CSRFToken');\r\n}\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/app.module.js.map\n\n/***/ },\n\n/***/ 901:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ConsumerRegistrationApi__ = __webpack_require__(201);\n/* unused harmony export APIS */\n/* unused harmony namespace reexport */\n\r\n\r\nvar APIS = [__WEBPACK_IMPORTED_MODULE_0__ConsumerRegistrationApi__[\"a\" /* ConsumerRegistrationApi */]];\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/api.js.map\n\n/***/ },\n\n/***/ 902:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__api_api__ = __webpack_require__(901);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__variables__ = __webpack_require__(504);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__configuration__ = __webpack_require__(503);\n/* unused harmony namespace reexport */\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_1__variables__[\"a\"]; });\n/* unused harmony namespace reexport */\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/index.js.map\n\n/***/ },\n\n/***/ 903:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CountriesApi__ = __webpack_require__(302);\n/* unused harmony namespace reexport */\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/api.js.map\n\n/***/ },\n\n/***/ 904:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export Configuration */\nvar Configuration = (function () {\r\n    function Configuration() {\r\n    }\r\n    return Configuration;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/configuration.js.map\n\n/***/ },\n\n/***/ 905:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__api_api__ = __webpack_require__(903);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_models__ = __webpack_require__(908);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(505);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__configuration__ = __webpack_require__(904);\n/* unused harmony namespace reexport */\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"CountriesApi_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_1__model_models__[\"CountriesApi_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"CountriesApi_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_2__variables__[\"a\"]; });\n/* unused harmony namespace reexport */\n\r\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/index.js.map\n\n/***/ },\n\n/***/ 906:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Countries.js.map\n\n/***/ },\n\n/***/ 907:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/StateProvince.js.map\n\n/***/ },\n\n/***/ 908:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Countries__ = __webpack_require__(906);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Countries___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__Countries__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StateProvince__ = __webpack_require__(907);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__StateProvince___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__StateProvince__);\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Countries__, \"CountriesApi_BASE_PATH\")) __webpack_require__.d(exports, \"CountriesApi_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_0__Countries__[\"CountriesApi_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__StateProvince__, \"CountriesApi_BASE_PATH\")) __webpack_require__.d(exports, \"CountriesApi_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_1__StateProvince__[\"CountriesApi_BASE_PATH\"]; });\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/models.js.map\n\n/***/ },\n\n/***/ 909:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export Configuration */\nvar Configuration = (function () {\r\n    function Configuration() {\r\n    }\r\n    return Configuration;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/configuration.js.map\n\n/***/ },\n\n/***/ 910:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__model_models__ = __webpack_require__(303);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__variables__ = __webpack_require__(928);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__configuration__ = __webpack_require__(909);\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_0__model_models__[\"REQUEST_REPORT_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"REQUEST_REPORT_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_1__variables__[\"a\"]; });\n/* unused harmony namespace reexport */\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/index.js.map\n\n/***/ },\n\n/***/ 911:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Address.js.map\n\n/***/ },\n\n/***/ 912:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/BusinessContactDetails.js.map\n\n/***/ },\n\n/***/ 913:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ClinicalOrganisation; });\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar ClinicalOrganisation;\r\n(function (ClinicalOrganisation) {\r\n    (function (CategoryEnum) {\r\n        CategoryEnum[CategoryEnum[\"Doctor\"] = 'doctor'] = \"Doctor\";\r\n        CategoryEnum[CategoryEnum[\"Pharmacy\"] = 'pharmacy'] = \"Pharmacy\";\r\n    })(ClinicalOrganisation.CategoryEnum || (ClinicalOrganisation.CategoryEnum = {}));\r\n    var CategoryEnum = ClinicalOrganisation.CategoryEnum;\r\n})(ClinicalOrganisation || (ClinicalOrganisation = {}));\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ClinicalOrganisation.js.map\n\n/***/ },\n\n/***/ 914:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ClinicalOrganisationRef.js.map\n\n/***/ },\n\n/***/ 915:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ContactDetails.js.map\n\n/***/ },\n\n/***/ 916:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Customer; });\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar Customer;\r\n(function (Customer) {\r\n    (function (GenderEnum) {\r\n        GenderEnum[GenderEnum[\"Male\"] = 'male'] = \"Male\";\r\n        GenderEnum[GenderEnum[\"Female\"] = 'female'] = \"Female\";\r\n        GenderEnum[GenderEnum[\"Other\"] = 'other'] = \"Other\";\r\n    })(Customer.GenderEnum || (Customer.GenderEnum = {}));\r\n    var GenderEnum = Customer.GenderEnum;\r\n})(Customer || (Customer = {}));\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Customer.js.map\n\n/***/ },\n\n/***/ 917:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/HealthcarePractitioner.js.map\n\n/***/ },\n\n/***/ 918:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Identity.js.map\n\n/***/ },\n\n/***/ 919:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/KitBarcode.js.map\n\n/***/ },\n\n/***/ 920:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Medication.js.map\n\n/***/ },\n\n/***/ 921:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/PartnerReference.js.map\n\n/***/ },\n\n/***/ 922:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/PaymentDetails.js.map\n\n/***/ },\n\n/***/ 923:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Preferences.js.map\n\n/***/ },\n\n/***/ 924:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Product.js.map\n\n/***/ },\n\n/***/ 925:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ReportRecipients; });\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar ReportRecipients;\r\n(function (ReportRecipients) {\r\n    (function (ResultsExplainedByEnum) {\r\n        ResultsExplainedByEnum[ResultsExplainedByEnum[\"Customer\"] = 'customer'] = \"Customer\";\r\n        ResultsExplainedByEnum[ResultsExplainedByEnum[\"Pharmacy\"] = 'pharmacy'] = \"Pharmacy\";\r\n        ResultsExplainedByEnum[ResultsExplainedByEnum[\"HealthcarePractitioner\"] = 'healthcarePractitioner'] = \"HealthcarePractitioner\";\r\n    })(ReportRecipients.ResultsExplainedByEnum || (ReportRecipients.ResultsExplainedByEnum = {}));\r\n    var ResultsExplainedByEnum = ReportRecipients.ResultsExplainedByEnum;\r\n})(ReportRecipients || (ReportRecipients = {}));\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ReportRecipients.js.map\n\n/***/ },\n\n/***/ 926:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return RequestReport; });\n/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar RequestReport;\r\n(function (RequestReport) {\r\n    (function (StatusEnum) {\r\n        StatusEnum[StatusEnum[\"New\"] = 'new'] = \"New\";\r\n        StatusEnum[StatusEnum[\"SubmittedForProcessing\"] = 'submittedForProcessing'] = \"SubmittedForProcessing\";\r\n        StatusEnum[StatusEnum[\"Fulfilled\"] = 'fulfilled'] = \"Fulfilled\";\r\n    })(RequestReport.StatusEnum || (RequestReport.StatusEnum = {}));\r\n    var StatusEnum = RequestReport.StatusEnum;\r\n})(RequestReport || (RequestReport = {}));\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/RequestReport.js.map\n\n/***/ },\n\n/***/ 927:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Token.js.map\n\n/***/ },\n\n/***/ 928:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return REQUEST_REPORT_BASE_PATH; });\n/* unused harmony export COLLECTION_FORMATS */\n\r\nvar REQUEST_REPORT_BASE_PATH = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"w\" /* OpaqueToken */]('basePath');\r\nvar COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/variables.js.map\n\n/***/ },\n\n/***/ 929:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__KitsApi__ = __webpack_require__(304);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ProductsApi__ = __webpack_require__(506);\n/* unused harmony namespace reexport */\n/* unused harmony namespace reexport */\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/api.js.map\n\n/***/ },\n\n/***/ 93:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_http__ = __webpack_require__(25);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MyDnaOperatingContextService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\nvar MyDnaOperatingContextService = (function () {\r\n    function MyDnaOperatingContextService() {\r\n        var _this = this;\r\n        this.setContextCountryCode = function (countryCode) {\r\n            _this._countryCode = countryCode;\r\n        };\r\n        this.setOperatingContextHeaders = function (headers) {\r\n            headers.set('x-mydna-country', _this._countryCode || '');\r\n            headers.set('x-mydna-channel', __WEBPACK_IMPORTED_MODULE_0__environments_environment__[\"a\" /* environment */].channel || '');\r\n        };\r\n    }\r\n    MyDnaOperatingContextService.prototype.getNewHeadersJsonWithOperatingContext = function () {\r\n        var headers = new __WEBPACK_IMPORTED_MODULE_2__angular_http__[\"a\" /* Headers */]();\r\n        this.setOperatingContextHeaders(headers);\r\n        return new __WEBPACK_IMPORTED_MODULE_2__angular_http__[\"a\" /* Headers */](headers.toJSON());\r\n    };\r\n    MyDnaOperatingContextService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [])\r\n    ], MyDnaOperatingContextService);\r\n    return MyDnaOperatingContextService;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/mydna-operating-context.service.js.map\n\n/***/ },\n\n/***/ 930:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__api_api__ = __webpack_require__(929);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_models__ = __webpack_require__(935);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(202);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__configuration__ = __webpack_require__(507);\n/* unused harmony namespace reexport */\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"Select_Products_Api_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_1__model_models__[\"Select_Products_Api_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"Select_Products_Api_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_2__variables__[\"a\"]; });\n/* unused harmony namespace reexport */\n\r\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/index.js.map\n\n/***/ },\n\n/***/ 931:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.SelectProductsApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Country.js.map\n\n/***/ },\n\n/***/ 932:\n/***/ function(module, exports) {\n\n/**\r\n * MyDna.SelectProductsApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Kit.js.map\n\n/***/ },\n\n/***/ 933:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Product.js.map\n\n/***/ },\n\n/***/ 934:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Requirement.js.map\n\n/***/ },\n\n/***/ 935:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Country__ = __webpack_require__(931);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Country___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__Country__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Kit__ = __webpack_require__(932);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Kit___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__Kit__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Product__ = __webpack_require__(933);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Product___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__Product__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Requirement__ = __webpack_require__(934);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Requirement___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__Requirement__);\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_0__Country__, \"Select_Products_Api_BASE_PATH\")) __webpack_require__.d(exports, \"Select_Products_Api_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_0__Country__[\"Select_Products_Api_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_1__Kit__, \"Select_Products_Api_BASE_PATH\")) __webpack_require__.d(exports, \"Select_Products_Api_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_1__Kit__[\"Select_Products_Api_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_2__Product__, \"Select_Products_Api_BASE_PATH\")) __webpack_require__.d(exports, \"Select_Products_Api_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_2__Product__[\"Select_Products_Api_BASE_PATH\"]; });\n/* harmony namespace reexport (by used) */ if(__webpack_require__.o(__WEBPACK_IMPORTED_MODULE_3__Requirement__, \"Select_Products_Api_BASE_PATH\")) __webpack_require__.d(exports, \"Select_Products_Api_BASE_PATH\", function() { return __WEBPACK_IMPORTED_MODULE_3__Requirement__[\"Select_Products_Api_BASE_PATH\"]; });\n\r\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/models.js.map\n\n/***/ },\n\n/***/ 936:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return StorageService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar StorageService = (function () {\r\n    function StorageService() {\r\n        this.data = {};\r\n        try {\r\n            localStorage.setItem('mod', 'mod');\r\n            localStorage.removeItem('mod');\r\n            this.native = true;\r\n        }\r\n        catch (e) {\r\n            this.native = false;\r\n        }\r\n    }\r\n    StorageService.prototype.setItem = function (key, value) {\r\n        if (this.native) {\r\n            try {\r\n                localStorage.setItem(key, value);\r\n            }\r\n            catch (e) {\r\n                this.native = false;\r\n                this.data[key] = value;\r\n            }\r\n        }\r\n        else {\r\n            this.data[key] = value;\r\n        }\r\n    };\r\n    StorageService.prototype.getItem = function (key) {\r\n        if (this.native) {\r\n            try {\r\n                return localStorage.getItem(key);\r\n            }\r\n            catch (e) {\r\n                this.native = false;\r\n                return null;\r\n            }\r\n        }\r\n        else {\r\n            return this.data.hasOwnProperty(key) ? this.data[key] : null;\r\n        }\r\n    };\r\n    StorageService.prototype.removeItem = function (key) {\r\n        if (this.native) {\r\n            try {\r\n                localStorage.removeItem(key);\r\n            }\r\n            catch (e) {\r\n                this.native = false;\r\n            }\r\n        }\r\n        else {\r\n            delete this.data[key];\r\n        }\r\n    };\r\n    StorageService.prototype.clear = function () {\r\n        if (this.native) {\r\n            try {\r\n                localStorage.clear();\r\n            }\r\n            catch (e) {\r\n                this.native = false;\r\n            }\r\n        }\r\n        else {\r\n            this.data = {};\r\n        }\r\n    };\r\n    StorageService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [])\r\n    ], StorageService);\r\n    return StorageService;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/StorageService.js.map\n\n/***/ },\n\n/***/ 937:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__KitBarcodesApi__ = __webpack_require__(305);\n/* unused harmony namespace reexport */\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/api.js.map\n\n/***/ },\n\n/***/ 938:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export Configuration */\nvar Configuration = (function () {\r\n    function Configuration() {\r\n    }\r\n    return Configuration;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/configuration.js.map\n\n/***/ },\n\n/***/ 939:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__api_api__ = __webpack_require__(937);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_models__ = __webpack_require__(941);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__variables__ = __webpack_require__(508);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__configuration__ = __webpack_require__(938);\n/* unused harmony namespace reexport */\n/* unused harmony namespace reexport */\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_2__variables__[\"a\"]; });\n/* unused harmony namespace reexport */\n\r\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/index.js.map\n\n/***/ },\n\n/***/ 940:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export ValidatedKitBarcode */\n/**\r\n * MyDna.ValidateKitBarcodesApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\nvar ValidatedKitBarcode;\r\n(function (ValidatedKitBarcode) {\r\n    (function (StatusEnum) {\r\n        StatusEnum[StatusEnum[\"Active\"] = 'active'] = \"Active\";\r\n        StatusEnum[StatusEnum[\"Cancelled\"] = 'cancelled'] = \"Cancelled\";\r\n        StatusEnum[StatusEnum[\"Redeemed\"] = 'redeemed'] = \"Redeemed\";\r\n        StatusEnum[StatusEnum[\"NotIssued\"] = 'notIssued'] = \"NotIssued\";\r\n    })(ValidatedKitBarcode.StatusEnum || (ValidatedKitBarcode.StatusEnum = {}));\r\n    var StatusEnum = ValidatedKitBarcode.StatusEnum;\r\n})(ValidatedKitBarcode || (ValidatedKitBarcode = {}));\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/ValidatedKitBarcode.js.map\n\n/***/ },\n\n/***/ 941:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ValidatedKitBarcode__ = __webpack_require__(940);\n/* unused harmony namespace reexport */\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/models.js.map\n\n/***/ },\n\n/***/ 942:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__(11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_router__ = __webpack_require__(876);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__toolbar_toolbar_component__ = __webpack_require__(945);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__navbar_navbar_component__ = __webpack_require__(943);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__page_not_found_page_not_found_component__ = __webpack_require__(944);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MyDNACoreModule; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * Do not specify providers for modules that might be imported by a lazy loaded module.\r\n */\r\nvar MyDNACoreModule = (function () {\r\n    function MyDNACoreModule() {\r\n    }\r\n    MyDNACoreModule.forRoot = function () {\r\n        return {\r\n            ngModule: MyDNACoreModule,\r\n            providers: []\r\n        };\r\n    };\r\n    MyDNACoreModule = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"I\" /* NgModule */])({\r\n            imports: [__WEBPACK_IMPORTED_MODULE_1__angular_common__[\"b\" /* CommonModule */], __WEBPACK_IMPORTED_MODULE_3__angular_router__[\"a\" /* RouterModule */]],\r\n            declarations: [__WEBPACK_IMPORTED_MODULE_4__toolbar_toolbar_component__[\"a\" /* ToolbarComponent */], __WEBPACK_IMPORTED_MODULE_5__navbar_navbar_component__[\"a\" /* NavbarComponent */], __WEBPACK_IMPORTED_MODULE_6__page_not_found_page_not_found_component__[\"a\" /* PageNotFoundComponent */]],\r\n            exports: [__WEBPACK_IMPORTED_MODULE_4__toolbar_toolbar_component__[\"a\" /* ToolbarComponent */], __WEBPACK_IMPORTED_MODULE_5__navbar_navbar_component__[\"a\" /* NavbarComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_1__angular_common__[\"b\" /* CommonModule */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"a\" /* FormsModule */], __WEBPACK_IMPORTED_MODULE_3__angular_router__[\"a\" /* RouterModule */], __WEBPACK_IMPORTED_MODULE_6__page_not_found_page_not_found_component__[\"a\" /* PageNotFoundComponent */]]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], MyDNACoreModule);\r\n    return MyDNACoreModule;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/mydna-core.module.js.map\n\n/***/ },\n\n/***/ 943:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__environments_environment__ = __webpack_require__(54);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return NavbarComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar NavbarComponent = (function () {\r\n    function NavbarComponent() {\r\n        this.enableConsumerRegistrationModule = __WEBPACK_IMPORTED_MODULE_1__environments_environment__[\"a\" /* environment */].enableConsumerRegistrationModule;\r\n        this.enableAppConferenceModule = __WEBPACK_IMPORTED_MODULE_1__environments_environment__[\"a\" /* environment */].enableAppConferenceModule;\r\n    }\r\n    NavbarComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'sd-navbar',\r\n            template: __webpack_require__(1181),\r\n            styles: [__webpack_require__(1166)],\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], NavbarComponent);\r\n    return NavbarComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/navbar.component.js.map\n\n/***/ },\n\n/***/ 944:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return PageNotFoundComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n/**\r\n * This class represents the navigation bar component.\r\n */\r\nvar PageNotFoundComponent = (function () {\r\n    function PageNotFoundComponent() {\r\n    }\r\n    PageNotFoundComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-page-not-found',\r\n            template: __webpack_require__(1182),\r\n            styles: [__webpack_require__(1167)],\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], PageNotFoundComponent);\r\n    return PageNotFoundComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/page-not-found.component.js.map\n\n/***/ },\n\n/***/ 945:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ToolbarComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n/**\r\n * This class represents the toolbar component.\r\n */\r\nvar ToolbarComponent = (function () {\r\n    function ToolbarComponent() {\r\n    }\r\n    ToolbarComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'sd-toolbar',\r\n            template: __webpack_require__(1183),\r\n            styles: [__webpack_require__(1168)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], ToolbarComponent);\r\n    return ToolbarComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/toolbar.component.js.map\n\n/***/ },\n\n/***/ 946:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__steps__ = __webpack_require__(112);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return BreadcrumbComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\nvar BreadcrumbComponent = (function () {\r\n    function BreadcrumbComponent(registrationService, stepsService) {\r\n        var _this = this;\r\n        this.steps = stepsService.getWorkflow().steps.filter(function (s) { return s.display; });\r\n        this.currentStep = stepsService.mykit.view;\r\n        registrationService.navigator.subscribe(function (step) {\r\n            _this.currentStep = step;\r\n        });\r\n        stepsService.workflow.subscribe(function (wf) {\r\n            _this.steps = wf.steps.filter(function (s) { return s.display; });\r\n        });\r\n    }\r\n    BreadcrumbComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-breadcrumb',\r\n            template: \"\\n    <div class=\\\"row\\\">\\n      <nav class=\\\"progress_bar\\\">\\n        <div class=\\\"container\\\">\\n          <ul class=\\\"nav nav-pills pull-right\\\">\\n            <li role=\\\"presentation\\\" *ngFor=\\\"let step of steps; let i = index\\\"\\n                [class.progress_dot_active]=\\\"step.view === currentStep\\\"\\n                [class.progress_dot]=\\\"step.view !== currentStep\\\"\\n                ><span>{{i+1}}</span>{{step.label}}</li>\\n          </ul>\\n        </div>\\n      </nav>\\n    </div>\\n  \"\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__steps__[\"a\" /* Steps */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__steps__[\"a\" /* Steps */]) === 'function' && _b) || Object])\r\n    ], BreadcrumbComponent);\r\n    return BreadcrumbComponent;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/breadcrumb.component.js.map\n\n/***/ },\n\n/***/ 947:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ConfirmationStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n/**\r\n * This class represents the lazy loaded AboutComponent.\r\n */\r\nvar ConfirmationStepComponent = (function () {\r\n    function ConfirmationStepComponent(registrationService) {\r\n        this.registrationService = registrationService;\r\n        this.e2eIds = this.registrationService.getE2ETestIds();\r\n    }\r\n    ConfirmationStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-confirmation-step',\r\n            template: __webpack_require__(1184),\r\n            styles: [__webpack_require__(1169)]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object])\r\n    ], ConfirmationStepComponent);\r\n    return ConfirmationStepComponent;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/confirmation-step.component.js.map\n\n/***/ },\n\n/***/ 948:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(9);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ConsentStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\nvar ConsentStepComponent = (function () {\r\n    function ConsentStepComponent(registrationService) {\r\n        this.registrationService = registrationService;\r\n        this.isConsent = true;\r\n        this.showMarketingConsent = false; // remove marketing consent as part of NKPS-347.\r\n        this.showErrors = false;\r\n        this.kitCountryIso2Code = this.registrationService.data.kitCountryIso2Code.toUpperCase();\r\n        switch (this.kitCountryIso2Code) {\r\n            case 'CA': {\r\n                this.termsConditionsURL = 'https://www.mydna.life/en-ca/terms-conditions-2/';\r\n                this.privacyPolicyURL = 'https://www.mydna.life/en-ca/privacy-policy-2/';\r\n                break;\r\n            }\r\n            case 'BE':\r\n            case 'GB': {\r\n                this.termsConditionsURL = 'https://www.mydna.life/en-uk/terms-conditions-3/';\r\n                this.privacyPolicyURL = 'https://www.mydna.life/en-uk/privacy-policy-3/';\r\n                break;\r\n            }\r\n            case 'US': {\r\n                this.termsConditionsURL = 'https://www.mydna.life/en-us/us-terms-conditions/';\r\n                this.privacyPolicyURL = 'https://www.mydna.life/en-us/us-privacy-policy/';\r\n                break;\r\n            }\r\n            default: {\r\n                this.termsConditionsURL = 'https://www.mydna.life/terms-conditions/';\r\n                this.privacyPolicyURL = 'https://www.mydna.life/privacy-policy/';\r\n                break;\r\n            }\r\n        }\r\n        var config = this.registrationService.data.product.config;\r\n        this.consentReference = config.consentReference || this.kitCountryIso2Code;\r\n        if (config.registrationWorkflow === 'CW-WR') {\r\n            this.consentReference = 'CW-WR';\r\n        }\r\n        if (this.kitCountryIso2Code === 'BE') {\r\n            this.consentReference = 'GB';\r\n        }\r\n    }\r\n    ConsentStepComponent.prototype.navigate = function () {\r\n        this.showErrors = false;\r\n        this.isConsent = true; // removed marketing consent as part of NKPS-347, setting isConsent = true.\r\n        this.registrationService.setMarketingConsent(this.isConsent);\r\n        if (this.myForm.valid) {\r\n            this.registrationService.nextPage();\r\n        }\r\n        else {\r\n            this.showErrors = true;\r\n        }\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('f'), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"c\" /* NgForm */]) === 'function' && _a) || Object)\r\n    ], ConsentStepComponent.prototype, \"myForm\", void 0);\r\n    ConsentStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-consent-step',\r\n            template: __webpack_require__(1185),\r\n            styles: [__webpack_require__(1170)],\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _b) || Object])\r\n    ], ConsentStepComponent);\r\n    return ConsentStepComponent;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/consent-step.component.js.map\n\n/***/ },\n\n/***/ 949:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsAuConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsAuConditionsComponent = (function () {\r\n    function TermsAuConditionsComponent() {\r\n    }\r\n    TermsAuConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-au-terms-conditions',\r\n            template: \"<ul>\\n    <li>I am 18 years of age or older, and any sample I provide is either my DNA, or the DNA of a person for whom I am a parent or legal guardian, or have obtained legal \\n      authorisation to provide their DNA to myDNA.</li>\\n    <li>myDNA will extract my DNA from the sample (a cheek swab) provided to perform genetic testing. In some cases, an additional sample may be required if the volume or \\n      quality of the sample is not adequate.</li>\\n    <li>myDNA will securely store my DNA sample indefinitely. I can formally request for my sample to be destroyed at any time.</li>\\n    <li>myDNA will initially interpret and provide a personalised report only for the myDNA test(s) requested by me and/or my healthcare professional.</li>\\n    <li>In the future, when new genetic testing or reporting is available, myDNA may perform additional testing on my sample. myDNA may communicate with me about new genetic \\n      findings and offer me the opportunity for further testing and analysis. I will be able to opt out of receiving further genetic information at any time. </li>\\n    <li>myDNA will confidentially disclose the myDNA Medication report results of the test(s) I have requested to my authorised healthcare professional.</li>\\n    <li>The details of my healthcare professional have been provided in order for myDNA to commence analysis and produce my myDNA Medication report(s). </li>\\n    <li>The myDNA Medication reports will be delivered to me by my nominated healthcare professional.</li>\\n    <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third parties including my insurance company and employer. </li>\\n    <li>Life insurance companies may request that I provide them with copies of any genetic test results known to me. myDNA focuses on lifestyle genetics and the majority \\n      of the genes analysed are unrelated to disease risk and should not have implications for life insurance. A small number of the genes analysed for health and wellness \\n      may be associated with disease risk. I understand that if I am concerned about this, I may want to consider my life insurance situation before having the myDNA test. </li>\\n    <li>myDNA may analyse my deidentified results for evaluation, research and marketing purposes.</li>\\n    <li>myDNA will make my results available to me on a secure online portal.</li>\\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA \\n      scientific team. Anything that falls out of this scope will not be reviewed or reported.</li>\\n    <li>The myDNA report may not cover all medications/nutritional supplements that I may be taking.</li>\\n    <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\\n    <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\\n    <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on <a href=\\\"tel:1300 436 373\\\">1300 436 373</a> to speak with a genetic expert.</li>\\n    <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\\n  </ul>\",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsAuConditionsComponent);\r\n    return TermsAuConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.au.component.js.map\n\n/***/ },\n\n/***/ 950:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsCaConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsCaConditionsComponent = (function () {\r\n    function TermsCaConditionsComponent() {\r\n    }\r\n    TermsCaConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-ca-terms-conditions',\r\n            template: \"\\n    <h4>What myDNA Life does:</h4>\\n    <ol>\\n      <li>myDNA Life is a genetic interpretation company that provides personalised DNA reports to help you make more informed health and wellness decision;</li>\\n      <li>myDNA Life will extract DNA from the sample (a cheek swab) provided to perform DNA testing. In some cases, an additional sample may be required if the volume or quality\\n        of the sample is not adequate;</li>\\n      <li>myDNA Life will initially interpret and provide a personalised report only for the myDNA Life test(s) you and/or your healthcare professional requested;</li>\\n      <li>myDNA will make your results available to you on a secure online portal;</li>\\n      <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific\\n        team. Anything that falls out of this scope will not be reviewed or reported;</li>\\n      <li>For more detailed information on the genes we test for and the scientific studies please visit www.myDNA.lifeWhat myDNA Life does not do:</li>\\n      <li>The information supplied to you does replace any information provided by a healthcare professional or practitioner. myDNA does not undertake DNA testing specifically\\n        relating to diseases, disease risk or cancer.</li>\\n      <li>If you have any specific concerns related to your own personal health then please consult with a qualified physician, doctor or genetic counsellor.</li>\\n      <li>The myDNA report may not cover all medications/nutritional supplements that you may be taking.Data processing and protection</li>\\n      <li>MyDNA Life will take reasonable measures to keep your information safe in accordance with the principles under the EU General Data Protection Regulation (GDPR) as a\\n        minimum standard. All users, not just those in the EU, will have the same data privacy rights. We expect our contracted third-party processors to meet the same level of\\n        protection and where we interact with users, partners and service providers in other territories. MyDNA ensures we meet our data protection requirements and obligations\\n        in Canada and globally.</li>\\n      <li>Your information will only be shared with third parties contracted to undertake necessary processing on behalf of MyDNA Life. Our third parties regardless of territory\\n        will be contractually committed to comply with our policies and data protection obligations. We will maintain control of data shared with our third-party service providers\\n        and will not permit them to further use your information for any other purpose than as instructed by us.</li>\\n      <li>We will ask you to give us personal information as detailed in the Privacy Policy for account registration, user verification and service delivery. We rely on the\\n        accuracy of information and while we do our best to ensure the information we hold is up to date, we ask that you contact us if any of your information changes.</li>\\n      <li>Your reports and genetic data will be treated as your property and will never be disclosed or shared with third parties including your insurance company and\\n        employer.</li>\\n      <li>Your information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\\n      <li>Your healthcare provider will collect personal health information from you and from its patient files and will disclose that information to myDNA through myDNA\\u2019s secure\\n        electronic online system including: My name, address, phone number, email address, date of birth, gender.</li>\\n    </ol>\\n    <h4>Additional Testing or Reporting.</h4>\\n    <ol start=\\\"16\\\">\\n      <li>In the future, when new genetic testing or reporting is available, with your consent, myDNA may perform additional testing on your sample.</li>\\n      <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving\\n        further genetic information at any time. I may withdraw my consent at any time.</li>\\n      <li>myDNA may analyse your deidentified results for evaluation, research and marketing purposes.Deletion</li>\\n      <li>Your personal and genetic information will be stored on our secure database all the time your account remains active or until such a time that we decide it is no longer\\n        required. You may request for us to close your account at any time and request for your data to be deleted.</li>\\n      <li>Accounts will be closed within 30 days upon request. All Genetic Information will be deleted from your account and the MyDNA Life database except data required to meet\\n        legal or regulatory obligations. You may request details on the data that we must retain.</li>\\n    </ol>\\n    <h4>Children\\u2019s privacy</h4>\\n    <ol start=\\\"21\\\">\\n      <li>This service is not intended for or directed to persons under the age of 18.</li>\\n      <li>By clicking that you consent, you consent that you are 18 years of age or older, and any sample you provide is either your DNA, or the DNA of a person for whom you are\\n        a parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\\n    </ol>\\n    <h4>Further information</h4>\\n    <ol start=\\\"23\\\">\\n      <li>You have been offered the opportunity to ask questions and you are aware you can contact myDNA at <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a> or on\\n        <a href=\\\"tel:1-844-472-7896\\\">1-844-472-7896</a> to speak with a genetic expert.</li>\\n  </ol>\",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsCaConditionsComponent);\r\n    return TermsCaConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.ca.component.js.map\n\n/***/ },\n\n/***/ 951:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsCWWRConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsCWWRConditionsComponent = (function () {\r\n    function TermsCWWRConditionsComponent() {\r\n    }\r\n    TermsCWWRConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-cwwr-terms-conditions',\r\n            template: \"\\n    <h3>myDNA Wellness Revolution DNA Study Promotion<br>\\n      TERMS AND CONDITIONS<br>\\n    </h3>\\n    <p>1.\\tInformation on how to participate, the use of data and sharing of results form part of these terms and conditions <b>(Terms and Conditions)</b>.  \\n        Participation in the Study is deemed acceptance of these Terms and Conditions. </p>\\n    <p>2.\\tThe promoters are My DNA Life Australia Pty Ltd of Level 13, 9 Yarra Street, South Yarra VIC 3141, ABN 18 125 639 394 <b>(Promoter)</b>.</p>\\n    <h4>The Study</h4>\\n    <p>3.\\tThe Study commences at 8am AEST on Monday 3rd September, 2018 and closes at 5pm AEST on Thursday 25th October, 2018 <b>(Study Period)</b>.</p>\\n    <p>4.\\tEligible participants will receive a free Chemist Warehouse Nutrition and Fitness Test Kit for the Wellness Revolution DNA Study Promotion <b>(Study)</b> during the \\n      Promotion Period.</p>\\n    <p>5.\\tParticipation in the Study is limited to one test kit per Eligible Participant.</p>\\n    <p>6.\\tTo participate in the Study, participants must complete the registration process, including agreeing to have their results shared as Study Results and \\n      provide a DNA sample to the Promoters by October 31st, 2018 <b>(Closing Date)</b>.</p>\\n    <h4>Study Results</h4>\\n    <p>7. Participants agree that the Promoters may generate de-identified, aggregated data (Study Results) to be used and shared for any business purpose during or after \\n      the Study Period (including, without limitation, to develop and improve the Promoters\\u2019 products and services and to create and distribute reports and other materials). \\n      Subject to clause 17, any external use, sharing or publication of Study Data by the Promoters will be anonymous, and the Promoters will, to the extent reasonably possible, \\n      ensure that individual participants cannot be identified by the Study Results.</p>\\n    <p>8.\\t After the Study Results have been aggregated and analysed, any learnings deemed of public interest by the Promoter can be promoted to the public at large through \\n      mediums such as, but not limited to, online channels and traditional media.</p>\\n    <p>9.\\tDNA samples received after the Closing Date will not be included in the Study Results.</p>\\n    <p>10.\\tParticipants can only participate and register for the Study in their own name and in their own capacity. Participation and/or registration cannot be undertaken for \\n      or on behalf of any other person or organisation.\\n    <p>11.\\tThe Promoters reserve the right to exclude participants\\u2019 data from the Study Results if, in their sole discretion, they consider the participant did not participate \\n      in the Study in accordance with these Terms and Conditions, including but not limited to duplicate entries and tampering of the swab provided.\\n    </p>\\n    <h4>Participation</h4>\\n    <p>12.\\tParticipation in the Study is open to Australian residents aged 18 years or over <b>(Eligible Participant)</b>.</p>\\n    <p>13.\\tThe Promoters reserve the right to request participants provide proof of age, identity and residency prior to receiving the kit. The Promoters may determine, in \\n      their sole discretion, what form of identification is suitable for verification.</p>\\n    <h5>Study Followup</h5>\\n    <p>14. A list of all participants who participate in the Study will be generated.</p>\\n    <p>15. Participants agree that the Promoters may contact participants to discuss their results or survey submission and to solicit content for case studies, as part of the \\n      Study Followup. This agreement does not constitute an obligation for participants\\u2019 data to be used for case studies.</p>\\n    <p>16. Involvement in the Study Follow-up is voluntary. All participants who agree to be involved in the Study Followup consent to the Promoters and their agents using the \\n      participants\\u2019 name, personal results, image, likeness and/or voice in promotional and other material, without compensation, for the purpose of promoting this Study \\n      (including any outcome), and promoting any products manufactured, distributed and/or supplied by the Promoters.</p>\\n    <h4>Exclusion of liability</h4>\\n    <p>17.\\tTo the extent permitted by law, the Promoters (including each of their officers, employees and agents) will not be liable for any loss, damage or personal injury \\n      (including liability in negligence) or any loss of opportunity whether direct, indirect, special or consequential arising in any way out of the participant\\u2019s \\n      participation in the Study.</p>\\n    <p>18.\\tExcept for any liability which cannot be excluded by law, the Promoters:</p>\\n    <ul>\\n      <li>are not responsible for any problems or technical malfunction of any telephone network or lines, computer on line systems, servers, or providers, computer\\n        equipment, software, technical problems or traffic congestion on any computer system or at any website, or any combination thereof in connection with this Study;</li>\\n      <li>accept no responsibility for any incorrect or inaccurate information, either caused by users or by any of the equipment or programming associated with or\\n        utilised in connection with this Study, or by any technical error that may occur in the course of this Study; and </li>\\n      <li>accept no responsibility for missed opportunities for Eligible Participants to participate in the Study.</li>\\n    </ul>\\n    <h4>Intellectual Property</h4>\\n    <p>19.\\tBy uploading, commenting or otherwise making available on any website or online platform any content in connection with the Study, each participant grants to the \\n      Promoters a non-exclusive, worldwide, royalty free, perpetual licence to use, publish, reproduce and otherwise exploit that content in any form for any purpose. Each \\n      participant acknowledges that any intellectual property rights created by them in taking part in this Study vest in the Promoters upon creation.  To the extent any o\\n      wnership does not vest in the Promoters, they assign all intellectual property rights (if any) as a result of this Study.  Each participant unconditionally, perpetually \\n      and irrevocably waives any moral rights (as defined in the Copyright Act 1968 (Cth)) that they have in any content or other intellectual property created as a result \\n      of this Study.</p>\\n    <p>20. Clause 20 is not intended to constitute a claim of ownership or intellectual property rights over participants\\u2019 DNA samples or genetic data.</p>\\n    <p>21.\\t\\u201CIntellectual property rights\\u201D means all present and future intellectual and industrial property rights throughout the world, including (but not limited to) all \\n      rights in respect of copyright in all literary works, artistic works, any other works or subject matter in which copyright subsists and may in the future subsist.</p>\\n    <h4>Privacy and publicity</h4>\\n    <p>22. By participating in this Study, each participant understands and agrees that the Promoters and their related entities may use and disclose the information provided by \\n      them in relation to this Study for the purpose of conducting this Study and for any of the purposes set out in the Promoter's privacy policy, which is available at\\n      <a target=\\\"_blank\\\" href=\\\"https://www.mydna.life/privacy-policy/\\\">https://www.mydna.life/privacy-policy/</a>.</p>\\n    <p>23.\\tA participant can request to access, update or correct any personal information held about them by the Promoters by writing to the Customer Service Team at \\n      1501/9 Yarra Street, South Yarra, Victoria 3141.</p>\\n    <h4>Termination</h4>\\n    <p>24.\\tIn the event of war, terrorism, state of emergency, venue unavailability or disaster and other events outside the Promoters\\u2019 reasonable control, the Promoter \\n      reserves the right to cancel, terminate, modify or suspend the Study, subject to State regulation.</p>\\n    <p>25.\\tIf for any reason this Study is not capable of running as planned (including but not limited to) infection by computer virus, website unavailability, network\\n      failure, bugs, tampering, unauthorised intervention, fraud, technical failures or any other cause beyond the control of the Promoters which corrupts or affects the \\n      administration, security, fairness, integrity or proper conduct of this Study, the Promoters reserve the right in their sole discretion \\n      (subject to State regulation) to cancel, terminate, modify or suspend the Study.</p>\\n    <h4>Consumer law</h4>\\n    <p>26.\\tNothing in these Terms and Conditions limits, excludes or modifies or purports to limit, exclude or modify the statutory consumer guarantees as provided under the \\n      Competition and Consumer Act 2010 (Cth), as well as any other implied warranties under consumer protection laws in the State and Territories of Australia.</p>\\n  \"\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsCWWRConditionsComponent);\r\n    return TermsCWWRConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.cwwr.component.js.map\n\n/***/ },\n\n/***/ 952:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsGenericConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsGenericConditionsComponent = (function () {\r\n    function TermsGenericConditionsComponent() {\r\n    }\r\n    TermsGenericConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-generic-terms-conditions',\r\n            template: \"<ul>\\n    <li>That I am 18 years of age or older, and that any sample I provide is either my DNA, or the DNA of a person for whom I am a parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\\n    <li>myDNA will interpret and provide a personalised report only for the myDNA test(s) requested by me and/or my healthcare professional.</li>\\n    <li>If required, the details of my healthcare professional have been provided in order for myDNA to commence analysis and produce certain report(s).</li>\\n    <li>myDNA will extract my DNA from the sample (a cell check swab) provided to perform genetic testing. In some cases, an additional sample may be required if the volume or quality of the sample is not adequate.</li>\\n    <li>myDNA will confidentially disclose the myDNA Medication report results of the test(s) I have requested to my authorised healthcare professional.</li>\\n    <li>myDNA will securely store my DNA sample indefinitely. In the future, when new genetic testing or reporting is available, myDNA may perform additional testing with my consent.</li>\\n    <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third parties including my insurance company and employer. I can formally request for my sample to be destroyed at any time.</li>\\n    <li>The myDNA Medication reports will be delivered to me by my nominated healthcare professional.</li>\\n    <li>myDNA may analyse my deidentified results for evaluation, research and marketing purposes.</li>\\n    <li>That myDNA will make my results available to me on the secure* myDNA Explore* online portal.</li>\\n    <li>In the future, myDNA may communicate with me about new genetic findings and offer the opportunity for further testing and analysis.</li>\\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific team. Anything that falls out of this scope will not be reviewed or reported.</li>\\n    <li>myDNA does not assess any genes related to disease risk or diagnostics. My results should not have implications for any insurance policy.</li>\\n    <li>That the myDNA report may not cover all medications/nutritional supplements that I may be taking.</li>\\n    <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\\n    <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\\n    <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on <a href=\\\"tel:1300 436 373\\\">1300 436 373</a> to speak with a genetic expert.</li>\\n    <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\\n    </ul>\",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsGenericConditionsComponent);\r\n    return TermsGenericConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.generic.component.js.map\n\n/***/ },\n\n/***/ 953:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsHabitConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsHabitConditionsComponent = (function () {\r\n    function TermsHabitConditionsComponent() {\r\n    }\r\n    TermsHabitConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-habit-terms-conditions',\r\n            template: \"<ul>\\n    <li>I am 18 years of age or older, and any sample I provide is either my DNA, or the DNA of a person for whom I am a parent or legal guardian, or have obtained legal \\n      authorisation to provide their DNA to myDNA.</li>\\n    <li>myDNA will extract my DNA from the sample (a cheek swab) provided to perform genetic testing. In some cases, an additional sample may be required if the volume or quality\\n      of the sample is not adequate.</li>\\n    <li>myDNA can securely store my DNA sample indefinitely. I can formally request for my sample to be destroyed at any time.</li>\\n    <li>myDNA will initially interpret and provide a personalised report only for the myDNA test(s) requested by me and/or my healthcare professional.</li>\\n    <li>myDNA will forward my reports to Pinnacle Ventures and Habit in New Zealand who will contact me or my health provider and pass the report on.lthcare professional.</li>\\n    <li>In the future, when new genetic testing or reporting is available, myDNA can perform additional testing on my sample if I request them. myDNA and Habit may communicate\\n      with me about new genetic findings and offer me the opportunity for further testing and analysis. I will be able to opt out of receiving further genetic information at any\\n      time.</li>\\n    <li>The myDNA Medication reports will be delivered to me by an associated provider, Pinnacle Ventures, via one of their GPs.</li>\\n    <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third parties including my insurance company and employer.</li>\\n    <li>Life insurance companies may request that I provide them with copies of any genetic test results known to me. myDNA focuses on lifestyle genetics and the majority of the\\n      genes analysed are unrelated to disease risk and should not have implications for life insurance. A small number of the genes analysed for health and wellness may be\\n      associated with disease risk. I understand that if I am concerned about this, I may want to consider my life insurance situation before having the myDNA test.</li>\\n    <li>myDNA, Pinnacle Ventures and Habit may analyse my deidentified results for evaluation, research and marketing purposes.</li>\\n    <li>myDNA, Pinnacle Ventures and Habit will make my results available to me on a secure online portal and if requested will attach or incorporate them into my health record\\n      via my GP.</li>\\n    <li>If my health record is stored within indici (a patient management software) then I will also be able to access my PGX report directly through my indici portal.</li>\\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific\\n      team. Anything that falls out of this scope will not be reviewed or reported.</li>\\n    <li>The myDNA report may not cover all medications/nutritional supplements that I may be taking.</li>\\n    <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\\n    <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\\n    <li>All samples and data are help anonymously by myDNA in Australia, identifiable information is only held by Habit and Pinnacle Ventures in New Zealand.</li>\\n    <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on 1300 436 373 to speak with a genetic expert.</li>\\n    <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\\n  </ul>\\n  <h4>Terms of Use</h4>\\n  <p>Thank you for visiting the mydna.life web site (the \\u201CSite\\u201D). myDNA.life is a leading provider of genetic and pharmacogenomic services: a retail store and information Site\\n    for genetic testing. Accessible 24 hours a day, 7 days a week, the myDNA.life online store offers an easy and convenient method of purchasing the myDNA test kit online,\\n    along with related health information.</p>\\n  <p>By using the Site you agree to be bound by the following terms and conditions. Please read them carefully. Your usage of the Site indicates your acceptance of these terms\\n    and conditions. Your placement of an order also indicates your acceptance of these terms and conditions.</p>\\n  <h4>Applicable Law</h4>\\n  <p>As far as legally possible this Agreement, its terms and conditions and the use of this Site shall be governed by the laws in existence from time to time in Australia and\\n    New Zealand. Any claim relating to the Site, the services provided through the Site or the Content shall be governed by the internal laws of the state of Victoria and you\\n    agree to submit to having the matter dealt with in a court in Melbourne in the state of Victoria Australia.</p>\",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsHabitConditionsComponent);\r\n    return TermsHabitConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.habit.component.js.map\n\n/***/ },\n\n/***/ 954:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsPinnacleConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsPinnacleConditionsComponent = (function () {\r\n    function TermsPinnacleConditionsComponent() {\r\n    }\r\n    TermsPinnacleConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-pinnacle-terms-conditions',\r\n            template: \"<h4>INFORMED CONSENT</h4>\\n      <p>myDNA is an Australian based expert gene interpretation service that assesses your genetic profile and produces\\n        personalised Medication, Nutrition & Wellness reports. The myDNA reports provide insights that enable you and your\\n        health professionals to make more informed health and wellness decisions.</p>\\n      <p>Ventures is part of the Pinnacle Group, a group of not for profit companies providing GP and community-based\\n        services across New Zealand for around 1 million New Zealander\\u2019s.</p>\\n      <p>Before submitting your DNA sample for testing you agree and consent to the following:</p>\\n      <ul>\\n        <li>I am 18 years of age or older, and any sample I provide is either my DNA, or the DNA of a person for whom I am\\n          a parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\\n        <li>My sample will be posted to the MyDNA lab in Melbourne Australia.</li>\\n        <li>myDNA will extract DNA from the sample (a cheek swab) provided to perform genetic testing. In some cases, an\\n          additional sample may be required if the volume or quality of the sample is not adequate.</li>\\n        <li>myDNA can securely store my DNA sample indefinitely in Australia. I can formally request for my sample to be\\n          destroyed at any time.</li>\\n        <li>myDNA will initially interpret and provide a personalised report only for the myDNA test(s) requested by me\\n          and/or my healthcare professional.</li>\\n        <li>MyDNA will forward my reports to Ventures in New Zealand who will contact me or my health provider to make the\\n          report available.</li>\\n        <li>In the future, when new genetic testing or reporting is available, myDNA can perform additional testing on my\\n          sample if I request them. MyDNA and Ventures may communicate with me about new genetic findings and offer me the\\n          opportunity for further testing and analysis. I will be able to opt out of receiving further genetic information\\n          at any time.</li>\\n        <li>The myDNA Ventures Medication reports will be delivered to me by Ventures, either via one of their GPs or they\\n          will liaise with my nominated GP.</li>\\n        <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third\\n          parties including my insurance company and employer.</li>\\n        <li>Life insurance companies may request that I provide them with copies of any genetic test results known to me.\\n          myDNA and Ventures focuses on lifestyle genetics and the majority of the genes analysed are unrelated to disease\\n          risk and should not have implications for life insurance. A small number of the genes analysed for health and\\n          wellness may be associated with disease risk. I understand that if I am concerned about this, I may want to\\n          consider my life insurance situation before having the myDNA test.</li>\\n        <li>myDNA and Ventures may analyse my deidentified results for evaluation, research and marketing purposes.</li>\\n        <li>myDNA and Ventures will make my results available to me on a secure online portal and if requested will attach\\n          or incorporate them into my health record via my GP using a secure health sector standard transmission method.\\n        </li>\\n        <li>Ventures will store my medication report and any other health information discussed in any Ventures\\n          consultation securely in a New Zealand-based electronic health record system (indici) which will also allow the\\n          Ventures GP and/or my nominated GP to view my report, advise me about my report and make future prescribing\\n          recommendations out of the report. It will also allow Ventures to send my report and any relevant consultation\\n          information securely to my main health record via my GP, or to other health professionals who are directly\\n          involved in my care</li>\\n        <li>In order to ensure that Ventures are matching my medication report correctly with my health record they will\\n          need to access my records in the New Zealand National Health Index (NHI) database</li>\\n        <li>If my health record is stored within indici then I will also be able to access my Medication report directly\\n          through my indici portal</li>\\n        <li>myDNA and Ventures will only report on actionable genetic findings that have a high degree of scientific\\n          credibility which have been reviewed and signed off by the myDNA scientific team and or the Ventures Clinical\\n          Governance Team. Anything that falls out of this scope will not be reviewed or reported.</li>\\n        <li>The myDNA and Ventures report may not cover all medications/nutritional supplements that I may be taking.</li>\\n        <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\\n        <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy and the Pinnacle\\n          Ventures Group Privacy Policy - and according to the rules of the New Zealand Health Information Privacy Code\\n          1994</li>\\n        <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on +613 436 373 to speak\\n          with a genetic expert or email <a href=\\\"mailto:dna@ventures.health.nz\\\">dna@ventures.health.nz</a> for a\\n          conversation with a New Zealand health provider </li>\\n        <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\\n        <li>We respect your cultural beliefs. You may hold beliefs about a sacred and shared value of all or any samples\\n          collected. The tikanga/cultural expectations associated with storing your samples and/or sending your samples\\n          overseas should be discussed with your family/whanau as appropriate. There are a range of views held by M\\u0101ori\\n          around these issues \\u2013 however it is acknowledged that individuals have the right to choose. If you change your\\n          mind later, just let us know, and we will appropriately dispose of your sample.</li>\\n      </ul>\\n      <h4>TERMS OF USE</h4>\\n      <p>Thank you for visiting the mydna.life web site (the \\u201CSite\\u201D). myDNA.life is a leading provider of genetic and\\n        pharmacogenomic services: a retail store and information Site for genetic testing. Accessible 24 hours a day, 7\\n        days a week, the myDNA.life online store offers an easy and convenient method of purchasing the myDNA test kit\\n        online, along with related health information.</p>\\n      <p>By using the Site you agree to be bound by the following terms and conditions. Please read them carefully. Your\\n        usage of the Site indicates your acceptance of these terms and conditions. Your placement of an order also\\n        indicates your acceptance of these terms and conditions.</p>\\n      <h4>APPLICABLE LAW</h4>\\n      <p>As far as legally possible this Agreement, its terms and conditions and the use of this Site shall be governed by\\n        the laws in existence from time to time in Australia and New Zealand. Any claim relating to the Site, the services\\n        provided through the Site or the Content shall be governed by the internal laws of the state of Victoria and you\\n        agree to submit to having the matter dealt with in a court in Melbourne in the state of Victoria Australia.</p>\",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsPinnacleConditionsComponent);\r\n    return TermsPinnacleConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.pinnacle.component.js.map\n\n/***/ },\n\n/***/ 955:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsResearchConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsResearchConditionsComponent = (function () {\r\n    function TermsResearchConditionsComponent() {\r\n    }\r\n    TermsResearchConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-research-terms-conditions',\r\n            template: \"<h4>INFORMED CONSENT</h4>\\n      <p>I am a study investigator/research assistant registering this patient for pharmacogenomic testing as part of a research study. I confirm the patient has already signed the approved study consent forms.</p>\\n      <p>I have informed the research subject that their test report, in some circumstances, maybe sent to me via an unencrypted email, and they have acknowledged this and consented. </p>\\n      \",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsResearchConditionsComponent);\r\n    return TermsResearchConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.research.component.js.map\n\n/***/ },\n\n/***/ 956:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsUkConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsUkConditionsComponent = (function () {\r\n    function TermsUkConditionsComponent() {\r\n    }\r\n    TermsUkConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-uk-terms-conditions',\r\n            template: \"<h4>What myDNA Life does:</h4>\\n    <ul>\\n      <li>myDNA Life is a genetic interpretation company that provides personalised DNA reports to help you make more informed health and wellness decision;\\n    <li>myDNA Life will extract DNA from the sample (a cheek swab) provided to perform DNA testing. In some cases, an additional sample may be required if the volume or \\n      quality of the sample is not adequate;</li>\\n    <li>myDNA Life will initially interpret and provide a personalised report only for the myDNA Life test(s) you and/or your healthcare professional requested;\\n    <li>myDNA will make your results available to you on a secure online portal;</li>\\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA \\n      scientific team. Anything that falls out of this scope will not be reviewed or reported;</li>\\n    <li>For more detailed information on the genes we test for and the scientific studies please visit www.myDNA.life</li>\\n    </ul>\\n\\n  <h4>What myDNA Life does not do:</h4>\\n  <ul>\\n    <li>The information supplied to you does replace any information provided by a healthcare professional or practitioner. myDNA does not undertake DNA testing specifically \\n      relating to diseases, disease risk or cancer.</li>\\n    <li>If you have any specific concerns related to your own personal health then please consult with a qualified physician, doctor or genetic counsellor.</li>\\n    <li>The myDNA report may not cover all medications/nutritional supplements that you may be taking.</li>\\n  </ul>\\n  \\n  <h4>Data processing and protection</h4>\\n  <ul>\\n    <li>MyDNA Life being a registered organisation in the United Kingdom will take reasonable measures to keep your information safe in accordance with the principles under \\n      the EU General Data Protection Regulation (GDPR) as a minimum standard. We expect our contracted third-party processors to meet the same level of protection and where we \\n      interact with users, partners and service providers in other territories, we will observe other global data protection requirements provided we continue to meet our \\n      obligations under GDPR.</li>\\n    <li>Your information will only be shared with third parties contracted to undertake necessary processing on behalf of MyDNA Life and may take place in or outside the EU. \\n      Our third parties regardless of territory will be contractually committed to comply with our policies and data protection obligations. We will maintain control of data \\n      shared with our third-party service providers and will not permit them to further use your information for any other purpose than as instructed by us.</li>\\n    <li>We will ask you to give us personal information as detailed in the <a href=\\\"https://www.mydna.life/en-uk/privacy-policy-3/\\\" target=\\\"_blank\\\">Privacy Policy</a> for account \\n    registration, user verification and service delivery. We rely on the accuracy of information and while we do our best to ensure the information we hold is up to date, we ask \\n    that you contact us if any of your information changes.</li>\\n    <li>Your reports and genetic data will be treated as your property and will never be disclosed or shared with third parties including your insurance company and employer.\\n    <li>Your information and results will be kept in strict accordance with the myDNA <a href=\\\"https://www.mydna.life/en-uk/privacy-policy-3/\\\" target=\\\"_blank\\\">Privacy Policy</a>.\\n    </li>\\n  </ul>\\n  \\n  <h4>Additional Testing or Reporting</h4>\\n<ul>\\n  <li>In the future, when new genetic testing or reporting is available, with your consent, myDNA may perform additional testing on your sample.</li>\\n    <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving further \\n      genetic information at any time.</li>\\n    <li>myDNA may analyse your deidentified results for evaluation, research and marketing purposes.</li>\\n  </ul>\\n    <h4>Deletion</h4>\\n  <ul>\\n    <li>Your personal and genetic information will be stored on our secure database all the time your account remains active or until such a time that we decide it is no longer \\n      required. You may request for us to close your account at any time and request for your data to be deleted.</li>\\n    <li>Accounts will be closed within 30 days upon request. All Genetic Information will be deleted from your account and the MyDNA Life database except data required to meet \\n      legal or regulatory obligations. You may request details on the data that we must retain.</li>\\n  </ul>\\n\\n    <h4>Children\\u2019s privacy</h4>\\n    <ul>\\n    <li>This service is not intended for or directed to persons under the age of 18.</li>\\n    <li>By clicking that you consent, you consent that you are 18 years of age or older, and any sample you provide is either your DNA, or the DNA of a person for whom you are a \\n      parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\\n    </ul>\\n    <h4>Further information</h4>\\n    <ul>\\n    <li>You have been offered the opportunity to ask questions and you are aware you can contact myDNA on 0808 189 0079 to speak with a genetic expert.</li>\\n    </ul>\",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsUkConditionsComponent);\r\n    return TermsUkConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.uk.component.js.map\n\n/***/ },\n\n/***/ 957:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return TermsUsaConditionsComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\nvar TermsUsaConditionsComponent = (function () {\r\n    function TermsUsaConditionsComponent() {\r\n    }\r\n    TermsUsaConditionsComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-usa-terms-conditions',\r\n            template: \"<p>myDNA is a value based organization. Consistent with two of our values \\u201CYour Trusted Partner\\u201D and \\u201CAccountable to You\\u201D, we want to be transparent about how we use the information you provide to us to help you make better heath, wellness and lifestyle decisions.<p>\\n  <p>Privacy and data security are fundamental to how myDNA operates and we take it very seriously.</p>\\n  <p>Before submitting your DNA sample for testing with MyDNA Life (\\u201CmyDNA\\u201D) we require your clear affirmative consent, which must be freely given, specific, informed and unambiguous.</p>\\n  <h3>Last modified date</h3>\\n  <p>31st January 2019</p>\\n  <h3>What myDNA does:</h3>\\n  <ul>\\n    <li>myDNA is a genetic interpretation company that provides personalized DNA reports to help you make more informed health and wellness decisions.</li>\\n    <li>myDNA will extract DNA from the sample (a cheek swab) provided to perform DNA testing. In some cases, an additional sample may be required if the volume or quality of the sample is not adequate.</li>\\n    <li>myDNA will initially interpret and provide a personalized report only for the myDNA test(s) you and/or your healthcare professional requested.</li>\\n    <li>myDNA will make your results available to you on a secure online portal.</li>\\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific team. Anything that falls out of this scope will not be reviewed or reported.</li>\\n    <li>For more detailed information on the genes we test for and the scientific studies please visit <a href=\\\"https://www.mydna.life\\\" target=\\\"_blank\\\">www.myDNA.life</a>.</li>\\n  </ul>\\n  <h3>What MyDNA Life does not do:</h3>\\n  <ul>\\n    <li>The information supplied to you does not replace any information provided by a healthcare professional or practitioner. myDNA does not undertake DNA testing specifically relating to diseases, disease risk or cancer.</li>\\n    <li>If you have any specific concerns related to your own personal health then please consult with a qualified physician, doctor or genetic counsellor.</li>\\n    <li>The myDNA report may not cover all medications/nutritional supplements that you may be taking.</li>\\n  </ul>\\n  <h3>What to expect</h3>\\n  <ul>\\n    <li>You will receive 3 separate emails from myDNA during the process:\\n      <ol>\\n        <li>When you register with myDNA.</li>\\n        <li>When your sample reaches the laboratory.</li>\\n        <li>When your results are ready. On average this takes approximately 2-3 weeks. You will be able to login to view your results through the myDNA website and app.</li>\\n      </ol>\\n    </li>\\n    <li>Results from this test(s) are treated with complete confidentiality.</li>\\n  </ul>\\n  <h3>Additional Testing or Reporting</h3>\\n  <ul>\\n    <li>In the future, when new genetic testing or reporting is available, with your consent, myDNA may perform additional testing on your sample.</li>\\n    <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving further genetic information at any time.</li>\\n    <li>myDNA may analyze your deidentified results for evaluation, research and marketing purposes.</li>\\n  </ul>\\n  <h3>Possible Benefits</h3>\\n  <p>myDNA Wellness and Nutrition report may help you to set reasonable personal fitness goals, improve your nutrition, or help you to lose weight.</p>\\n  <p>Scientific credibility is the foundation of myDNA. This integrity is rigorously maintained. myDNA is: </p>\\n  <h3>Evidence based</h3>\\n  <ul>\\n    <li>Worldwide research is evaluated by myDNA\\u2019s team of qualified professionals.</li>\\n    <li>Testing for new genes is only introduced once there is adequate evidence.</li>\\n    <li>Advice is based on international evidence and peer-reviewed published studies.</li>\\n  </ul>\\n  <h3>Led by experts</h3>\\n  <p>Our clinical team includes genetic scientists, physicians, genetic counsellors, PhD scientists, nutritionists and dietitians that:</p>\\n  <ul>\\n    <li>Keep up-to-date with all the latest research and genetic literature.</li>\\n    <li>Carefully read, evaluate and filter all emerging global evidence.</li>\\n    <li>Are specialists in their subject matter, such as diet and lifestyle decisions.</li>\\n    <li>Provide practical recommendations based on the genetic tests results (only myDNA does this).</li>\\n  </ul>\\n  <p>myDNA recommend all choices based on myDNA reports are made in consultation with a healthcare professional.</p>\\n  <h3>Limitations of this Product</h3>\\n  <ul>\\n    <li>The myDNA Nutrition Report will identify your results for seven key genes, which have an influence on weight and appetite, fat storage, your risk of elevated triglycerides and your ability to breakdown fat.</li>\\n    <li>The report includes advice for the most appropriate diet, based on your genetic results. This recommended diet is based on scientific evidence matched to your genetic type.</li>\\n    <li>The report provides a food guide, your recommended nutritional breakdown and portion sizes based on your genetic profile.</li>\\n    <li>The report will not provide any \\u2018silver bullet\\u2019 solution to weight management but will provide insights to help you make more informed decisions based on your genes. Lifestyle and environmental factors also play an important role in weight management.</li>\\n    <li>The report does not provide specific dietary recommendations for coeliacs, diabetics, pregnant/breastfeeding women or people with any other health conditions. We encourage our customers to take the report to an accredited dietitian for such advice.</li>\\n    <li>The myDNA Fitness Report will identify your results for seven key genes which have an influence on your suitability to endurance sports and sports that require sudden bursts of energy.</li>\\n    <li>The report will include access to an interactive portal where your combined gene results along with your goals and current fitness level, will allow you to generate a comprehensive tailored workout. Note that variety in training is recommended for all people, regardless of genetic type.</li>\\n    <li>The exercise recommendations based in the report do not accommodate for existing injuries. We recommend that you consult a healthcare professional or your trainer to check the recommended exercises are suitable for you.</li>\\n    <li>The report does not factor in any health conditions that you may have, nor is it suitable for pregnant women. We encourage you take the exercise to a relevant specialist for further advice.</li>\\n  </ul>\\n  <h3>Possible risks </h3>\\n  <p>We implement a variety of security measures to maintain the safety of your personal information when you place an order or enter, submit, or access your personal information. We utilize the internationally recognized security software and IT systems to make sure your genetic results will never knowingly be seen by anyone outside of myDNA without your permission. You\\u2019re the only person who can access your Wellness & Nutrition reports at www.mydna.life, and it\\u2019s your choice to share this information with health professionals \\u2013 or anyone else.</p>\\n  <p>You can read about all about the ways we protect your privacy in our <a href=\\\"https://www.mydna.life/en-us/us-privacy-policy/\\\" target=\\\"_blank\\\">Privacy Policy</a>.</p>\\n  <p>There is a chance, you could learn something about yourself that you didn\\u2019t want to know. Since you share DNA with your blood relatives, these learnings could also affect them. You may want to discuss your options with your doctor, a mental health professional, or a genetic counselor before or after you get your results.</p>\\n  <p>Under the Genetic Information Nondiscrimination Act (GINA), if you work for a company of 15 or more people, your employer may not ask you about your Genetic Information. They are also barred from using any Genetic Information in hiring or other employment decisions. Your health insurer cannot use genetic testing information in decisions about coverage and health premiums.</p>\\n  <p>This restriction only applies to employment and health insurance companies. For example, companies that offer life, long-term care, or disability insurance are not covered by GINA. Neither are the US Armed Forces. Some states have safeguards on top of the safeguards in GINA. You should be aware of the laws in your state and be careful with whom you choose to share your Genetic Information. To learn more about how you are and are not protected, check out <a href=\\\"http://www.ginahelp.org\\\" target=\\\"_blank\\\">www.ginahelp.org</a></p>\\n  <h3>Use of your Account/Data </h3>\\n  <p>MyDNA Life will take reasonable measures to keep your information safe in accordance with the principles under the EU General Data Protection Regulation (GDPR) as a minimum standard. All users, not just those in the EU, will have the same data privacy rights. We expect our contracted third-party processors to meet the same level of protection and where we interact with users, partners and service providers in other territories. myDNA ensures we meet our data protection requirements and obligations in USA and globally.</p>\\n  <p>Your information will only be shared with third parties contracted to undertake necessary processing on behalf of MyDNA Life. Our third parties regardless of territory will be contractually committed to comply with our policies and data protection obligations. We will maintain control of data shared with our third-party service providers and will not permit them to further use your information for any other purpose than as instructed by us.</p>\\n  <p>We will ask you to give us personal information as detailed in the <a href=\\\"https://www.mydna.life/en-us/us-privacy-policy/\\\" target=\\\"_blank\\\">Privacy Policy</a> for account registration, user verification and service delivery. We rely on the accuracy of information and while we do our best to ensure the information we hold is up to date, we ask that you contact us if any of your information changes.</p>\\n  <p>Your reports and genetic data will be treated as your property and will never be disclosed or shared with third parties including your insurance company and employer. </p>\\n  <p>Your information and results will be kept in strict accordance with the myDNA Privacy Policy.</p>\\n  <p>We will release your information if myDNA receives valid legal process from a law enforcement or regulatory agency that is operating within its jurisdiction. We will notify of you this release unless we are barred from doing so.</p>\\n  <h3>Data deletion and/or cancellation</h3>\\n  <p>Your personal and genetic information will be stored on our secure database all the time your account remains active or until such a time that we decide it is no longer required. You may request for us to close your account at any time and request for your data to be deleted.</p>\\n  <p>Accounts will be closed within 30 days upon request. All Genetic Information will be deleted from your account and the MyDNA Life database except data required to meet legal or regulatory obligations. You may request details on the data that we must retain.</p>\\n  <h3>Questions</h3>\\n  <p>For questions regarding our Privacy Policy and how MyDNA Life handles your Personal Information, or to request your information held by MyDNA Life or change any of your privacy settings then please email <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a></p>\\n  <h3>Consent section</h3>\\n  <p>You consent and agree to the following:</p>\\n  <ul>\\n    <li>This service is not intended for or directed to persons under the age of 18.</li>\\n    <li>By clicking that you consent, you consent that you are 18 years of age or older, and any sample you provide is either your DNA, or the DNA of a person for whom you are a parent or legal guardian, or have obtained legal authorization to provide their DNA to myDNA.</li>\\n    <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving further genetic information at any time. You may withdraw your consent at any time.</li>\\n  </ul>\\n  <p>I have read this consent form or have had the form read to me. I understand and agree to the purpose, risks, benefits, and limitations of this product. I have been given the opportunity to have my questions about this product addressed. I consent to purchase this product. </p>\\n  \",\r\n            styles: [__webpack_require__(82)]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], TermsUsaConditionsComponent);\r\n    return TermsUsaConditionsComponent;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/terms.usa.component.js.map\n\n/***/ },\n\n/***/ 958:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_forms__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__models_customer_details__ = __webpack_require__(509);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__steps__ = __webpack_require__(112);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shared_mydna_utility_mydna_utility_service__ = __webpack_require__(514);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__shared_mydna_validation_mydna_validation_patterns__ = __webpack_require__(306);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shared_modal_popup_modal_popup_service__ = __webpack_require__(110);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shared_spinner_spinner_service__ = __webpack_require__(111);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__services_identity_service__ = __webpack_require__(511);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__services_countryCode_service__ = __webpack_require__(144);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_rxjs__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CustomerDetailsStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar CustomerDetailsStepComponent = (function () {\r\n    function CustomerDetailsStepComponent(registrationService, myDnaValidationPatterns, myDnaUtilityService, loader, popup, steps, identityService, countryCodeService) {\r\n        this.registrationService = registrationService;\r\n        this.myDnaValidationPatterns = myDnaValidationPatterns;\r\n        this.myDnaUtilityService = myDnaUtilityService;\r\n        this.loader = loader;\r\n        this.popup = popup;\r\n        this.steps = steps;\r\n        this.identityService = identityService;\r\n        this.countryCodeService = countryCodeService;\r\n        this.parentFormSubmittedSubject = new __WEBPACK_IMPORTED_MODULE_12_rxjs__[\"Subject\"]();\r\n        this.showErrors = false;\r\n        this.showCountryErrors = false;\r\n        this.showStateErrors = false;\r\n        this.showUsernameErrors = false;\r\n        this.atLeastOneContactIsProvided = false;\r\n        this.authenticationFailed = false;\r\n        this.requiresLanguageSelection = false;\r\n        this.requiresEthnicitySelection = false;\r\n        this.requiresPatientIdentifier = false;\r\n        this.mustSpecifyEthnicity = false;\r\n        this.requiresRegistrationCode = false;\r\n        this.requiresContactDetails = true;\r\n        this.fullAddress = \"\";\r\n        this.hideAddressFields = false;\r\n        this._isAnAddressSearchSupportedCountry = false;\r\n        this._isIndiciProduct = false;\r\n        this.CountryCode = \"+61\"; // If Country Became Dropdown list make it this.CountryCode = ''\r\n        this.productConfig = this.registrationService.data.product.config;\r\n        this.hideAddressFields =\r\n            this.productConfig.hideCustomerAddressOnRegistration;\r\n        this.buildForm();\r\n        this.countriesServiceGetAllCountryNames();\r\n        this.validateContactNumber(null);\r\n        this.skipIdentity =\r\n            this.registrationService.data.product.config.skipIdentity === true;\r\n        if (this.registrationService.data.product.config.pinnacleProductType != null) {\r\n            //is Pinnacle\r\n            this.requiresEthnicitySelection = true;\r\n            this.requiresPatientIdentifier = true;\r\n        }\r\n        if (this.registrationService.data.product.productNumber === \"PPMR-NZ-B\") {\r\n            this._isIndiciProduct = true;\r\n            this.requiresEthnicitySelection = false;\r\n            this.requiresPatientIdentifier = false;\r\n            this.requiresContactDetails = false;\r\n            this.requiresRegistrationCode = true;\r\n        }\r\n    }\r\n    CustomerDetailsStepComponent.prototype.buildForm = function () {\r\n        this.frm = new __WEBPACK_IMPORTED_MODULE_3__models_customer_details__[\"a\" /* CustomerDetails */]();\r\n        this.frm.Country = this.registrationService.data.kitCountry; // If Country Became Dropdown list make it this.frm.Country=''\r\n        this.frm.ISO2CountryCode = this.registrationService.data.kitCountryIso2Code;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.isIdentityCreatedForLogin = function () {\r\n        return this.registrationService.data.isIdentityCreated;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.deepTrim = function (obj) {\r\n        var _this = this;\r\n        Object.keys(obj).forEach(function (prop) {\r\n            var value = obj[prop], type = typeof value;\r\n            if (value != null && (type === \"string\" || type === \"object\")) {\r\n                if (type === \"object\") {\r\n                    _this.deepTrim(obj[prop]);\r\n                }\r\n                else {\r\n                    obj[prop] = obj[prop].trim();\r\n                }\r\n            }\r\n        });\r\n    };\r\n    CustomerDetailsStepComponent.prototype.guid = function () {\r\n        var s4 = function () {\r\n            return Math.floor((1 + Math.random()) * 0x10000)\r\n                .toString(16)\r\n                .substring(1);\r\n        };\r\n        return s4() + s4() + s4() + s4();\r\n    };\r\n    CustomerDetailsStepComponent.prototype.navigate = function () {\r\n        var _this = this;\r\n        this.parentFormSubmittedSubject.next(true);\r\n        this.deepTrim(this.frm);\r\n        this.formatPhoneNumber();\r\n        if ((this.myForm.valid && !this.requiresContactDetails) ||\r\n            (this.myForm.valid &&\r\n                this.checkForValidCountryEntered() &&\r\n                this.checkForValidStateEntered() &&\r\n                this.checkForValidAddress1Entered() &&\r\n                this.checkForValidEmailEntered())) {\r\n            this.formatPhoneNumber();\r\n            if (this.skipIdentity) {\r\n                this.frm.Username = \"tempuser_\" + this.guid();\r\n                this.frm.Password = \"NoPassword1!\";\r\n            }\r\n            if (!this.requiresContactDetails) {\r\n                this.frm.Email = \"tempemail_\" + this.guid() + \"@temp.mydna.life\";\r\n                this.frm.Country = this._isIndiciProduct ? \"New Zealand\" : null;\r\n            }\r\n            this.registrationService.setCustomerDetails(this.frm);\r\n            this.authenticationFailed = false;\r\n            var hasNonDefaultLanguagePreference = this.frm.Language != null;\r\n            var shouldIncludeIdentity = !this.isIdentityCreatedForLogin() || hasNonDefaultLanguagePreference;\r\n            if (!this._isAnAddressSearchSupportedCountry && this.StatesList) {\r\n                var currentState = this.StatesList.stateProvinces.filter(function (s) { return s.stateProvince === _this.frm.State; });\r\n                if (currentState != null && currentState.length > 0) {\r\n                    this.frm.State = currentState[0].code;\r\n                }\r\n            }\r\n            // JS logging with TrackJS\r\n            console.log(\"FirstName|LastName: \" + this.frm.FirstName + \"|\" + this.frm.LastName);\r\n            console.log(\"Formatted Address: \" + this.frm.AddressSearchQuery);\r\n            var duplicatedForm = JSON.parse(JSON.stringify(this.frm));\r\n            duplicatedForm.Password = \"***\";\r\n            duplicatedForm.ConfirmPassword = \"***\";\r\n            console.log(\"Form submission: \" + JSON.stringify(duplicatedForm));\r\n            this.registrationService\r\n                .submit(false, shouldIncludeIdentity, false)\r\n                .subscribe(function (resp) {\r\n                if (resp === 401) {\r\n                    _this.popup.show(\"Error\", \"Unable to login. The details entered above (date of birth, gender, username and/or password) do not match those on your Explore account.\\n                                    Please check that they are entered correctly\");\r\n                }\r\n                else if (resp === 410) {\r\n                    _this.popup.show(\"Error\", \"You are ineligible to activate this product as we have detected that you already have a myDNA account with us.\\n                                    Please login to your account as you may already have this product available to you.\");\r\n                    _this.buildForm();\r\n                }\r\n                else if (resp === 500) {\r\n                    _this.popup.show500();\r\n                }\r\n            }, function (err) {\r\n                console.log(err);\r\n            });\r\n        }\r\n        else {\r\n            this.showErrors = true;\r\n            this.showCountryErrors = true;\r\n            this.showStateErrors = true;\r\n            this.popup.show(\"Error\", \"There has been an error submitting this form. Please scroll up to see missing and/or incorrect entries.\");\r\n        }\r\n    };\r\n    CustomerDetailsStepComponent.prototype.formatPhoneNumber = function () {\r\n        if (this.frm.PhoneNumber !== undefined) {\r\n            this.frm.Phone =\r\n                this.CountryCode + this.stripLeadingZero(this.frm.PhoneNumber);\r\n        }\r\n        if (this.frm.MobileNumber !== undefined) {\r\n            this.frm.Mobile =\r\n                this.CountryCode + this.stripLeadingZero(this.frm.MobileNumber);\r\n        }\r\n    };\r\n    CustomerDetailsStepComponent.prototype.stripLeadingZero = function (num) {\r\n        return num.startsWith(\"0\") ? num.substr(1, num.length - 1) : num;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.validateContactNumber = function (event) {\r\n        this.atLeastOneContactIsProvided = false;\r\n        if (event !== null && event.target.value.length > 0) {\r\n            this.atLeastOneContactIsProvided = true;\r\n        }\r\n        else {\r\n            if ((this.frm.MobileNumber && this.frm.MobileNumber.length > 0) ||\r\n                (this.frm.PhoneNumber && this.frm.PhoneNumber.length > 0)) {\r\n                this.atLeastOneContactIsProvided = true;\r\n            }\r\n        }\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnBlurUsername = function (usernameField) {\r\n        var _this = this;\r\n        if (usernameField.valid) {\r\n            this.loader.show();\r\n            this.identityService.fetchUsernameDetails(this.frm.Username).subscribe(function (usernameDetails) {\r\n                if (!usernameDetails.IsValid) {\r\n                    usernameField.control.setErrors({ pattern: true });\r\n                    _this.showUsernameErrors = true;\r\n                }\r\n                else {\r\n                    _this.usernameAlreadyExists = usernameDetails.AlreadyInUse;\r\n                }\r\n            }, function (err) {\r\n                _this.loader.hide(); // must hide first otherwise the modal cannot be dismissed\r\n                _this.popup.show500();\r\n            }, function () { return _this.loader.hide(); });\r\n        }\r\n        else {\r\n            this.showUsernameErrors = true;\r\n        }\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnChangeGender = function () {\r\n        this.frm.Username = \"\"; // to make it clear that their credentials need to be reentered (not as clear when just password is reset)\r\n        this.resetPasswordAndIdentityFields();\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnChangeDob = function () {\r\n        this.frm.Username = \"\"; // to make it clear that their credentials need to be reentered (not as clear when just password is reset)\r\n        this.resetPasswordAndIdentityFields();\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnChangeUsername = function () {\r\n        this.authenticationFailed = false; // reset to clear the error message\r\n        this.usernameAlreadyExists = false; // reset to clear the error message\r\n        this.resetPasswordAndIdentityFields();\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnChangePassword = function () {\r\n        this.authenticationFailed = false; // reset to clear the error message\r\n        this.resetIdentityFields();\r\n    };\r\n    CustomerDetailsStepComponent.prototype.resetPasswordAndIdentityFields = function () {\r\n        this.frm.Password = \"\";\r\n        this.frm.ConfirmPassword = \"\";\r\n        this.resetIdentityFields();\r\n    };\r\n    CustomerDetailsStepComponent.prototype.resetIdentityFields = function () {\r\n        this.registrationService.data.isIdentityCreated = false;\r\n        this.registrationService.data.requestReportId = null;\r\n        this.registrationService.data.customerId = null;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.setValidationRules = function () {\r\n        var resp = this.myDnaValidationPatterns.getDefaultValidatons();\r\n        this.emailPattern = resp.email;\r\n        this.usernamePattern = resp.username;\r\n        this.namePattern = resp.name;\r\n        this.phonePattern = resp.phone;\r\n        this.mobilePattern = resp.mobile;\r\n        this.postcodePattern = resp.postcode;\r\n        this.passwordPattern = resp.password;\r\n        this.suburbPattern = resp.suburb;\r\n        this.statePattern = resp.state;\r\n        this.regCodePattern = resp.regCode;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.languageFieldCheck = function () {\r\n        // make sure Canada select a value\r\n        this.requiresLanguageSelection = this.frm.ISO2CountryCode === \"CA\";\r\n        this.frm.Language = null;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.countriesServiceGetAllCountryNames = function () {\r\n        var _this = this;\r\n        this.loader.show();\r\n        this.countryCodeService.getCountriesAndCodes().subscribe(function (data) {\r\n            _this.loader.hide();\r\n            _this.AllCountriesAndCodes = data;\r\n            _this.CountrySearchDataSource = data.coutryList.map(function (c) { return c.name; });\r\n            _this.setValidationRules();\r\n            _this.languageFieldCheck();\r\n        }, function (error) {\r\n            _this.loader.hide(); // must hide first otherwise the modal cannot be dismissed\r\n            _this.popup.show500();\r\n        }, function () {\r\n            _this.loader.hide();\r\n        });\r\n    };\r\n    CustomerDetailsStepComponent.prototype.checkForRegistrationCode = function (event) {\r\n        var value = event.target.value;\r\n        if (value.length === 8) {\r\n            var digits = String(value).substring(0, 6);\r\n            var sum = digits.split(\"\").reduce(function (a, b) {\r\n                return Number(a) + Number(b);\r\n            }, 0);\r\n            var checkSum = (sum % 2 === 0 ? sum : sum + 1) * 1.5;\r\n            this.regCodePattern = \"^\" + (digits + checkSum) + \"$\";\r\n            return true;\r\n        }\r\n    };\r\n    CustomerDetailsStepComponent.prototype.checkForValidCountryEntered = function () {\r\n        var _this = this;\r\n        if (!this.CountrySearchDataSource.find(function (c) { return c === _this.frm.Country; })) {\r\n            this.showCountryErrors = true;\r\n            this.frm.Country = \"\";\r\n            return false;\r\n        }\r\n        return true;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.checkForValidStateEntered = function () {\r\n        var _this = this;\r\n        if (this.hideAddressFields) {\r\n            return true;\r\n        }\r\n        if (!this._isAnAddressSearchSupportedCountry &&\r\n            this.StateSearchDataSource != null &&\r\n            this.StateSearchDataSource.length > 0) {\r\n            if (!this.StateSearchDataSource.find(function (c) { return c === _this.frm.State; })) {\r\n                this.showStateErrors = true;\r\n                return false;\r\n            }\r\n        }\r\n        return true;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnAddressChange = function ($event) {\r\n        var _this = this;\r\n        this.frm.Country = $event.Country;\r\n        this.frm.AddressLine1 = $event.AddressLine1;\r\n        this.frm.AddressLine2 = $event.AddressLine2;\r\n        this.frm.Suburb = $event.Suburb;\r\n        this.frm.State = $event.State;\r\n        this.frm.Zip = $event.Zip;\r\n        this.frm.AddressSearchQuery = $event.AddressSearchQuery;\r\n        this.CountryCode = $event.CountryPhoneCode;\r\n        this.frm.ISO2CountryCode = $event.ISO2CountryCode;\r\n        this.frm.ISO3CountryCode = $event.ISO3CountryCode;\r\n        this.languageFieldCheck();\r\n        var supportedCountriesArray = __WEBPACK_IMPORTED_MODULE_11__environments_environment__[\"a\" /* environment */].captureSupportedCountries.split(\",\");\r\n        this._isAnAddressSearchSupportedCountry =\r\n            this.frm.Country != null &&\r\n                supportedCountriesArray.find(function (c) { return c.toLowerCase() === _this.frm.Country.toLowerCase(); }) != null;\r\n        this.countryCodeService\r\n            .getStatesForCountry(this.frm.ISO2CountryCode)\r\n            .subscribe(function (data) {\r\n            _this.StatesList = data;\r\n            _this.StateSearchDataSource = data.stateProvinces.map(function (state) { return state.stateProvince; });\r\n        });\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnEmailChange = function ($event) {\r\n        this.frm.Email = $event;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.checkForValidAddress1Entered = function () {\r\n        if (this.hideAddressFields) {\r\n            return true;\r\n        }\r\n        if (this.frm.AddressLine1 != null && this.frm.AddressLine1 !== \"\") {\r\n            return true;\r\n        }\r\n        return false;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.checkForValidEmailEntered = function () {\r\n        if (this.frm.Email != null && this.frm.Email !== \"\") {\r\n            return true;\r\n        }\r\n        return false;\r\n    };\r\n    CustomerDetailsStepComponent.prototype.OnEthnicityChange = function () {\r\n        this.frm.specifiedEthnicityReference = \"\";\r\n        this.mustSpecifyEthnicity = this.frm.ethnicityReference.endsWith(\" -\");\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])(\"f\"), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */]) === 'function' && _a) || Object)\r\n    ], CustomerDetailsStepComponent.prototype, \"myForm\", void 0);\r\n    CustomerDetailsStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: \"mydna-customerreg-customer-details-step\",\r\n            template: __webpack_require__(1186),\r\n            styles: [__webpack_require__(1171), __webpack_require__(354)],\r\n            providers: [__WEBPACK_IMPORTED_MODULE_5__shared_mydna_utility_mydna_utility_service__[\"a\" /* MyDnaUtilityService */], __WEBPACK_IMPORTED_MODULE_6__shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */]],\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_6__shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_6__shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */]) === 'function' && _c) || Object, (typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__shared_mydna_utility_mydna_utility_service__[\"a\" /* MyDnaUtilityService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_5__shared_mydna_utility_mydna_utility_service__[\"a\" /* MyDnaUtilityService */]) === 'function' && _d) || Object, (typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_8__shared_spinner_spinner_service__[\"a\" /* SpinnerService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_8__shared_spinner_spinner_service__[\"a\" /* SpinnerService */]) === 'function' && _e) || Object, (typeof (_f = typeof __WEBPACK_IMPORTED_MODULE_7__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_7__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */]) === 'function' && _f) || Object, (typeof (_g = typeof __WEBPACK_IMPORTED_MODULE_4__steps__[\"a\" /* Steps */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__steps__[\"a\" /* Steps */]) === 'function' && _g) || Object, (typeof (_h = typeof __WEBPACK_IMPORTED_MODULE_9__services_identity_service__[\"a\" /* IdentityService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_9__services_identity_service__[\"a\" /* IdentityService */]) === 'function' && _h) || Object, (typeof (_j = typeof __WEBPACK_IMPORTED_MODULE_10__services_countryCode_service__[\"a\" /* CountryCodeService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_10__services_countryCode_service__[\"a\" /* CountryCodeService */]) === 'function' && _j) || Object])\r\n    ], CustomerDetailsStepComponent);\r\n    return CustomerDetailsStepComponent;\r\n    var _a, _b, _c, _d, _e, _f, _g, _h, _j;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/customer-details-step.component.js.map\n\n/***/ },\n\n/***/ 959:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CustomerRegistrationWizardComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar CustomerRegistrationWizardComponent = (function () {\r\n    function CustomerRegistrationWizardComponent(registrationService) {\r\n        var _this = this;\r\n        this.registrationService = registrationService;\r\n        this.registrationService.navigator.subscribe(function (value) {\r\n            _this.currentStep = value;\r\n        });\r\n        this.registrationService.nextPage();\r\n    }\r\n    CustomerRegistrationWizardComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg',\r\n            template: __webpack_require__(1187),\r\n            styles: [__webpack_require__(354)],\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object])\r\n    ], CustomerRegistrationWizardComponent);\r\n    return CustomerRegistrationWizardComponent;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/customer-registration-wizard.component.js.map\n\n/***/ },\n\n/***/ 960:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__(11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shared_date_dropdown_date_dropdown_module__ = __webpack_require__(974);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shared_mydna_utility_mydna_utility_module__ = __webpack_require__(976);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__services_products_service__ = __webpack_require__(512);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__services_validateBarcodes_service__ = __webpack_require__(513);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__services_identity_service__ = __webpack_require__(511);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__services_countryCode_service__ = __webpack_require__(144);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__customer_registration_wizard_component__ = __webpack_require__(959);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__mykit_step_mykit_step_component__ = __webpack_require__(966);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__customer_details_step_customer_details_step_component__ = __webpack_require__(958);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__select_reports_step_select_reports_step_component__ = __webpack_require__(970);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__medications_step_medications_step_component__ = __webpack_require__(961);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__my_practitioners_step_my_practitioners_step_component__ = __webpack_require__(965);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__confirmation_step_confirmation_step_component__ = __webpack_require__(947);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pinnacle_confirmation_step_pinnacle_confirmation_step_component__ = __webpack_require__(967);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__report_delivery_step_report_delivery_step_component__ = __webpack_require__(969);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__questionnaire_step_questionnaire_step_component__ = __webpack_require__(968);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__shared_address_capture_address_capture_component__ = __webpack_require__(982);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__shared_email_validate_email_validate_component__ = __webpack_require__(983);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__ng_bootstrap_ng_bootstrap__ = __webpack_require__(292);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__mydna_medication_typeahead__ = __webpack_require__(887);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__mydna_medication_typeahead___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_23__mydna_medication_typeahead__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__mydna_medication_api__ = __webpack_require__(199);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__mydna_medication_api___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_25__mydna_medication_api__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__healthcare_practitioner_api__ = __webpack_require__(307);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__client_api_Service__ = __webpack_require__(60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__client_api_SelectProductsApi_api_KitsApi__ = __webpack_require__(304);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__client_api_SelectProductsApi_api_ProductsApi__ = __webpack_require__(506);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__ = __webpack_require__(305);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__client_api_CountriesApi_api_CountriesApi__ = __webpack_require__(302);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__client_api_SelectProductsApi_index__ = __webpack_require__(930);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__client_api_ValidateBarcodesAPi_index__ = __webpack_require__(939);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__client_api_CountriesApi_index__ = __webpack_require__(905);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__shared_mydna_customdirectives_equal_validator_directive__ = __webpack_require__(975);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36_ng2_bootstrap__ = __webpack_require__(693);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__client_api_RequestReportApi__ = __webpack_require__(910);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__ = __webpack_require__(201);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__client_api_ConsumerRegistrationApi__ = __webpack_require__(902);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__consent_step_consent_step_component__ = __webpack_require__(948);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__consent_step_terms_terms_generic_component__ = __webpack_require__(952);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__consent_step_terms_terms_au_component__ = __webpack_require__(949);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__consent_step_terms_terms_uk_component__ = __webpack_require__(956);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__consent_step_terms_terms_usa_component__ = __webpack_require__(957);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__consent_step_terms_terms_ca_component__ = __webpack_require__(950);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__consent_step_terms_terms_cwwr_component__ = __webpack_require__(951);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48_ng2_completer__ = __webpack_require__(1160);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__steps__ = __webpack_require__(112);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__breadcrumb_breadcrumb_component__ = __webpack_require__(946);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__consent_step_terms_terms_habit_component__ = __webpack_require__(953);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__consent_step_terms_terms_pinnacle_component__ = __webpack_require__(954);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__consent_step_terms_terms_research_component__ = __webpack_require__(955);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return CustomerRegistrationWizardModule; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar CustomerRegistrationWizardModule = (function () {\r\n    function CustomerRegistrationWizardModule() {\r\n    }\r\n    CustomerRegistrationWizardModule = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"I\" /* NgModule */])({\r\n            imports: [\r\n                __WEBPACK_IMPORTED_MODULE_1__angular_common__[\"b\" /* CommonModule */],\r\n                __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"a\" /* FormsModule */],\r\n                //TextMaskModule,\r\n                __WEBPACK_IMPORTED_MODULE_3__shared_date_dropdown_date_dropdown_module__[\"a\" /* DateDropDownModule */],\r\n                __WEBPACK_IMPORTED_MODULE_4__shared_mydna_utility_mydna_utility_module__[\"a\" /* MyDnaUtilityModule */],\r\n                __WEBPACK_IMPORTED_MODULE_22__ng_bootstrap_ng_bootstrap__[\"b\" /* NgbModule */].forRoot(),\r\n                __WEBPACK_IMPORTED_MODULE_25__mydna_medication_api__[\"MedicationApiModule\"],\r\n                __WEBPACK_IMPORTED_MODULE_23__mydna_medication_typeahead__[\"MedicationTypeAheadModule\"],\r\n                __WEBPACK_IMPORTED_MODULE_36_ng2_bootstrap__[\"a\" /* ModalModule */].forRoot(),\r\n                __WEBPACK_IMPORTED_MODULE_48_ng2_completer__[\"a\" /* Ng2CompleterModule */],\r\n                __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"a\" /* FormsModule */],\r\n            ],\r\n            declarations: [\r\n                __WEBPACK_IMPORTED_MODULE_50__breadcrumb_breadcrumb_component__[\"a\" /* BreadcrumbComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_10__customer_registration_wizard_component__[\"a\" /* CustomerRegistrationWizardComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_11__mykit_step_mykit_step_component__[\"a\" /* MykitStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_12__customer_details_step_customer_details_step_component__[\"a\" /* CustomerDetailsStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_13__select_reports_step_select_reports_step_component__[\"a\" /* SelectReportsStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_14__medications_step_medications_step_component__[\"a\" /* MedicationsStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_15__my_practitioners_step_my_practitioners_step_component__[\"a\" /* MyPractitionersStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_16__confirmation_step_confirmation_step_component__[\"a\" /* ConfirmationStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_17__pinnacle_confirmation_step_pinnacle_confirmation_step_component__[\"a\" /* PinnacleConfirmationStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_19__questionnaire_step_questionnaire_step_component__[\"a\" /* QuestionnaireStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_20__shared_address_capture_address_capture_component__[\"a\" /* AddressCaptureComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_21__shared_email_validate_email_validate_component__[\"a\" /* EmailValidateComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_18__report_delivery_step_report_delivery_step_component__[\"a\" /* ReportDeliverStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_35__shared_mydna_customdirectives_equal_validator_directive__[\"a\" /* EqualValidatorDirective */],\r\n                __WEBPACK_IMPORTED_MODULE_40__consent_step_consent_step_component__[\"a\" /* ConsentStepComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_41__consent_step_terms_terms_generic_component__[\"a\" /* TermsGenericConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_42__consent_step_terms_terms_au_component__[\"a\" /* TermsAuConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_43__consent_step_terms_terms_uk_component__[\"a\" /* TermsUkConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_44__consent_step_terms_terms_usa_component__[\"a\" /* TermsUsaConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_45__consent_step_terms_terms_ca_component__[\"a\" /* TermsCaConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_46__consent_step_terms_terms_cwwr_component__[\"a\" /* TermsCWWRConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_51__consent_step_terms_terms_habit_component__[\"a\" /* TermsHabitConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_52__consent_step_terms_terms_pinnacle_component__[\"a\" /* TermsPinnacleConditionsComponent */],\r\n                __WEBPACK_IMPORTED_MODULE_53__consent_step_terms_terms_research_component__[\"a\" /* TermsResearchConditionsComponent */],\r\n            ],\r\n            exports: [__WEBPACK_IMPORTED_MODULE_10__customer_registration_wizard_component__[\"a\" /* CustomerRegistrationWizardComponent */]],\r\n            providers: [\r\n                __WEBPACK_IMPORTED_MODULE_5__services_registration_service__[\"a\" /* RegistrationService */],\r\n                __WEBPACK_IMPORTED_MODULE_6__services_products_service__[\"a\" /* ProductsService */],\r\n                __WEBPACK_IMPORTED_MODULE_8__services_identity_service__[\"a\" /* IdentityService */],\r\n                __WEBPACK_IMPORTED_MODULE_7__services_validateBarcodes_service__[\"a\" /* ValidateBarcodesService */],\r\n                __WEBPACK_IMPORTED_MODULE_9__services_countryCode_service__[\"a\" /* CountryCodeService */],\r\n                __WEBPACK_IMPORTED_MODULE_47__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */],\r\n                __WEBPACK_IMPORTED_MODULE_49__steps__[\"a\" /* Steps */],\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_25__mydna_medication_api__[\"MEDICATION_API_BASE_PATH\"],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].medicationsApiEndpoint,\r\n                },\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_26__healthcare_practitioner_api__[\"b\" /* HealthCarePractitionerApi_BASE_PATH */],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].HealthCarePractitionerApiEndPoint,\r\n                },\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_32__client_api_SelectProductsApi_index__[\"Select_Products_Api_BASE_PATH\"],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].SelectProductsApiEndPoint,\r\n                },\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_33__client_api_ValidateBarcodesAPi_index__[\"a\" /* VaildateBarcodesApi_BASE_PATH */],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].ValidateBarcodesApiEndPoint,\r\n                },\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_37__client_api_RequestReportApi__[\"REQUEST_REPORT_BASE_PATH\"],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].RequestReportApiEndPoint,\r\n                },\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_39__client_api_ConsumerRegistrationApi__[\"a\" /* CONSUMER_REGISTRATION_BASE_PATH */],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].ConsumerRegistrationApiEndPoint,\r\n                },\r\n                {\r\n                    provide: __WEBPACK_IMPORTED_MODULE_34__client_api_CountriesApi_index__[\"CountriesApi_BASE_PATH\"],\r\n                    useValue: __WEBPACK_IMPORTED_MODULE_24__environments_environment__[\"a\" /* environment */].CountriesApiEndPoint,\r\n                },\r\n                __WEBPACK_IMPORTED_MODULE_25__mydna_medication_api__[\"MedicationsApi\"],\r\n                __WEBPACK_IMPORTED_MODULE_26__healthcare_practitioner_api__[\"a\" /* HealthCarePractitionersApi */],\r\n                __WEBPACK_IMPORTED_MODULE_26__healthcare_practitioner_api__[\"c\" /* PharmaciesApi */],\r\n                __WEBPACK_IMPORTED_MODULE_38__client_api_ConsumerRegistrationApi_api_ConsumerRegistrationApi__[\"a\" /* ConsumerRegistrationApi */],\r\n                // RequestReportsApi,\r\n                __WEBPACK_IMPORTED_MODULE_28__client_api_SelectProductsApi_api_KitsApi__[\"a\" /* KitsApi */],\r\n                __WEBPACK_IMPORTED_MODULE_29__client_api_SelectProductsApi_api_ProductsApi__[\"a\" /* ProductsApi */],\r\n                __WEBPACK_IMPORTED_MODULE_30__client_api_ValidateBarcodesAPi_api_KitBarcodesApi__[\"a\" /* KitBarcodesApi */],\r\n                __WEBPACK_IMPORTED_MODULE_31__client_api_CountriesApi_api_CountriesApi__[\"a\" /* CountriesApi */],\r\n                __WEBPACK_IMPORTED_MODULE_27__client_api_Service__[\"a\" /* Service */],\r\n            ],\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], CustomerRegistrationWizardModule);\r\n    return CustomerRegistrationWizardModule;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/customer-registration-wizard.module.js.map\n\n/***/ },\n\n/***/ 961:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(9);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MedicationsStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n/**\r\n * This class represents the lazy loaded AboutComponent.\r\n */\r\nvar MedicationsStepComponent = (function () {\r\n    function MedicationsStepComponent(registrationService) {\r\n        this.registrationService = registrationService;\r\n        this._medications = [];\r\n        this.showDuplicateError = false;\r\n        this.isSmoker = false;\r\n        this.showErrors = false;\r\n        this.contactText = \"\";\r\n        this.config = {\r\n            showHint: true,\r\n            notFoundText: 'No matching medications found.',\r\n            placeHolder: 'Start typing part of the medication name',\r\n            searchCharLength: 3\r\n        };\r\n        this._medications = this.registrationService.getMedications();\r\n        this.isSmoker = this.registrationService.getIsSmoker();\r\n        this.contactText = \"please call 1300 436 373\";\r\n    }\r\n    MedicationsStepComponent.prototype.removeItem = function (index) {\r\n        this._medications.splice(index, 1);\r\n    };\r\n    MedicationsStepComponent.prototype.onSelect = function ($event) {\r\n        if (!this.hasMedication($event.selectedItem)) {\r\n            this.showDuplicateError = false;\r\n            this._medications.push($event.selectedItem);\r\n        }\r\n        else {\r\n            this.showDuplicateError = true;\r\n        }\r\n        $event.preventDefault();\r\n        $event.clearInputField();\r\n    };\r\n    MedicationsStepComponent.prototype.navigate = function () {\r\n        this.showErrors = false;\r\n        if (this.myForm.valid) {\r\n            this.registrationService.setIsSmoker(this.isSmoker);\r\n            this.registrationService.submit(false, false, true);\r\n        }\r\n        else {\r\n            this.showErrors = true;\r\n        }\r\n    };\r\n    MedicationsStepComponent.prototype.hasMedication = function (med) {\r\n        return this._medications.filter(function (m) { return m.Id === med.Id; }).length > 0;\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('f'), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"c\" /* NgForm */]) === 'function' && _a) || Object)\r\n    ], MedicationsStepComponent.prototype, \"myForm\", void 0);\r\n    MedicationsStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-medications-step',\r\n            template: __webpack_require__(1188),\r\n            encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"c\" /* ViewEncapsulation */].None,\r\n            styles: [__webpack_require__(1172)]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _b) || Object])\r\n    ], MedicationsStepComponent);\r\n    return MedicationsStepComponent;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/medications-step.component.js.map\n\n/***/ },\n\n/***/ 962:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return PinnacleDoctorForm; });\nvar PinnacleDoctorForm = (function () {\r\n    function PinnacleDoctorForm() {\r\n    }\r\n    return PinnacleDoctorForm;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/pinnacleDoctorForm.js.map\n\n/***/ },\n\n/***/ 963:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__ = __webpack_require__(303);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__report_delivery_option__ = __webpack_require__(510);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Registration; });\n\r\n\r\nvar Registration = (function () {\r\n    function Registration() {\r\n        var _this = this;\r\n        this._venturesPartnerReferenceStrategy = function () {\r\n            var _partnerReferences = [];\r\n            var patientPartnerReferenceTemplate = new PartnerReference();\r\n            patientPartnerReferenceTemplate.PartnerId = _this.partnerId;\r\n            patientPartnerReferenceTemplate.ObjectType = \"new_patient\"; //not worth moving into config\r\n            var ethnicity = Object.assign(new PartnerReference(), patientPartnerReferenceTemplate);\r\n            if (_this.CustomerDetails.ethnicityReference) {\r\n                ethnicity.TextValue = _this.CustomerDetails.specifiedEthnicityReference\r\n                    ? _this.CustomerDetails.ethnicityReference +\r\n                        \" \" +\r\n                        _this.CustomerDetails.specifiedEthnicityReference\r\n                    : _this.CustomerDetails.ethnicityReference;\r\n                ethnicity.FieldName = \"Ethnicity\";\r\n            }\r\n            var patientIdentifier = Object.assign(new PartnerReference(), patientPartnerReferenceTemplate);\r\n            if (_this.CustomerDetails.patientIdentifierReference) {\r\n                patientIdentifier.TextValue =\r\n                    _this.CustomerDetails.patientIdentifierReference;\r\n                patientIdentifier.FieldName = \"Patient Identifier (NHI)\";\r\n            }\r\n            if (_this.partnerReferenceDoctorForm != null) {\r\n                var ventureDoctorFormTemplate_1 = new PartnerReference();\r\n                ventureDoctorFormTemplate_1.PartnerId = _this.partnerId;\r\n                ventureDoctorFormTemplate_1.ObjectType = \"salesorder\";\r\n                Object.keys(_this.partnerReferenceDoctorForm).forEach(function (property) {\r\n                    var value = _this.partnerReferenceDoctorForm[property];\r\n                    if (value != null && value != \"\") {\r\n                        var newItem = Object.assign(new PartnerReference(), ventureDoctorFormTemplate_1);\r\n                        newItem.FieldName = property;\r\n                        newItem.TextValue = value;\r\n                        _partnerReferences.push(newItem);\r\n                    }\r\n                });\r\n            }\r\n            if (ethnicity.TextValue)\r\n                _partnerReferences.push(ethnicity);\r\n            if (patientIdentifier.TextValue)\r\n                _partnerReferences.push(patientIdentifier);\r\n            return _partnerReferences;\r\n        };\r\n        this.toRequestReport = function () {\r\n            var output = new _RequestReport();\r\n            output.id = _this.requestReportId;\r\n            output.status = __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"RequestReport\"].StatusEnum.New;\r\n            output.customer = _this._toCustomer();\r\n            output.kitBarcodes = _this._toKitBarcodes();\r\n            output.medications = _this._toMedications();\r\n            output.products = _this._toProducts();\r\n            output.resultRecipients = _this._toResultRecipient();\r\n            output.paymentDetails = _this._toPaymentDetails();\r\n            output.partnerReferences = _this._toPartnerReferences();\r\n            return output;\r\n        };\r\n        this.medications = [];\r\n        this.doctorsDetails = [];\r\n        this.reportDeliveryOption = new __WEBPACK_IMPORTED_MODULE_1__report_delivery_option__[\"a\" /* ReportDeliveryOption */]();\r\n        // this.token = '';\r\n    }\r\n    Registration.prototype._toCustomerGender = function () {\r\n        if (!this.CustomerDetails) {\r\n            return null;\r\n        }\r\n        if (this.CustomerDetails.Gender === \"M\") {\r\n            return __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"Customer\"].GenderEnum.Male;\r\n        }\r\n        else if (this.CustomerDetails.Gender === \"F\") {\r\n            return __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"Customer\"].GenderEnum.Female;\r\n        }\r\n        else if (this.CustomerDetails.Gender === \"O\") {\r\n            return __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"Customer\"].GenderEnum.Other;\r\n        }\r\n        return null;\r\n    };\r\n    Registration.prototype._toCustomerPostalAddress = function () {\r\n        var _postalAddress = new _Address();\r\n        if (this.CustomerDetails) {\r\n            _postalAddress.addressLine1 = this.CustomerDetails.AddressLine1 || null;\r\n            _postalAddress.addressLine2 = this.CustomerDetails.AddressLine2 || null;\r\n            _postalAddress.suburb = this.CustomerDetails.Suburb || null;\r\n            _postalAddress.state = this.CustomerDetails.State || null;\r\n            _postalAddress.postcode = this.CustomerDetails.Zip || null;\r\n            _postalAddress.country = this.CustomerDetails.Country || null;\r\n        }\r\n        return _postalAddress;\r\n    };\r\n    Registration.prototype._toCustomerContactDetails = function () {\r\n        var _contactDetails = new _ContactDetail();\r\n        if (this.CustomerDetails) {\r\n            _contactDetails.homePhone = this.CustomerDetails.Phone || null;\r\n            _contactDetails.email =\r\n                this.CustomerDetails.Email || null;\r\n            _contactDetails.mobilePhone = this.CustomerDetails.Mobile || null;\r\n        }\r\n        return _contactDetails;\r\n    };\r\n    Registration.prototype._toCustomer = function () {\r\n        var _customer = new _Customer();\r\n        if (this.CustomerDetails) {\r\n            _customer.id = this.customerId;\r\n            _customer.firstName = this.CustomerDetails.FirstName;\r\n            _customer.lastName = this.CustomerDetails.LastName;\r\n            _customer.middleName = this.CustomerDetails.MiddleName;\r\n            var dob = this.CustomerDetails.Dob;\r\n            _customer.dateOfBirth =\r\n                dob.substr(6, 4) + \"-\" + dob.substr(3, 2) + \"-\" + dob.substr(0, 2);\r\n            _customer.gender = this._toCustomerGender();\r\n            _customer.postalAddress = this._toCustomerPostalAddress();\r\n            _customer.contactDetails = this._toCustomerContactDetails();\r\n            _customer.isSmoker = this.smoker;\r\n            _customer.identity = new _Identity();\r\n            _customer.identity.username = this.CustomerDetails.Username;\r\n            _customer.identity.password = this.CustomerDetails.Password;\r\n            _customer.preferences = new Preferences();\r\n            _customer.preferences.language = this.CustomerDetails.Language;\r\n            _customer.preferences.marketingConsent = this.marketingConsent;\r\n            _customer.username = this.CustomerDetails.Username;\r\n            _customer.registrationCode = this.CustomerDetails.RegistrationCode;\r\n        }\r\n        return _customer;\r\n    };\r\n    Registration.prototype._toKitBarcodes = function () {\r\n        var kitBarcodes = [];\r\n        if (this.barcode) {\r\n            var barcode = new _KitBarcode();\r\n            barcode.barcodeNumber = this.barcode;\r\n            kitBarcodes.push(barcode);\r\n        }\r\n        return kitBarcodes;\r\n    };\r\n    Registration.prototype._toMedications = function () {\r\n        var _medications = [];\r\n        var i = 0;\r\n        if (this.medications && this.medications.length > 0) {\r\n            for (i = 0; i < this.medications.length; i++) {\r\n                var med = new _Medication();\r\n                med.id = this.medications[i].Id;\r\n                _medications.push(med);\r\n            }\r\n        }\r\n        return _medications;\r\n    };\r\n    Registration.prototype._toProducts = function () {\r\n        var _products = [];\r\n        if (this.product) {\r\n            var prod = new _Product();\r\n            prod.id = this.product.productId;\r\n            prod.countryId = this.product.countryId;\r\n            _products.push(prod);\r\n        }\r\n        return _products;\r\n    };\r\n    Registration.prototype._toPharmacy = function () {\r\n        var _pharmacy = new _ClinicalOrganisationRef();\r\n        if (this.PharmacyDetails && this.PharmacyDetails.length > 0) {\r\n            _pharmacy.id = this.PharmacyDetails[0].id;\r\n            return _pharmacy;\r\n        }\r\n        return null;\r\n    };\r\n    Registration.prototype._toHealthCarePractitioners = function () {\r\n        var i = 0;\r\n        if (this.doctorsDetails && this.doctorsDetails.length > 0) {\r\n            var _practitioners = [];\r\n            for (i = 0; i < this.doctorsDetails.length; i++) {\r\n                var _doctor = new _HealthcarePractitioner();\r\n                _doctor.clinicalOrganisation = new _ClinicalOrganisation();\r\n                // no salutation in UI\r\n                var doctorsId = this.doctorsDetails[i].id;\r\n                if (doctorsId) {\r\n                    _doctor.id = this.doctorsDetails[i].id;\r\n                    _doctor.clinicalOrganisation.id = this.doctorsDetails[i].clinicID;\r\n                }\r\n                else {\r\n                    _doctor.firstName = this.doctorsDetails[i].firstName;\r\n                    _doctor.lastName = this.doctorsDetails[i].lastName;\r\n                    _doctor.clinicalOrganisation.name = this.doctorsDetails[i].clinicName;\r\n                    _doctor.clinicalOrganisation.category =\r\n                        __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"ClinicalOrganisation\"].CategoryEnum.Doctor;\r\n                    _doctor.clinicalOrganisation.businessAddress = new _Address();\r\n                    _doctor.clinicalOrganisation.businessAddress.addressLine1 =\r\n                        this.doctorsDetails[i].address;\r\n                    _doctor.clinicalOrganisation.businessAddress.addressLine2 =\r\n                        this.doctorsDetails[i].address2;\r\n                    _doctor.clinicalOrganisation.businessAddress.suburb =\r\n                        this.doctorsDetails[i].suburb;\r\n                    _doctor.clinicalOrganisation.businessAddress.postcode =\r\n                        this.doctorsDetails[i].postCode;\r\n                    _doctor.clinicalOrganisation.businessAddress.state =\r\n                        this.doctorsDetails[i].state;\r\n                    _doctor.clinicalOrganisation.businessAddress.country =\r\n                        this.doctorsDetails[i].country;\r\n                    _doctor.clinicalOrganisation.contactDetails = new _ContactDetail();\r\n                    _doctor.clinicalOrganisation.contactDetails.businessPhone =\r\n                        this.doctorsDetails[i].phone;\r\n                    _doctor.clinicalOrganisation.contactDetails.email =\r\n                        this.doctorsDetails[i].email;\r\n                    _doctor.clinicalOrganisation.contactDetails.fax =\r\n                        this.doctorsDetails[i].fax;\r\n                }\r\n                _doctor.willExplainResults = this.doctorsDetails[i].willExplainResult;\r\n                _doctor.isReferrer = this.doctorsDetails[i].referredByDoctor;\r\n                _practitioners.push(_doctor);\r\n            }\r\n            return _practitioners;\r\n        }\r\n        return null;\r\n    };\r\n    Registration.prototype._toResultRecipient = function () {\r\n        var _recipient = new _ResultRecipient();\r\n        _recipient.pharmacy = this._toPharmacy();\r\n        _recipient.healthcarePractitioners = this._toHealthCarePractitioners();\r\n        if (this.reportDeliveryOption && this.reportDeliveryOption.to) {\r\n            if (this.reportDeliveryOption.to === \"pharmacy\") {\r\n                _recipient.resultsExplainedBy =\r\n                    __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"ReportRecipients\"].ResultsExplainedByEnum.Pharmacy;\r\n            }\r\n            else if (this.reportDeliveryOption.to === \"customer\") {\r\n                _recipient.resultsExplainedBy =\r\n                    __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"ReportRecipients\"].ResultsExplainedByEnum.Customer;\r\n            }\r\n            else {\r\n                _recipient.resultsExplainedBy =\r\n                    __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"ReportRecipients\"].ResultsExplainedByEnum.HealthcarePractitioner;\r\n            }\r\n            return _recipient;\r\n        }\r\n        else {\r\n            // if(this.requestReportId){\r\n            _recipient.resultsExplainedBy =\r\n                __WEBPACK_IMPORTED_MODULE_0__client_api_RequestReportApi_model_models__[\"ReportRecipients\"].ResultsExplainedByEnum.Customer;\r\n            return _recipient;\r\n        }\r\n    };\r\n    Registration.prototype._toPaymentDetails = function () {\r\n        // Payment details required for setting the status fulfilled\r\n        var _paymentDetail = new _PaymentDetails();\r\n        _paymentDetail.transactionReference = \"Prepaid\";\r\n        return _paymentDetail;\r\n    };\r\n    Registration.prototype._toPartnerReferences = function () {\r\n        if (this.product.config.pinnacleProductType != null) {\r\n            //is Pinnacle\r\n            return this._venturesPartnerReferenceStrategy();\r\n        }\r\n        return new Array();\r\n    };\r\n    return Registration;\r\n}());\r\nvar _RequestReport = (function () {\r\n    function _RequestReport() {\r\n    }\r\n    return _RequestReport;\r\n}());\r\nvar _Customer = (function () {\r\n    function _Customer() {\r\n    }\r\n    return _Customer;\r\n}());\r\nvar _KitBarcode = (function () {\r\n    function _KitBarcode() {\r\n    }\r\n    return _KitBarcode;\r\n}());\r\nvar _ContactDetail = (function () {\r\n    function _ContactDetail() {\r\n    }\r\n    return _ContactDetail;\r\n}());\r\nvar _Address = (function () {\r\n    function _Address() {\r\n    }\r\n    return _Address;\r\n}());\r\nvar _Medication = (function () {\r\n    function _Medication() {\r\n    }\r\n    return _Medication;\r\n}());\r\nvar _Product = (function () {\r\n    function _Product() {\r\n    }\r\n    return _Product;\r\n}());\r\nvar _ResultRecipient = (function () {\r\n    function _ResultRecipient() {\r\n    }\r\n    return _ResultRecipient;\r\n}());\r\nvar _ClinicalOrganisationRef = (function () {\r\n    function _ClinicalOrganisationRef() {\r\n    }\r\n    return _ClinicalOrganisationRef;\r\n}());\r\nvar _HealthcarePractitioner = (function () {\r\n    function _HealthcarePractitioner() {\r\n    }\r\n    return _HealthcarePractitioner;\r\n}());\r\nvar _ClinicalOrganisation = (function () {\r\n    function _ClinicalOrganisation() {\r\n    }\r\n    return _ClinicalOrganisation;\r\n}());\r\nvar _BusinessContactDetails = (function () {\r\n    function _BusinessContactDetails() {\r\n    }\r\n    return _BusinessContactDetails;\r\n}());\r\nvar _PaymentDetails = (function () {\r\n    function _PaymentDetails() {\r\n    }\r\n    return _PaymentDetails;\r\n}());\r\nvar _Identity = (function () {\r\n    function _Identity() {\r\n    }\r\n    return _Identity;\r\n}());\r\nvar Preferences = (function () {\r\n    function Preferences() {\r\n    }\r\n    return Preferences;\r\n}());\r\nvar PartnerReference = (function () {\r\n    function PartnerReference() {\r\n    }\r\n    return PartnerReference;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/registration.js.map\n\n/***/ },\n\n/***/ 964:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return Validator; });\nvar Validator = (function () {\r\n    function Validator() {\r\n    }\r\n    return Validator;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/validator.js.map\n\n/***/ },\n\n/***/ 965:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_forms__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_pharmacies_service__ = __webpack_require__(972);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_doctors_service__ = __webpack_require__(971);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_debounceTime__ = __webpack_require__(155);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_debounceTime___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_debounceTime__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs_add_operator_distinctUntilChanged__ = __webpack_require__(219);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs_add_operator_distinctUntilChanged___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_rxjs_add_operator_distinctUntilChanged__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_observable_of__ = __webpack_require__(218);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_observable_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_rxjs_add_observable_of__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_rxjs_add_operator_catch__ = __webpack_require__(66);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_rxjs_add_operator_catch___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_rxjs_add_operator_catch__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_rxjs_add_operator_do__ = __webpack_require__(156);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_rxjs_add_operator_do___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_rxjs_add_operator_do__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs_add_operator_switchMap__ = __webpack_require__(220);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs_add_operator_switchMap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_rxjs_add_operator_switchMap__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_ng2_bootstrap_modal__ = __webpack_require__(335);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__shared_mydna_validation_mydna_validation_patterns__ = __webpack_require__(306);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__models_report_delivery_option__ = __webpack_require__(510);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__steps__ = __webpack_require__(112);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__services_countryCode_service__ = __webpack_require__(144);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_20_rxjs__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__models_pinnacleDoctorForm__ = __webpack_require__(962);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MyPractitionersStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar MyPractitionersStepComponent = (function () {\r\n    function MyPractitionersStepComponent(registrationService, pharmaciesService, doctorsService, myDnaValidationPatterns, steps, ngZone, countryCodeService, myDnaOperatingContextService) {\r\n        var _this = this;\r\n        this.registrationService = registrationService;\r\n        this.pharmaciesService = pharmaciesService;\r\n        this.doctorsService = doctorsService;\r\n        this.myDnaValidationPatterns = myDnaValidationPatterns;\r\n        this.steps = steps;\r\n        this.ngZone = ngZone;\r\n        this.countryCodeService = countryCodeService;\r\n        this.myDnaOperatingContextService = myDnaOperatingContextService;\r\n        this.parentFormSubmittedSubject = new __WEBPACK_IMPORTED_MODULE_20_rxjs__[\"Subject\"]();\r\n        this.searching = false;\r\n        this.searchFailed = false;\r\n        this.Doctors = [];\r\n        this.dietitians = [];\r\n        this.doctorSearching = false;\r\n        this.doctorSearchFailed = false;\r\n        this.searchingTextEnabled = false;\r\n        this.dietitianSearching = false;\r\n        this.fullAddress = '';\r\n        this.pinnacleDoctorForm = new __WEBPACK_IMPORTED_MODULE_21__models_pinnacleDoctorForm__[\"a\" /* PinnacleDoctorForm */]();\r\n        this.isPinnaclePostcodeError = false;\r\n        this.isPinnacleMeds = false;\r\n        this.postcodeRegex = /^\\d{4}$/;\r\n        this._isAnAddressSearchSupportedCountry = false;\r\n        this.formatter = function (data) { return data.name; };\r\n        this.resultFormatter = function (data) { return data.name; };\r\n        this.doctorFormatter = function (data) { return data.firstName + ' ' + data.lastName + '  @ ' + data.clinicName; };\r\n        this.doctorResultFormatter = function (data) { return data.firstName + ' ' + data.lastName + '  @ ' + data.clinicName; };\r\n        this.search = function (text$) {\r\n            return text$\r\n                .debounceTime(100)\r\n                .distinctUntilChanged()\r\n                .do(function (term) { return _this.searching = (term.length >= 3); })\r\n                .switchMap(function (term) { return term.length < 3 ? __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__[\"Observable\"].of([]) :\r\n                _this.pharmaciesService.getPharmacies(term, _this.registrationService.data.product)\r\n                    .do(function (results) {\r\n                    _this.showErrorsMain = false;\r\n                    _this.searchFailed = (results.length === 0);\r\n                })\r\n                    .catch(function (err) {\r\n                    _this.searchFailed = true;\r\n                    if (trackJs) {\r\n                        trackJs.track(err); // Send the native error object to TrackJS\r\n                    }\r\n                    return __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__[\"Observable\"].of([]);\r\n                }); })\r\n                .do(function (a) {\r\n                _this.searchFailed = !(a.length > 0) && _this.searching === true;\r\n                _this.searching = false;\r\n            });\r\n        };\r\n        this.searchDoctor = function (text$) {\r\n            return text$\r\n                .debounceTime(300)\r\n                .distinctUntilChanged()\r\n                .do(function (term) { return _this.searchingTextEnabled = _this.doctorSearching = (term.length >= 3); })\r\n                .switchMap(function (term) { return term.length < 3 ? __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__[\"Observable\"].of([]) :\r\n                _this.doctorsService.getDoctors(term, _this.registrationService.unitMemberId, _this.partnerName, _this.partnerReferenceId, _this.partnerReferenceText)\r\n                    .do(function (x) {\r\n                    _this.doctorSearchFailed = x.length === 0;\r\n                })\r\n                    .catch(function (err) {\r\n                    _this.doctorSearchFailed = true;\r\n                    if (trackJs) {\r\n                        trackJs.track(err); // Send the native error object to TrackJS\r\n                    }\r\n                    return __WEBPACK_IMPORTED_MODULE_5_rxjs_Observable__[\"Observable\"].of([]);\r\n                }); })\r\n                .do(function (a) {\r\n                _this.searchingTextEnabled = true;\r\n                _this.doctorSearchFailed = !(a.length > 0) && _this.doctorSearching === true;\r\n                // this.doctorSearching = false;\r\n                _this.searchingTextEnabled = false;\r\n            });\r\n        };\r\n        this.Pharmacy = [];\r\n        this.pharmacyModel = '';\r\n        this.showPharmaciesError = false;\r\n        this.Doctors = this.registrationService.getDoctorsDetails();\r\n        this.doctorModel = '';\r\n        this.frmDoc = {};\r\n        this.showErrors = false;\r\n        this.showErrorsMain = false;\r\n        this.CountryCode = '+61';\r\n        this.frmDoc.country = \"Australia\";\r\n        this.atLeastOneContactIsProvided = false;\r\n        this.fullAddress = '';\r\n        this.setValidationRules();\r\n        this.isDoctorRequired = false;\r\n        var PharmacyDetails = this.registrationService.getPharmacyDetails();\r\n        if (PharmacyDetails !== undefined && PharmacyDetails !== null) {\r\n            this.Pharmacy = PharmacyDetails;\r\n        }\r\n        this.frm = {};\r\n        this.deliveredTo = '';\r\n        this.unitId = this.registrationService.unitMemberId;\r\n        if (this.unitId) {\r\n            this.searchDietitians(this.unitId);\r\n        }\r\n        this.reportDeliveryOption = {};\r\n        this.reportDeliveryOption = this.registrationService.data.reportDeliveryOption;\r\n        var productDetails = this.registrationService.data.product;\r\n        if (productDetails) {\r\n            this.canSkipDeliveryPreference = !!productDetails.config.canSkipDeliveryPreference;\r\n            this.chemistWarehouse = !!productDetails.config.isChemistWarehouse;\r\n            this.ymca = !!productDetails.config.isYMCA;\r\n            this.gymDeliveryPrefs = !!productDetails.config.useGymDeliveryPreferences;\r\n            this.organisationRequired = !!productDetails.config.organisationRequired;\r\n            this.isPinnacleMeds = productDetails.config.pinnacleProductType === 'non-funded Medication';\r\n            this.isPinnacleOnlineMeds = productDetails.config.pinnacleProductType === 'medications';\r\n            this.organisationCopy = !!!!productDetails.config.organisationCopy;\r\n            // TODO : VB : read from product config\r\n            this.directToCustomerWithCopyOrg = true;\r\n            if (this.isPinnacleOnlineMeds) {\r\n                var virtualDoctor = this.frmDoc;\r\n                virtualDoctor.id = productDetails.config.reportDeliveringUnitMemberId;\r\n                virtualDoctor.clinicID = productDetails.config.reportDeliveringUnitMemberOrganisationId;\r\n                virtualDoctor.willExplainResult = true;\r\n                virtualDoctor.referredByDoctor = true;\r\n                this.Doctors.push(virtualDoctor);\r\n                //deliver to pinnacle virtual doctor\r\n                this.deliveredTo = 'doctor';\r\n                this.reportDeliveryOption.to = 'doctor';\r\n            }\r\n            this.deliveredTo = productDetails.defaultDeliveryPreference;\r\n            this.isDeliverByDoctorEnabled = productDetails.isDeliverByDoctorEnabled;\r\n            this.isDeliverByPharmacyEnabled = productDetails.isDeliverByPharmacyEnabled;\r\n            this.isDeliverDirectToCustomerEnabled = productDetails.isDeliverByPhoneEnabled;\r\n            this.isDoctorRequired = ['PMWNRG-B', 'MSPCMR-B', 'MSPGMR-B', 'MSPPMR-B', 'MSPMHMR-B', 'MFPMR-B'].indexOf(productDetails.productNumber) > -1;\r\n        }\r\n        if (this.registrationService.data.product.config.pinnacleProductType != null) {\r\n            this.partnerName = 'Pinnacle';\r\n        }\r\n        if (this.reportDeliveryOption) {\r\n            var defaultDeliveryPreference = productDetails ? productDetails.defaultDeliveryPreference : '';\r\n            this.deliveredTo = this.reportDeliveryOption.to ? this.reportDeliveryOption.to : defaultDeliveryPreference;\r\n        }\r\n        this.e2eIds = this.registrationService.getE2ETestIds();\r\n        if (this.ymca) {\r\n            this.deliveryPartyTitle = 'YMCA';\r\n            this.longDeliveryPartyTitle = 'YMCA gym';\r\n        }\r\n        else if (this.gymDeliveryPrefs) {\r\n            this.deliveryPartyTitle = 'gym';\r\n            this.longDeliveryPartyTitle = 'gym';\r\n        }\r\n        else if (this.organisationCopy) {\r\n            this.deliveryPartyTitle = 'pharmacy';\r\n            this.longDeliveryPartyTitle = 'nominated pharmacy';\r\n        }\r\n        else {\r\n            this.deliveryPartyTitle = 'healthcare professional';\r\n            this.longDeliveryPartyTitle = 'myDNA accredited healthcare professional';\r\n        }\r\n        if (this.chemistWarehouse) {\r\n            this.orgSearchPlaceholderText = '';\r\n        }\r\n        else {\r\n            this.orgSearchPlaceholderText = 'Search for a ' + this.deliveryPartyTitle + ' by name or postcode';\r\n        }\r\n    }\r\n    MyPractitionersStepComponent.prototype.navigate = function () {\r\n        this.ValidatePinnaclePostcode();\r\n        if (this.isPinnaclePostcodeError) {\r\n            return;\r\n        }\r\n        if (this.pinnacleDoctorForm != null) {\r\n            this.registrationService.data.partnerReferenceDoctorForm = this.pinnacleDoctorForm;\r\n        }\r\n        this.searchFailed = false;\r\n        if (this.Pharmacy.length > 0) {\r\n            this.registrationService.setPharmacyDetails(this.Pharmacy);\r\n        }\r\n        if (this.myMainForm.valid) {\r\n            this.showErrorsMain = false;\r\n            if ((this.deliveredTo === 'doctor' && this.Doctors.length === 0) ||\r\n                ((this.organisationRequired || this.deliveredTo === 'pharmacy') && this.Pharmacy.length === 0) ||\r\n                (this.isDoctorRequired && this.Doctors.length === 0)) {\r\n                this.showErrorsMain = true;\r\n            }\r\n            else {\r\n                this.reportDeliveryOption.to = this.deliveredTo;\r\n                this.registrationService.data.reportDeliveryOption = this.reportDeliveryOption;\r\n                this.registrationService.submit(true, false, true);\r\n            }\r\n        }\r\n        else {\r\n            this.showErrorsMain = true;\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.removePharmacy = function (index) {\r\n        if (typeof index !== undefined && this.Pharmacy.length > 0) {\r\n            this.Pharmacy.splice(index, 1);\r\n            this.showPharmaciesError = false;\r\n            this.pharmacyModel = '';\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.onSelectedPharmacy = function (event) {\r\n        this.pharmacyModel = '';\r\n        if (typeof event !== undefined) {\r\n            if (this.Pharmacy.length > 0) {\r\n                this.showPharmaciesError = true;\r\n            }\r\n            else {\r\n                this.Pharmacy.push(event.item);\r\n                this.pharmacyModel = '';\r\n                event.preventDefault();\r\n            }\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.searchDietitians = function (unitId) {\r\n        var _this = this;\r\n        this.dietitianSearching = true;\r\n        this.doctorsService.getDoctors('', unitId).subscribe(function (results) {\r\n            _this.dietitians = results;\r\n            _this.dietitianSearching = false;\r\n            _this.deliveredTo = 'doctor';\r\n            results.forEach(function (item) { return item.willExplainResult = true; });\r\n        });\r\n    };\r\n    MyPractitionersStepComponent.prototype.selectDietitian = function (doctor) {\r\n        while (this.Doctors.length) {\r\n            this.Doctors.pop();\r\n        }\r\n        this.Doctors.push(doctor);\r\n    };\r\n    MyPractitionersStepComponent.prototype.onSelectedDoctor = function (event) {\r\n        this.doctorModel = '';\r\n        if (typeof event !== undefined) {\r\n            var item_1 = event.item;\r\n            item_1.referredByDoctor = false;\r\n            if (!(this.Doctors.filter(function (doctor) { return doctor.id === item_1.id; }).length > 0)) {\r\n                this.Doctors.push(event.item);\r\n            }\r\n            this.doctorModel = '';\r\n            event.preventDefault();\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.removeDoctor = function (index) {\r\n        if (typeof index !== undefined && this.Doctors.length > 0) {\r\n            if (this.selectedDoctor) {\r\n                if (this.Doctors[index].id === this.selectedDoctor.id) {\r\n                    this.selectedDoctor = undefined;\r\n                    this.myMainForm.form.controls['inputDoctor'].setErrors({ 'invalid': true });\r\n                }\r\n            }\r\n            this.Doctors.splice(index, 1);\r\n            this.doctorModel = '';\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.selectReferringDoctor = function (indx, doc, $event) {\r\n        var _this = this;\r\n        this.Doctors.forEach(function (doctor, index, doctors) {\r\n            if (indx !== index) {\r\n                _this.Doctors[index].referredByDoctor = false;\r\n            }\r\n            else {\r\n                $event.target.checked = doc.referredByDoctor;\r\n            }\r\n        });\r\n    };\r\n    MyPractitionersStepComponent.prototype.identify = function (index, doc) {\r\n        return doc.id;\r\n    };\r\n    ;\r\n    MyPractitionersStepComponent.prototype.showChildModal = function () {\r\n        this.doctorModel = '';\r\n        this.doctorSearchFailed = false;\r\n        this.showErrors = false;\r\n        this.childModal.show();\r\n    };\r\n    MyPractitionersStepComponent.prototype.hideChildModal = function () {\r\n        this.childModal.hide();\r\n    };\r\n    MyPractitionersStepComponent.prototype.saveChildModal = function () {\r\n        this.showErrors = false;\r\n        this.parentFormSubmittedSubject.next(true);\r\n        if (this.myForm.valid) {\r\n            var clinician = this.frmDoc;\r\n            clinician.id = null;\r\n            clinician.clinicID = null;\r\n            clinician.phone = !!clinician.phone ? this.CountryCode + this.stripLeadingZero(clinician.phone) : null;\r\n            clinician.fax = !!clinician.fax ? this.CountryCode + this.stripLeadingZero(clinician.fax) : null;\r\n            clinician.email = !!clinician.email ? clinician.email : null;\r\n            this.Doctors.push(clinician);\r\n            this.hideChildModal();\r\n        }\r\n        else {\r\n            this.showErrors = true;\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.stripLeadingZero = function (num) {\r\n        if (num.startsWith('0')) {\r\n            num = num.substr(1, num.length - 1);\r\n        }\r\n        return num;\r\n    };\r\n    MyPractitionersStepComponent.prototype.validateContactDetails = function (event) {\r\n        this.atLeastOneContactIsProvided = false;\r\n        if (event.target.value.length > 0) {\r\n            this.atLeastOneContactIsProvided = true;\r\n        }\r\n        else {\r\n            if ((this.frmDoc.phone && this.frmDoc.phone.length > 0)\r\n                || (this.frmDoc.fax && this.frmDoc.fax.length > 0)\r\n                || (this.frmDoc.email && this.frmDoc.email.length > 0)) {\r\n                this.atLeastOneContactIsProvided = true;\r\n            }\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.changeDoctor = function (event, _selectedDoctor) {\r\n        this.Doctors.forEach(function (item) { return item.willExplainResult = false; });\r\n        if (event && event.target.selectedIndex && this.deliveredTo === 'doctor') {\r\n            var selectedDoctorIndex = event.target.selectedIndex - 1;\r\n            this.Doctors[selectedDoctorIndex].willExplainResult = true;\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.setDeliveryPreference = function (event) {\r\n        if ((event && event.target && event.target.checked)) {\r\n            //as part of the integration task\r\n            //update model in the pharmacydetails\r\n            //event.target.value --pharmacy /doctor/customer\r\n            this.selectedDoctor = undefined;\r\n            this.deliveredTo = event.target.value;\r\n            this.reportDeliveryOption.to = event.target.value;\r\n            if (this.reportDeliveryOption.to !== 'doctor') {\r\n                this.Doctors.forEach(function (item) { return item.willExplainResult = false; });\r\n            }\r\n        }\r\n    };\r\n    MyPractitionersStepComponent.prototype.setValidationRules = function () {\r\n        var resp = this.myDnaValidationPatterns.getDefaultValidatons();\r\n        this.emailPattern = resp.email;\r\n        this.namePattern = resp.name;\r\n        this.phonePattern = resp.phone;\r\n        this.mobilePattern = resp.mobile;\r\n        this.postcodePattern = resp.postcode;\r\n        this.suburbPattern = resp.suburb;\r\n        this.statePattern = resp.state;\r\n    };\r\n    MyPractitionersStepComponent.prototype.OnAddressChange = function ($event) {\r\n        var _this = this;\r\n        this.frmDoc.country = $event.Country;\r\n        this.frmDoc.address = $event.AddressLine1;\r\n        this.frmDoc.address2 = $event.AddressLine2;\r\n        this.frmDoc.suburb = $event.Suburb;\r\n        this.frmDoc.state = $event.State;\r\n        this.frmDoc.postCode = $event.Zip;\r\n        this.CountryCode = $event.CountryPhoneCode;\r\n        this.frmDoc.ISO2CountryCode = $event.ISO2CountryCode;\r\n        this.frmDoc.ISO3CountryCode = $event.ISO3CountryCode;\r\n        var supportedCountriesArray = __WEBPACK_IMPORTED_MODULE_19__environments_environment__[\"a\" /* environment */].captureSupportedCountries.split(',');\r\n        this._isAnAddressSearchSupportedCountry = this.frmDoc.country != null && supportedCountriesArray.find(function (c) { return c.toLowerCase() === _this.frmDoc.country.toLowerCase(); }) != null;\r\n        this.countryCodeService.getStatesForCountry(this.frmDoc.ISO2CountryCode)\r\n            .subscribe(function (data) {\r\n            _this.StatesList = data;\r\n            _this.StateSearchDataSource = data.stateProvinces.map(function (state) { return state.stateProvince; });\r\n        });\r\n    };\r\n    MyPractitionersStepComponent.prototype.ValidatePinnaclePostcode = function () {\r\n        //postcode can be null/blank or if has a value, needs to match regex\r\n        if (this.pinnacleDoctorForm == null\r\n            || this.pinnacleDoctorForm.postcode == null\r\n            || this.pinnacleDoctorForm.postcode === ''\r\n            || this.pinnacleDoctorForm.postcode.match(this.postcodeRegex) !== null) {\r\n            this.isPinnaclePostcodeError = false;\r\n            return;\r\n        }\r\n        this.isPinnaclePostcodeError = true;\r\n        return;\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('childModal'), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_13_ng2_bootstrap_modal__[\"a\" /* ModalDirective */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_13_ng2_bootstrap_modal__[\"a\" /* ModalDirective */]) === 'function' && _a) || Object)\r\n    ], MyPractitionersStepComponent.prototype, \"childModal\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('f'), \r\n        __metadata('design:type', (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */]) === 'function' && _b) || Object)\r\n    ], MyPractitionersStepComponent.prototype, \"myForm\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('f1'), \r\n        __metadata('design:type', (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */]) === 'function' && _c) || Object)\r\n    ], MyPractitionersStepComponent.prototype, \"myMainForm\", void 0);\r\n    MyPractitionersStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-my-practitioners-step',\r\n            template: __webpack_require__(1189),\r\n            styles: [__webpack_require__(1173), __webpack_require__(354)],\r\n            encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"c\" /* ViewEncapsulation */].Emulated,\r\n            providers: [__WEBPACK_IMPORTED_MODULE_3__services_pharmacies_service__[\"a\" /* PharmaciesService */], __WEBPACK_IMPORTED_MODULE_4__services_doctors_service__[\"a\" /* DoctorsService */], __WEBPACK_IMPORTED_MODULE_14__shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */], __WEBPACK_IMPORTED_MODULE_15__models_report_delivery_option__[\"a\" /* ReportDeliveryOption */]]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_2__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _d) || Object, (typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_3__services_pharmacies_service__[\"a\" /* PharmaciesService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__services_pharmacies_service__[\"a\" /* PharmaciesService */]) === 'function' && _e) || Object, (typeof (_f = typeof __WEBPACK_IMPORTED_MODULE_4__services_doctors_service__[\"a\" /* DoctorsService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__services_doctors_service__[\"a\" /* DoctorsService */]) === 'function' && _f) || Object, (typeof (_g = typeof __WEBPACK_IMPORTED_MODULE_14__shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_14__shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */]) === 'function' && _g) || Object, (typeof (_h = typeof __WEBPACK_IMPORTED_MODULE_16__steps__[\"a\" /* Steps */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_16__steps__[\"a\" /* Steps */]) === 'function' && _h) || Object, (typeof (_j = typeof __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_26\" /* NgZone */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_26\" /* NgZone */]) === 'function' && _j) || Object, (typeof (_k = typeof __WEBPACK_IMPORTED_MODULE_17__services_countryCode_service__[\"a\" /* CountryCodeService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_17__services_countryCode_service__[\"a\" /* CountryCodeService */]) === 'function' && _k) || Object, (typeof (_l = typeof __WEBPACK_IMPORTED_MODULE_18__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_18__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */]) === 'function' && _l) || Object])\r\n    ], MyPractitionersStepComponent);\r\n    return MyPractitionersStepComponent;\r\n    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/my-practitioners-step.component.js.map\n\n/***/ },\n\n/***/ 966:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_validateBarcodes_service__ = __webpack_require__(513);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shared_modal_popup_modal_popup_service__ = __webpack_require__(110);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__ = __webpack_require__(111);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__services_countryCode_service__ = __webpack_require__(144);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MykitStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar MykitStepComponent = (function () {\r\n    function MykitStepComponent(registrationService, validateBarcodesService, popup, loader, myDnaOperatingContextService, countryCodeService) {\r\n        this.registrationService = registrationService;\r\n        this.validateBarcodesService = validateBarcodesService;\r\n        this.popup = popup;\r\n        this.loader = loader;\r\n        this.myDnaOperatingContextService = myDnaOperatingContextService;\r\n        this.countryCodeService = countryCodeService;\r\n        this.barcodeValid = false;\r\n        this.visibleerrorMessage = false;\r\n        this.countryErrorMessage = false;\r\n        this.errorMessage = '';\r\n        this.barcode = this.registrationService.data.barcode;\r\n        this.kitTypeId = this.registrationService.data.kitTypeId;\r\n    }\r\n    MykitStepComponent.prototype.navigate = function () {\r\n        var _this = this;\r\n        if (/^\\d{9,10}$/.test(this.barcode)) {\r\n            var response_1;\r\n            this.barcodeValid = false;\r\n            this.countryErrorMessage = false;\r\n            this.myDnaOperatingContextService.setContextCountryCode('');\r\n            this.loader.show();\r\n            var formattedBarcode = this.FormatBarcodeForBackendSystems(this.barcode);\r\n            var value = this.validateBarcodesService.getBarcodeDetails(formattedBarcode)\r\n                .subscribe(function (data) {\r\n                _this.loader.hide();\r\n                response_1 = data;\r\n            }, function (error) {\r\n                _this.loader.hide();\r\n                if (error.status === 400 || error.status === 404) {\r\n                    _this.visibleerrorMessage = true;\r\n                    _this.errorMessage = 'The barcode number you have entered is invalid. Please correct and try again. If you are still experiencing issues call us on 1300 436 373.';\r\n                }\r\n                else if (error.status === 410) {\r\n                    _this.visibleerrorMessage = true;\r\n                    _this.errorMessage = 'This barcode is no longer valid, please contact the myDNA Support Team on 1300 436 373 or help@mydna.life';\r\n                }\r\n                else {\r\n                    _this.popup.show500();\r\n                }\r\n                _this.visibleerrorMessage = true;\r\n            }, function () {\r\n                _this.loader.hide();\r\n                if (response_1 !== undefined && response_1.status === 'active') {\r\n                    if (response_1.kitTypeId === 100000098 || response_1.kitTypeId === 100000099) {\r\n                        _this.popup.show('Error', \"It looks like you're trying to register a Blua test kit. Please\\n                        <a href=\\\"https://blua.mydna.life\\\">register your kit here</a> instead.\");\r\n                    }\r\n                    else {\r\n                        _this.registrationService.data.kitTypeId = response_1.kitTypeId;\r\n                        _this.registrationService.data.barcode = response_1.barcode;\r\n                        _this.countryCodeService.getCountryName(response_1.countryIso2)\r\n                            .subscribe(function (kitCountry) {\r\n                            return _this.registrationService.data.kitCountry = kitCountry;\r\n                        });\r\n                        _this.registrationService.data.kitCountryIso2Code = response_1.countryIso2;\r\n                        _this.myDnaOperatingContextService.setContextCountryCode(response_1.countryIso2);\r\n                        _this.barcodeValid = true;\r\n                        _this.visibleerrorMessage = false;\r\n                        _this.registrationService.nextPage();\r\n                    }\r\n                }\r\n                else if (response_1.status === 'notAllowed') {\r\n                    if (response_1.kitTypeId === 100000004) {\r\n                        _this.popup.show('Error', \"This is a FIT BioCeuticals Product, please register at\\n                        <a href=\\\"https://www.bioceuticals.com.au/clinical-services\\\">www.bioceuticals.com.au/clinical-services</a>\");\r\n                    }\r\n                    else {\r\n                        _this.visibleerrorMessage = true;\r\n                        _this.errorMessage = 'This barcode is invalid';\r\n                    }\r\n                }\r\n                else if (response_1.status !== 'active') {\r\n                    _this.visibleerrorMessage = true;\r\n                    _this.errorMessage = 'This barcode is no longer valid, please contact the myDNA Support Team on 1300 436 373 or help@mydna.life';\r\n                }\r\n                else {\r\n                    _this.popup.show500();\r\n                }\r\n            });\r\n        }\r\n        else {\r\n            this.visibleerrorMessage = true;\r\n            this.errorMessage = 'Please check that your barcode is a 10 digit number';\r\n        }\r\n    };\r\n    MykitStepComponent.prototype.FormatBarcodeForBackendSystems = function (barcode) {\r\n        return (barcode.length === 9 ? '0' : '') + barcode;\r\n    };\r\n    MykitStepComponent.prototype.ClearError = function () {\r\n        this.visibleerrorMessage = false;\r\n    };\r\n    MykitStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-mykit-step',\r\n            template: __webpack_require__(1190),\r\n            styles: [__webpack_require__(1174)]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_validateBarcodes_service__[\"a\" /* ValidateBarcodesService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__services_validateBarcodes_service__[\"a\" /* ValidateBarcodesService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */]) === 'function' && _c) || Object, (typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__[\"a\" /* SpinnerService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__shared_spinner_spinner_service__[\"a\" /* SpinnerService */]) === 'function' && _d) || Object, (typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_5__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_5__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */]) === 'function' && _e) || Object, (typeof (_f = typeof __WEBPACK_IMPORTED_MODULE_6__services_countryCode_service__[\"a\" /* CountryCodeService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_6__services_countryCode_service__[\"a\" /* CountryCodeService */]) === 'function' && _f) || Object])\r\n    ], MykitStepComponent);\r\n    return MykitStepComponent;\r\n    var _a, _b, _c, _d, _e, _f;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/mykit-step.component.js.map\n\n/***/ },\n\n/***/ 967:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return PinnacleConfirmationStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n/**\r\n * This class represents the lazy loaded AboutComponent.\r\n */\r\nvar PinnacleConfirmationStepComponent = (function () {\r\n    function PinnacleConfirmationStepComponent(registrationService) {\r\n        this.registrationService = registrationService;\r\n        this.e2eIds = this.registrationService.getE2ETestIds();\r\n    }\r\n    PinnacleConfirmationStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-pinnacle-confirmation-step',\r\n            template: __webpack_require__(1191),\r\n            styles: [__webpack_require__(1175)]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object])\r\n    ], PinnacleConfirmationStepComponent);\r\n    return PinnacleConfirmationStepComponent;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/pinnacle-confirmation-step.component.js.map\n\n/***/ },\n\n/***/ 968:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(9);\n/* unused harmony export QuestionSet */\n/* unused harmony export Question */\n/* unused harmony export QuestionSkip */\n/* unused harmony export KeyValue */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return QuestionnaireStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\nvar QuestionSet = (function () {\r\n    function QuestionSet() {\r\n        this.questions = [];\r\n    }\r\n    return QuestionSet;\r\n}());\r\nvar Question = (function () {\r\n    function Question() {\r\n        this.answers = [];\r\n    }\r\n    return Question;\r\n}());\r\nvar QuestionSkip = (function () {\r\n    function QuestionSkip() {\r\n        this.answers = [];\r\n    }\r\n    return QuestionSkip;\r\n}());\r\nvar KeyValue = (function () {\r\n    function KeyValue() {\r\n    }\r\n    return KeyValue;\r\n}());\r\nvar QuestionnaireStepComponent = (function () {\r\n    function QuestionnaireStepComponent(registrationService) {\r\n        this.registrationService = registrationService;\r\n        this.answers = {};\r\n        this.showErrors = false;\r\n        this.questions = new QuestionSet();\r\n        this.yesNoUnsure = [\r\n            { key: 'yes', value: 'Yes' },\r\n            { key: 'no', value: 'No' },\r\n            { key: 'unsure', value: 'I’m not sure' }\r\n        ];\r\n        this.yesNo = [\r\n            { key: 'yes', value: 'Yes' },\r\n            { key: 'no', value: 'No' }\r\n        ];\r\n        this.questions.questions.push({\r\n            key: 'weight',\r\n            type: 'single',\r\n            title: 'What is your weight in kilograms? (kg)',\r\n            answers: this.buildRange(25, 201)\r\n        }, {\r\n            key: 'weightGoal',\r\n            type: 'single',\r\n            title: 'What is your goal weight? (kg)',\r\n            answers: this.buildRange(25, 201)\r\n        }, {\r\n            key: 'exerciseFrequency',\r\n            type: 'single',\r\n            title: 'In an average week, how many times do you exercise?',\r\n            answers: this.buildKV(0, 1, 2, 3, 4, 5, '5+')\r\n        }, {\r\n            key: 'exerciseDuration',\r\n            type: 'single',\r\n            title: 'What is the usual duration of each training session?',\r\n            answers: [\r\n                { key: '0-30', value: '30 minutes or less' },\r\n                { key: '30-45', value: '30-45 minutes' },\r\n                { key: '45-60', value: '45-60 minutes' },\r\n                { key: '60', value: '60 minutes' }\r\n            ],\r\n            skip: { key: 'exerciseFrequency', answers: ['0'] }\r\n        }, {\r\n            key: 'warmUp',\r\n            type: 'single',\r\n            title: 'Do you regularly warm-up before training?',\r\n            answers: [\r\n                { key: 'yes5+', value: 'Yes, for more than 5 minutes' },\r\n                { key: 'yes0-5', value: 'Yes, for 0 - 5 minutes' },\r\n                { key: 'no', value: 'No' }\r\n            ],\r\n            skip: { key: 'exerciseFrequency', answers: ['0'] }\r\n        }, {\r\n            key: 'coolDown',\r\n            type: 'single',\r\n            title: 'Do you regularly cool-down after training?',\r\n            answers: [\r\n                { key: 'yes5+', value: 'Yes, for more than 5 minutes' },\r\n                { key: 'yes0-5', value: 'Yes, for 0 - 5 minutes' },\r\n                { key: 'no', value: 'No' }\r\n            ],\r\n            skip: { key: 'exerciseFrequency', answers: ['0'] }\r\n        }, {\r\n            key: 'exerciseFavourite',\r\n            type: 'single',\r\n            title: 'Which of the following type of exercise do you enjoy the most?',\r\n            answers: [\r\n                { key: 'weights', value: 'Weights' },\r\n                { key: 'HIIT', value: 'Sprinting, high Intensity, Interval training' },\r\n                { key: 'cardio', value: 'Jogging, swimming, cycling (cardio)' },\r\n                { key: 'pilates', value: 'Pilates, yoga, walking' },\r\n                { key: 'none', value: 'None of the above' },\r\n                { key: 'other', value: 'Other' },\r\n            ]\r\n        }, {\r\n            key: 'exerciseFavouriteOther',\r\n            type: 'text',\r\n            title: 'What exercise do you enjoy the most?',\r\n            skip: { key: 'exerciseFavourite', answers: ['weights', 'HIIT', 'cardio', 'pilates', 'none', undefined, 'undefined'] }\r\n        }, {\r\n            key: 'activityLevel',\r\n            type: 'single',\r\n            title: 'How active are you in your daily life? Please select the comment which sounds most like you.',\r\n            answers: [\r\n                { key: '0', value: 'I am always at rest (chair-bound or bed-bound)' },\r\n                { key: '1', value: 'I do seated work and a little or no strenuous leisure activity' },\r\n                { key: '2', value: 'I do seated work with occasional walking and regular exercise' },\r\n                { key: '3', value: 'I do work which is mainly standing or walking' },\r\n                { key: '4', value: 'I do heavy occupational work or have a highly active leisure life' },\r\n                { key: '5', value: 'I do significant amounts of sport and strenuous leisure activity in addition to work' }\r\n            ]\r\n        }, {\r\n            key: 'injuryProne',\r\n            type: 'single',\r\n            title: 'Are you prone to injuring your tendons, ligaments or muscles during exercise?',\r\n            answers: this.yesNoUnsure\r\n        }, {\r\n            key: 'informed',\r\n            type: 'single',\r\n            title: 'Do you feel well enough informed to make decisions about what nutrition will work best for your body?',\r\n            answers: [\r\n                { key: 'yes', value: 'No, there’s too much information out there about how to eat, I’m not sure what will work best for me' },\r\n                { key: 'no', value: 'Yes, I already feel quite sure about what will work best for my body' },\r\n                { key: 'unsure', value: 'I’m not sure' }\r\n            ]\r\n        }, {\r\n            key: 'dietBehaviour',\r\n            type: 'multiple',\r\n            title: 'Which best describes your dieting behaviour (tick as many as apply)?',\r\n            answers: [\r\n                { key: 'quick', value: 'I can lose weight quickly by following a strict diet for a number of weeks' },\r\n                { key: 'social', value: 'I follow diets that are popular on social media or that have worked for my friends, but my weight yo-yos up and down' },\r\n                { key: 'unsteady', value: 'I tend to regain the weight loss after a diet making it a struggle to maintain a steady healthy weight' },\r\n                { key: 'sustainable', value: 'I follow a sustainable balanced diet and I am a healthy weight' },\r\n                { key: 'unhappy', value: 'I eat healthily and exercise regularly, but I am not happy with my weight' }\r\n            ]\r\n        }, {\r\n            key: 'triedHighFat',\r\n            type: 'single',\r\n            title: 'Have you tried a high fat diet (e.g. Keto diet or Paleo)?',\r\n            answers: this.yesNo\r\n        }, {\r\n            key: 'highFatEfficacy',\r\n            type: 'single',\r\n            title: 'Is/was the high fat diet successful in helping you to lose weight?',\r\n            answers: this.yesNo,\r\n            skip: { key: 'triedHighFat', answers: ['no'] }\r\n        }, {\r\n            key: 'snacksStruggle',\r\n            type: 'single',\r\n            title: 'Do you struggle with appetite control and often snack on sugary/fatty foods?',\r\n            answers: this.yesNo\r\n        }, {\r\n            key: 'lastCaffeineTime',\r\n            type: 'single',\r\n            title: 'At what point in the day do you usually have your last coffee, tea, or other caffeinated drink (e.g. energy drink / hot chocolate)?',\r\n            answers: [\r\n                { key: 'morning', value: 'In the morning' },\r\n                { key: 'lunch', value: 'After lunch' },\r\n                { key: 'dinner', value: 'After dinner' },\r\n                { key: 'never', value: 'I do not consume caffeine (coffee, tea, energy drinks, chocolate)' }\r\n            ]\r\n        }, {\r\n            key: 'nextSuccessStory',\r\n            type: 'single',\r\n            title: \"Are you the next myDNA success story? We\\u2019re looking for 20 people to take part in an 8-week program where myDNA will support you to achieve your health and\\n        fitness goals. If you\\u2019re chosen as a successful applicant you will receive a complimentary 1:1 consult with a genetic counsellor, dietitian, and exercise physiologist\\n        as well as a DEXA body scan at the start and end of the program <b>(valued at over $1,400)</b>. In return for this complimentary program, we\\u2019d like to share your story on\\n        our website, in social media and through various other media channels aimed at inspiring others to achieve their goals too.\",\r\n            answers: this.yesNo\r\n        });\r\n    }\r\n    QuestionnaireStepComponent.prototype.buildKV = function () {\r\n        var args = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            args[_i - 0] = arguments[_i];\r\n        }\r\n        return args.map(function (v) { return { key: v.toString(), value: v.toString() }; });\r\n    };\r\n    QuestionnaireStepComponent.prototype.buildRange = function (start, end) {\r\n        var values = [];\r\n        while (start < end) {\r\n            values.push({ key: start.toString(10), value: start.toString(10) });\r\n            start++;\r\n        }\r\n        return values;\r\n    };\r\n    QuestionnaireStepComponent.prototype.setAnswer = function (qn, answer) {\r\n        if (qn.type === 'single') {\r\n            this.answers[qn.key] = answer;\r\n        }\r\n        else {\r\n            var answers = this.answers[qn.key] ? this.answers[qn.key].split(',') : [];\r\n            var loc = answers.indexOf(answer);\r\n            if (loc > -1) {\r\n                answers.splice(loc, 1);\r\n            }\r\n            else {\r\n                answers.push(answer);\r\n            }\r\n            this.answers[qn.key] = answers.join(',');\r\n        }\r\n    };\r\n    QuestionnaireStepComponent.prototype.navigate = function () {\r\n        var _this = this;\r\n        var complete = true;\r\n        this.questions.questions.forEach(function (qn) {\r\n            if (!_this.answers[qn.key] || _this.answers[qn.key] === 'undefined') {\r\n                if (!qn.skip || (qn.skip.answers.indexOf(_this.answers[qn.skip.key]) === -1)) {\r\n                    complete = false;\r\n                }\r\n            }\r\n        });\r\n        if (!complete) {\r\n            this.showErrors = true;\r\n        }\r\n        else {\r\n            var qa_1 = {};\r\n            this.questions.questions.map(function (q) {\r\n                if (_this.answers.hasOwnProperty(q.key)) {\r\n                    qa_1[q.key] = { Question: q.title.substr(0, 2000), Answer: _this.answers[q.key] };\r\n                }\r\n            });\r\n            this.registrationService.setAdditionalDetails(qa_1);\r\n        }\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('answerForm'), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"c\" /* NgForm */]) === 'function' && _a) || Object)\r\n    ], QuestionnaireStepComponent.prototype, \"form\", void 0);\r\n    QuestionnaireStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-questionnaire-step',\r\n            template: __webpack_require__(1192)\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _b) || Object])\r\n    ], QuestionnaireStepComponent);\r\n    return QuestionnaireStepComponent;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/questionnaire-step.component.js.map\n\n/***/ },\n\n/***/ 969:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return ReportDeliverStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar ReportDeliverStepComponent = (function () {\r\n    function ReportDeliverStepComponent(registrationService) {\r\n        this.registrationService = registrationService;\r\n        this.showDropDown = false;\r\n        this.isHCPAvailable = true;\r\n        this.isValid = false;\r\n        this.checkPharmacyData();\r\n        this.checkHCP();\r\n    }\r\n    ReportDeliverStepComponent.prototype.navigate = function () {\r\n        if ((this.deliveredTo === 'health_care_professional' && this.selectedValue != null) || this.deliveredTo === 'over_the_phone') {\r\n            this.registrationService.setReportSelection(this.deliveredTo);\r\n            this.registrationService.setReportDropDownSelection(this.selectedValue);\r\n            if (this.deliveredTo == null) {\r\n                this.registrationService.error = 'Please make a selection';\r\n                return false;\r\n            }\r\n            else if (this.deliveredTo === 'health_care_professional' && this.selectedValue == null) {\r\n                this.registrationService.error = 'Please make a selection';\r\n                return false;\r\n            }\r\n            this.registrationService.submit(true, false, true);\r\n        }\r\n    };\r\n    ReportDeliverStepComponent.prototype.checkPharmacyData = function () {\r\n        var pharmacyDetails = this.registrationService.getPharmacyDetails();\r\n        if (pharmacyDetails !== undefined && pharmacyDetails.length > 0) {\r\n            return true;\r\n        }\r\n        else {\r\n            this.isHCPAvailable = false;\r\n        }\r\n        return false;\r\n    };\r\n    ReportDeliverStepComponent.prototype.checkHCP = function () {\r\n        this.deliveredTo = this.registrationService.getReportSelection();\r\n        if (this.deliveredTo === 'over_the_phone') {\r\n            this.showDropDown = false;\r\n        }\r\n        else if (this.deliveredTo === 'health_care_professional' && this.checkPharmacyData()) {\r\n            this.showDropDown = true;\r\n            this.prepareDropDown();\r\n        }\r\n        else {\r\n            this.showDropDown = false;\r\n        }\r\n    };\r\n    ReportDeliverStepComponent.prototype.prepareDropDown = function () {\r\n        var opt = [];\r\n        var pharmacyDetails = this.registrationService.getPharmacyDetails();\r\n        if (pharmacyDetails != null) {\r\n            this.showDropDown = true;\r\n            opt.push({\r\n                id: pharmacyDetails[0].RegistrationID,\r\n                name: pharmacyDetails[0].Name\r\n            });\r\n            this.options = opt;\r\n            return this.options[0];\r\n        }\r\n        else {\r\n            this.showDropDown = false;\r\n        }\r\n    };\r\n    ReportDeliverStepComponent.prototype.hideDropDown = function () {\r\n        this.showDropDown = false;\r\n    };\r\n    ReportDeliverStepComponent.prototype.handleDropDownChange = function (evt) {\r\n        this.registrationService.setReportDropDownSelection(this.selectedValue);\r\n    };\r\n    ReportDeliverStepComponent.prototype.handleRadioChange = function (evt) {\r\n        this.registrationService.setReportSelection(this.deliveredTo);\r\n        if (this.deliveredTo === 'health_care_professional' && this.checkPharmacyData()) {\r\n            this.prepareDropDown();\r\n            this.showDropDown = true;\r\n        }\r\n        else {\r\n            this.showDropDown = false;\r\n        }\r\n    };\r\n    ReportDeliverStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-report-delivery-step',\r\n            template: __webpack_require__(1193)\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object])\r\n    ], ReportDeliverStepComponent);\r\n    return ReportDeliverStepComponent;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/report-delivery-step.component.js.map\n\n/***/ },\n\n/***/ 970:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_registration_service__ = __webpack_require__(35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_products_service__ = __webpack_require__(512);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shared_modal_popup_modal_popup_service__ = __webpack_require__(110);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shared_spinner_spinner_service__ = __webpack_require__(111);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__steps__ = __webpack_require__(112);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return SelectReportsStepComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar SelectReportsStepComponent = (function () {\r\n    function SelectReportsStepComponent(registrationService, productsService, stepsService, popup, loader) {\r\n        var _this = this;\r\n        this.registrationService = registrationService;\r\n        this.productsService = productsService;\r\n        this.stepsService = stepsService;\r\n        this.popup = popup;\r\n        this.loader = loader;\r\n        this.reportSelected = false;\r\n        this.loader.show();\r\n        this.productsService.getKitDetails(this.registrationService.data.kitTypeId)\r\n            .subscribe(function (data) {\r\n            _this.loader.hide();\r\n            data.products = data.products.filter(function (r) { return r.state.match('^(active|underRevision)'); });\r\n            _this.KitDetails = data;\r\n            _this.SetCobrandingImageLocation();\r\n        }, function (error) {\r\n            _this.loader.hide();\r\n            _this.popup.show500();\r\n        });\r\n    }\r\n    SelectReportsStepComponent.prototype.SelectProduct = function (product) {\r\n        this.registrationService.data.product = product;\r\n        this.reportSelected = true;\r\n        if (this.registrationService.data.product) {\r\n            switch (true) {\r\n                case !!product.config && !!product.config.registrationWorkflow:\r\n                    return this.stepsService.setWorkflow(product.config.registrationWorkflow, product.productNumber);\r\n                default:\r\n                    return this.stepsService.setWorkflow(product.isMedicationRequired ? __WEBPACK_IMPORTED_MODULE_6__steps__[\"a\" /* Steps */].FullMedication : __WEBPACK_IMPORTED_MODULE_6__steps__[\"a\" /* Steps */].Wellness, product.productNumber);\r\n            }\r\n        }\r\n    };\r\n    SelectReportsStepComponent.prototype.navigate = function () {\r\n        this.registrationService.nextPage();\r\n    };\r\n    SelectReportsStepComponent.prototype.SetCobrandingImageLocation = function () {\r\n        var _this = this;\r\n        this.KitDetails.products.forEach(function (prod) {\r\n            if (prod.config\r\n                && prod.config.cobrandingImageLocation) {\r\n                _this.registrationService.data.cobrandingImageLocation = prod.config.cobrandingImageLocation;\r\n            }\r\n        });\r\n    };\r\n    SelectReportsStepComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'mydna-customerreg-select-reports-step',\r\n            template: __webpack_require__(1194)\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_registration_service__[\"a\" /* RegistrationService */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_products_service__[\"a\" /* ProductsService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__services_products_service__[\"a\" /* ProductsService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_6__steps__[\"a\" /* Steps */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_6__steps__[\"a\" /* Steps */]) === 'function' && _c) || Object, (typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__shared_modal_popup_modal_popup_service__[\"a\" /* ModalPopupService */]) === 'function' && _d) || Object, (typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_5__shared_spinner_spinner_service__[\"a\" /* SpinnerService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_5__shared_spinner_spinner_service__[\"a\" /* SpinnerService */]) === 'function' && _e) || Object])\r\n    ], SelectReportsStepComponent);\r\n    return SelectReportsStepComponent;\r\n    var _a, _b, _c, _d, _e;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/select-reports-step.component.js.map\n\n/***/ },\n\n/***/ 971:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api__ = __webpack_require__(307);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return DoctorsService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\nvar DoctorsService = (function () {\r\n    function DoctorsService(healthCarePractitionerApi, _myDnaOperatingContextService) {\r\n        this.healthCarePractitionerApi = healthCarePractitionerApi;\r\n        this._myDnaOperatingContextService = _myDnaOperatingContextService;\r\n    }\r\n    DoctorsService.prototype.getDoctors = function (q, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText) {\r\n        this._myDnaOperatingContextService.setOperatingContextHeaders(this.healthCarePractitionerApi.defaultHeaders);\r\n        return this.healthCarePractitionerApi.healthCarePractitionersGetClinicians(q, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText);\r\n    };\r\n    DoctorsService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api__[\"a\" /* HealthCarePractitionersApi */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api__[\"a\" /* HealthCarePractitionersApi */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */]) === 'function' && _b) || Object])\r\n    ], DoctorsService);\r\n    return DoctorsService;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/doctors.service.js.map\n\n/***/ },\n\n/***/ 972:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__client_api_Service__ = __webpack_require__(60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api_variables__ = __webpack_require__(203);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__healthcare_practitioner_api__ = __webpack_require__(307);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_http_src_headers__ = __webpack_require__(106);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return PharmaciesService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar PharmaciesService = (function () {\r\n    function PharmaciesService(basePath, service, _myDnaOperatingContextService, healthCarePractitionerApi) {\r\n        this.service = service;\r\n        this._myDnaOperatingContextService = _myDnaOperatingContextService;\r\n        this.healthCarePractitionerApi = healthCarePractitionerApi;\r\n        this.basePath = basePath || this.basePath;\r\n    }\r\n    PharmaciesService.prototype.getPharmacies = function (query, product) {\r\n        var contextHeader = this.healthCarePractitionerApi.defaultHeaders;\r\n        this._myDnaOperatingContextService.setOperatingContextHeaders(contextHeader);\r\n        var headers = new __WEBPACK_IMPORTED_MODULE_5__angular_http_src_headers__[\"a\" /* Headers */](contextHeader.toJSON());\r\n        var bannerGroupInclude = product.config.bannerGroupCode;\r\n        var bannerGroupExclude = product.config.bannerGroupExclusions;\r\n        return this.service.get(this.basePath + 'ClinicalOrganisations/Pharmacies', { query: query, bannerGroupCodes: bannerGroupInclude, bannerGroupCodesExclude: bannerGroupExclude }, headers);\r\n    };\r\n    PharmaciesService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"x\" /* Optional */])()),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"y\" /* Inject */])(__WEBPACK_IMPORTED_MODULE_2__healthcare_practitioner_api_variables__[\"a\" /* HealthCarePractitionerApi_BASE_PATH */])), \r\n        __metadata('design:paramtypes', [String, (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__client_api_Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__client_api_Service__[\"a\" /* Service */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__shared_mydna_operating_context_mydna_operating_context_service__[\"a\" /* MyDnaOperatingContextService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__healthcare_practitioner_api__[\"a\" /* HealthCarePractitionersApi */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4__healthcare_practitioner_api__[\"a\" /* HealthCarePractitionersApi */]) === 'function' && _c) || Object])\r\n    ], PharmaciesService);\r\n    return PharmaciesService;\r\n    var _a, _b, _c;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/pharmacies.service.js.map\n\n/***/ },\n\n/***/ 973:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_forms__ = __webpack_require__(9);\n/* unused harmony export CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR */\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return DateDropDownComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar noop = function () {\r\n};\r\nvar CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {\r\n    provide: __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"b\" /* NG_VALUE_ACCESSOR */],\r\n    useExisting: __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_36\" /* forwardRef */])(function () { return DateDropDownComponent; }),\r\n    multi: true\r\n};\r\nvar DateDropDownComponent = (function () {\r\n    function DateDropDownComponent(el, renderer) {\r\n        this.el = el;\r\n        this.renderer = renderer;\r\n        // The internal data model\r\n        this.innerValue = '';\r\n        // Placeholders for the callbacks which are later provided\r\n        // by the Control Value Accessor\r\n        this.onTouchedCallback = noop;\r\n        this.onChangeCallback = noop;\r\n        this.dateFormat = 'dd/MM/yyyy';\r\n        this.dayDivClass = 'day-container';\r\n        this.dayClass = 'day-selector';\r\n        this.monthDivClass = 'month-container';\r\n        this.monthClass = 'month-selector';\r\n        this.yearDivClass = 'year-container';\r\n        this.yearClass = 'year-selector';\r\n        this.dayRange = [1, 31];\r\n        this.monthsArray = [\r\n            'January',\r\n            'February',\r\n            'March',\r\n            'April',\r\n            'May',\r\n            'June',\r\n            'July',\r\n            'August',\r\n            'September',\r\n            'October',\r\n            'November',\r\n            'December'\r\n        ];\r\n        this.dateFields = {\r\n            day: '',\r\n            month: '',\r\n            year: ''\r\n        };\r\n        this.dayList = [];\r\n        this.MonthList = [];\r\n        this.YearList = [];\r\n        this.GetDays();\r\n        this.GetMonths();\r\n        this.GetYears();\r\n        this.date = '';\r\n        // this.setCssClasses();\r\n    }\r\n    Object.defineProperty(DateDropDownComponent.prototype, \"value\", {\r\n        // get accessor\r\n        get: function () {\r\n            return this.innerValue;\r\n        },\r\n        // set accessor including call the onchange callback\r\n        set: function (v) {\r\n            if (v !== this.innerValue) {\r\n                this.innerValue = v;\r\n                this.onChangeCallback(v);\r\n            }\r\n        },\r\n        enumerable: true,\r\n        configurable: true\r\n    });\r\n    ;\r\n    // Set touched on blur\r\n    DateDropDownComponent.prototype.onBlur = function () {\r\n        this.onTouchedCallback();\r\n    };\r\n    // From ControlValueAccessor interface\r\n    DateDropDownComponent.prototype.writeValue = function (value) {\r\n        if (value !== this.innerValue) {\r\n            this.innerValue = value;\r\n            // this call is to rebind the value to model.\r\n            this.onModelChange();\r\n        }\r\n    };\r\n    // From ControlValueAccessor interface\r\n    DateDropDownComponent.prototype.registerOnChange = function (fn) {\r\n        this.onChangeCallback = fn;\r\n    };\r\n    // From ControlValueAccessor interface\r\n    DateDropDownComponent.prototype.registerOnTouched = function (fn) {\r\n        this.onTouchedCallback = fn;\r\n    };\r\n    DateDropDownComponent.prototype.setCssClasses = function () {\r\n        var cssArray = [this.dayDivClass, this.monthDivClass, this.yearDivClass, this.dayClass, this.monthClass, this.yearClass];\r\n        for (var i = 0; i < cssArray.length; i++) {\r\n            this.renderer.setElementClass(this.el.nativeElement, cssArray[i], true);\r\n        }\r\n    };\r\n    DateDropDownComponent.prototype.GetDays = function () {\r\n        var days = [];\r\n        while (this.dayRange[0] <= this.dayRange[1]) {\r\n            days.push(this.dayRange[0]++);\r\n        }\r\n        this.dayList = days;\r\n    };\r\n    ;\r\n    DateDropDownComponent.prototype.GetMonths = function () {\r\n        var lst = [], mLen = this.monthsArray.length;\r\n        for (var i = 0; i < mLen; i++) {\r\n            lst.push({\r\n                value: i,\r\n                name: this.monthsArray[i]\r\n            });\r\n        }\r\n        this.MonthList = lst;\r\n    };\r\n    DateDropDownComponent.prototype.GetYears = function () {\r\n        var lst = [];\r\n        var currentYear = new Date().getFullYear();\r\n        var oldestYear = 1900;\r\n        for (var i = currentYear; i >= oldestYear; i--) {\r\n            lst.push(i);\r\n        }\r\n        this.YearList = lst;\r\n    };\r\n    DateDropDownComponent.prototype.changeDate = function (date) {\r\n        if (date.day > 28) {\r\n            date.day--;\r\n            return date;\r\n        }\r\n        else if (date.month > 11) {\r\n            date.day = 31;\r\n            date.month--;\r\n            return date;\r\n        }\r\n    };\r\n    DateDropDownComponent.prototype.formatDate = function (date) {\r\n        var day = date.getDate();\r\n        var month = date.getMonth() + 1;\r\n        var year = date.getFullYear();\r\n        if (day < 10) {\r\n            day = '0' + day;\r\n        }\r\n        if (month < 10) {\r\n            month = '0' + month;\r\n        }\r\n        if (this.dateFormat === 'dd/MM/yyyy') {\r\n            return day + '/' + month + '/' + year;\r\n        }\r\n        else {\r\n            return month + '/' + day + '/' + year;\r\n        }\r\n    };\r\n    DateDropDownComponent.prototype.checkDate = function (date) {\r\n        var d;\r\n        if (!date.day || date.month === null || date.month === undefined || !date.year) {\r\n            return false;\r\n        }\r\n        else {\r\n            // d = new Date(Date.UTC(date.year, date.month, date.day));\r\n            d = new Date(date.year, date.month, date.day);\r\n            if (d && (d.getMonth() === date.month && d.getDate() === Number(date.day))) {\r\n                return d;\r\n            }\r\n            return this.checkDate(this.changeDate(date));\r\n        }\r\n    };\r\n    DateDropDownComponent.prototype.OnChangeDate = function () {\r\n        var date = this.checkDate(this.dateFields);\r\n        if (date) {\r\n            this.value = this.date = this.formatDate(date);\r\n        }\r\n    };\r\n    DateDropDownComponent.prototype.onModelChange = function () {\r\n        if (this.value !== undefined && this.value !== '' && this.value != null) {\r\n            var newDate = this.value;\r\n            var dateParts = newDate.split('/');\r\n            this.dateFields.day = parseInt(dateParts[0], 10);\r\n            this.dateFields.month = parseInt(dateParts[1], 10) - 1;\r\n            this.dateFields.year = parseInt(dateParts[2], 10);\r\n        }\r\n        else {\r\n            this.dateFields.day = new Date(this.value).getDate();\r\n            this.dateFields.month = new Date(this.value).getMonth();\r\n            this.dateFields.year = new Date(this.value).getFullYear();\r\n        }\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', String)\r\n    ], DateDropDownComponent.prototype, \"dateFormat\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', Object)\r\n    ], DateDropDownComponent.prototype, \"dayDivClass\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', Object)\r\n    ], DateDropDownComponent.prototype, \"dayClass\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', Object)\r\n    ], DateDropDownComponent.prototype, \"monthDivClass\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', Object)\r\n    ], DateDropDownComponent.prototype, \"monthClass\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', Object)\r\n    ], DateDropDownComponent.prototype, \"yearDivClass\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', Object)\r\n    ], DateDropDownComponent.prototype, \"yearClass\", void 0);\r\n    DateDropDownComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'date-dropdown',\r\n            template: __webpack_require__(1195),\r\n            styles: [__webpack_require__(1176)],\r\n            providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"g\" /* ElementRef */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"g\" /* ElementRef */]) === 'function' && _a) || Object, (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"r\" /* Renderer */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"r\" /* Renderer */]) === 'function' && _b) || Object])\r\n    ], DateDropDownComponent);\r\n    return DateDropDownComponent;\r\n    var _a, _b;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/date-dropdown.component.js.map\n\n/***/ },\n\n/***/ 974:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__(11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__date_dropdown_component__ = __webpack_require__(973);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return DateDropDownModule; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\nvar DateDropDownModule = (function () {\r\n    function DateDropDownModule() {\r\n    }\r\n    DateDropDownModule = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"I\" /* NgModule */])({\r\n            imports: [__WEBPACK_IMPORTED_MODULE_1__angular_common__[\"b\" /* CommonModule */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__[\"a\" /* FormsModule */]],\r\n            declarations: [__WEBPACK_IMPORTED_MODULE_3__date_dropdown_component__[\"a\" /* DateDropDownComponent */]],\r\n            exports: [__WEBPACK_IMPORTED_MODULE_3__date_dropdown_component__[\"a\" /* DateDropDownComponent */]]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], DateDropDownModule);\r\n    return DateDropDownModule;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/date-dropdown.module.js.map\n\n/***/ },\n\n/***/ 975:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_forms__ = __webpack_require__(9);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return EqualValidatorDirective; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\n\r\n\r\nvar EqualValidatorDirective = (function () {\r\n    function EqualValidatorDirective(validateEqual, reverse) {\r\n        this.validateEqual = validateEqual;\r\n        this.reverse = reverse;\r\n    }\r\n    Object.defineProperty(EqualValidatorDirective.prototype, \"isReverse\", {\r\n        get: function () {\r\n            if (!this.reverse)\r\n                return false;\r\n            return this.reverse === 'true' ? true : false;\r\n        },\r\n        enumerable: true,\r\n        configurable: true\r\n    });\r\n    EqualValidatorDirective.prototype.validate = function (c) {\r\n        // self value\r\n        var v = c.value;\r\n        // control vlaue\r\n        var e = c.root.get(this.validateEqual);\r\n        // value not equal\r\n        if (e && (v !== e.value && e.value && e.value.length > 0) && !this.isReverse) {\r\n            return {\r\n                validateEqual: true\r\n            };\r\n        }\r\n        // value equal and reverse\r\n        if (e && (v === e.value && e.value && e.value.length > 0) && this.isReverse) {\r\n            delete e.errors['validateEqual'];\r\n            if (!Object.keys(e.errors).length)\r\n                e.setErrors(null);\r\n        }\r\n        // value not equal and reverse\r\n        if (e && (v !== e.value && e.value && e.value.length > 0) && this.isReverse) {\r\n            e.setErrors({ validateEqual: true });\r\n        }\r\n        return null;\r\n    };\r\n    EqualValidatorDirective = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"H\" /* Directive */])({\r\n            selector: \"[validateEqual][formControlName],[validateEqual][formControl],[validateEqual][ngModel]\",\r\n            providers: [\r\n                { provide: __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"d\" /* NG_VALIDATORS */], useExisting: __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_36\" /* forwardRef */])(function () { return EqualValidatorDirective; }), multi: true }\r\n            ]\r\n        }),\r\n        __param(0, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"V\" /* Attribute */])('validateEqual')),\r\n        __param(1, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"V\" /* Attribute */])('reverse')), \r\n        __metadata('design:paramtypes', [String, String])\r\n    ], EqualValidatorDirective);\r\n    return EqualValidatorDirective;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/equal-validator.directive.js.map\n\n/***/ },\n\n/***/ 976:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mydna_utility_service__ = __webpack_require__(514);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return MyDnaUtilityModule; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\nvar MyDnaUtilityModule = (function () {\r\n    function MyDnaUtilityModule() {\r\n    }\r\n    MyDnaUtilityModule = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"I\" /* NgModule */])({\r\n            imports: [],\r\n            exports: [],\r\n            declarations: [],\r\n            providers: [__WEBPACK_IMPORTED_MODULE_1__mydna_utility_service__[\"a\" /* MyDnaUtilityService */]]\r\n        }), \r\n        __metadata('design:paramtypes', [])\r\n    ], MyDnaUtilityModule);\r\n    return MyDnaUtilityModule;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/mydna-utility.module.js.map\n\n/***/ },\n\n/***/ 977:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__PharmaciesApi__ = __webpack_require__(516);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HealthCarePractitionersApi__ = __webpack_require__(515);\n/* unused harmony export APIS */\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"b\", function() { return __WEBPACK_IMPORTED_MODULE_0__PharmaciesApi__[\"a\"]; });\n/* harmony namespace reexport (by used) */ __webpack_require__.d(exports, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_1__HealthCarePractitionersApi__[\"a\"]; });\n\r\n\r\n\r\n\r\nvar APIS = [__WEBPACK_IMPORTED_MODULE_0__PharmaciesApi__[\"a\" /* PharmaciesApi */], __WEBPACK_IMPORTED_MODULE_1__HealthCarePractitionersApi__[\"a\" /* HealthCarePractitionersApi */],];\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/api.js.map\n\n/***/ },\n\n/***/ 978:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Clinician.js.map\n\n/***/ },\n\n/***/ 979:\n/***/ function(module, exports) {\n\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/Pharmacy.js.map\n\n/***/ },\n\n/***/ 980:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Pharmacy__ = __webpack_require__(979);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Pharmacy___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__Pharmacy__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Clinician__ = __webpack_require__(978);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Clinician___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__Clinician__);\n/* unused harmony reexport Pharmacy */\n/* unused harmony reexport Clinician */\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/models.js.map\n\n/***/ },\n\n/***/ 981:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_rxjs_add_observable_throw__ = __webpack_require__(733);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_rxjs_add_observable_throw___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_rxjs_add_observable_throw__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__ = __webpack_require__(24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_add_operator_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_catch__ = __webpack_require__(66);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_catch___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_catch__);\n\r\n\r\n\r\n// ngrx\r\n//import '@ngrx/core/add/operator/select';\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/operators.js.map\n\n/***/ },\n\n/***/ 982:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_forms__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_address_capture_address_capture_service__ = __webpack_require__(984);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_services_countryCode_service__ = __webpack_require__(144);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_models_customer_details__ = __webpack_require__(509);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_rxjs__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return AddressCaptureComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nvar AddressCaptureComponent = (function () {\r\n    function AddressCaptureComponent(addressCaptureService, countryCodeService) {\r\n        this.addressCaptureService = addressCaptureService;\r\n        this.countryCodeService = countryCodeService;\r\n        this.searchResults = null;\r\n        this.searchQuery = '';\r\n        this.addressCaptureOutput = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_20\" /* EventEmitter */]();\r\n        this.showCountryErrors = false;\r\n        this.showStateErrors = false;\r\n        this.showAddressErrors = false;\r\n        this.showManualForm = false;\r\n        this.hideAddressFields = false;\r\n        this._isSearchEnabled = false;\r\n        this._currentActiveAddressSearchElement = 0;\r\n    }\r\n    AddressCaptureComponent.prototype.ngOnInit = function () {\r\n        var _this = this;\r\n        this.parentFormSubmitted.subscribe(function (event) {\r\n            _this.showAddressErrors = true;\r\n            _this.showManualForm = true;\r\n            _this.CheckForValidCountryEntered();\r\n            _this.CheckForValidStateEntered();\r\n        });\r\n        this.BuildForm();\r\n        this.CountriesServiceGetAllCountryNames();\r\n    };\r\n    AddressCaptureComponent.prototype.EmitOutput = function () {\r\n        this.addressCaptureOutput.emit(this.form);\r\n    };\r\n    AddressCaptureComponent.prototype.BuildForm = function () {\r\n        this.form = new __WEBPACK_IMPORTED_MODULE_4__customer_registration_wizard_models_customer_details__[\"a\" /* CustomerDetails */]();\r\n        this.form.Country = this.countryNameInput;\r\n        this.hideAddressFields = this.hideAddressInput;\r\n        if (this.hideAddressFields) {\r\n            this.showAddressErrors = false;\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.test = function ($event) {\r\n        this.EmitOutput();\r\n    };\r\n    AddressCaptureComponent.prototype.GetSearchResults = function (query) {\r\n        var _this = this;\r\n        this.searchQuery = query;\r\n        if (query.length > 3) {\r\n            this.addressCaptureService.searchResults(query)\r\n                .subscribe(function (data) {\r\n                _this.searchResults = data.results;\r\n                _this._currentActiveAddressSearchElement = 0;\r\n                if (_this.searchResults != null && _this.searchResults.length > 0) {\r\n                    _this.searchResults[0].isActive = true;\r\n                }\r\n            });\r\n        }\r\n        else {\r\n            this.searchResults = null;\r\n            this._currentActiveAddressSearchElement = 0;\r\n            return [];\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.GetFormattedAddress = function (formatUrl) {\r\n        var _this = this;\r\n        this.addressCaptureService.formattedResult(formatUrl)\r\n            .subscribe(function (data) {\r\n            _this.DecodeFormattedResponse(data);\r\n        });\r\n    };\r\n    AddressCaptureComponent.prototype.OnCountryChange = function () {\r\n        this.showStateErrors = false;\r\n        this.showCountryErrors = false;\r\n        this.showAddressErrors = false;\r\n        this.ClearAddressForm();\r\n    };\r\n    AddressCaptureComponent.prototype.ClearAddressForm = function () {\r\n        this.form.AddressLine1 = '';\r\n        this.form.AddressLine2 = '';\r\n        this.form.Suburb = '';\r\n        this.form.State = '';\r\n        this.form.Zip = '';\r\n        this.searchResults = null;\r\n        this.searchQuery = '';\r\n        this._currentActiveAddressSearchElement = 0;\r\n    };\r\n    AddressCaptureComponent.prototype.CountriesServiceGetAllCountryNames = function () {\r\n        var _this = this;\r\n        this.countryCodeService.getCountriesAndCodes()\r\n            .subscribe(function (data) {\r\n            _this.AllCountriesAndCodes = data;\r\n            _this.CountrySearchDataSource = data.coutryList.map(function (c) { return c.name; });\r\n            _this.OnCountrySelected();\r\n        });\r\n    };\r\n    AddressCaptureComponent.prototype.OnCountrySelected = function () {\r\n        var _this = this;\r\n        var countryCodeObject = this.AllCountriesAndCodes.coutryList.find(function (r) { return r.name === _this.form.Country; });\r\n        this.CheckIfSearchShouldAppear();\r\n        if (countryCodeObject) {\r\n            this.form.ISO2CountryCode = countryCodeObject.isO2;\r\n            this.form.ISO3CountryCode = countryCodeObject.isO3;\r\n            this.addressCaptureService.setSearchCountryIso3(countryCodeObject.isO3);\r\n            this.form.CountryPhoneCode = countryCodeObject.phoneCode !== null && countryCodeObject.phoneCode !== '' ? ('+' + countryCodeObject.phoneCode) : '';\r\n            this.countryCodeService.getStatesForCountry(countryCodeObject.isO2)\r\n                .subscribe(function (data) {\r\n                _this.StatesList = data;\r\n                _this.StateSearchDataSource = data.stateProvinces.map(function (state) { return state.stateProvince; });\r\n            });\r\n            this.EmitOutput();\r\n        }\r\n        this.CheckForValidCountryEntered();\r\n    };\r\n    AddressCaptureComponent.prototype.CheckIfSearchShouldAppear = function () {\r\n        var _this = this;\r\n        if (this.hideAddressFields) {\r\n            this.showManualForm = false;\r\n            this._isSearchEnabled = false;\r\n            return;\r\n        }\r\n        var supportedCountriesArray = __WEBPACK_IMPORTED_MODULE_5__environments_environment__[\"a\" /* environment */].captureSupportedCountries.split(',');\r\n        this._isSearchEnabled = this.form.Country != null && supportedCountriesArray.find(function (c) { return c.toLowerCase() === _this.form.Country.toLowerCase(); }) != null;\r\n        this.showManualForm = !this._isSearchEnabled;\r\n    };\r\n    AddressCaptureComponent.prototype.CheckForValidCountryEntered = function () {\r\n        var _this = this;\r\n        if (!this.CountrySearchDataSource.find(function (c) { return c === _this.form.Country; })) {\r\n            this.showCountryErrors = true;\r\n        }\r\n        else {\r\n            this.showCountryErrors = false;\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.CheckForValidStateEntered = function () {\r\n        var _this = this;\r\n        if (!this._isSearchEnabled && !this.hideAddressFields) {\r\n            if (!this.StateSearchDataSource.find(function (c) { return c === _this.form.State; })) {\r\n                this.showStateErrors = true;\r\n                this.form.State = '';\r\n            }\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.OnAddressBlur = function () {\r\n        this.showAddressErrors = true;\r\n    };\r\n    AddressCaptureComponent.prototype.OnStateBlur = function () {\r\n        this.showStateErrors = true;\r\n    };\r\n    AddressCaptureComponent.prototype.OnCountryBlur = function () {\r\n        this.CheckForValidCountryEntered();\r\n    };\r\n    AddressCaptureComponent.prototype.OnStateFocus = function () {\r\n        this.CheckForValidCountryEntered();\r\n        this.form.State = '';\r\n        this.showStateErrors = false;\r\n    };\r\n    AddressCaptureComponent.prototype.OnStateSelected = function () {\r\n        this.EmitOutput();\r\n    };\r\n    AddressCaptureComponent.prototype.OnSearchHoverRecord = function ($event) {\r\n        for (var i = 0; i < this.searchResults.length; i++) {\r\n            if (this.searchResults[i].isActive) {\r\n                this.searchResults[i].isActive = false;\r\n            }\r\n            if (this.searchResults[i].suggestion === $event) {\r\n                this.searchResults[i].isActive = true;\r\n                this._currentActiveAddressSearchElement = i;\r\n            }\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.OnSearchKeyDownArrowDown = function () {\r\n        var searchIndex = this._currentActiveAddressSearchElement;\r\n        if (searchIndex !== this.searchResults.length - 1) {\r\n            this.searchResults[searchIndex].isActive = false;\r\n            searchIndex += 1;\r\n            this.searchResults[searchIndex].isActive = true;\r\n            this._currentActiveAddressSearchElement = searchIndex;\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.OnSearchKeyDownArrowUp = function () {\r\n        var searchIndex = this._currentActiveAddressSearchElement;\r\n        if (searchIndex !== 0) {\r\n            this.searchResults[searchIndex].isActive = false;\r\n            searchIndex -= 1;\r\n            this.searchResults[searchIndex].isActive = true;\r\n            this._currentActiveAddressSearchElement = searchIndex;\r\n        }\r\n    };\r\n    AddressCaptureComponent.prototype.OnSearchKeyDownEnter = function () {\r\n        this.ResolveSearch();\r\n    };\r\n    AddressCaptureComponent.prototype.OnSearchBlur = function () {\r\n        this.searchResults = null;\r\n        this._currentActiveAddressSearchElement = 0;\r\n    };\r\n    AddressCaptureComponent.prototype.OnSearchClickedRecord = function () {\r\n        this.ResolveSearch();\r\n    };\r\n    AddressCaptureComponent.prototype.ResolveSearch = function () {\r\n        var currentAddress = this.searchResults[this._currentActiveAddressSearchElement];\r\n        this.searchQuery = currentAddress.suggestion;\r\n        this.searchResults = null;\r\n        this._currentActiveAddressSearchElement = 0;\r\n        this.form.AddressSearchQuery = this.searchQuery;\r\n        this.GetFormattedAddress(currentAddress.format);\r\n    };\r\n    AddressCaptureComponent.prototype.DecodeFormattedResponse = function (data) {\r\n        var flattened = {};\r\n        data.address.forEach(function (addrElement) {\r\n            Object.keys(addrElement).forEach(function (key) {\r\n                flattened[key] = addrElement[key];\r\n            });\r\n        });\r\n        this.form.AddressLine1 = flattened.addressLine1;\r\n        this.form.AddressLine2 = flattened.addressLine2;\r\n        this.form.AddressLine2 += flattened.addressLine3 === '' ? '' : ', ' + flattened.addressLine3;\r\n        this.form.Suburb = flattened.locality;\r\n        this.form.State = flattened.province;\r\n        this.form.Zip = flattened.postalCode;\r\n        this.EmitOutput();\r\n        this.showManualForm = true;\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_1\" /* ViewChild */])('f'), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__angular_forms__[\"c\" /* NgForm */]) === 'function' && _a) || Object)\r\n    ], AddressCaptureComponent.prototype, \"myForm\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])('inputCountry'), \r\n        __metadata('design:type', String)\r\n    ], AddressCaptureComponent.prototype, \"countryNameInput\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])('inputHideAddress'), \r\n        __metadata('design:type', Boolean)\r\n    ], AddressCaptureComponent.prototype, \"hideAddressInput\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', (typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_6_rxjs__[\"Subject\"] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_6_rxjs__[\"Subject\"]) === 'function' && _b) || Object)\r\n    ], AddressCaptureComponent.prototype, \"parentFormSubmitted\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"C\" /* Output */])(), \r\n        __metadata('design:type', Object)\r\n    ], AddressCaptureComponent.prototype, \"addressCaptureOutput\", void 0);\r\n    AddressCaptureComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'app-address-capture',\r\n            template: __webpack_require__(1196),\r\n            styles: [__webpack_require__(1177)],\r\n            providers: [__WEBPACK_IMPORTED_MODULE_2__services_address_capture_address_capture_service__[\"a\" /* AddressCaptureService */]]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2__services_address_capture_address_capture_service__[\"a\" /* AddressCaptureService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__services_address_capture_address_capture_service__[\"a\" /* AddressCaptureService */]) === 'function' && _c) || Object, (typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_services_countryCode_service__[\"a\" /* CountryCodeService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_3__customer_registration_wizard_services_countryCode_service__[\"a\" /* CountryCodeService */]) === 'function' && _d) || Object])\r\n    ], AddressCaptureComponent);\r\n    return AddressCaptureComponent;\r\n    var _a, _b, _c, _d;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/address-capture.component.js.map\n\n/***/ },\n\n/***/ 983:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_email_validate_email_validate_service__ = __webpack_require__(985);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__customer_registration_wizard_shared_mydna_validation_mydna_validation_patterns__ = __webpack_require__(306);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_environments_environment__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs__ = __webpack_require__(57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs__);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return EmailValidateComponent; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\n\r\n\r\nvar EmailValidateComponent = (function () {\r\n    function EmailValidateComponent(emailService, myDnaValidationPatterns) {\r\n        this.emailService = emailService;\r\n        this.myDnaValidationPatterns = myDnaValidationPatterns;\r\n        this.emailValidateOutput = new __WEBPACK_IMPORTED_MODULE_0__angular_core__[\"_20\" /* EventEmitter */]();\r\n        this.showErrors = false;\r\n        this.verboseResponseMessage = '';\r\n        this.certaintyLevel = '';\r\n        this.correctionSuggestions = [];\r\n        this.emailValue = '';\r\n        this._iconSources = {\r\n            'ok': '../../../assets/svg/ok-icon.svg',\r\n            'warning': '../../../assets/svg/warning-icon.svg',\r\n            'error': '../../../assets/svg/error-icon.svg',\r\n            'loading': '../../../assets/svg/loading-icon.svg'\r\n        };\r\n        this.certaintyLevelStates = {\r\n            'verified': 'ok',\r\n            'undeliverable': 'error',\r\n            'unreachable': 'warning',\r\n            'illegitimate': 'warning',\r\n            'disposable': 'warning',\r\n            'unknown': 'warning'\r\n        };\r\n        this.verboseResponses = {\r\n            /*** verified ***/\r\n            // Mailbox exists, is reachable, and not known to be illegitimate or disposable.\r\n            'verified': 'Email address successfully verified.',\r\n            /*** undeliverable ***/\r\n            // The user mailbox has been disabled\r\n            'mailboxDisabled': 'User mailbox may be disabled and cannot be delivered.',\r\n            // The user mailbox does not exist at this domain\r\n            'mailboxDoesNotExist': 'User mailbox does not exist.',\r\n            // The user mailbox is full\r\n            'mailboxFull': 'User mailbox may be full and email undeliverable.',\r\n            // The syntax of the email address is incorrect\r\n            'syntaxFailure': 'This email address isn\\'t in a valid format and cannot be delivered.',\r\n            /*** unreachable ***/\r\n            // The domain is not responding to validation requests or does not have any active mail servers.\r\n            'unreachable': 'This email address does not appear to exist.',\r\n            /*** illegitimate ***/\r\n            // Seed, spamtrap, black hole, technical role account or inactive domain\r\n            'illegitimate': 'We\\'ve detected that this email address may be from an illegitimate source.',\r\n            // Role accounts such as support@, sales@, info@\r\n            'roleAccount': 'We\\'ve detected that this email address may belong to a role account and may be unmonitored. E.g. support@, sales@, etc.',\r\n            // The domain was close to a common domain and although it exists, it is highly unlikely to be correct\r\n            'typoDomain': 'We\\'ve detected a possible mistake in the email\\'s domain.',\r\n            // Known local portions of the email that may indicate spam traps\r\n            'localPartSpamTrap': 'We\\'ve detected that this email address may be from an illegitimate source.',\r\n            /*** disposable ***/\r\n            // Domain is administered by a disposable email provider (e.g. Mailinator)\r\n            'disposable': 'This email address appears to be from a disposable email service.',\r\n            /*** unknown ***/\r\n            // We were unable to conclusively verify or invalidate this address\r\n            'unknown': 'This email address cannot be validated.',\r\n            // The request timed out due to the host domain not responding in time\r\n            'timeout': 'This email address cannot be validated.',\r\n            // The domain is accept-all, so the username cannot be validated\r\n            'acceptAll': 'This email address cannot be validated.',\r\n            // Result was validated at the incorrect mail exchanger\r\n            'relayDenied': 'This email address cannot be validated.'\r\n        };\r\n        this.iconSource = '';\r\n        this.emailPattern = '';\r\n    }\r\n    EmailValidateComponent.prototype.ngOnInit = function () {\r\n        var _this = this;\r\n        this.parentFormSubmitted.subscribe(function (event) {\r\n            _this.showErrors = true;\r\n        });\r\n        this.emailPattern = this.myDnaValidationPatterns.getDefaultValidatons().email;\r\n    };\r\n    EmailValidateComponent.prototype.EmitOutput = function () {\r\n        this.emailValidateOutput.emit(this.emailValue);\r\n    };\r\n    EmailValidateComponent.prototype.Validate = function () {\r\n        var _this = this;\r\n        this.showErrors = true;\r\n        if (__WEBPACK_IMPORTED_MODULE_3_environments_environment__[\"a\" /* environment */].FeatureToggleUseEmailValidatior === 'true') {\r\n            this.iconSource = this._iconSources.loading;\r\n            this.emailService.ValidationRequest(this.emailValue)\r\n                .subscribe(function (receivedData) {\r\n                var data = receivedData;\r\n                _this.verboseResponseMessage = _this.verboseResponses[data.VerboseOutput];\r\n                if (data.Corrections != null && data.Corrections.length > 0) {\r\n                    _this.correctionSuggestions = data.Corrections;\r\n                }\r\n                else {\r\n                    _this.correctionSuggestions = [];\r\n                }\r\n                _this.certaintyLevel = _this.certaintyLevelStates[data.Certainty];\r\n                _this.iconSource = _this._iconSources[_this.certaintyLevel];\r\n                _this.EmitOutput();\r\n            }, function (error) {\r\n                _this.ResetFields();\r\n            });\r\n        }\r\n        else {\r\n            this.EmitOutput();\r\n        }\r\n    };\r\n    EmailValidateComponent.prototype.OnEmailChange = function () {\r\n        this.ResetFields();\r\n    };\r\n    EmailValidateComponent.prototype.ResetFields = function () {\r\n        this.iconSource = '';\r\n        this.verboseResponseMessage = '';\r\n        this.certaintyLevel = '';\r\n        this.correctionSuggestions = [];\r\n    };\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"C\" /* Output */])(), \r\n        __metadata('design:type', Object)\r\n    ], EmailValidateComponent.prototype, \"emailValidateOutput\", void 0);\r\n    __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"B\" /* Input */])(), \r\n        __metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_4_rxjs__[\"Subject\"] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_4_rxjs__[\"Subject\"]) === 'function' && _a) || Object)\r\n    ], EmailValidateComponent.prototype, \"parentFormSubmitted\", void 0);\r\n    EmailValidateComponent = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"G\" /* Component */])({\r\n            selector: 'app-email-validate',\r\n            template: __webpack_require__(1197),\r\n            styles: [__webpack_require__(1178)],\r\n            providers: [__WEBPACK_IMPORTED_MODULE_1__services_email_validate_email_validate_service__[\"a\" /* EmailValidateService */], __WEBPACK_IMPORTED_MODULE_2__customer_registration_wizard_shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */]]\r\n        }), \r\n        __metadata('design:paramtypes', [(typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__services_email_validate_email_validate_service__[\"a\" /* EmailValidateService */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__services_email_validate_email_validate_service__[\"a\" /* EmailValidateService */]) === 'function' && _b) || Object, (typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2__customer_registration_wizard_shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_2__customer_registration_wizard_shared_mydna_validation_mydna_validation_patterns__[\"a\" /* MyDnaValidationPatterns */]) === 'function' && _c) || Object])\r\n    ], EmailValidateComponent);\r\n    return EmailValidateComponent;\r\n    var _a, _b, _c;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/email-validate.component.js.map\n\n/***/ },\n\n/***/ 984:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__client_api_Service__ = __webpack_require__(60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__environments_environment__ = __webpack_require__(54);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return AddressCaptureService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\nvar AddressCaptureService = (function () {\r\n    function AddressCaptureService(service) {\r\n        this.service = service;\r\n    }\r\n    AddressCaptureService.prototype.setSearchCountryIso3 = function (Iso3CountryCode) {\r\n        this.countryIso3 = Iso3CountryCode;\r\n    };\r\n    AddressCaptureService.prototype.searchResults = function (query) {\r\n        var addrSearchUrl = __WEBPACK_IMPORTED_MODULE_2__environments_environment__[\"a\" /* environment */].captureAddressUrl;\r\n        return this.service.get(addrSearchUrl, {\r\n            query: query,\r\n            country: this.countryIso3,\r\n            take: 10\r\n        }, {\r\n            'Auth-Token': __WEBPACK_IMPORTED_MODULE_2__environments_environment__[\"a\" /* environment */].addressCaptureToken\r\n        }, true);\r\n    };\r\n    AddressCaptureService.prototype.formattedResult = function (formatUrl) {\r\n        return this.service.get(formatUrl, {\r\n            'Auth-Token': __WEBPACK_IMPORTED_MODULE_2__environments_environment__[\"a\" /* environment */].addressCaptureToken\r\n        });\r\n    };\r\n    AddressCaptureService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__client_api_Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__client_api_Service__[\"a\" /* Service */]) === 'function' && _a) || Object])\r\n    ], AddressCaptureService);\r\n    return AddressCaptureService;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/address-capture.service.js.map\n\n/***/ },\n\n/***/ 985:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__client_api_Service__ = __webpack_require__(60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__environments_environment__ = __webpack_require__(54);\n/* harmony export (binding) */ __webpack_require__.d(exports, \"a\", function() { return EmailValidateService; });\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\n\r\n\r\n\r\nvar EmailValidateService = (function () {\r\n    function EmailValidateService(service) {\r\n        this.service = service;\r\n    }\r\n    EmailValidateService.prototype.ValidationRequest = function (emailAddress) {\r\n        var emailValidateUrl = __WEBPACK_IMPORTED_MODULE_2__environments_environment__[\"a\" /* environment */].captureEmailUrl;\r\n        var body = {\r\n            'Email': emailAddress,\r\n            'Timeout': 5,\r\n            'Verbose': true\r\n        };\r\n        return this.service.post(emailValidateUrl, body, {\r\n            'Auth-Token': __WEBPACK_IMPORTED_MODULE_2__environments_environment__[\"a\" /* environment */].addressCaptureToken\r\n        });\r\n    };\r\n    EmailValidateService = __decorate([\r\n        __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__[\"R\" /* Injectable */])(), \r\n        __metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__client_api_Service__[\"a\" /* Service */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__client_api_Service__[\"a\" /* Service */]) === 'function' && _a) || Object])\r\n    ], EmailValidateService);\r\n    return EmailValidateService;\r\n    var _a;\r\n}());\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/email-validate.service.js.map\n\n/***/ },\n\n/***/ 986:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol__ = __webpack_require__(1001);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es6_object__ = __webpack_require__(994);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es6_object___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es6_object__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_core_js_es6_function__ = __webpack_require__(990);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_core_js_es6_function___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_core_js_es6_function__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int__ = __webpack_require__(996);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float__ = __webpack_require__(995);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_core_js_es6_number__ = __webpack_require__(993);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_core_js_es6_number___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_core_js_es6_number__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_core_js_es6_math__ = __webpack_require__(992);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_core_js_es6_math___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_core_js_es6_math__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_core_js_es6_string__ = __webpack_require__(1000);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_core_js_es6_string___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_core_js_es6_string__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_core_js_es6_date__ = __webpack_require__(989);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_core_js_es6_date___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_core_js_es6_date__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_core_js_es6_array__ = __webpack_require__(988);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_core_js_es6_array___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_core_js_es6_array__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp__ = __webpack_require__(998);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_core_js_es6_map__ = __webpack_require__(991);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_core_js_es6_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_core_js_es6_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_core_js_es6_set__ = __webpack_require__(999);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_core_js_es6_set___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_core_js_es6_set__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_core_js_es6_reflect__ = __webpack_require__(997);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_13_core_js_es6_reflect__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_core_js_es7_reflect__ = __webpack_require__(1002);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_core_js_es7_reflect__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_zone_js_dist_zone__ = __webpack_require__(1447);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15_zone_js_dist_zone__);\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n//# sourceMappingURL=C:/BuildAgent-3/work/54db78cbfb0bfb36/src/polyfills.js.map\n\n/***/ }\n\n},[1448]);\n\n\n// WEBPACK FOOTER //\n// main.1fe0b23a6090f54e967e.bundle.js","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ModalContent {\r\n  title: string;\r\n  description: string;\r\n}\r\n\r\n@Injectable()\r\nexport class ModalPopupService {\r\n\r\n  defaultContent: ModalContent = {title: 'Title Here', description: 'Description here' };\r\n  status = new BehaviorSubject<boolean>(false);\r\n  content = new BehaviorSubject<ModalContent>(this.defaultContent);\r\n  // or just `Subject` depending on your requirements'\r\n\r\n  show(title: string, description: string) {\r\n    this.status.next(true);\r\n    this.content.next({title: title, description: description});\r\n  }\r\n\r\n  show500() {\r\n    const content500: ModalContent = {title: 'Error', description: `An unexpected error has occurred. Please contact the myDNA \r\n    Support Team on 1300 436 373 or help@mydna.life for further assistance.`};\r\n    this.status.next(true);\r\n    this.content.next(content500);\r\n  }\r\n\r\n  show400(data: any) {\r\n    let message = '';\r\n    if (data.message) {\r\n      message = data.message;\r\n    }\r\n    if (data.modelState) {\r\n      message += JSON.stringify(data.modelState);\r\n    }\r\n    const content400: ModalContent = {title: 'Bad Request', description: message};\r\n\r\n    this.status.next(true);\r\n    this.content.next(content400);\r\n  }\r\n  hide() {\r\n    this.status.next(false);\r\n    this.content.next(this.defaultContent);\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/modal-popup/modal-popup.service.ts","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface SpinnerContent {\r\n    displayText:string\r\n}\r\n\r\n@Injectable()\r\nexport class SpinnerService {\r\n\r\n  defaultContent:SpinnerContent = {displayText:\"\" };\r\n  status:BehaviorSubject<boolean> = new BehaviorSubject(false);\r\n  content: BehaviorSubject<SpinnerContent> = new BehaviorSubject(this.defaultContent);\r\n  // or just `Subject` depending on your requirements'\r\n\r\n  public show(displayText:string=null) {\r\n      this.status.next(true);\r\n      var newContent:SpinnerContent = {displayText:displayText};\r\n      this.content.next(newContent);\r\n  }\r\n  public hide():void {\r\n    this.status.next(false);\r\n    this.content.next(this.defaultContent);\r\n  }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/spinner/spinner.service.ts","import {Injectable} from '@angular/core';\r\nimport {Subject} from 'rxjs';\r\n\r\n@Injectable()\r\nexport class Steps {\r\n  static ChemistWarehouseWellnessRevolution = \"CW-WR\";\r\n  static FullMedication = \"medication\";\r\n  static PartialMedication = \"single-medication\";\r\n  static Wellness = \"wellness\";\r\n\r\n  static PinnacleProduct = \"PPMR-NZ-B\";\r\n\r\n  steps: StepWorkflow;\r\n  mykit = new Step(\"mykit-step\", \"Barcode\");\r\n  selectReports = new Step(\"select-reports-step\", \"Reports\");\r\n  customerDetails = new Step(\"customer-details-step\", \"Details\");\r\n  medications = new Step(\"medications-step\", \"Additional\");\r\n  myPractitioners = new Step(\"my-practitioners-step\", \"delivery\");\r\n  confirmation = new Step(\"confirmation-step\", \"Confirmation\", false);\r\n  pinnacleConfirmation = new Step(\"pinnacle-confirmation-step\", \"Confirmation\", false);\r\n  // reportDelivery = new Step('report-delivery-step', 'Delivery');\r\n  consent = new Step(\"consent-step\", \"Consent\");\r\n  questionnaire = new Step(\"questionnaire-step\", \"Questions\");\r\n\r\n  workflow = new Subject<StepWorkflow>();\r\n\r\n  constructor() {\r\n    this.setWorkflow();\r\n  }\r\n\r\n  public setWorkflow(key?: string, productNumber?: string) {\r\n    switch (key) {\r\n      case Steps.ChemistWarehouseWellnessRevolution:\r\n        this.steps = new StepWorkflow(\r\n          Steps.ChemistWarehouseWellnessRevolution,\r\n          [\r\n            this.mykit,\r\n            this.selectReports,\r\n            this.consent,\r\n            this.customerDetails,\r\n            this.questionnaire,\r\n            this.myPractitioners,\r\n            this.confirmation,\r\n          ]\r\n        );\r\n        break;\r\n      case Steps.FullMedication:\r\n        this.steps = new StepWorkflow(Steps.FullMedication, [\r\n          this.mykit,\r\n          this.selectReports,\r\n          this.consent,\r\n          this.customerDetails,\r\n          this.medications,\r\n          this.myPractitioners,\r\n          productNumber === Steps.PinnacleProduct ? this.pinnacleConfirmation : this.confirmation,\r\n        ]);\r\n        break;\r\n      case Steps.PartialMedication:\r\n        this.steps = new StepWorkflow(Steps.PartialMedication, [\r\n          this.mykit,\r\n          this.selectReports,\r\n          this.consent,\r\n          this.customerDetails,\r\n          this.myPractitioners,\r\n          this.confirmation,\r\n        ]);\r\n        break;\r\n      case Steps.Wellness:\r\n      default:\r\n        this.steps = new StepWorkflow(Steps.Wellness, [\r\n          this.mykit,\r\n          this.selectReports,\r\n          this.consent,\r\n          this.customerDetails,\r\n          this.myPractitioners,\r\n          this.confirmation,\r\n        ]);\r\n        break;\r\n    }\r\n    this.workflow.next(this.steps);\r\n  }\r\n  public getWorkflow(): StepWorkflow {\r\n    return this.steps;\r\n  }\r\n\r\n  public getNextStep(currentStep: string): string {\r\n    const curr = this.steps.steps.find((s) => s.view === currentStep);\r\n    return this.steps.steps[this.steps.steps.indexOf(curr) + 1].view;\r\n  }\r\n}\r\n\r\nexport class Step {\r\n  constructor(public view: string, public label: string, public display = true) {}\r\n}\r\n\r\nexport class StepWorkflow {\r\n  activeStep: Step;\r\n  constructor(public type: string, public steps: Step[], activeStep = 3) {\r\n    this.activeStep = steps[activeStep];\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/steps.ts","var map = {\n\t\"./af\": 555,\n\t\"./af.js\": 555,\n\t\"./ar\": 562,\n\t\"./ar-dz\": 556,\n\t\"./ar-dz.js\": 556,\n\t\"./ar-kw\": 557,\n\t\"./ar-kw.js\": 557,\n\t\"./ar-ly\": 558,\n\t\"./ar-ly.js\": 558,\n\t\"./ar-ma\": 559,\n\t\"./ar-ma.js\": 559,\n\t\"./ar-sa\": 560,\n\t\"./ar-sa.js\": 560,\n\t\"./ar-tn\": 561,\n\t\"./ar-tn.js\": 561,\n\t\"./ar.js\": 562,\n\t\"./az\": 563,\n\t\"./az.js\": 563,\n\t\"./be\": 564,\n\t\"./be.js\": 564,\n\t\"./bg\": 565,\n\t\"./bg.js\": 565,\n\t\"./bn\": 566,\n\t\"./bn.js\": 566,\n\t\"./bo\": 567,\n\t\"./bo.js\": 567,\n\t\"./br\": 568,\n\t\"./br.js\": 568,\n\t\"./bs\": 569,\n\t\"./bs.js\": 569,\n\t\"./ca\": 570,\n\t\"./ca.js\": 570,\n\t\"./cs\": 571,\n\t\"./cs.js\": 571,\n\t\"./cv\": 572,\n\t\"./cv.js\": 572,\n\t\"./cy\": 573,\n\t\"./cy.js\": 573,\n\t\"./da\": 574,\n\t\"./da.js\": 574,\n\t\"./de\": 577,\n\t\"./de-at\": 575,\n\t\"./de-at.js\": 575,\n\t\"./de-ch\": 576,\n\t\"./de-ch.js\": 576,\n\t\"./de.js\": 577,\n\t\"./dv\": 578,\n\t\"./dv.js\": 578,\n\t\"./el\": 579,\n\t\"./el.js\": 579,\n\t\"./en-au\": 580,\n\t\"./en-au.js\": 580,\n\t\"./en-ca\": 581,\n\t\"./en-ca.js\": 581,\n\t\"./en-gb\": 582,\n\t\"./en-gb.js\": 582,\n\t\"./en-ie\": 583,\n\t\"./en-ie.js\": 583,\n\t\"./en-nz\": 584,\n\t\"./en-nz.js\": 584,\n\t\"./eo\": 585,\n\t\"./eo.js\": 585,\n\t\"./es\": 587,\n\t\"./es-do\": 586,\n\t\"./es-do.js\": 586,\n\t\"./es.js\": 587,\n\t\"./et\": 588,\n\t\"./et.js\": 588,\n\t\"./eu\": 589,\n\t\"./eu.js\": 589,\n\t\"./fa\": 590,\n\t\"./fa.js\": 590,\n\t\"./fi\": 591,\n\t\"./fi.js\": 591,\n\t\"./fo\": 592,\n\t\"./fo.js\": 592,\n\t\"./fr\": 595,\n\t\"./fr-ca\": 593,\n\t\"./fr-ca.js\": 593,\n\t\"./fr-ch\": 594,\n\t\"./fr-ch.js\": 594,\n\t\"./fr.js\": 595,\n\t\"./fy\": 596,\n\t\"./fy.js\": 596,\n\t\"./gd\": 597,\n\t\"./gd.js\": 597,\n\t\"./gl\": 598,\n\t\"./gl.js\": 598,\n\t\"./gom-latn\": 599,\n\t\"./gom-latn.js\": 599,\n\t\"./he\": 600,\n\t\"./he.js\": 600,\n\t\"./hi\": 601,\n\t\"./hi.js\": 601,\n\t\"./hr\": 602,\n\t\"./hr.js\": 602,\n\t\"./hu\": 603,\n\t\"./hu.js\": 603,\n\t\"./hy-am\": 604,\n\t\"./hy-am.js\": 604,\n\t\"./id\": 605,\n\t\"./id.js\": 605,\n\t\"./is\": 606,\n\t\"./is.js\": 606,\n\t\"./it\": 607,\n\t\"./it.js\": 607,\n\t\"./ja\": 608,\n\t\"./ja.js\": 608,\n\t\"./jv\": 609,\n\t\"./jv.js\": 609,\n\t\"./ka\": 610,\n\t\"./ka.js\": 610,\n\t\"./kk\": 611,\n\t\"./kk.js\": 611,\n\t\"./km\": 612,\n\t\"./km.js\": 612,\n\t\"./kn\": 613,\n\t\"./kn.js\": 613,\n\t\"./ko\": 614,\n\t\"./ko.js\": 614,\n\t\"./ky\": 615,\n\t\"./ky.js\": 615,\n\t\"./lb\": 616,\n\t\"./lb.js\": 616,\n\t\"./lo\": 617,\n\t\"./lo.js\": 617,\n\t\"./lt\": 618,\n\t\"./lt.js\": 618,\n\t\"./lv\": 619,\n\t\"./lv.js\": 619,\n\t\"./me\": 620,\n\t\"./me.js\": 620,\n\t\"./mi\": 621,\n\t\"./mi.js\": 621,\n\t\"./mk\": 622,\n\t\"./mk.js\": 622,\n\t\"./ml\": 623,\n\t\"./ml.js\": 623,\n\t\"./mr\": 624,\n\t\"./mr.js\": 624,\n\t\"./ms\": 626,\n\t\"./ms-my\": 625,\n\t\"./ms-my.js\": 625,\n\t\"./ms.js\": 626,\n\t\"./my\": 627,\n\t\"./my.js\": 627,\n\t\"./nb\": 628,\n\t\"./nb.js\": 628,\n\t\"./ne\": 629,\n\t\"./ne.js\": 629,\n\t\"./nl\": 631,\n\t\"./nl-be\": 630,\n\t\"./nl-be.js\": 630,\n\t\"./nl.js\": 631,\n\t\"./nn\": 632,\n\t\"./nn.js\": 632,\n\t\"./pa-in\": 633,\n\t\"./pa-in.js\": 633,\n\t\"./pl\": 634,\n\t\"./pl.js\": 634,\n\t\"./pt\": 636,\n\t\"./pt-br\": 635,\n\t\"./pt-br.js\": 635,\n\t\"./pt.js\": 636,\n\t\"./ro\": 637,\n\t\"./ro.js\": 637,\n\t\"./ru\": 638,\n\t\"./ru.js\": 638,\n\t\"./sd\": 639,\n\t\"./sd.js\": 639,\n\t\"./se\": 640,\n\t\"./se.js\": 640,\n\t\"./si\": 641,\n\t\"./si.js\": 641,\n\t\"./sk\": 642,\n\t\"./sk.js\": 642,\n\t\"./sl\": 643,\n\t\"./sl.js\": 643,\n\t\"./sq\": 644,\n\t\"./sq.js\": 644,\n\t\"./sr\": 646,\n\t\"./sr-cyrl\": 645,\n\t\"./sr-cyrl.js\": 645,\n\t\"./sr.js\": 646,\n\t\"./ss\": 647,\n\t\"./ss.js\": 647,\n\t\"./sv\": 648,\n\t\"./sv.js\": 648,\n\t\"./sw\": 649,\n\t\"./sw.js\": 649,\n\t\"./ta\": 650,\n\t\"./ta.js\": 650,\n\t\"./te\": 651,\n\t\"./te.js\": 651,\n\t\"./tet\": 652,\n\t\"./tet.js\": 652,\n\t\"./th\": 653,\n\t\"./th.js\": 653,\n\t\"./tl-ph\": 654,\n\t\"./tl-ph.js\": 654,\n\t\"./tlh\": 655,\n\t\"./tlh.js\": 655,\n\t\"./tr\": 656,\n\t\"./tr.js\": 656,\n\t\"./tzl\": 657,\n\t\"./tzl.js\": 657,\n\t\"./tzm\": 659,\n\t\"./tzm-latn\": 658,\n\t\"./tzm-latn.js\": 658,\n\t\"./tzm.js\": 659,\n\t\"./uk\": 660,\n\t\"./uk.js\": 660,\n\t\"./ur\": 661,\n\t\"./ur.js\": 661,\n\t\"./uz\": 663,\n\t\"./uz-latn\": 662,\n\t\"./uz-latn.js\": 662,\n\t\"./uz.js\": 663,\n\t\"./vi\": 664,\n\t\"./vi.js\": 664,\n\t\"./x-pseudo\": 665,\n\t\"./x-pseudo.js\": 665,\n\t\"./yo\": 666,\n\t\"./yo.js\": 666,\n\t\"./zh-cn\": 667,\n\t\"./zh-cn.js\": 667,\n\t\"./zh-hk\": 668,\n\t\"./zh-hk.js\": 668,\n\t\"./zh-tw\": 669,\n\t\"./zh-tw.js\": 669\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 1139;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/moment/locale ^\\.\\/.*$\n// module id = 1139\n// module chunks = 0","module.exports = \".spinner{\\r\\n\\theight:100%;\\r\\n\\tleft:0;\\r\\n\\tposition:fixed;\\r\\n\\ttop:0;\\r\\n\\twidth:100%;\\r\\n\\tz-index:20000;\\r\\n\\topacity:0.5;\\r\\n\\tbackground:transparent url(\\\"assets/images/Loader.gif\\\") no-repeat center 33%;\\r\\n}\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/app.component.css\n// module id = 1165\n// module chunks = 0","module.exports = \"\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/core/navbar/navbar.component.css\n// module id = 1166\n// module chunks = 0","module.exports = \"\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/core/page-not-found/page-not-found.component.css\n// module id = 1167\n// module chunks = 0","module.exports = \".more{\\r\\n  background:url(\\\"./assets/svg/more.svg\\\");\\r\\n  float:right;\\r\\n  height:24px;\\r\\n  margin-top:12px;\\r\\n  width:24px;\\r\\n}\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/core/toolbar/toolbar.component.css\n// module id = 1168\n// module chunks = 0","module.exports = \"\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/confirmation-step/confirmation-step.component.css\n// module id = 1169\n// module chunks = 0","module.exports = \".no_bottom_margin{\\r\\n\\tmargin-bottom:0px;\\r\\n}\\r\\n\\r\\n.no_top_margin{\\r\\n\\tmargin-top:0px;\\r\\n}\\r\\n\\r\\n.div_scroll{\\r\\n\\theight:300px;\\r\\n\\toverflow-y:scroll;\\r\\n}\\r\\n\\r\\n.margin_top_10{\\r\\n\\t\\tmargin-top:10px;\\r\\n  padding:10px;\\r\\n}\\r\\n\\r\\n.div_border{\\r\\n\\tborder:1px solid gray;\\r\\n}\\r\\n\\r\\n.body_text_font_size{\\r\\n\\tfont-size:1.2em;\\r\\n}\\r\\n\\r\\n.p_margin_top{\\r\\n\\tmargin-top:0.8em;\\r\\n}\\r\\n\\r\\n.text_red{\\r\\n\\tcolor:red;\\r\\n}\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/consent-step/consent-step.component.css\n// module id = 1170\n// module chunks = 0","module.exports = \".text-success{\\r\\n    color:#add462;\\r\\n    font-weight:bold;\\r\\n}\\r\\n\\r\\n.text-username-exists{\\r\\n    color:#006eb7;\\r\\n    padding-top:5px;\\r\\n    padding-bottom:10px;\\r\\n    display:inline-block;\\r\\n}\\r\\n\\r\\n.text-username-exists-success{\\r\\n    color:#1a952c;\\r\\n}\\r\\n\\r\\n.text-username-exists-warning{\\r\\n    color:#f04e5e;\\r\\n}\\r\\n\\r\\n.forgot-your-login-details{\\r\\n    float:right;\\r\\n    text-decoration:underline;\\r\\n    padding-top:5px;\\r\\n}\\r\\n\\r\\n.forgot-your-login-details a:visited, .forgot-your-login-details a:active{\\r\\n    color:#006eb7;\\r\\n}\\r\\n\\r\\n.pad-bottom{\\r\\n    padding-bottom:20px;\\r\\n}\\r\\n\\r\\n.form_label.required:after{\\r\\n  color:#006eb7;\\r\\n  content:'*';\\r\\n  font-size:16px;\\r\\n}\\r\\n\\r\\n.required-title{\\r\\n  color:#006eb7;\\r\\n  font-size:16px;\\r\\n}\\r\\n\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/customer-details-step/customer-details-step.component.css\n// module id = 1171\n// module chunks = 0","module.exports = \".medication-list{\\r\\n    list-style:none;\\r\\n    margin-left:0px;\\r\\n}\\r\\n.dropdown-menu{ width:100%; }\\r\\n.form-control, .completer-input{ width:100% !important;}\\r\\n\\r\\n\\r\\n.form-control-feedback{\\r\\n    width:auto!important;\\r\\n    position:inherit!important;\\r\\n    text-align:justify!important;\\r\\n}\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/medications-step/medications-step.component.css\n// module id = 1172\n// module chunks = 0","module.exports = \".dropdown-menu{\\r\\n     width:100%;\\r\\n   \\r\\n   }\\r\\n\\r\\n\\r\\n.form-control-feedback{\\r\\n    width:auto!important;\\r\\n    position:inherit!important;\\r\\n    text-align:justify!important;\\r\\n}\\r\\n\\r\\n.text-color-mydna{\\r\\n    color:#006eb7;\\r\\n}\\r\\n\\r\\n.modal-dialog{\\r\\n  width:100%!important;\\r\\n  height:100%!important;  \\r\\n  padding:0;\\r\\n  margin:auto auto;\\r\\n}\\r\\n\\r\\n.modal-content{\\r\\n  height:auto!important;\\r\\n  min-height:100%!important;\\r\\n  border-radius:0!important;\\r\\n}\\r\\n\\r\\n.no-left-padding{\\r\\n  padding-left:0;\\r\\n}\\r\\n.no-right-padding{\\r\\npadding-right:0;\\r\\n}\\r\\n\\r\\n.no-left-margin{\\r\\n  margin-left:0;\\r\\n}\\r\\n\\r\\n.no-right-margin{\\r\\n  margin-right:0;\\r\\n}\\r\\n\\r\\n.align-right{\\r\\n  text-align:right;\\r\\n}\\r\\n\\r\\n.tooltip_text{\\r\\n\\tcolor:#262626;\\r\\n  line-height:130%;\\r\\n  font-size:0.8em;\\r\\n  font-weight:initial;\\r\\n\\tfont-family:'Open Sans', sans-serif;\\r\\n}\\r\\n\\r\\n.doctors_table{\\r\\n\\tmargin-top:20px;\\r\\n\\tmargin-bottom:5px;\\r\\n\\twidth:100%;\\r\\n}\\r\\n.doctors_table TH{\\r\\n\\tbackground-color:#ffffff;\\r\\n\\tpadding:20px;\\r\\n\\tfont-weight:normal;\\r\\n\\tcolor:#262626;\\r\\n  line-height:130%;\\r\\n  font-size:1.1em;\\r\\n\\tfont-family:'Open Sans', sans-serif;\\r\\n\\ttext-transform:uppercase;\\r\\n\\tborder-bottom:1px #262626 solid;\\r\\n\\twhite-space:nowrap;\\r\\n\\tvertical-align:bottom;\\r\\n}\\r\\n.doctors_table TD{\\r\\n\\tbackground-color:#ebebeb;\\r\\n\\tpadding:10px;\\r\\n\\tcolor:#262626;\\r\\n  line-height:130%;\\r\\n  font-size:1.1em;\\r\\n\\tfont-family:'Open Sans', sans-serif;\\r\\n\\tvertical-align:top;\\r\\n}\\r\\n.doctors_table TD UL{\\r\\n\\tpadding-left:20px;\\r\\n}\\r\\n\\r\\n.right_float{\\r\\n  float:right;\\r\\n}\\r\\n\\r\\n.search_typeahead{\\r\\n  margin-bottom:20px;\\r\\n}\\r\\n\\r\\n.doctors_table .doctor_hide TD{\\r\\n  display:none;\\r\\n  visibility:hidden;\\r\\n}\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/my-practitioners-step/my-practitioners-step.component.css\n// module id = 1173\n// module chunks = 0","module.exports = \".country_flag{\\r\\n    height:20px;\\r\\n    padding-right:15px;\\r\\n}\\r\\n\\r\\n.kits-img{\\r\\n    max-height:400px;\\r\\n    margin:auto;\\r\\n}\\r\\n\\r\\n@media (max-width: 992px){\\r\\n    .alternate_registration_link{\\r\\n        margin-bottom:0;\\r\\n    }\\r\\n\\r\\n    .order_online > .body_text{\\r\\n        padding-top:30px;\\r\\n    }\\r\\n}\\r\\n\\r\\n@media (max-width: 450px){\\r\\n    .order_online .body_text{\\r\\n        font-size:0.9em;\\r\\n        padding-top:18px;\\r\\n    }\\r\\n\\r\\n    .order_online button{\\r\\n        padding-left:15px;\\r\\n        padding-right:15px;\\r\\n    }\\r\\n}\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/mykit-step/mykit-step.component.css\n// module id = 1174\n// module chunks = 0","module.exports = \"\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/pinnacle-confirmation-step/pinnacle-confirmation-step.component.css\n// module id = 1175\n// module chunks = 0","module.exports = \".day-container{\\r\\n\\tfloat:left;\\r\\n\\tmargin-right:20px;\\r\\n\\tmargin-left:3px\\r\\n}\\r\\n\\r\\n.month-container{\\r\\n\\tfloat:left;\\r\\n\\tmargin-right:20px;\\r\\n}\\r\\n\\r\\n.year-container{\\r\\n\\tfloat:left;\\r\\n}\\r\\n\\r\\n\\r\\n.day-selector{\\r\\n\\tmin-width:1em;\\r\\n\\tpadding:8px 30px 8px 8px;\\r\\n\\r\\n}\\r\\n\\r\\n.month-selector{\\r\\n\\tmin-width:1em;\\r\\n    padding:8px 30px 8px 8px;\\r\\n}\\r\\n\\r\\n.year-selector{\\r\\n\\tmin-width:1em;\\r\\n    padding:8px 30px 8px 8px;\\r\\n}\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.component.css\n// module id = 1176\n// module chunks = 0","module.exports = \".form_label.required:after{\\r\\n    color:#006eb7;\\r\\n    content:'*';\\r\\n    font-size:16px;\\r\\n  }\\r\\n\\r\\n#addrSearchResultsBox{\\r\\n    padding:0px 15px;\\r\\n    margin:0 auto;\\r\\n    position:absolute;\\r\\n    z-index:200;\\r\\n    margin-top:63px;\\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li{\\r\\n    list-style:none;\\r\\n    padding:5px 10px;\\r\\n    background-color:white;\\r\\n    border-left:lightgrey 1px solid;\\r\\n    border-right:lightgrey 1px solid;\\r\\n    \\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li:first-child{\\r\\n    border-top:lightgrey 1px solid;\\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li:last-child{\\r\\n    border-bottom:lightgrey 1px solid;\\r\\n}\\r\\n\\r\\n#addrSearchResultsBox li.active{\\r\\n    background-color:#008dd0;\\r\\n    color:white;\\r\\n}\\r\\n\\r\\n#addrNoResults{\\r\\n    padding:0px 15px;\\r\\n    margin:0 auto;\\r\\n    position:absolute;\\r\\n    z-index:200;\\r\\n    margin-top:63px;\\r\\n}\\r\\n\\r\\n#addrNoResults div{\\r\\n    list-style:none;\\r\\n    padding:5px 10px;\\r\\n    background-color:white;\\r\\n    border:lightgrey 1px solid;\\r\\n}\\r\\n\\r\\n.searchField{\\r\\n    border:2px #008dd0 solid;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 991px){\\r\\n    #addrSearchResultsBox{\\r\\n        margin-top:-11px;\\r\\n    }\\r\\n    #addrNoResults{\\r\\n        margin-top:-11px;\\r\\n    }\\r\\n}\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/shared/address-capture/address-capture.component.css\n// module id = 1177\n// module chunks = 0","module.exports = \".email-icon{\\r\\n    position:absolute;\\r\\n    top:4px;\\r\\n    right:19px;\\r\\n}\\r\\n\\r\\n.form_label.required:after{\\r\\n    color:#006eb7;\\r\\n    content:'*';\\r\\n    font-size:16px;\\r\\n  }\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/shared/email-validate/email-validate.component.css\n// module id = 1178\n// module chunks = 0","module.exports = \"<sd-navbar></sd-navbar>\\r\\n<mydna-customerreg></mydna-customerreg>\\r\\n<div *ngIf=\\\"isModalShown\\\" [config]=\\\"{show:true, backdrop: 'static'}\\\" (onHidden)=\\\"onHidden()\\\" bsModal #autoShownModal=\\\"bs-modal\\\" class=\\\"modal fade\\\" tabindex=\\\"-1\\\" role=\\\"dialog\\\" aria-hidden=\\\"true\\\">\\r\\n  <div class=\\\"modal-dialog modal-sm\\\">\\r\\n    <div class=\\\"modal-content\\\">\\r\\n      <div class=\\\"modal-header\\\">\\r\\n        <h4 class=\\\"modal-title pull-left\\\">{{modalContent.title}}</h4>\\r\\n        <button type=\\\"button\\\" class=\\\"close pull-right\\\" aria-label=\\\"Close\\\" (click)=\\\"hideModal()\\\">\\r\\n          <span aria-hidden=\\\"true\\\">&times;</span>\\r\\n        </button>\\r\\n      </div>\\r\\n      <div class=\\\"modal-body\\\" [innerHTML] = modalContent.description >\\r\\n        \\r\\n      </div>\\r\\n      <div class=\\\"modal-footer\\\">\\r\\n        <button class=\\\"btn btn-primary\\\" (click)=\\\"hideModal()\\\">Close</button>\\r\\n      </div>\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\\r\\n\\r\\n<div *ngIf=\\\"showSpinner\\\" class=\\\"spinner\\\" >{{spinnerContent.displayText}}</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/app.component.html\n// module id = 1180\n// module chunks = 0","module.exports = \"<!--<nav class=\\\"navbar navbar-default\\\">\\r\\n  <div class=\\\"container\\\">  \\r\\n    <div class=\\\"navbar-header\\\">\\r\\n      <button type=\\\"button\\\" class=\\\"navbar-toggle collapsed\\\" data-toggle=\\\"collapse\\\" data-target=\\\"#bs-example-navbar-collapse-1\\\" aria-expanded=\\\"false\\\">\\r\\n        <span class=\\\"sr-only\\\">Toggle navigation</span>\\r\\n        <span class=\\\"icon-bar\\\"></span>\\r\\n        <span class=\\\"icon-bar\\\"></span>\\r\\n        <span class=\\\"icon-bar\\\"></span>\\r\\n      </button>\\r\\n      <a class=\\\"navbar-brand\\\" href=\\\"/\\\"><img alt=\\\"myDNA\\\" src=\\\"./../../../assets/images/mydna-logo.png\\\"></a>\\r\\n      <h4  class=\\\"text-primary\\\"> APP Conference Registration</h4>      \\r\\n    </div>\\r\\n   \\r\\n    <div class=\\\"collapse navbar-collapse\\\" id=\\\"bs-example-navbar-collapse-1\\\">    \\r\\n      \\r\\n      <ul class=\\\"nav navbar-nav navbar-right\\\">\\r\\n        <li *ngIf=\\\"enableConsumerRegistrationModule\\\" ><a [routerLink]=\\\"['/customer-registration']\\\" [routerLinkActive]=\\\"['router-link-active']\\\" [routerLinkActiveOptions]=\\\"{exact:true}\\\">CUSTOMER REGISTRATION</a></li>\\r\\n         <li *ngIf=\\\"enableAppConferenceModule\\\" ><a [routerLink]=\\\"['/app-conference']\\\" [routerLinkActive]=\\\"['router-link-active']\\\" [routerLinkActiveOptions]=\\\"{exact:true}\\\">APP CONFERENCE</a></li>      \\r\\n      </ul>\\r\\n    </div>\\r\\n  </div>\\r\\n</nav>\\r\\n-->\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/core/navbar/navbar.component.html\n// module id = 1181\n// module chunks = 0","module.exports = \"Unable to find the page you requested\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/core/page-not-found/page-not-found.component.html\n// module id = 1182\n// module chunks = 0","module.exports = \"<!--<div class=\\\"container\\\">\\r\\n    <a href=\\\"/\\\"><img src=\\\"./../../../assets/images/mydna-logo.png\\\" class=\\\"logo\\\" alt=\\\"\\\" /></a>\\r\\n    <h3>APP Conference Registration </h3>\\r\\n</div>-->\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/core/toolbar/toolbar.component.html\n// module id = 1183\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12 text-center top_padding_20\\\">\\r\\n            <h2 class='heading_caps page_heading'>Thank You!</h2>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12 text-center\\\">\\r\\n            <p class=\\\"body_text\\\">We are excited that you have chosen us to support you on your journey to better health.</p>\\r\\n            <p class=\\\"body_text\\\">Please ensure that you post your labelled DNA sample to us using the reply-paid envelope provided.</p>\\r\\n        </div>\\r\\n        <form class=\\\"style_radios vertical_radios\\\">\\r\\n             <input type=\\\"hidden\\\" class=\\\"tst_final_e2eIds\\\" [value]=\\\"e2eIds\\\" />\\r\\n             <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12 text-center\\\">                  \\r\\n                    <img src=\\\"assets/images/landing-page.png\\\" border=\\\"0\\\" alt=\\\"\\\" class=\\\"img-responsive image-responsive-center\\\">\\r\\n                </div>\\r\\n            </div>\\r\\n             <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12 text-center\\\">\\r\\n                <p class='body_text'></p>\\r\\n                  <p><a class=\\\"btn btn-lg empty_button button_p\\\" href=\\\"https://www.mydna.life/\\\" role=\\\"button\\\">go back to Website</a></p>\\r\\n              </div>\\r\\n            </div>\\r\\n            <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12\\\">\\r\\n                <h1 class='text_blue_underlined text-center'>IMPORTANT</h1>\\r\\n                <ul class=\\\"list_numbered body_text\\\">\\r\\n                    <li>Please remember the username and password you just created (this is how you will login to <a href=\\\"https://explore.mydna.life\\\">https://explore.mydna.life</a>)</li>\\r\\n                    <li>You will receive a \\\"Results are Ready\\\" email from <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a> in 10-15 working days from when our laboratory receives your sample</li>\\r\\n                </ul>\\r\\n                <p class=\\\"body_text margin_left_20\\\">For any issues, please email <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a></p>\\r\\n              </div>\\r\\n            </div>  \\r\\n        </form>\\r\\n    </div>\\r\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/confirmation-step/confirmation-step.component.html\n// module id = 1184\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>PATIENT CONSENT FORM</h2>\\r\\n    </div>\\r\\n  </div>\\r\\n  <form name=\\\"form\\\" class=\\\"style_radios vertical_radios_small\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"body_text\\\">myDNA is an expert gene interpretation service that assesses your genetic profile and\\r\\n          produces personalised Medication, Nutrition &amp; Wellness reports. The myDNA reports provide insights that\\r\\n          enable you to make more informed health and wellness decisions.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 class='heading_small'>Before submitting your DNA sample for testing with MyDNA Life (“myDNA”) we require\\r\\n          your clear affirmative consent, which must be freely given, specific, informed and unambiguous.\\r\\n          By clicking that you consent you understand:</h4>\\r\\n        <p class=\\\"text_red\\\">You will find the consent tick box within the small window below. Please read the contents\\r\\n          before scrolling to the end to find this tick box.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <div id=\\\"scrollableDiv\\\" class=\\\"div_scroll margin_top_10 div_border\\\" [ngSwitch]=\\\"this.consentReference\\\">\\r\\n          <!-- By countries -->\\r\\n          <div *ngSwitchCase=\\\"'AU'\\\">\\r\\n            <mydna-au-terms-conditions></mydna-au-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'CA'\\\">\\r\\n            <mydna-ca-terms-conditions></mydna-ca-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'GB'\\\">\\r\\n            <mydna-uk-terms-conditions></mydna-uk-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'US'\\\">\\r\\n            <mydna-usa-terms-conditions></mydna-usa-terms-conditions>\\r\\n          </div>\\r\\n          <!-- Default -->\\r\\n          <div *ngSwitchDefault>\\r\\n            <mydna-generic-terms-conditions></mydna-generic-terms-conditions>\\r\\n          </div>\\r\\n          <!-- By product or partner -->\\r\\n          <div *ngSwitchCase=\\\"'CW-WR'\\\">\\r\\n            <mydna-cwwr-terms-conditions></mydna-cwwr-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'Habit'\\\">\\r\\n            <mydna-habit-terms-conditions></mydna-habit-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'Pinnacle'\\\">\\r\\n            <mydna-pinnacle-terms-conditions></mydna-pinnacle-terms-conditions>\\r\\n          </div>\\r\\n          <div *ngSwitchCase=\\\"'research'\\\">\\r\\n            <mydna-research-terms-conditions></mydna-research-terms-conditions>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12 style_checkboxes horizontal_checkboxes\\\">\\r\\n            <label for=\\\"Agree\\\" class=\\\"horizontal_list_label no_bottom_margin\\\">\\r\\n              <input type=\\\"checkbox\\\" name=\\\"Agree\\\" id=\\\"Agree\\\" [(ngModel)]=\\\"isAgreedConsent\\\" checked=\\\"isAgreedConsent\\\"\\r\\n                required #Agree=\\\"ngModel\\\">\\r\\n              <span>\\r\\n                <p class=\\\"form_label horizontal_list_item no_bottom_margin body_text_font_size\\\">I understand and agree\\r\\n                  to the above terms of consent.</p>\\r\\n              </span>\\r\\n            </label>\\r\\n          </div>\\r\\n\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n    </div>\\r\\n    <div class=\\\"row margin_top_10\\\">\\r\\n      <div class=\\\"col-md-12 text-danger error_message\\\">\\r\\n        <div *ngIf=\\\"Agree && Agree.invalid && showErrors\\\">\\r\\n          <div *ngIf=\\\"Agree && Agree.errors.required\\\" class=\\\"tst_patient_consent_error\\\">Please accept patient consent,\\r\\n            by clicking the box at the end of the scrollable section</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"showMarketingConsent\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 class='heading_small'>I understand that the following are not necessary to provide the service (check the\\r\\n          applicable option).</h4>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"showMarketingConsent\\\">\\r\\n      <div class=\\\"col-md-8\\\">\\r\\n        <p class=\\\"body_text p_margin_top\\\">myDNA may contact me in the future to advise me on new information and/or new\\r\\n          products available.</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-4\\\">\\r\\n        <div>\\r\\n          <label for=\\\"consent_yes\\\" class=\\\"vertical_list_label no_top_margin\\\">\\r\\n            <input type=\\\"radio\\\" name=\\\"Consent\\\" value=\\\"true\\\" [(ngModel)]=\\\"isConsent\\\" #Consent=\\\"ngModel\\\" id=\\\"consent_yes\\\"\\r\\n              required />\\r\\n            <span>\\r\\n              <p class=\\\"form_label vertical_list_item\\\">I consent</p>\\r\\n            </span>\\r\\n          </label>\\r\\n          <label for=\\\"consent_no\\\" class=\\\"vertical_list_label\\\">\\r\\n            <input type=\\\"radio\\\" name=\\\"Consent\\\" value=\\\"false\\\" [(ngModel)]=\\\"isConsent\\\" id=\\\"consent_no\\\" required />\\r\\n            <span>\\r\\n              <p class=\\\"form_label vertical_list_item\\\">I do not consent</p>\\r\\n            </span>\\r\\n          </label>\\r\\n          <div class=\\\"col-md-12 text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Consent && Consent.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"Consent && Consent.errors.required\\\" class=\\\"tst_contact_consent_error\\\">Please select a consent\\r\\n                selection</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div>\\r\\n      <p class=\\\"body_text\\\">For further information please review the myDNA <span><a class=\\\"tst_terms_url\\\"\\r\\n            href=\\\"{{termsConditionsURL}}\\\" target=\\\"_blank\\\">terms & conditions</a></span> and <span><a\\r\\n            class=\\\"tst_privacy_url\\\" href=\\\"{{privacyPolicyURL}}\\\" target=\\\"_blank\\\">privacy policy</a></span>\\r\\n      </p>\\r\\n    </div>\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/consent-step/consent-step.component.html\n// module id = 1185\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>Test details</h2>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"body_text\\\">Please provide the details of who is being tested.</p>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"required-title\\\">* Mandatory fields</p>\\r\\n    </div>\\r\\n  </div>\\r\\n  <form name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n    <!--<pre>form value : {{f.value | json}}</pre>-->\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h3 class='heading_normal'>Personal details</h3>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"FirstName.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">First name</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input class=\\\"form-control textbox\\\" type=\\\"text\\\" name=\\\"FirstName\\\" id=\\\"FirstName\\\" [(ngModel)]=\\\"frm.FirstName\\\"\\r\\n          required maxlength=\\\"20\\\" #FirstName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"First name\\\">\\r\\n        <div *ngIf=\\\"FirstName.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"FirstName.errors.required\\\" class=\\\"tst_missing_first_name\\\">Please enter a first name</div>\\r\\n          <div *ngIf=\\\"FirstName.errors.pattern\\\" class=\\\"tst_invalid_first_name\\\">Please enter a valid first name</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Middle Name</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"MiddleName\\\" [(ngModel)]=\\\"frm.MiddleName\\\" id=\\\"MiddleName\\\"\\r\\n          maxlength=\\\"20\\\" #MiddleName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"Middle Name\\\" />\\r\\n        <div *ngIf=\\\"MiddleName.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"MiddleName.errors.required\\\" class=\\\"tst_missing_middle_name\\\">Please enter a middle name</div>\\r\\n          <div *ngIf=\\\"MiddleName.errors.pattern\\\" class=\\\"tst_invalid_middle_name\\\">Please enter a valid middle name </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"LastName.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Last name</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"LastName\\\" id=\\\"LastName\\\" [(ngModel)]=\\\"frm.LastName\\\"\\r\\n          required maxlength=\\\"20\\\" #LastName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"Last name\\\" />\\r\\n        <div *ngIf=\\\"LastName.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"LastName.errors.required\\\" class=\\\"tst_missing_last_name\\\">Please enter a last name</div>\\r\\n          <div *ngIf=\\\"LastName.errors.pattern\\\" class=\\\"tst_invalid_last_name\\\">Please enter a valid last name</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"dateDropDown.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Date of birth</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <div>\\r\\n          <date-dropdown name=\\\"dateDropDown\\\" [(ngModel)]=\\\"frm.Dob\\\" [dateFormat]=\\\"'dd/MM/yyyy'\\\" [required]=\\\"true\\\"\\r\\n            #dateDropDown=\\\"ngModel\\\" (change)=\\\"OnChangeDob()\\\" (keyup)=\\\"OnChangeDob()\\\"></date-dropdown>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\"></div>\\r\\n      <div *ngIf=\\\"dateDropDown.invalid && showErrors\\\" class=\\\"text-danger error_message col-md-12\\\">\\r\\n        <div *ngIf=\\\"dateDropDown.errors.required\\\" class=\\\"tst_missing_dob\\\">Please enter a date of birth</div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Gender</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12 style_radios horizontal_radios\\\">\\r\\n        <label for=\\\"gender_type_1\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Gender\\\" value=\\\"M\\\" [(ngModel)]=\\\"frm.Gender\\\" #Gender=\\\"ngModel\\\" id=\\\"gender_type_1\\\"\\r\\n            required (change)=\\\"OnChangeGender()\\\" (keyup)=\\\"OnChangeGender()\\\" />\\r\\n          <span>\\r\\n            <p class=\\\"form_label horizontal_list_item\\\">Male</p>\\r\\n          </span>\\r\\n        </label>\\r\\n        <label for=\\\"gender_type_2\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Gender\\\" value=\\\"F\\\" [(ngModel)]=\\\"frm.Gender\\\" id=\\\"gender_type_2\\\" required\\r\\n            (change)=\\\"OnChangeGender()\\\" (keyup)=\\\"OnChangeGender()\\\" />\\r\\n          <span>\\r\\n            <p class=\\\"form_label horizontal_list_item\\\">Female</p>\\r\\n          </span>\\r\\n        </label>\\r\\n        <label for=\\\"gender_type_3\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Gender\\\" value=\\\"O\\\" [(ngModel)]=\\\"frm.Gender\\\" id=\\\"gender_type_3\\\" required\\r\\n            (change)=\\\"OnChangeGender()\\\" (keyup)=\\\"OnChangeGender()\\\" />\\r\\n          <span>\\r\\n            <p class=\\\"form_label horizontal_list_item\\\">Other/Unspecified </p>\\r\\n          </span>\\r\\n        </label>\\r\\n        <div *ngIf=\\\"Gender.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"Gender.errors.required\\\" class=\\\"tst_missing_gender\\\">Please select a gender</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"requiresPatientIdentifier\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Patient Identifier (NHI)</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"PatientIdentifier\\\" id=\\\"PatientIdentifier\\\"\\r\\n          [(ngModel)]=\\\"frm.patientIdentifierReference\\\" #PatientIdentifier=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n          placeholder=\\\"Patient Identifier (NHI)\\\" />\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"requiresEthnicitySelection\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Ethnicity</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <select class=\\\"form-control selectbox textbox\\\" id=\\\"Ethnicity\\\" name=\\\"Ethnicity\\\"\\r\\n          [(ngModel)]=\\\"frm.ethnicityReference\\\" (change)=\\\"OnEthnicityChange()\\\">\\r\\n          <option [ngValue]=\\\"undefined\\\" disabled selected>Select</option>\\r\\n          <option value=\\\"African\\\">African</option>\\r\\n          <option value=\\\"Asian\\\">Asian</option>\\r\\n          <option value=\\\"Chinese\\\">Chinese</option>\\r\\n          <option value=\\\"Cook Island Maori\\\">Cook Island Maori</option>\\r\\n          <option value=\\\"European\\\">European</option>\\r\\n          <option value=\\\"Fijian\\\">Fijian</option>\\r\\n          <option value=\\\"Indian\\\">Indian</option>\\r\\n          <option value=\\\"Latin American\\\">Latin American</option>\\r\\n          <option value=\\\"Maori – NZ\\\">Maori – NZ</option>\\r\\n          <option value=\\\"Middle Eastern\\\">Middle Eastern</option>\\r\\n          <option value=\\\"New Zealand European\\\">New Zealand European</option>\\r\\n          <option value=\\\"Niuean\\\">Niuean</option>\\r\\n          <option value=\\\"Other Asian\\\">Other Asian</option>\\r\\n          <option value=\\\"Other Pacific Peoples -\\\">Other Pacific Peoples - specify</option>\\r\\n          <option value=\\\"Other European -\\\">Other European - specify</option>\\r\\n          <option value=\\\"Other Ethnicity -\\\">Other Ethnicity - specify</option>\\r\\n          <option value=\\\"Samoan\\\">Samoan</option>\\r\\n          <option value=\\\"Southeast Asian\\\">Southeast Asian</option>\\r\\n          <option value=\\\"Tokelauan\\\">Tokelauan</option>\\r\\n          <option value=\\\"Tongan\\\">Tongan</option>\\r\\n        </select>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"mustSpecifyEthnicity\\\" [class.has-error]=\\\"SpecifiedEthnicity.invalid && showErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Specify Ethnicity</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"SpecifiedEthnicity\\\" id=\\\"SpecifiedEthnicity\\\"\\r\\n          [(ngModel)]=\\\"frm.specifiedEthnicityReference\\\" #SpecifiedEthnicity=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n          placeholder=\\\"Specify Ethnicity\\\" required />\\r\\n        <div *ngIf=\\\"SpecifiedEthnicity.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div>Please specify your ethnicity</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div *ngIf=\\\"requiresRegistrationCode\\\">\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"RegistrationCode.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label required\\\">Registration Code</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <input class=\\\"form-control textbox\\\" type=\\\"number\\\" name=\\\"RegistrationCode\\\" id=\\\"RegistrationCode\\\"\\r\\n            [(ngModel)]=\\\"frm.RegistrationCode\\\" required maxLength = \\\"8\\\" #RegistrationCode=\\\"ngModel\\\" [pattern]=\\\"regCodePattern\\\"\\r\\n            placeholder=\\\"Registration code\\\" (change)=\\\"checkForRegistrationCode($event)\\\"\\r\\n            oninput=\\\"javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);\\\" >\\r\\n          <div *ngIf=\\\"RegistrationCode.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"RegistrationCode.errors.required\\\" class=\\\"tst_missing_registration_code\\\">Please enter a registration\\r\\n              code</div>\\r\\n            <div *ngIf=\\\"RegistrationCode.errors.pattern\\\" class=\\\"tst_invalid_registration_code\\\">Please enter a valid\\r\\n              registration code</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div *ngIf=\\\"requiresContactDetails\\\">\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>Contact details</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <app-address-capture [inputCountry]=\\\"frm.Country\\\" [inputHideAddress]=\\\"hideAddressFields\\\"\\r\\n        (addressCaptureOutput)=\\\"OnAddressChange($event)\\\" [parentFormSubmitted]=\\\"parentFormSubmittedSubject\\\">\\r\\n      </app-address-capture>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"MobileNumber.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label required\\\">Mobile</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group\\\">\\r\\n            <span class=\\\"input-group-addon textbox_prompt\\\">{{CountryCode}}</span>\\r\\n            <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"MobileNumber\\\" id=\\\"MobileNumber\\\"\\r\\n              [(ngModel)]=\\\"frm.MobileNumber\\\" [pattern]=\\\"mobilePattern\\\" #MobileNumber=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n              (keyup)=\\\"validateContactNumber($event)\\\" [required]=\\\"!atLeastOneContactIsProvided\\\"\\r\\n              (change)=\\\"validateContactNumber($event)\\\" placeholder=\\\"Mobile\\\" />\\r\\n          </div>\\r\\n          <div *ngIf=\\\"MobileNumber.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"MobileNumber.errors.pattern\\\" class=\\\"tst_invalid_mobile\\\">Please enter a valid mobile number</div>\\r\\n            <div *ngIf=\\\"MobileNumber.errors.required\\\" class=\\\"tst_missing_mobile\\\">Please enter either the phone number or\\r\\n              mobile number</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"PhoneNumber.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Phone</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group\\\">\\r\\n            <span class=\\\"input-group-addon textbox_prompt\\\">{{CountryCode}}</span>\\r\\n            <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"PhoneNumber\\\" id=\\\"PhoneNumber\\\"\\r\\n              [(ngModel)]=\\\"frm.PhoneNumber\\\" [pattern]=\\\"phonePattern\\\" #PhoneNumber=\\\"ngModel\\\" maxlength=\\\"20\\\"\\r\\n              [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactNumber($event)\\\"\\r\\n              (change)=\\\"validateContactNumber($event)\\\" placeholder=\\\"Phone\\\" />\\r\\n          </div>\\r\\n          <div *ngIf=\\\"PhoneNumber.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"PhoneNumber.errors.pattern\\\" class=\\\"tst_invalid_phone\\\">Please enter a valid phone number</div>\\r\\n            <div *ngIf=\\\"PhoneNumber.errors.required\\\" class=\\\"tst_missing_phone\\\">Please enter either the phone number or\\r\\n              mobile number</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <app-email-validate (emailValidateOutput)=\\\"OnEmailChange($event)\\\"\\r\\n        [parentFormSubmitted]=\\\"parentFormSubmittedSubject\\\"></app-email-validate>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"!frm.Language && showErrors\\\" *ngIf=\\\"skipIdentity && requiresLanguageSelection\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Language</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <select class=\\\"form-control selectbox\\\" id=\\\"ddlLang2\\\" name=\\\"ddlLang2\\\" [(ngModel)]=\\\"frm.Language\\\" required>\\r\\n            <option [ngValue]=\\\"undefined\\\" disabled selected>Select</option>\\r\\n            <option value=\\\"en-ca\\\">English</option>\\r\\n            <option value=\\\"fr-ca\\\">French</option>\\r\\n          </select>\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"!frm.Language && showErrors\\\">Please Select Language</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div *ngIf=\\\"!skipIdentity\\\">\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>myDNA Explore Portal Account Details</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"heading_extra_small\\\">New to myDNA?</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"body_text_small\\\">Choose a username that contains only letters and numbers, or use your email\\r\\n            address.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"heading_extra_small\\\">Already Registered?</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"body_text_small\\\">If you are an existing user, please enter your username below.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"heading_extra_small\\\">Registering on behalf of someone else?</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row pad-bottom\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"body_text_small\\\">If you have an existing account but are registering on behalf of someone else, you\\r\\n            will need to create a new username and password below.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"!frm.Language && showErrors\\\" *ngIf=\\\"requiresLanguageSelection\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Language</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <select class=\\\"form-control selectbox\\\" id=\\\"ddlLang\\\" name=\\\"ddlLang\\\" [(ngModel)]=\\\"frm.Language\\\" required>\\r\\n            <option [ngValue]=\\\"undefined\\\" disabled selected>Select</option>\\r\\n            <option value=\\\"en-CA\\\">English</option>\\r\\n            <option value=\\\"fr-CA\\\">French</option>\\r\\n          </select>\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"!frm.Language && showErrors\\\">Please Select Language</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" [class.has-error]=\\\"Username.invalid && (showErrors || showUsernameErrors)\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Username</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Username\\\" id=\\\"Username\\\" [(ngModel)]=\\\"frm.Username\\\"\\r\\n            required minlength=\\\"4\\\" maxlength=\\\"50\\\" [pattern]=\\\"usernamePattern\\\" placeholder=\\\"Insert username\\\"\\r\\n            data-lpignore=\\\"true\\\" autocomplete=\\\"off\\\" #Username=\\\"ngModel\\\" (change)=\\\"OnChangeUsername()\\\"\\r\\n            (keyup)=\\\"OnChangeUsername()\\\" (blur)=\\\"OnBlurUsername(Username)\\\" />\\r\\n\\r\\n          <p class=\\\"body_text_small forgot-your-login-details\\\"><a tabindex=\\\"-1\\\"\\r\\n              href=\\\"https://explore.mydna.life/#/acctmgmt/forgotpassword\\\" target=\\\"_blank\\\">Forgot your login details?</a>\\r\\n          </p>\\r\\n          <div *ngIf=\\\"Username.invalid && (showErrors || showUsernameErrors)\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Username.errors.required\\\" class=\\\"tst_missing_username\\\">Please enter a username</div>\\r\\n            <div *ngIf=\\\"Username.errors.pattern\\\" class=\\\"tst_invalid_username\\\">Only alphanumeric characters with one\\r\\n              special character [.@_-] OR a valid email is allowed</div>\\r\\n            <div *ngIf=\\\"Username.errors.minlength\\\" class=\\\"tst_username_too_short\\\">Username must be at least 4 characters\\r\\n              long</div>\\r\\n          </div>\\r\\n          <div *ngIf=\\\"usernameAlreadyExists && !isIdentityCreatedForLogin()\\\"\\r\\n            class=\\\"text-username-exists tst_username_exists\\\">\\r\\n            <span class=\\\"text-username-exists-success\\\">This username already exists.</span> Please enter your password\\r\\n            below<br>\\r\\n            <span class=\\\"text-username-exists-warning\\\">If you are a new user then please choose a different\\r\\n              username</span>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Password</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\" *ngIf=\\\"!usernameAlreadyExists\\\" [class.has-error]=\\\"showErrors && Password.invalid\\\">\\r\\n          <input type=\\\"password\\\" class=\\\"form-control textbox\\\" name=\\\"Password\\\" id=\\\"Password\\\" [(ngModel)]=\\\"frm.Password\\\"\\r\\n            minlength=\\\"8\\\" maxlength=\\\"15\\\" required #Password=\\\"ngModel\\\" validateEqual=\\\"ConfirmPassword\\\" reverse=\\\"true\\\"\\r\\n            placeholder=\\\"Insert password\\\" data-lpignore=\\\"true\\\" autocomplete=\\\"off\\\" (change)=\\\"OnChangePassword()\\\"\\r\\n            (keyup)=\\\"OnChangePassword()\\\" [pattern]=\\\"passwordPattern\\\" [readonly]=\\\"isIdentityCreatedForLogin()\\\" />\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Password.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"Password.errors.required\\\" class=\\\"tst_missing_password\\\">Please enter a password</div>\\r\\n              <div *ngIf=\\\"Password.errors.pattern\\\" class=\\\"tst_invalid_password\\\">Please create a password between 8-15\\r\\n                characters. Passwords must include at least 1 upper case letter,\\r\\n                1 lower case letter, 1 number and 1 special character\\r\\n                (!@#$%^&amp;*()_+-=&lt;&gt;?:\\\"&#123;&#125;[];',./|\\\\~`).</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\" *ngIf=\\\"usernameAlreadyExists\\\" [class.has-error]=\\\"showErrors && Password.invalid\\\">\\r\\n          <input type=\\\"password\\\" class=\\\"form-control textbox\\\" name=\\\"Password\\\" [(ngModel)]=\\\"frm.Password\\\" minlength=\\\"6\\\"\\r\\n            maxlength=\\\"50\\\" required #Password=\\\"ngModel\\\" placeholder=\\\"Enter password\\\" autocomplete=\\\"off\\\"\\r\\n            data-lpignore=\\\"true\\\" (change)=\\\"OnChangePassword()\\\" (keyup)=\\\"OnChangePassword()\\\"\\r\\n            [readonly]=\\\"isIdentityCreatedForLogin()\\\" />\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"Password.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"Password.errors.required\\\" class=\\\"tst_missing_password\\\">Please enter the password for the\\r\\n                username entered above</div>\\r\\n              <div *ngIf=\\\"Password.errors.minlength\\\" class=\\\"tst_password_too_short\\\">Password must be at least 6\\r\\n                characters.</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"!usernameAlreadyExists\\\"\\r\\n        [class.has-error]=\\\"ConfirmPassword !== null && ConfirmPassword.invalid && showErrors\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label\\\">Confirm Password</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <input type=\\\"password\\\" class=\\\"form-control textbox\\\" name=\\\"ConfirmPassword\\\" id=\\\"ConfirmPassword\\\"\\r\\n            [(ngModel)]=\\\"frm.ConfirmPassword\\\" autocomplete=\\\"off\\\" data-lpignore=\\\"true\\\" required minlength=\\\"8\\\"\\r\\n            maxlength=\\\"15\\\" #ConfirmPassword=\\\"ngModel\\\" validateEqual=\\\"Password\\\" reverse=\\\"false\\\" data-lpignore=\\\"true\\\"\\r\\n            autocomplete=\\\"off\\\" placeholder=\\\"Re-enter password \\\" [pattern]=\\\"passwordPattern\\\"\\r\\n            [readonly]=\\\"isIdentityCreatedForLogin()\\\" />\\r\\n          <div class=\\\"text-danger error_message\\\">\\r\\n            <div *ngIf=\\\"ConfirmPassword.invalid && showErrors\\\">\\r\\n              <div *ngIf=\\\"ConfirmPassword.errors.required\\\" class=\\\"tst_missing_confirm_password\\\">Please enter a confirm\\r\\n                password</div>\\r\\n              <div *ngIf=\\\"ConfirmPassword.errors.pattern\\\" class=\\\"tst_invalid_confirm_password\\\">Please create a password\\r\\n                between 8-15 characters. Passwords must include at least 1 upper case letter,\\r\\n                1 lower case letter and 1 number. </div>\\r\\n              <div\\r\\n                *ngIf=\\\"ConfirmPassword.errors.validateEqual&&(!ConfirmPassword.errors.pattern&&!ConfirmPassword.errors.required)\\\"\\r\\n                class=\\\"tst_passwords_do_not_match\\\">Passwords do not match</div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isIdentityCreatedForLogin()\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"text-success tst_username_created\\\">Your username and password has been created.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/customer-details-step/customer-details-step.component.html\n// module id = 1186\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-4 logo_bar pull-left\\\">\\r\\n            <span class=\\\"logo_center\\\"></span><img src=\\\"assets/images/mydna-logo.png\\\" border=\\\"0\\\" alt=\\\"\\\">\\r\\n        </div>\\r\\n        <div *ngIf=\\\"registrationService.data.cobrandingImageLocation != null\\\" class=\\\"col-md-4 logo_bar pull-left\\\">\\r\\n            <span class=\\\"logo_center\\\"></span><img class=\\\"cobrand-image\\\" src=\\\"{{registrationService.data.cobrandingImageLocation}}\\\" border=\\\"0\\\" alt=\\\"\\\">\\r\\n        </div>\\r\\n    </div>\\r\\n</div>\\r\\n\\r\\n<form name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\" class=\\\"form-horizontal\\\">\\r\\n    <div>\\r\\n        <mydna-customerreg-breadcrumb></mydna-customerreg-breadcrumb>\\r\\n        <mydna-customerreg-mykit-step *ngIf=\\\"currentStep === 'mykit-step'\\\"></mydna-customerreg-mykit-step>\\r\\n        <mydna-customerreg-consent-step *ngIf=\\\"currentStep === 'consent-step'\\\"></mydna-customerreg-consent-step>\\r\\n        <mydna-customerreg-customer-details-step *ngIf=\\\"currentStep === 'customer-details-step'\\\"></mydna-customerreg-customer-details-step>\\r\\n        <mydna-customerreg-select-reports-step *ngIf=\\\"currentStep === 'select-reports-step'\\\"></mydna-customerreg-select-reports-step>\\r\\n        <mydna-customerreg-medications-step *ngIf=\\\"currentStep === 'medications-step'\\\"></mydna-customerreg-medications-step>\\r\\n        <mydna-customerreg-my-practitioners-step *ngIf=\\\"currentStep === 'my-practitioners-step'\\\"></mydna-customerreg-my-practitioners-step>\\r\\n        <mydna-customerreg-confirmation-step *ngIf=\\\"currentStep === 'confirmation-step'\\\"></mydna-customerreg-confirmation-step>\\r\\n        <mydna-customerreg-pinnacle-confirmation-step *ngIf=\\\"currentStep === 'pinnacle-confirmation-step'\\\"></mydna-customerreg-pinnacle-confirmation-step>\\r\\n        <mydna-customerreg-report-delivery-step *ngIf=\\\"currentStep === 'report-delivery-step'\\\"></mydna-customerreg-report-delivery-step>\\r\\n        <mydna-customerreg-questionnaire-step *ngIf=\\\"currentStep === 'questionnaire-step'\\\"></mydna-customerreg-questionnaire-step>\\r\\n    </div>\\r\\n</form>\\r\\n<div id=\\\"disable-shield\\\" class=\\\"{{disableClass}}\\\"></div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/customer-registration-wizard.component.html\n// module id = 1187\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>ADDITIONAL DETAILS</h2>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"body_text\\\">To assist us in creating your personalised report, please provide additional details. </p>\\r\\n    </div>\\r\\n  </div>\\r\\n  <form class=\\\"style_radios horizontal_radios\\\"  name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h3 class='heading_normal'>Add your medications</h3>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"body_text\\\">Add any currently prescribed medications for your report. If you would like to further clarify whether your medications\\r\\n          are covered {{contactText}}.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12 no_right_padding\\\">\\r\\n        <medication-typeahead (onSelection)=\\\"onSelect($event)\\\" [config]=\\\"config\\\"></medication-typeahead>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"_medications.length>0\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <div class=\\\"table-responsive\\\">\\r\\n          <table class=\\\"medications_table\\\">\\r\\n            <colgroup>\\r\\n              <col class=\\\"col-md-3\\\">\\r\\n              <col class=\\\"col-md-8\\\">\\r\\n              <col class=\\\"col-md-1\\\">\\r\\n            </colgroup>\\r\\n            <thead>\\r\\n            <tr>\\r\\n              <th>Medication</th>\\r\\n              <th>Common Uses</th>\\r\\n              <th></th>\\r\\n            </tr>\\r\\n            </thead>\\r\\n            <tbody>\\r\\n            <tr *ngFor=\\\"let med of _medications; let i = index\\\">\\r\\n\\r\\n              <td>{{med.Name}}</td>\\r\\n              <td>\\r\\n                <ul class=\\\"medication-list\\\">\\r\\n                  <li *ngFor=\\\"let treat of med.CommonUsage.ForTreatmentOf\\\">\\r\\n                    For treatment of {{treat}}\\r\\n                  </li>\\r\\n                </ul>\\r\\n              </td>\\r\\n              <td>\\r\\n                <div class=\\\"remove_button\\\" (click)=\\\"removeItem(i)\\\"></div>\\r\\n              </td>\\r\\n            </tr>\\r\\n            </tbody>\\r\\n          </table>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h3 class='heading_normal'>Are you a smoker?</h3>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"body_text\\\">Smoking can affect the way you break down certain medications.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <label for=\\\"smoker_yes\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Smoker\\\" value=\\\"true\\\" [(ngModel)]=\\\"isSmoker\\\" #Smoker=\\\"ngModel\\\" id=\\\"smoker_yes\\\" required/>\\r\\n          <span>\\r\\n\\t\\t        \\t<p class=\\\"form_label horizontal_list_item\\\">Yes</p>\\r\\n\\t\\t\\t\\t\\t\\t</span>\\r\\n        </label>\\r\\n        <label for=\\\"smoker_no\\\" class=\\\"horizontal_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"Smoker\\\" value=\\\"false\\\" [(ngModel)]=\\\"isSmoker\\\"  id=\\\"smoker_no\\\" required/>\\r\\n          <span>\\r\\n\\t\\t        \\t<p class=\\\"form_label horizontal_list_item\\\">No</p>\\r\\n\\t\\t\\t\\t\\t\\t</span>\\r\\n        </label>\\r\\n        <div class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"Smoker.invalid && showErrors\\\">\\r\\n            <div *ngIf=\\\"Smoker.errors.required\\\">Please indicate if you are a smoker</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/medications-step/medications-step.component.html\n// module id = 1188\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\" *ngIf=\\\"unitId\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h4 class='heading_caps page_heading'>Report Delivery</h4>\\r\\n      <h3 class='heading_normal'>Select your dietitian</h3>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <div *ngIf=\\\"dietitianSearching\\\">Searching...</div>\\r\\n    </div>\\r\\n    <form class=\\\"style_radios vertical_radios\\\" #f1=\\\"ngForm\\\">\\r\\n      <div class=\\\"col-md-12\\\" *ngFor=\\\"let d of dietitians\\\">\\r\\n        <label (click)=\\\"selectDietitian(d)\\\" class=\\\"vertical_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"dietitian\\\" required>\\r\\n          <span><p class=\\\"heading_normal\\\">{{d.firstName}} {{d.lastName}} - {{d.clinicName}}</p></span>\\r\\n        </label>\\r\\n      </div>\\r\\n      <div *ngIf=\\\"showErrorsMain && Doctors.length===0\\\" class=\\\"text-danger error_message\\\">\\r\\n        <div class=\\\"tst_select_pharmacy_required\\\">\\r\\n          <div>Please select a dietitian from the list above.</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </form>\\r\\n  </div>\\r\\n</div>\\r\\n\\r\\n<div class=\\\"container\\\" *ngIf=\\\"isPinnacleOnlineMeds\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 class='heading_caps page_heading'>Report Delivery</h4>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row margin-bottom30\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n          <p class='body_text'>Your results will be delivered to a New Zealand based Ventures Doctor.\\r\\n              <br><br>\\r\\n              Ventures will contact you once your results are available to provide you with a detailed consultation explaining your results\\r\\n              <br><br>\\r\\n              If you wish to add your GP’s name to your file please provide it below.</p>\\r\\n      </div>\\r\\n    </div>\\r\\n      <form class=\\\"style_radios vertical_radios margin-bottom30\\\" #f1=\\\"ngForm\\\">\\r\\n        <div class=\\\"row\\\">\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <p class=\\\"form_label\\\">Name</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"100\\\" placeholder=\\\"Name\\\" (input)=\\\"pinnacleDoctorForm.gpName = $event.target.value\\\">\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\">\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <p class=\\\"form_label\\\">Clinic Name</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"100\\\" placeholder=\\\"Clinic Name\\\" (input)=\\\"pinnacleDoctorForm.clinicName = $event.target.value\\\">\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\">\\r\\n          <div class=\\\"col-md-6\\\">\\r\\n            <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Address</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"200\\\" placeholder=\\\"Address\\\" (input)=\\\"pinnacleDoctorForm.address = $event.target.value\\\">\\r\\n                </div>\\r\\n            </div>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-4\\\">\\r\\n            <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                    <p class=\\\"form_label\\\">Suburb</p>\\r\\n                  </div>\\r\\n                  <div class=\\\"col-md-12\\\">\\r\\n                    <input class=\\\"form-control textbox\\\" type=\\\"text\\\" maxlength=\\\"100\\\" placeholder=\\\"Suburb\\\" (input)=\\\"pinnacleDoctorForm.suburb = $event.target.value\\\">\\r\\n                  </div>\\r\\n            </div>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-2\\\">\\r\\n            <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Postcode</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input class=\\\"form-control textbox\\\" [class.has-error]=\\\"isPinnaclePostcodeError\\\" type=\\\"text\\\" maxlength=\\\"4\\\" placeholder=\\\"Postcode\\\" (keyup)=\\\"pinnacleDoctorForm.postcode = $event.target.value;ValidatePinnaclePostcode()\\\" >\\r\\n                </div>\\r\\n                <div class=\\\"error_message\\\" *ngIf=\\\"isPinnaclePostcodeError\\\">Postcode is invalid</div>\\r\\n              </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </form>\\r\\n  </div>\\r\\n  \\r\\n\\r\\n<div class=\\\"container\\\" *ngIf=\\\"!unitId && !isPinnacleOnlineMeds\\\">\\r\\n  <div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <h4 *ngIf=\\\"!chemistWarehouse && !gymDeliveryPrefs\\\" class='heading_caps page_heading'>Report Delivery</h4>\\r\\n        <h4 *ngIf=\\\"chemistWarehouse || gymDeliveryPrefs\\\" class='heading_caps page_heading'>Where did you buy/receive your kit?</h4>\\r\\n        <div *ngIf=\\\"isDeliverByDoctorEnabled || isDeliverByPharmacyEnabled || chemistWarehouse || gymDeliveryPrefs\\\">\\r\\n          <p class='body_text' *ngIf=\\\"!chemistWarehouse && !gymDeliveryPrefs\\\">Your results will be explained to you during a consultation with your healthcare professional.</p>\\r\\n          \\r\\n          <p class='body_text' *ngIf=\\\"isDeliverByDoctorEnabled && isDeliverByPharmacyEnabled && !gymDeliveryPrefs\\\">Please add your doctor(s) and healthcare professional's details below and select who you would like to deliver your results to you.</p>\\r\\n          <p class='body_text' *ngIf=\\\"isDeliverByDoctorEnabled && !isDeliverByPharmacyEnabled && !gymDeliveryPrefs\\\">Please add your doctor(s) details below and select who you would like to deliver your results to you.</p>\\r\\n          <p class='body_text' *ngIf=\\\"!isDeliverByDoctorEnabled && isDeliverByPharmacyEnabled && !gymDeliveryPrefs\\\">Please add your healthcare professional's details below and select who you would like to deliver your results to you.</p>\\r\\n          \\r\\n          <p class='body_text' *ngIf=\\\"!isDeliverByDoctorEnabled && isDeliverDirectToCustomerEnabled && chemistWarehouse\\\">Which Chemist Warehouse did you purchase your kit from?</p>\\r\\n          <p class='body_text' *ngIf=\\\"gymDeliveryPrefs\\\">Which {{deliveryPartyTitle}} did you purchase your kit from?</p>\\r\\n          \\r\\n          <p class='body_text' *ngIf=\\\"!chemistWarehouse && !gymDeliveryPrefs\\\">Note: All healthcare professionals added will receive a copy of your results.</p>\\r\\n        </div>\\r\\n        <div *ngIf=\\\"organisationCopy\\\">\\r\\n          <p class='body_text'>When ready, both you and your {{longDeliveryPartyTitle}} will receive your DNA Vitamins results. All you need to do is head in-store and the {{deliveryPartyTitle}} can explain your DNA results and help you decide how to turn your insights into action to get you feeling your very best.</p>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <form class=\\\"style_radios vertical_radios\\\" name=\\\"form1\\\" #f1=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n      <input type=\\\"hidden\\\" class=\\\"tst_e2eIds\\\" [value]=\\\"e2eIds\\\" />\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByDoctorEnabled\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>Add your doctor/s</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByDoctorEnabled\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label_high\\\">Search for a Doctor</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group add-on search_typeahead\\\" style=\\\"width: 100%\\\">\\r\\n            <div  [class.has-danger]=\\\"doctorSearchFailed\\\" >\\r\\n              <input name=\\\"doctorSearchTypeAhead\\\" type=\\\"text\\\" class=\\\"form-control large_textbox\\\" [(ngModel)]=\\\"doctorModel\\\" [ngbTypeahead]=\\\"searchDoctor\\\"\\r\\n                     placeholder=\\\"Search for a doctor by name or practice\\\" [resultFormatter]=\\\"doctorResultFormatter\\\"\\r\\n                     [inputFormatter]=\\\"doctorFormatter\\\" (selectItem)=\\\"onSelectedDoctor($event)\\\" />\\r\\n              <span *ngIf=\\\"searchingTextEnabled\\\">searching...</span>\\r\\n\\r\\n            </div>\\r\\n          </div>\\r\\n          <div *ngIf=\\\"showErrorsMain && !canSkipDeliveryPreference && deliveredTo === 'doctor' && Doctors.length === 0\\\" class=\\\"text-danger error_message tst_add_doctor_required\\\">\\r\\n            Please add a doctor to your profile to receive your results.\\r\\n          </div>\\r\\n          <div *ngIf=\\\"showErrorsMain && isDoctorRequired && Doctors.length === 0\\\" class=\\\"text-danger error_message tst_add_doctor_required\\\">\\r\\n            This is a mandatory field. Please enter the details of your doctor. If you do not have a doctor, please call the myDNA Helpdesk on 1300 436 373 to complete this order.\\r\\n          </div>\\r\\n          <div class=\\\"text-danger error_message error_message\\\" *ngIf=\\\"doctorSearchFailed && !isPinnacleMeds\\\"> No doctors found - please add your doctor.</div>\\r\\n          <a *ngIf=\\\"(doctorSearchFailed||doctorSearching) && !isPinnacleMeds\\\" class=\\\"btn btn-lg full_button pull-right button_p\\\" (click)=\\\"showChildModal()\\\" role=\\\"button\\\">Add</a>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div *ngIf=\\\"Doctors.length>0\\\" class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12 style_checkboxes horizontal_checkboxes\\\">\\r\\n          <div class=\\\"table-responsive\\\">\\r\\n            <table class=\\\"table doctors_table\\\">\\r\\n              <colgroup>\\r\\n                <col class=\\\"col-md-4\\\">\\r\\n                <col class=\\\"col-md-5\\\">\\r\\n                <col class=\\\"col-md-2\\\">\\r\\n                <col class=\\\"col-md-1\\\">\\r\\n              </colgroup>\\r\\n              <thead>\\r\\n              <tr>\\r\\n                <th>Doctor name</th>\\r\\n                <th>Practice</th>\\r\\n                <th>Referred By<sup>*</sup></th>\\r\\n                <th></th>\\r\\n              </tr>\\r\\n              </thead>\\r\\n              <tbody>\\r\\n              <tr *ngFor=\\\"let doc of Doctors;let i=index;trackBy:identify\\\" [class.doctor_hide]=\\\"doc.hidden\\\">\\r\\n                <td>{{doc.firstName}} {{ doc.lastName}}</td>\\r\\n                <td>{{doc.clinicName}}\\r\\n                  <ul class=\\\"no-left-padding \\\" style=\\\"list-style-type:none;padding-left: 0!important;\\\">\\r\\n                    <li>\\r\\n                      {{doc.address}}, {{doc.suburb}}, {{doc.state}} {{doc.postCode}}\\r\\n                    </li>\\r\\n                  </ul>\\r\\n                </td>\\r\\n                <td>\\r\\n                  <label for=\\\"ReferringDoctor{{i}}\\\" class=\\\"horizontal_list_label\\\">\\r\\n                    <input name=\\\"ReferringDoctor{{i}}\\\" id=\\\"ReferringDoctor{{i}}\\\" type=\\\"checkbox\\\" [(ngModel)]=\\\"doc.referredByDoctor\\\" style=\\\"text-align: center;\\\"\\r\\n                           [checked]=\\\"doc.referredByDoctor\\\" #ReferringDoctor{{i}}=\\\"ngModel\\\" (change)=\\\"selectReferringDoctor(i,doc,$event)\\\">\\r\\n                    <span>\\r\\n                        <p class=\\\"form_label horizontal_list_item\\\"></p>\\r\\n                     </span>\\r\\n                  </label>\\r\\n                </td>\\r\\n                <td><div class=\\\"remove_button tst_remove_doctor_{{i}}\\\" (click)=\\\"removeDoctor(i)\\\"></div></td>\\r\\n\\r\\n              </tr>\\r\\n              </tbody>\\r\\n            </table>\\r\\n            <p class=\\\"tooltip_text align-right\\\"><sup>*</sup>Tick this box if your doctor has referred you to take this test.</p>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByPharmacyEnabled && !chemistWarehouse && !gymDeliveryPrefs\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <h3 class='heading_normal'>Add a {{longDeliveryPartyTitle}} (pharmacy, dietitian, etc.)</h3>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"text-danger error_message\\\" *ngIf=\\\"showPharmaciesError\\\">\\r\\n        <strong>Only one {{deliveryPartyTitle}} can be added. Please remove the existing {{deliveryPartyTitle}} to add a new one.</strong>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"isDeliverByPharmacyEnabled || organisationRequired\\\">\\r\\n      \\r\\n        <div class=\\\"col-md-12\\\" *ngIf=\\\"!chemistWarehouse\\\">\\r\\n          <p class=\\\"form_label_high\\\">Search for a {{longDeliveryPartyTitle}}</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"input-group add-on search_typeahead\\\" style=\\\"width: 100%\\\">\\r\\n            <div  [class.has-danger]=\\\"searchFailed\\\">\\r\\n              <input name=\\\"pharmacySearchTypeAhead\\\" type=\\\"text\\\" class=\\\"form-control large_textbox\\\" [(ngModel)]=\\\"pharmacyModel\\\" [ngbTypeahead]=\\\"search\\\"\\r\\n                     placeholder=\\\"{{orgSearchPlaceholderText}}\\\" [resultFormatter]=\\\"resultFormatter\\\"\\r\\n                     [inputFormatter]=\\\"formatter\\\" (selectItem)=\\\"onSelectedPharmacy($event)\\\" />\\r\\n              <span *ngIf=\\\"searching\\\">searching...</span>\\r\\n              <div class=\\\"form-control-feedback\\\" *ngIf=\\\"(searchFailed&&!searching)\\\">No matching {{deliveryPartyTitle}} found.</div>\\r\\n            </div>\\r\\n            <div *ngIf=\\\"showErrorsMain && !canSkipDeliveryPreference && Pharmacy.length===0 && ( deliveredTo==='pharmacy' || organisationRequired)\\\" class=\\\"text-danger error_message tst_must_select_pharmacy_error\\\">\\r\\n              Please add a {{longDeliveryPartyTitle}} to your profile to receive your results.\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n      <div class=\\\"row\\\" *ngIf=\\\"Pharmacy.length>0\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <div class=\\\"table-responsive\\\">\\r\\n            <table class=\\\"table medications_table\\\">\\r\\n              <colgroup>\\r\\n                <col class=\\\"col-md-4\\\">\\r\\n                <col class=\\\"col-md-4\\\">\\r\\n                <col class=\\\"col-md-3\\\">\\r\\n                <col class=\\\"col-md-1\\\">\\r\\n              </colgroup>\\r\\n              <thead>\\r\\n              <tr>\\r\\n                <th>{{deliveryPartyTitle}}</th>\\r\\n                <th>Address</th>\\r\\n                <th>Phone</th>\\r\\n                <th></th>\\r\\n              </tr>\\r\\n              </thead>\\r\\n              <tbody>\\r\\n              <tr *ngFor=\\\"let pharm of Pharmacy;let i = index;\\\">\\r\\n                <td>{{pharm.name}}</td>\\r\\n                <td>{{pharm.addressLine1}}, {{pharm.suburb}}, {{pharm.state}} {{pharm.postCode}}</td>\\r\\n                <td>{{pharm.phone}}</td>\\r\\n                <td><div class=\\\"remove_button\\\"  (click)=\\\"removePharmacy(i)\\\"></div></td>\\r\\n              </tr>\\r\\n              </tbody>\\r\\n            </table>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n      <div *ngIf=\\\"!canSkipDeliveryPreference\\\">\\r\\n        <div class=\\\"row\\\" >\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <h3 class='heading_normal heading_pad_top'>Where would you like your report delivered to?</h3>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row no_mobile_underpad\\\" *ngIf=\\\"isDeliverByDoctorEnabled\\\" >\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <label for=\\\"deliver_report_to_doctor\\\" class=\\\"vertical_list_label\\\" >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_doctor\\\" value=\\\"doctor\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='doctor'\\\" #Deliver=\\\"ngModel\\\"  required (change)=\\\"setDeliveryPreference($event)\\\"   />\\r\\n              <span>\\r\\n                        <p class=\\\"heading_normal\\\">My doctor</p>\\r\\n                            </span>\\r\\n            </label>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"deliveredTo==='doctor' && Doctors.length===0\\\">\\r\\n                <div>Please add a doctor to your profile to receive your results.</div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\" *ngIf=\\\"(Doctors.length>0 && isDeliverByDoctorEnabled && deliveredTo==='doctor')\\\">\\r\\n          <div class=\\\"col-md-2\\\">\\r\\n            <p class=\\\"form_label\\\">Select doctor</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            {{frm.Doctor|json}}\\r\\n            <select id=\\\"inputDoctor\\\" class=\\\"form-control selectbox\\\" name=\\\"inputDoctor\\\" id=\\\"inputDoctor\\\" [(ngModel)]=\\\"selectedDoctor\\\" #inputDoctor=\\\"ngModel\\\" (change)=\\\"changeDoctor($event, selectedDoctor)\\\" required  >\\r\\n              <option [ngValue]=\\\"undefined\\\" selected>Select</option>\\r\\n              <option *ngFor=\\\"let doc of Doctors; let i = index;\\\" [value]=\\\"doc.id\\\"  >{{doc.salutation?doc.salutation:'Dr'}} {{doc.firstName}} {{doc.lastName}}</option>\\r\\n            </select>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"(deliveredTo==='doctor' && inputDoctor.invalid && showErrorsMain)\\\" class=\\\"tst_select_doctor_required\\\">\\r\\n                <div *ngIf=\\\"inputDoctor.errors.required\\\">Please select at least one doctor </div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\" *ngIf=\\\"isDeliverByPharmacyEnabled\\\">\\r\\n          <div class=\\\"col-md-12\\\" *ngIf=\\\"!gymDeliveryPrefs\\\">\\r\\n            <label for=\\\"deliver_report_to_pharmacy\\\" class=\\\"vertical_list_label\\\" >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_pharmacy\\\" value=\\\"pharmacy\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='pharmacy'\\\"    required (change)=\\\"setDeliveryPreference($event)\\\"  >\\r\\n              <span>\\r\\n                <p class=\\\"heading_normal\\\">My {{deliveryPartyTitle}} (pharmacy, dietitian, etc.)</p>\\r\\n                            </span>\\r\\n            </label>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"showErrorsMain && Pharmacy.length===0 && (deliveredTo==='pharmacy' || organisationRequired)\\\" class=\\\"tst_select_pharmacy_required\\\">\\r\\n                <div>Please add a {{longDeliveryPartyTitle}} to your profile to receive your results.</div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n\\r\\n          <div class=\\\"col-md-12\\\" *ngIf=\\\"gymDeliveryPrefs\\\">\\r\\n            <label for=\\\"deliver_report_to_pharmacy\\\" class=\\\"vertical_list_label\\\" >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_pharmacy\\\" value=\\\"pharmacy\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='pharmacy'\\\"    required (change)=\\\"setDeliveryPreference($event)\\\"  >\\r\\n              <span>\\r\\n                <p *ngIf=\\\"Pharmacy != undefined && Pharmacy != null && Pharmacy.length > 0 && Pharmacy[0].name != null && Pharmacy[0].name != ''\\\" class=\\\"heading_normal\\\">{{Pharmacy[0].name}}</p>\\r\\n                <p *ngIf=\\\"!Pharmacy || Pharmacy.length == 0 || !Pharmacy[0].name || Pharmacy[0].name === ''\\\" class=\\\"heading_normal\\\">My nominated {{longDeliveryPartyTitle}}</p>\\r\\n              </span>\\r\\n            </label>\\r\\n            <div class=\\\"text-danger error_message\\\">\\r\\n              <div *ngIf=\\\"showErrorsMain && Pharmacy.length===0 && (deliveredTo==='pharmacy' || organisationRequired)\\\" class=\\\"tst_select_pharmacy_required\\\">\\r\\n                <div>Please add a {{longDeliveryPartyTitle}} to your profile to receive your results.</div>\\r\\n              </div>\\r\\n            </div>\\r\\n          </div>\\r\\n\\r\\n        </div>\\r\\n        <div class=\\\"row\\\" *ngIf=\\\"isDeliverDirectToCustomerEnabled\\\" >\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <label for=\\\"deliver_report_to_customer\\\" class=\\\"vertical_list_label\\\"  >\\r\\n              <input type=\\\"radio\\\" name=\\\"Deliver\\\" id=\\\"deliver_report_to_customer\\\" value=\\\"customer\\\" [(ngModel)]=\\\"deliveredTo\\\" checked=\\\"deliveredTo==='customer'\\\"   required (change)=\\\"setDeliveryPreference($event)\\\"   >\\r\\n              <span>\\r\\n                <p class=\\\"heading_normal\\\">Direct to me</p>\\r\\n              </span>\\r\\n            </label>\\r\\n          </div>\\r\\n        </div>\\r\\n        <div class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"deliveredTo==='' && showErrorsMain\\\">\\r\\n            <div class=\\\"tst_must_select_delivery_option_error\\\">Please select who you would like to deliver your report results to you</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </form>\\r\\n  </div>\\r\\n</div>\\r\\n\\r\\n\\r\\n<div bsModal #childModal=\\\"bs-modal\\\" class=\\\"modal fade\\\" [config]=\\\"{backdrop: 'static'}\\\"  tabindex=\\\"-1\\\" role=\\\"dialog\\\" aria-labelledby=\\\"myLargeModalLabel\\\" aria-hidden=\\\"true\\\">\\r\\n  <div class=\\\"container\\\">\\r\\n    <form class=\\\"style_radios horizontal_radios\\\">\\r\\n      <div class=\\\"modal-dialog modal-lg\\\">\\r\\n        <div class=\\\"modal-content\\\">\\r\\n\\r\\n          <div class=\\\"modal-header\\\">\\r\\n            <h3 class='heading_caps page_heading pull-left'>Enter New Doctor Details</h3>\\r\\n            <button type=\\\"button\\\" class=\\\"close pull-right\\\" aria-label=\\\"Close\\\" (click)=\\\"hideChildModal()\\\">\\r\\n              <span aria-hidden=\\\"true\\\" style=\\\"color:red\\\">&times;</span>\\r\\n            </button>\\r\\n          </div>\\r\\n          <!--<pre>form value : {{f.value | json}}</pre>-->\\r\\n          <div class=\\\"modal-body\\\">\\r\\n            <form name=\\\"form\\\" #f=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"body_text\\\">Please enter all the details below for the new doctor.</p>\\r\\n                </div>\\r\\n              </div>\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <h2 class=\\\"heading_normal\\\">Doctor details</h2>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Salutation.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Salutation</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <select class=\\\"form-control selectbox\\\" name=\\\"Salutation\\\" id=\\\"Salutation\\\" [(ngModel)]=\\\"frmDoc.salutation\\\" #Salutation=\\\"ngModel\\\" required>\\r\\n                    <option [ngValue]=\\\"undefined\\\" selected>Select</option>\\r\\n                    <option value=\\\"Dr\\\" selected>Dr</option>\\r\\n                    <option value=\\\"Mr\\\">Mr</option>\\r\\n                    <option value=\\\"Mrs\\\">Mrs</option>\\r\\n                    <option value=\\\"Miss\\\">Miss</option>\\r\\n                    <option value=\\\"Ms\\\">Ms</option>\\r\\n                    <option value=\\\"Prof\\\">Prof</option>\\r\\n                    <option value=\\\"A/Prof\\\">A/Prof</option>\\r\\n                    <option value=\\\"N/A\\\">N/A</option>\\r\\n                  </select>\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Salutation.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Salutation.errors.required\\\">Please select a salutation</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"FirstName.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">First Name</p>\\r\\n                </div>\\r\\n\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"FirstName\\\" id=\\\"FirstName\\\" [(ngModel)]=\\\"frmDoc.firstName\\\" required maxlength=\\\"20\\\"\\r\\n                         #FirstName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"First Name\\\" />\\r\\n\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"FirstName.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"FirstName.errors.required\\\">Please enter a first name</div>\\r\\n                      <div *ngIf=\\\"FirstName.errors.pattern\\\">Please enter a valid first name</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"LastName.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Last Name</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"LastName\\\" id=\\\"LastName\\\" [(ngModel)]=\\\"frmDoc.lastName\\\" required maxlength=\\\"20\\\"\\r\\n                         #LastName=\\\"ngModel\\\" [pattern]=\\\"namePattern\\\" placeholder=\\\"Last Name\\\" />\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"LastName.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"LastName.errors.required\\\">Please enter a last name</div>\\r\\n                      <div *ngIf=\\\"LastName.errors.pattern\\\">Please enter a valid last name</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <h2 class=\\\"heading_normal\\\">Practice details</h2>\\r\\n                </div>\\r\\n              </div>\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"ClinicName.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Practice Name</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"ClinicName\\\" id=\\\"ClinicName\\\" [(ngModel)]=\\\"frmDoc.clinicName\\\" required maxlength=\\\"60\\\"\\r\\n                         #ClinicName=\\\"ngModel\\\" placeholder=\\\"Practice Name\\\" />\\r\\n\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"ClinicName.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"ClinicName.errors.required\\\">Please enter a practice name</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n              <app-address-capture [inputCountry]=\\\"frmDoc.country\\\" (addressCaptureOutput)=\\\"OnAddressChange($event)\\\" [parentFormSubmitted]=\\\"parentFormSubmittedSubject\\\"></app-address-capture>\\r\\n              <div class=\\\"row\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <h2 class=\\\"heading_normal\\\">Practice contact details</h2>\\r\\n                </div>\\r\\n              </div>\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Email.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Email</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Email\\\" id=\\\"Email\\\" [(ngModel)]=\\\"frmDoc.email\\\" [pattern]=\\\"emailPattern\\\" #Email=\\\"ngModel\\\"\\r\\n                         placeholder=\\\"Email\\\" maxlength=\\\"40\\\" minlength=\\\"5\\\" [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactDetails($event)\\\"\\r\\n                         (change)=\\\"validateContactDetails($event)\\\" />\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Email.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Email.errors.required\\\">Please enter at least one of: email or phone or fax</div>\\r\\n                      <div *ngIf=\\\"Email.errors.pattern\\\">Please enter a valid email</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Phone.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Phone</p>\\r\\n                </div>\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <div class=\\\"input-group\\\">\\r\\n                    <span class=\\\"input-group-addon textbox_prompt\\\" id=\\\"basic-addon1\\\">{{CountryCode}}</span>\\r\\n                    <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Phone\\\" id=\\\"Phone\\\" [(ngModel)]=\\\"frmDoc.phone\\\" [pattern]=\\\"phonePattern\\\" #Phone=\\\"ngModel\\\"\\r\\n                           placeholder=\\\"Phone\\\" maxlength=\\\"20\\\" [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactDetails($event)\\\"\\r\\n                           (change)=\\\"validateContactDetails($event)\\\" />\\r\\n                  </div>\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Phone.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Phone.errors.required\\\">Please enter at least one of: email or phone or fax</div>\\r\\n                      <div *ngIf=\\\"Phone.errors.pattern\\\">Please enter a valid phone number</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n              <div class=\\\"row\\\" [class.has-error]=\\\"Fax.invalid && showErrors\\\">\\r\\n                <div class=\\\"col-md-12\\\">\\r\\n                  <p class=\\\"form_label\\\">Fax</p>\\r\\n                </div>\\r\\n\\r\\n                <div class=\\\"col-md-12 col-sm-10 col-xs-10\\\">\\r\\n                  <div class=\\\"input-group\\\">\\r\\n                    <span class=\\\"input-group-addon textbox_prompt\\\" id=\\\"basic-addon1\\\">{{CountryCode}}</span>\\r\\n                    <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Fax\\\" id=\\\"Fax\\\" [(ngModel)]=\\\"frmDoc.fax\\\" [pattern]=\\\"phonePattern\\\" #Fax=\\\"ngModel\\\"\\r\\n                           placeholder=\\\"Fax\\\" maxlength=\\\"20\\\" [required]=\\\"!atLeastOneContactIsProvided\\\" (keyup)=\\\"validateContactDetails($event)\\\"\\r\\n                           (change)=\\\"validateContactDetails($event)\\\" />\\r\\n                  </div>\\r\\n                  <div class=\\\"text-danger error_message\\\">\\r\\n                    <div *ngIf=\\\"Fax.invalid && showErrors\\\">\\r\\n                      <div *ngIf=\\\"Fax.errors.required\\\">Please enter at least one of: email or phone or fax</div>\\r\\n                      <div *ngIf=\\\"Fax.errors.pattern\\\">Please enter a valid fax number</div>\\r\\n                    </div>\\r\\n                  </div>\\r\\n                </div>\\r\\n              </div>\\r\\n\\r\\n            </form>\\r\\n          </div>\\r\\n\\r\\n          <div class=\\\"modal-footer\\\">\\r\\n            <div class=\\\"clearfix\\\">\\r\\n              <a class=\\\"btn btn-lg full_button pull-right\\\" style=\\\"margin-left: 10px\\\"  (click)=\\\"saveChildModal()\\\" role=\\\"button\\\">Save</a>\\r\\n              <a class=\\\"btn btn-lg empty_button pull-right\\\" style=\\\"margin-left: 10px\\\" (click)=\\\"hideChildModal()\\\" role=\\\"button\\\">Close</a>\\r\\n            </div>\\r\\n          </div>\\r\\n\\r\\n        </div>\\r\\n      </div>\\r\\n\\r\\n    </form>\\r\\n  </div>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/my-practitioners-step/my-practitioners-step.component.html\n// module id = 1189\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-8\\\">\\r\\n      <h2 class=\\\"heading_normal\\\">You are one step closer to learning more about yourself.</h2>\\r\\n      <p class='body_text'>In your myDNA test kit you will find your unique registration barcode. This code allows you to register your DNA sample\\r\\n        with us and request your personalised myDNA report.</p>\\r\\n      <div class=\\\"row\\\">\\r\\n        <form class=\\\"form\\\">\\r\\n          <div class=\\\"col-md-12\\\">\\r\\n            <h3 class='heading_caps'>ENTER YOUR UNIQUE NUMERIC BARCODE</h3>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-9\\\">\\r\\n            <input class=\\\"form-control large_textbox\\\" type=\\\"text\\\" placeholder=\\\"e.g. 0123456789\\\" [(ngModel)]=\\\"barcode\\\" name=\\\"barcode\\\"\\r\\n                   (focus)=\\\"ClearError()\\\" maxlength=\\\"10\\\" required autofocus/>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-3\\\"></div>\\r\\n          <div class=\\\"col-md-12 text-danger error_message tst_barcode_error\\\" *ngIf=\\\"visibleerrorMessage\\\">\\r\\n            <p>{{errorMessage}}</p>\\r\\n          </div>\\r\\n          <div class=\\\"col-md-12 text-danger error_message tst_country_error\\\" *ngIf=\\\"countryErrorMessage\\\">\\r\\n            <label>Looks  like you’re registering one of our {{countryLocation}} Test Kits. If so, please register it through our <a [href]=\\\"countryURL\\\">{{countryLocation}} website</a>.\\r\\n              If you have any questions please call us on {{countryPhone}}.</label>\\r\\n          </div>\\r\\n        </form>\\r\\n      </div>\\r\\n\\r\\n    </div>\\r\\n    <div class=\\\"col-md-4\\\">\\r\\n      <img src=\\\"assets/images/test_kits.png\\\" border=\\\"0\\\" alt=\\\"\\\" class=\\\"img-responsive kits-img\\\">\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n    <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n            role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/mykit-step/mykit-step.component.html\n// module id = 1190\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n    <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12 text-center top_padding_20\\\">\\r\\n            <h2 class='heading_caps page_heading'>Thank You!</h2>\\r\\n        </div>\\r\\n        <form class=\\\"style_radios vertical_radios\\\">\\r\\n             <input type=\\\"hidden\\\" class=\\\"tst_final_e2eIds\\\" [value]=\\\"e2eIds\\\" />\\r\\n             <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12 text-center\\\">\\r\\n                <p class='body_text'></p>\\r\\n                  <p><a class=\\\"btn btn-lg empty_button button_p\\\" href=\\\"https://www.mydna.life/\\\" role=\\\"button\\\" style=\\\"margin:60px;\\\">go back to Website</a></p>\\r\\n              </div>\\r\\n            </div>\\r\\n            <div class=\\\"row\\\">\\r\\n              <div class=\\\"col-md-12\\\">\\r\\n                <h1 class='text_blue_underlined text-center'>IMPORTANT</h1>\\r\\n                <ul class=\\\"list_numbered body_text\\\">\\r\\n                    <li>Your doctor will receive your test results approximately 15 working days after your sample arrives at the myDNA laboratory.</li>\\r\\n                    <li>For any enquiries about your sample status, please email <a href=\\\"mailto:help@mydna.life\\\">help@mydna.life</a></li>\\r\\n                </ul>\\r\\n              </div>\\r\\n            </div>  \\r\\n        </form>\\r\\n    </div>\\r\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/pinnacle-confirmation-step/pinnacle-confirmation-step.component.html\n// module id = 1191\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n  <h2>The Wellness Revolution Registration Survey</h2>\\r\\n  <p>Thank you for agreeing to take part in the myDNA Chemist Warehouse Revolution!</p>\\r\\n  <p>We’d like to kick things off by asking you a few questions. By taking part in this study you’ll contribute to an understanding of the health of our nation.</p>\\r\\n  <p>We want to support you to live the healthiest life possible and your answers will help us do that.</p>\\r\\n  <p>Let’s go...</p>\\r\\n  <br><br>\\r\\n  <form name=\\\"form\\\" #answerForm=\\\"ngForm\\\" autocomplete=\\\"off\\\" novalidate=\\\"\\\">\\r\\n    <div *ngFor=\\\"let qn of questions.questions\\\" class=\\\"row\\\" [class.has-error]=\\\"!answers[qn.key] && showErrors\\\">\\r\\n      <div *ngIf=\\\"!qn.skip || (qn.skip.answers.indexOf(answers[qn.skip.key]) === -1)\\\">\\r\\n        <div class=\\\"col-md-6\\\">\\r\\n          <p class=\\\"form_label required\\\">{{qn.title}}</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6\\\" *ngIf=\\\"qn.type === 'single'\\\">\\r\\n          <select class=\\\"form-control selectbox\\\" [name]=\\\"'select' + answers[qn.key]\\\" [required]=\\\"true\\\" [(ngModel)]=\\\"answers[qn.key]\\\">\\r\\n            <option [value]=\\\"undefined\\\">Select a value</option>\\r\\n            <option *ngFor=\\\"let a of qn.answers\\\" [value]=\\\"a.key\\\">{{a.value}}</option>\\r\\n          </select>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6 style_checkboxes vertical_checkboxes\\\" *ngIf=\\\"qn.type === 'multiple'\\\">\\r\\n          <label class=\\\"vertical_list_label control_label\\\" *ngFor=\\\"let a of qn.answers\\\">\\r\\n            <input type=\\\"checkbox\\\" name=\\\"why\\\" [value]=\\\"a.key\\\" (click)=\\\"setAnswer(qn, a.key)\\\" class=\\\"form-control\\\">\\r\\n            <span class=\\\"form_label\\\">{{a.value}}</span>\\r\\n          </label>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6\\\" *ngIf=\\\"qn.type === 'number'\\\">\\r\\n          <input class=\\\"form-control\\\" type=\\\"number\\\" [name]=\\\"qn.key\\\" [required]=\\\"true\\\" [(ngModel)]=\\\"answers[qn.key]\\\">\\r\\n        </div>\\r\\n        <div class=\\\"col-md-6\\\" *ngIf=\\\"qn.type === 'text'\\\">\\r\\n          <input class=\\\"form-control\\\" type=\\\"text\\\" [name]=\\\"qn.key\\\" [required]=\\\"true\\\" [(ngModel)]=\\\"answers[qn.key]\\\">\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n  </form>\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/questionnaire-step/questionnaire-step.component.html\n// module id = 1192\n// module chunks = 0","module.exports = \"<form novalidate=\\\"\\\">\\r\\n    <div *ngIf=\\\"dropDrowErrorMessage\\\" >Please select value from drop down</div>\\r\\n    <fieldset>\\r\\n        <div class=\\\"row\\\">\\r\\n            <div class=\\\"col-xs-8\\\">\\r\\n                <label style=\\\"width:300px\\\">\\r\\n                <input type=\\\"radio\\\" value=\\\"health_care_professional\\\" [disabled]=\\\"!isHCPAvailable\\\" name=\\\"hcp\\\" [(ngModel)]=\\\"deliveredTo\\\" (change)=\\\"handleRadioChange($event)\\\"> Health Care Professional</label>\\r\\n            </div>\\r\\n            <div class=\\\"col-xs-4 form-group\\\" *ngIf=\\\"showDropDown\\\">\\r\\n                <select class=\\\"form-control\\\" name=\\\"selectedoption\\\" [(ngModel)]=\\\"selectedValue\\\" (change)=\\\"handleDropDownChange($event)\\\">\\r\\n                     <option *ngFor=\\\"let c of options\\\" [ngValue]=\\\"c.id\\\" [selected]=\\\"selectedValue\\\">{{c.name}}</option>\\r\\n                </select>\\r\\n            </div>\\r\\n        </div>\\r\\n        <div class=\\\"row\\\">\\r\\n            <div class=\\\"col-xs-8\\\"><label style=\\\"width:300px\\\"><input type=\\\"radio\\\" value=\\\"over_the_phone\\\" name=\\\"otp\\\" [(ngModel)]=\\\"deliveredTo\\\" (change)=\\\"handleRadioChange($event)\\\" (click)=\\\"hideDropDown()\\\"> Over the phone</label></div>\\r\\n        </div>\\r\\n    </fieldset>\\r\\n</form>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/report-delivery-step/report-delivery-step.component.html\n// module id = 1193\n// module chunks = 0","module.exports = \"<div class=\\\"container\\\">\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <h2 class='heading_caps page_heading'>Select Your Report</h2>\\r\\n    </div>\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"body_text\\\">Choose your report from the list below:</p>\\r\\n    </div>\\r\\n    <form class=\\\"style_radios vertical_radios\\\" *ngIf=\\\"KitDetails\\\">\\r\\n      <div class=\\\"col-md-12\\\" *ngFor=\\\"let prod of KitDetails.products;let i=index;trackBy:identify\\\">\\r\\n        <label for=\\\"report_type_button_{{i}}\\\" class=\\\"vertical_list_label\\\">\\r\\n          <input type=\\\"radio\\\" name=\\\"report_type\\\" class=\\\"tst_product\\\" id=\\\"report_type_button_{{i}}\\\" (change)=\\\"SelectProduct(prod)\\\" attr.data-country=\\\"{{prod.countryId}}\\\">\\r\\n          <span>\\r\\n\\t\\t        \\t<p class=\\\"heading_normal\\\">{{prod.productName}}</p>\\r\\n\\t\\t\\t\\t\\t\\t</span>\\r\\n        </label>\\r\\n\\r\\n      </div>\\r\\n\\r\\n    </form>\\r\\n  </div>\\r\\n\\r\\n</div>\\r\\n<div class=\\\"container\\\">\\r\\n  <button class=\\\"btn btn-lg pull-right full_button tst_next_button\\\" [disabled]=\\\"!reportSelected\\\"\\r\\n          role=\\\"button\\\" (click)=\\\"navigate()\\\">Next</button>\\r\\n</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/select-reports-step/select-reports-step.component.html\n// module id = 1194\n// module chunks = 0","module.exports = \"<div class=\\\"form-inline\\\">\\r\\n    <div class=\\\"day-container form-group left_margin_day\\\">\\r\\n        <select name=\\\"dateFieldsDay\\\" id=\\\"dateFieldsDay\\\" [(ngModel)]=\\\"dateFields.day\\\"  placeholder=\\\"Day\\\" class=\\\"day-selector form-control selectbox\\\" #dateFieldsDay=\\\"ngModel\\\" (change)=\\\"OnChangeDate()\\\"   >\\r\\n          <option disabled value=\\\"\\\">Day</option>\\r\\n          <option  *ngFor=\\\"let day of dayList\\\" [ngValue]=\\\"day\\\">{{day}}</option>\\r\\n        </select>\\r\\n    </div>\\r\\n    <div class=\\\"month-container form-group left_margin_month\\\">\\r\\n        <select name=\\\"dateFieldsMonth\\\" id=\\\"dateFieldsMonth\\\" [(ngModel)]=\\\"dateFields.month\\\" placeholder=\\\"Month\\\" class=\\\"month-selector form-control selectbox\\\" (change)=\\\"OnChangeDate()\\\" >\\r\\n          <option disabled value=\\\"\\\">Month</option>\\r\\n          <option  *ngFor=\\\"let month of MonthList\\\" [ngValue]=\\\"month.value\\\">{{month.name}}</option>\\r\\n        </select>\\r\\n    </div>\\r\\n    <div class=\\\"year-container form-group left_margin_year\\\">\\r\\n        <select name=\\\"dateFieldsYear\\\" id=\\\"dateFieldsYear\\\" [(ngModel)]=\\\"dateFields.year\\\"  placeholder=\\\"Year\\\" class=\\\"year-selector form-control selectbox\\\" (change)=\\\"OnChangeDate()\\\" >\\r\\n          <option disabled value=\\\"\\\">Year</option>\\r\\n          <option  *ngFor=\\\"let year of YearList\\\" [ngValue]=\\\"year\\\">{{year}}</option>\\r\\n        </select>\\r\\n        <!--<input ng-show=\\\"yearText\\\" type=\\\"text\\\" name=\\\"dateFields.year\\\" data-ng-model=\\\"dateFields.year\\\" placeholder=\\\"Year\\\" class=\\\"form-control\\\"\\r\\n            ng-disabled=\\\"disableFields\\\">-->\\r\\n         <input  type=\\\"hidden\\\" name=\\\"dateModel\\\" [(ngModel)]=\\\"value\\\" placeholder=\\\"Date Model\\\" class=\\\"form-control\\\" >\\r\\n         <!--(change)=\\\"onModelChange()\\\" (onModelChange)=\\\"onModelChange()\\\"  (touch)=\\\"onModelChange()\\\" -->\\r\\n    </div>\\r\\n</div>\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.component.html\n// module id = 1195\n// module chunks = 0","module.exports = \"<div>\\r\\n  <div class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"form_label required\\\">Country</p>\\r\\n    </div>\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <ng2-completer name=\\\"Country\\\" [(ngModel)]=\\\"form.Country\\\" id=\\\"Country\\\" #Country=\\\"ngModel\\\" [datasource]=\\\"CountrySearchDataSource\\\"\\r\\n        [minSearchLength]=\\\"0\\\" [autoMatch]=\\\"true\\\" (selected)=\\\"OnCountrySelected()\\\" (focus)=\\\"OnCountryChange()\\\" (click)=\\\"$event.target.select()\\\"\\r\\n        placeholder=\\\"Search for country...\\\" [openOnFocus]=\\\"true\\\" (keydown.Tab)=\\\"OnCountryChange()\\\" [fillHighlighted]=\\\"false\\\" (blur)=\\\"OnCountryBlur()\\\"\\r\\n        required></ng2-completer>\\r\\n      <div *ngIf=\\\"showCountryErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n        <div class=\\\"tst_missing_province\\\">Please select a valid country</div>\\r\\n      </div>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div *ngIf=\\\"_isSearchEnabled\\\" class=\\\"row\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <p class=\\\"form_label\\\">Address Search</p>\\r\\n    </div>\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <input class=\\\"form-control textbox searchField\\\" placeholder=\\\"Search addresses in {{form.Country}}\\\" [value]=\\\"searchQuery\\\"\\r\\n        (blur)=\\\"OnSearchBlur()\\\" (click)=\\\"GetSearchResults($event.target.value)\\\" (input)=\\\"GetSearchResults($event.target.value)\\\"\\r\\n        (keydown.arrowup)=\\\"OnSearchKeyDownArrowUp()\\\" (keydown.arrowdown)=\\\"OnSearchKeyDownArrowDown()\\\" (keydown.Enter)=\\\"OnSearchKeyDownEnter()\\\"\\r\\n        autocomplete=\\\"mydna-addr-search\\\"/>\\r\\n    </div>\\r\\n\\r\\n    <ul *ngIf=\\\"searchResults && searchResults.length > 0 \\\" id=\\\"addrSearchResultsBox\\\">\\r\\n      <li *ngFor=\\\"let searchResult of searchResults\\\" [class.active]=\\\"searchResult.isActive == true\\\" (mousedown)=\\\"OnSearchClickedRecord(searchResult.suggestion)\\\"\\r\\n        (mouseenter)=\\\"OnSearchHoverRecord(searchResult.suggestion)\\\" value=\\\"searchResult.suggestion\\\"> {{\\r\\n        searchResult.suggestion }} </li>\\r\\n    </ul>\\r\\n    <div *ngIf=\\\"searchResults && searchResults.length === 0\\\" id=\\\"addrNoResults\\\">\\r\\n      <div> No results found </div>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div class=\\\"row\\\" [class.hidden]=\\\"showManualForm || hideAddressFields\\\">\\r\\n    <div class=\\\"col-md-12\\\">\\r\\n      <a href=\\\"javascript:;\\\" (click)=\\\"showManualForm = true;\\\">Can't find your address? Click here to enter manually.</a>\\r\\n    </div>\\r\\n  </div>\\r\\n  <div [class.hidden]=\\\"!showManualForm || hideAddressFields\\\">\\r\\n    <div class=\\\"row\\\" [class.has-error]=\\\"AddressLine1.invalid && showAddressErrors\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label required\\\">Address Line 1</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"AddressLine1\\\" id=\\\"AddressLine1\\\" maxlength=\\\"50\\\" [(ngModel)]=\\\"form.AddressLine1\\\"\\r\\n          #AddressLine1=\\\"ngModel\\\" [required]=\\\"!hideAddressFields\\\" placeholder=\\\"Address Line 1\\\" (focus)=\\\"CheckForValidCountryEntered();\\\" (change)=\\\"EmitOutput();\\\" (blur)=\\\"OnAddressBlur()\\\"\\r\\n          autocomplete=\\\"mydna-addr-1\\\"/>\\r\\n        <div *ngIf=\\\"AddressLine1.invalid && showAddressErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n          <div *ngIf=\\\"AddressLine1.errors.required\\\" class=\\\"tst_missing_add_line_1\\\">Please enter an address line 1</div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Address Line 2</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"AddressLine2\\\" id=\\\"AddressLine2\\\" maxlength=\\\"50\\\" [(ngModel)]=\\\"form.AddressLine2\\\"\\r\\n          #AddressLine2=\\\"ngModel\\\" placeholder=\\\"Address Line 2\\\" (change)=\\\"EmitOutput();\\\"\\r\\n          autocomplete=\\\"mydna-addr-2\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Suburb/City</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Suburb\\\" id=\\\"Suburb\\\" [(ngModel)]=\\\"form.Suburb\\\" maxlength=\\\"30\\\"\\r\\n          #Suburb=\\\"ngModel\\\" placeholder=\\\"Suburb/City\\\" (change)=\\\"EmitOutput();\\\"\\r\\n          autocomplete=\\\"mydna-addr-suburb\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div *ngIf=\\\"!_isSearchEnabled && StateSearchDataSource != null && StateSearchDataSource.length > 0\\\">\\r\\n      <div class=\\\"row\\\">\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <p class=\\\"form_label required\\\">State/Province/Region</p>\\r\\n        </div>\\r\\n        <div class=\\\"col-md-12\\\">\\r\\n          <ng2-completer name=\\\"State\\\" id=\\\"State\\\" #State=\\\"ngModel\\\" [(ngModel)]=\\\"form.State\\\" [datasource]=\\\"StateSearchDataSource\\\"\\r\\n            [minSearchLength]=\\\"1\\\" [autoMatch]=\\\"true\\\" placeholder=\\\"Search for state/province/region...\\\" [class.has-error]=\\\"(!form.State  || form.State === '') && showStateErrors\\\"\\r\\n            (focus)=\\\"OnStateFocus()\\\" (keydown.Tab)=\\\"OnStateFocus()\\\" [fillHighlighted]=\\\"false\\\" (change)=\\\"EmitOutput();\\\"  (blur)=\\\"OnStateBlur()\\\"\\r\\n            (selected)=\\\"OnStateSelected();\\\"></ng2-completer>\\r\\n          <div *ngIf=\\\"(!form.State  || form.State === '') && showStateErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n            <div class=\\\"tst_missing_province\\\">Please enter a valid state/province/region</div>\\r\\n          </div>\\r\\n        </div>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\" *ngIf=\\\"_isSearchEnabled\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">State/Province/Region</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" [(ngModel)]=\\\"form.State\\\"\\r\\n          #State=\\\"ngModel\\\" placeholder=\\\"State/Province/Region\\\" (change)=\\\"EmitOutput();\\\" (blur)=\\\"OnStateBlur()\\\"\\r\\n          autocomplete=\\\"mydna-addr-state\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n    <div class=\\\"row\\\">\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <p class=\\\"form_label\\\">Zip/Postal Code</p>\\r\\n      </div>\\r\\n      <div class=\\\"col-md-12\\\">\\r\\n        <input type=\\\"text\\\" class=\\\"form-control textbox\\\" name=\\\"Zip\\\" id=\\\"Zip\\\" [(ngModel)]=\\\"form.Zip\\\" #Zip=\\\"ngModel\\\"\\r\\n          placeholder=\\\"Zip/Postal Code\\\" maxlength=\\\"10\\\" (focus)=\\\"CheckForValidStateEntered();\\\" (change)=\\\"EmitOutput();\\\"\\r\\n          autocomplete=\\\"mydna-addr-postcode\\\"/>\\r\\n      </div>\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/shared/address-capture/address-capture.component.html\n// module id = 1196\n// module chunks = 0","module.exports = \"<div class=\\\"row\\\" [class.has-error]=\\\"Email.invalid && showErrors\\\">\\r\\n  <div class=\\\"col-md-12\\\">\\r\\n    <p class=\\\"form_label required\\\">Email</p>\\r\\n  </div>\\r\\n  <div class=\\\"col-md-12\\\" [class.has-error]=\\\"certaintyLevel === 'error'\\\" [class.has-warning]=\\\"certaintyLevel === 'warning'\\\"\\r\\n    [class.has-success]=\\\"certaintyLevel === 'ok'\\\">\\r\\n    <input type=\\\"text\\\" class=\\\"form-control textbox\\\"  name=\\\"Email\\\" id=\\\"Email\\\"\\r\\n      [(ngModel)]=\\\"emailValue\\\" #Email=\\\"ngModel\\\" required [pattern]=\\\"emailPattern\\\" placeholder=\\\"Email\\\" maxlength=\\\"40\\\" (blur)=\\\"Validate()\\\" (change)=\\\"OnEmailChange()\\\" />\\r\\n    <img class=\\\"email-icon\\\" [src]=\\\"iconSource\\\">\\r\\n    <p class=\\\"body_text_small\\\" [class.error_message]=\\\"certaintyLevel === 'error'\\\" [class.warning_message]=\\\"certaintyLevel === 'warning'\\\"\\r\\n      [class.success_message]=\\\"certaintyLevel === 'ok'\\\">{{verboseResponseMessage}}</p>\\r\\n    <p class=\\\"body_text_small\\\" *ngIf=\\\"certaintyLevel === 'error' || certaintyLevel === 'warning'\\\">You're free to proceed with your registration\\r\\n      if you're confident in the email provided.</p>\\r\\n\\r\\n    <div *ngIf=\\\"correctionSuggestions != null && correctionSuggestions.length > 0\\\">\\r\\n      <p class=\\\"heading_extra_small\\\">Suggested Corrections:</p>\\r\\n      <div *ngFor=\\\"let suggestion of correctionSuggestions\\\">\\r\\n        <p class=\\\"body_text_small corrections-list\\\">{{suggestion}}</p>\\r\\n      </div>\\r\\n    </div>\\r\\n\\r\\n\\r\\n    <div *ngIf=\\\"Email.invalid && showErrors\\\" class=\\\"text-danger error_message\\\">\\r\\n      <div *ngIf=\\\"Email.errors.required\\\" class=\\\"tst_missing_email\\\">Please enter an email</div>\\r\\n      <div *ngIf=\\\"Email.errors.pattern\\\" class=\\\"tst_invalid_email\\\">Please enter a valid email</div>\\r\\n    </div>\\r\\n  </div>\\r\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/shared/email-validate/email-validate.component.html\n// module id = 1197\n// module chunks = 0","import { Injectable } from '@angular/core';\r\nimport {CountriesApi} from './../../client-api/CountriesApi/api/CountriesApi';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable()\r\nexport class CountryCodeService {\r\n\r\n    constructor( private countriesApi: CountriesApi) {}\r\n\r\n    getCountryName(countryIso2: string): Observable<string> {\r\n        return this.countriesApi.GetAllCountriesWithCodes()\r\n            .map(data => {\r\n                let countries = data;\r\n                let countryObject = countries.coutryList.find(r => r.isO2 === countryIso2);\r\n                return countryObject.name;\r\n            });\r\n    }\r\n\r\n    public getCountriesAndCodes() {\r\n        return this.countriesApi.GetAllCountriesWithCodes();\r\n    }\r\n\r\n    public getStatesForCountry(countryCode: string) {\r\n        return this.countriesApi.GetStatesUsingIso2(countryCode);\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/countryCode.service.ts","/**\r\n * MyDna.ConsumerRegistrationApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\n\r\nimport { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Http, Headers, URLSearchParams }                    from '@angular/http';\r\nimport { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http';\r\nimport { Response, ResponseContentType }                     from '@angular/http';\r\n\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\n//import * as models                                           from '../model/models';\r\nimport { CONSUMER_REGISTRATION_BASE_PATH, COLLECTION_FORMATS }                     from '../variables';\r\nimport { Configuration }                                     from '../configuration';\r\n\r\n\r\n@Injectable()\r\nexport class ConsumerRegistrationApi {\r\n\r\n    protected basePath = '';\r\n    public defaultHeaders: Headers = new Headers();\r\n    public configuration: Configuration = new Configuration();\r\n\r\n    constructor(protected http: Http, @Optional()@Inject(CONSUMER_REGISTRATION_BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\r\n        if (basePath) {\r\n            this.basePath = basePath;\r\n        }\r\n        if (configuration) {\r\n            this.configuration = configuration;\r\n        }\r\n    }\r\n\r\n    /**\r\n     * \r\n     * @param username \r\n     */\r\n    public identityDoesUserExist(username: string, extraHttpRequestParams?: any): Observable<{}> {\r\n        return this.identityDoesUserExistWithHttpInfo(username, extraHttpRequestParams)\r\n            .map((response: Response) => {\r\n                if (response.status === 204) {\r\n                    return undefined;\r\n                } else {\r\n                    return response.json() || {};\r\n                }\r\n            });\r\n    }\r\n\r\n\r\n    /**\r\n     * \r\n     * \r\n     * @param username \r\n     */\r\n    public identityDoesUserExistWithHttpInfo(username: string, extraHttpRequestParams?: any): Observable<Response> {\r\n        const path = this.basePath + '/identity/users/exists';\r\n\r\n        let queryParameters = new URLSearchParams();\r\n        let headers = new Headers(this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845\r\n        // verify required parameter 'username' is not null or undefined\r\n        if (username === null || username === undefined) {\r\n            throw new Error('Required parameter username was null or undefined when calling identityDoesUserExist.');\r\n        }\r\n        if (username !== undefined) {\r\n            queryParameters.set('username', <any>username);\r\n        }\r\n\r\n        // to determine the Content-Type header\r\n        let consumes: string[] = [\r\n        ];\r\n\r\n        // to determine the Accept header\r\n        let produces: string[] = [\r\n            'application/json',\r\n            'text/json'\r\n        ];\r\n\r\n        let requestOptions: RequestOptionsArgs = new RequestOptions({\r\n            method: RequestMethod.Get,\r\n            headers: headers,\r\n            search: queryParameters,\r\n            withCredentials:this.configuration.withCredentials\r\n        });\r\n        // https://github.com/swagger-api/swagger-codegen/issues/4037\r\n        if (extraHttpRequestParams) {\r\n            requestOptions = (<any>Object).assign(requestOptions, extraHttpRequestParams);\r\n        }\r\n\r\n        return this.http.request(path, requestOptions);\r\n    }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ConsumerRegistrationApi/api/ConsumerRegistrationApi.ts","import { OpaqueToken } from '@angular/core';\r\n\r\nexport const Select_Products_Api_BASE_PATH = new OpaqueToken('basePath');\r\nexport const COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/SelectProductsApi/variables.ts","import { OpaqueToken } from '@angular/core';\r\n\r\nexport const HealthCarePractitionerApi_BASE_PATH = new OpaqueToken('basePath');\r\nexport const COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/healthcare-practitioner-api/variables.ts","import { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport * as models                                           from '../model/models';\r\nimport { CountriesApi_BASE_PATH, COLLECTION_FORMATS } from '../variables';\r\nimport { Service }                                           from '../../Service';\r\n\r\n@Injectable()\r\nexport class CountriesApi {\r\n    protected basePath = 'https://api-dev.mydna.life/MyDna.CountriesApi';\r\n    constructor(\r\n        private service: Service,\r\n        @Optional()@Inject(CountriesApi_BASE_PATH) basePath: string\r\n        ) {\r\n      this.basePath = basePath || this.basePath;\r\n    }\r\n\r\n    public GetAllCountries(): Observable<Array<models.AllCountries>> {\r\n        return this.service.get(`${this.basePath}/Countries/AllCountries`);\r\n    }\r\n\r\n    public GetAllCountriesWithCodes(): Observable<models.AllCountriesWithCodes> {\r\n        return this.service.get(`${this.basePath}/Countries/AllCountriesAndCodes?stripPhoneNumbers=true`);\r\n    }\r\n\r\n    public GetCountryUsingCountryId(countryId: number): Observable<models.CountryWithCode> {\r\n        return this.service.get(`${this.basePath}/Countries/GetCountryById?id=${countryId}`);\r\n    }\r\n\r\n    public GetStatesUsingIso2(countryCode: string): Observable<models.StateProvinceList> {\r\n        return this.service.get(`${this.basePath}/StateProvince?countryCode=${countryCode}`);\r\n    }\r\n\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/CountriesApi/api/CountriesApi.ts","import { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport * as models                                           from '../model/models';\r\nimport { Select_Products_Api_BASE_PATH, COLLECTION_FORMATS } from '../variables';\r\nimport { Service }                                           from '../../Service';\r\n\r\n@Injectable()\r\nexport class KitsApi {\r\n  private basePath;\r\n  constructor(\r\n    @Optional()@Inject(Select_Products_Api_BASE_PATH) basePath: string,\r\n    private service: Service\r\n  ) {\r\n    this.basePath = basePath || 'https://api-dev.mydna.life/MyDna.SelectProductsApi';\r\n  }\r\n\r\n  public kitsGetKit(kitId: number): Observable<models.Kit> {\r\n    return this.service.get(`${this.basePath}/Kits/${kitId}`);\r\n  }\r\n\r\n  public getProductRequirements(productId: string): Observable<models.Requirement> {\r\n    return this.service.get(`${this.basePath}/Kits/ProductRequirements/${productId}`);\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/SelectProductsApi/api/KitsApi.ts","import { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport * as models                                           from '../model/models';\r\nimport { VaildateBarcodesApi_BASE_PATH, COLLECTION_FORMATS } from '../variables';\r\nimport { Service }                                           from '../../Service';\r\n\r\n@Injectable()\r\nexport class KitBarcodesApi {\r\n    protected basePath = 'https://api-dev.mydna.life/MyDna.ValidateKitBarcodesApi';\r\n    constructor(\r\n        private service: Service,\r\n        @Optional()@Inject(VaildateBarcodesApi_BASE_PATH) basePath: string\r\n        ) {\r\n      this.basePath = basePath || this.basePath;\r\n    }\r\n\r\n    public kitBarcodesGet(barcodeNumber: string): Observable<models.ValidatedKitBarcode> {\r\n        return this.service.get(`${this.basePath}/KitBarcodes/${barcodeNumber}`, false);\r\n    }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ValidateBarcodesAPi/api/KitBarcodesApi.ts","import { Validator } from './../../models/validator';\r\n\r\nexport class MyDnaValidationPatterns {\r\n\r\n    private defaultEmail: string;\r\n    private defaultUsername: string;\r\n    private defaultName: string;\r\n    private defaultPhone: string;\r\n    private defaultMobile: string;\r\n    private defaultPassword: string; // at least one number one UpperCase one Lowercase\r\n    private defaultPostcode: string;\r\n    private defaultSuburb: string;\r\n    private defaultState: string;\r\n\r\n    private auPhone: string;\r\n    private auMobile: string;\r\n    private auPostcode: string;\r\n    private auSuburb: string;\r\n    private auState: string;\r\n\r\n    private caPhone: string;\r\n    private caMobile: string;\r\n    private caPostcode: string;\r\n    private caSuburb: string;\r\n    private caState: string;\r\n\r\n    private nzPostcode: string;\r\n    private nzSuburb: string;\r\n\r\n    private ukPostcode: string;\r\n    private ukSuburb: string;\r\n\r\n    private saPostcode: string;\r\n    private saPhone: string;\r\n\r\n    private validator: Validator;\r\n    private nonBlankString: string;\r\n\r\n    constructor() {\r\n        this.nonBlankString = \"^([a-zA-Z0-9À-ÿ- '.]*)$\";\r\n        \r\n        // email validation regex taken from the angular 4 source code\r\n        \r\n        //defaults\r\n        this.defaultEmail = \"^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$\";\r\n        this.defaultUsername = this.defaultEmail + '|^[A-Za-z0-9]+([.@_-][A-Za-z0-9]+)?$';\r\n        this.defaultName = this.nonBlankString;\r\n        this.defaultPassword = '^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\d)(?=.*[!@#$%\\^&*()_+\\\\\\-=<>?:\"{}[\\\\\\];\\',\\.\\\\\\/\\|\\\\~`])[A-Za-z\\\\d!@#$%\\^&*()_+\\\\\\-=<>?:\"{}[\\\\\\];\\',\\.\\\\\\/\\|\\\\~`]{8,}$';\r\n        this.defaultPhone = \"^[- ()0-9]{6,20}$\";\r\n        this.defaultMobile = this.defaultPhone;\r\n        this.defaultPostcode = '';\r\n        this.defaultSuburb = '';\r\n        this.defaultState = '';\r\n\r\n        //Australia specific values - add new values to the switch below\r\n        this.auPhone = '^0[1-9]{1}[0-9]{8}$|^[1-9]{1}[0-9]{8}$';\r\n        this.auMobile = '^04[0-9]{8}$|^4[0-9]{8}$';\r\n        this.auPostcode = '^[0-9]{4,4}$';\r\n        this.auSuburb = this.nonBlankString;\r\n        this.auState = this.nonBlankString;\r\n\r\n        //Canada specific values\r\n        this.caPhone = '^([0-9]{3})([ \\-])?([0-9]{3})([ \\-])?([0-9]{4})$';\r\n        this.caMobile = this.caPhone;\r\n        this.caPostcode = '^([a-zA-Z][0-9][a-zA-Z](-| |)[0-9][a-zA-Z][0-9])$';\r\n        this.caSuburb = this.nonBlankString;\r\n        this.caState =  this.nonBlankString;\r\n\r\n        this.nzPostcode = '^[0-9]{4,4}$';\r\n        this.nzSuburb = this.nonBlankString;\r\n        \r\n        this.ukPostcode = '^[a-zA-Z]{1,2}([0-9]{1,2}|[0-9][a-zA-Z])(\\\\s)?[0-9][a-zA-Z]{2}$';\r\n        this.ukSuburb = this.nonBlankString;\r\n        \r\n        this.validator = new Validator();\r\n        this.validator.email = this.defaultEmail;\r\n        this.validator.username = this.defaultUsername;\r\n        this.validator.name = this.defaultName;\r\n        this.validator.password = this.defaultPassword;\r\n        this.validator.phone = this.defaultPhone;\r\n        this.validator.mobile = this.defaultMobile;\r\n        this.validator.postcode = this.defaultPostcode;\r\n        this.validator.state = this.defaultState;\r\n        this.validator.suburb = this.defaultSuburb;\r\n\r\n        this.validator.regCode = '^[0-9]{8}$';\r\n    }\r\n\r\n    public getDefaultValidatons() {\r\n        return this.validator;\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/mydna-validation/mydna-validation-patterns.ts","import { Injectable } from '@angular/core';\r\nimport { Observable, Observer, Subject } from 'rxjs';\r\nimport { Registration } from '../models/registration';\r\nimport { Clinician, Pharmacy } from '../../healthcare-practitioner-api';\r\nimport { Medication } from '@mydna/medication-api';\r\n// import { RequestReportsApi } from './../../client-api/RequestReportApi/api/RequestReportsApi';\r\nimport { RequestReport } from './../../client-api/RequestReportApi/model/RequestReport';\r\nimport { environment } from './../../../environments/environment';\r\nimport { SpinnerService } from '../shared/spinner/spinner.service';\r\nimport { ModalPopupService } from '../shared/modal-popup/modal-popup.service';\r\nimport { Steps } from '../steps';\r\nimport * as ReqRepApiInterfaces from './../../client-api/RequestReportApi/model/models';\r\nimport { MyDnaOperatingContextService } from '../shared/mydna-operating-context/mydna-operating-context.service';\r\nimport { Service } from '../../client-api/Service';\r\nimport { Headers } from '@angular/http';\r\n\r\n@Injectable()\r\nexport class RegistrationService {\r\n  private currentStep: string;\r\n  private currentReportSelection: string;\r\n  private currentReportDropDownSelection: string;\r\n  private totalPharmacy: any;\r\n  error: string;\r\n  unitMemberId: string;\r\n\r\n  navigator = new Subject<string>();\r\n\r\n  data: Registration;\r\n\r\n  constructor(\r\n    // private requestReportApi: RequestReportsApi,\r\n    private steps: Steps,\r\n    private loader: SpinnerService,\r\n    private popup: ModalPopupService,\r\n    private myDnaOperatingContextService: MyDnaOperatingContextService,\r\n    private service: Service\r\n  ) {\r\n    this.data = new Registration();\r\n    this.totalPharmacy = [];\r\n\r\n  }\r\n\r\n  getData() {\r\n    return this.data;\r\n  }\r\n\r\n  setData(d: any) {\r\n    this.data = d;\r\n  }\r\n\r\n  setIsSmoker(_smoker: boolean) {\r\n    this.data.smoker = _smoker;\r\n  }\r\n\r\n  getIsSmoker() {\r\n    return this.data.smoker;\r\n  }\r\n\r\n  setMedications(_medications: Medication[]) {\r\n    this.data.medications = _medications;\r\n  }\r\n\r\n  getMedications() {\r\n    return this.data.medications;\r\n  }\r\n\r\n  getReportSelection() {\r\n    return this.currentReportSelection;\r\n  }\r\n  setReportSelection(currentSelectedReport: string) {\r\n    this.currentReportSelection = currentSelectedReport;\r\n  }\r\n  getReportDropDownSelection() {\r\n    return this.currentReportDropDownSelection;\r\n  }\r\n  setReportDropDownSelection(currentReportDropDownSelection: string) {\r\n    this.currentReportDropDownSelection = currentReportDropDownSelection;\r\n  }\r\n  setCustomerDetails(_custDetails: any) {\r\n    this.data.CustomerDetails = _custDetails;\r\n  }\r\n\r\n  setLoginDetails(_logindetails: any) {\r\n    this.data.loginDetails = _logindetails;\r\n  }\r\n\r\n  getLoginDetail() {\r\n    return this.data.loginDetails;\r\n\r\n  }\r\n\r\n  getCustomerDetails() {\r\n    return this.data.CustomerDetails;\r\n  }\r\n\r\n  getE2ETestIds() {\r\n    return !environment.production ? (this.data.requestReportId + '|' + this.data.customerId) : '';\r\n  }\r\n\r\n  setPharmacyDetails(pharmacyDetails: Pharmacy[]) {\r\n    this.data.PharmacyDetails = pharmacyDetails;\r\n    this.totalPharmacy = pharmacyDetails;\r\n  }\r\n\r\n  getPharmacyDetails() {\r\n    this.totalPharmacy = this.data.PharmacyDetails;\r\n    return this.totalPharmacy;\r\n  }\r\n  removePharmacyDetails(index: number) {\r\n    this.totalPharmacy = this.data.PharmacyDetails.splice(index, 1);\r\n  }\r\n\r\n  setDoctorsDetails(_doctorsDetails: Clinician[]) {\r\n    this.data.doctorsDetails = _doctorsDetails;\r\n  }\r\n\r\n  setMarketingConsent(value: boolean) {\r\n    this.data.marketingConsent = value;\r\n  }\r\n\r\n  setAdditionalDetails(questions: any) {\r\n     this.service.post(`${environment.RequestReportApiEndPoint}Order/additionalDetails`, questions,\r\n       {'Content-Type': 'application/json'}).subscribe(_ => {\r\n      this.nextPage();\r\n     });\r\n  }\r\n\r\n  getMarketingConsent(): boolean {\r\n    return this.data.marketingConsent;\r\n  }\r\n\r\n  nextPage(next?: string) {\r\n    this.currentStep = next || this.steps.getNextStep(this.currentStep);\r\n    this.navigator.next(this.currentStep);\r\n    window.scrollTo(0, 0);\r\n  }\r\n\r\n  getDoctorsDetails() {\r\n    return this.data.doctorsDetails;\r\n  }\r\n\r\n  submit(isFinalSubmission: boolean, identityRequired: boolean, isPut: boolean): Subject<number> {\r\n    let requestReportId = this.data.requestReportId;\r\n\r\n    let requestReportObject = this.data.toRequestReport();\r\n    requestReportObject.status = isFinalSubmission ? ReqRepApiInterfaces.RequestReport.StatusEnum.SubmittedForProcessing : ReqRepApiInterfaces.RequestReport.StatusEnum.New;\r\n\r\n    // Keep as type any, otherwise Service.header function will not work\r\n    const headers: any = {\r\n      'Content-Type': 'application/json',\r\n      'x-mydna-channel': environment.channel || ''\r\n    };\r\n    \r\n    if (this.data.product.config.hideCustomerAddressOnRegistration) {\r\n      if (this.data.product.productNumber === \"PPMR-NZ-B\") {\r\n            headers[\"x-mydna-channel\"] = environment.channel + \"-indici\" || \"\";\r\n          } else {\r\n            headers[\"x-mydna-channel\"] = environment.channel + \"-no-address\" || \"\";\r\n          }\r\n    }\r\n\r\n    if (!identityRequired) {\r\n      requestReportObject.customer.identity = null;\r\n      requestReportObject.customer.preferences = null;\r\n    }\r\n    const submitSubject = new Subject<number>();\r\n\r\n    if (isPut) {\r\n      if (!requestReportId || identityRequired) {\r\n        this.popup.show500();\r\n      } else {\r\n        this.loader.show();\r\n\r\n        if (this.data.product.config.skipIdentity) {\r\n          if (this.data.product.productNumber === \"PPMR-NZ-B\") {\r\n            headers[\"x-mydna-channel\"] = environment.channel + \"-indici\" || \"\";\r\n          } else {\r\n            headers[\"x-mydna-no-identity\"] = true;\r\n          }\r\n        }\r\n\r\n        this.service.put<RequestReport>(\r\n          `${environment.RequestReportApiEndPoint}/RequestReports/${requestReportId}`, requestReportObject, headers).subscribe(response => {\r\n            this.loader.hide();\r\n            this.extractIdsFromResponse(response);\r\n            this.nextPage();\r\n          },\r\n          error => {\r\n            this.loader.hide();\r\n            submitSubject.error(500);\r\n          },\r\n          () => {\r\n            submitSubject.complete();\r\n          });\r\n      }\r\n    } else {\r\n      this.loader.show();\r\n\r\n      this.service.post<RequestReport>(`${environment.RequestReportApiEndPoint}RequestReports`, requestReportObject, headers).subscribe(\r\n        response => {\r\n          this.service.token = response.token ? response.token.value : null;\r\n          this.unitMemberId = this.data.product.config.unitId;\r\n\r\n          if (this.data.product.config && this.data.product.config.isActivationProduct) {\r\n            this.service.post<boolean>(`${environment.RequestReportApiEndPoint}Order/hasSubmittedOrFulfilledOrders`, null, {}).subscribe(has => {\r\n              if (has) {\r\n                this.loader.hide();\r\n                submitSubject.next(410);\r\n              } else {\r\n                this.setSubmitResponse(response);\r\n                submitSubject.complete();\r\n                this.nextPage();\r\n              }\r\n            }, err => {\r\n              console.log('Should not reach this');\r\n            }, () => {\r\n              submitSubject.complete();\r\n            });\r\n          } else {\r\n            this.setSubmitResponse(response);\r\n            submitSubject.complete();\r\n            this.nextPage();\r\n          }\r\n        },\r\n        error => {\r\n          this.loader.hide();\r\n          submitSubject.next(error.status);\r\n          submitSubject.complete();\r\n        });\r\n    }\r\n    return submitSubject;\r\n  }\r\n\r\n  setSubmitResponse(response) {\r\n    this.loader.hide();\r\n    this.extractIdsFromResponse(response);\r\n    this.data.isIdentityCreated = true;\r\n  }\r\n\r\n  extractIdsFromResponse = (requestReportObject: RequestReport) => {\r\n    if (!requestReportObject.id) {\r\n      return;\r\n    }\r\n\r\n    // Assign back to the main model\r\n    this.data.requestReportId = requestReportObject.id;\r\n    this.data.customerId = requestReportObject.customer.id;\r\n\r\n    // Extract doctors id\r\n    if (this.data.doctorsDetails) {\r\n      let hasUnknownHealthCarePractitioners = this.data.doctorsDetails.find((doctor) => !!doctor.id);\r\n      if (hasUnknownHealthCarePractitioners) {\r\n        let healthcarePractitioners = requestReportObject.resultRecipients.healthcarePractitioners;\r\n\r\n        this.data.doctorsDetails.forEach(doctor => {\r\n          if (!doctor.id) {\r\n            const healthCarePractitioner = healthcarePractitioners.find(hcp => hcp.firstName === doctor.firstName &&\r\n              hcp.lastName === doctor.lastName &&\r\n              hcp.clinicalOrganisation.name === doctor.clinicName);\r\n            doctor.id = healthCarePractitioner.id;\r\n            doctor.clinicID = healthCarePractitioner.clinicalOrganisation.id;\r\n          }\r\n        });\r\n      }\r\n    }\r\n\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/registration.service.ts","module.exports = \"button:disabled{\\r\\n    background-color:#dddddd;\\r\\n}\\r\\n\\r\\n.searchRow{\\r\\n    border-radius:4px;\\r\\n    padding:5px 0;\\r\\n    margin-bottom:10px;\\r\\n}\\r\\n\\r\\n.searchRow p{\\r\\n    color:#fff;\\r\\n}\\r\\n\\r\\n.searchRow input{\\r\\n    background:url(assets/images/search_icon.png) no-repeat scroll 100% 0px;\\r\\n    background-size:contain;\\r\\n    border:1px solid #008dd0;\\r\\n}\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/customer-registration-wizard.component.css\n// module id = 354\n// module chunks = 0","export class Configuration {\r\n    apiKey: string;\r\n    username: string;\r\n    password: string;\r\n    accessToken: string | (() => string);\r\n    withCredentials: boolean;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ConsumerRegistrationApi/configuration.ts","import { OpaqueToken } from '@angular/core';\r\n\r\nexport const CONSUMER_REGISTRATION_BASE_PATH = new OpaqueToken('basePath');\r\nexport const COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ConsumerRegistrationApi/variables.ts","import { OpaqueToken } from '@angular/core';\r\n\r\nexport const CountriesApi_BASE_PATH = new OpaqueToken('basePath');\r\nexport const COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/CountriesApi/variables.ts","import { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Http, Headers, URLSearchParams }                    from '@angular/http';\r\nimport { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http';\r\nimport { Response, ResponseContentType }                     from '@angular/http';\r\n\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport * as models                                           from '../model/models';\r\nimport { Select_Products_Api_BASE_PATH, COLLECTION_FORMATS } from '../variables';\r\nimport { Configuration }                                     from '../configuration';\r\n\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\n\r\n\r\n@Injectable()\r\nexport class ProductsApi {\r\n    protected basePath = 'https://api-dev.mydna.life/MyDna.SelectProductsApi';\r\n    public defaultHeaders: Headers = new Headers();\r\n    public configuration: Configuration = new Configuration();\r\n\r\n    constructor(\r\n      protected http: Http, @Optional()@Inject(Select_Products_Api_BASE_PATH) basePath: string,\r\n      @Optional() configuration: Configuration,\r\n\r\n    ) {\r\n        if (basePath) {\r\n            this.basePath = basePath;\r\n        }\r\n        if (configuration) {\r\n            this.configuration = configuration;\r\n        }\r\n    }\r\n\r\n    public productsGet(extraHttpRequestParams?: any): Observable<Array<models.Product>> {\r\n        return this.productsGetWithHttpInfo(extraHttpRequestParams)\r\n            .map((response: Response) => {\r\n                if (response.status === 204) {\r\n                    return undefined;\r\n                } else {\r\n                    return response.json();\r\n                }\r\n            });\r\n    }\r\n\r\n    public productsGetWithHttpInfo(extraHttpRequestParams?: any): Observable<Response> {\r\n        const path = this.basePath + `/Products`;\r\n\r\n        let queryParameters = new URLSearchParams();\r\n        let headers = new Headers(this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845\r\n        // to determine the Content-Type header\r\n        let consumes: string[] = [\r\n        ];\r\n\r\n        // to determine the Accept header\r\n        let produces: string[] = [\r\n            'application/json',\r\n            'text/json',\r\n            'application/xml',\r\n            'text/xml'\r\n        ];\r\n\r\n        let requestOptions: RequestOptionsArgs = new RequestOptions({\r\n            method: RequestMethod.Get,\r\n            headers: headers,\r\n            search: queryParameters\r\n        });\r\n\r\n        // https://github.com/swagger-api/swagger-codegen/issues/4037\r\n        if (extraHttpRequestParams) {\r\n            requestOptions = (<any>Object).assign(requestOptions, extraHttpRequestParams);\r\n        }\r\n\r\n        return this.http.request(path, requestOptions);\r\n    }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/SelectProductsApi/api/ProductsApi.ts","export class Configuration {\r\n    apiKey: string;\r\n    username: string;\r\n    password: string;\r\n    accessToken: string | (() => string);\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/SelectProductsApi/configuration.ts","import { OpaqueToken } from '@angular/core';\r\n\r\nexport const VaildateBarcodesApi_BASE_PATH = new OpaqueToken('basePath');\r\nexport const COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ValidateBarcodesAPi/variables.ts","\r\nexport class CustomerDetails {\r\n  AddressLine1: string;\r\n  AddressLine2: string;\r\n  Country: string;\r\n  Dob: string;\r\n  Email: string;\r\n  FirstName: string;\r\n  Gender: string;\r\n  LastName: string;\r\n  MiddleName: string;\r\n  Mobile: string;\r\n  Phone: string;\r\n  Zip: string;\r\n  State: string;\r\n  Suburb: string;\r\n  PhoneNumber: string;\r\n  MobileNumber: string;\r\n  Username: string;\r\n  Password: string;\r\n  ConfirmPassword: string;\r\n  Language: string;\r\n  CountryPhoneCode: string;\r\n  AddressSearchQuery: string;\r\n  ISO2CountryCode: string;\r\n  ISO3CountryCode: string;\r\n  ethnicityReference: string;\r\n  specifiedEthnicityReference: string;\r\n  patientIdentifierReference: string;\r\n  RegistrationCode: number;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/models/customer-details.ts","export class ReportDeliveryOption {\r\n    to?: string;\r\n    id?: string;\r\n    value?: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/models/report-delivery-option.ts","import { Injectable } from '@angular/core';\r\nimport { Response } from '@angular/http';\r\nimport { Observable } from 'rxjs/Observable';\r\nimport { ConsumerRegistrationApi } from './../../client-api/ConsumerRegistrationApi/api/ConsumerRegistrationApi';\r\nimport 'rxjs/add/operator/map';\r\nimport 'rxjs/add/operator/catch';\r\n\r\n@Injectable()\r\nexport class IdentityService {\r\n    constructor(private consumerRegistrationApi: ConsumerRegistrationApi) {\r\n    }\r\n\r\n    fetchUsernameDetails(username: string): Observable<UsernameDetails> {\r\n        return this.consumerRegistrationApi.identityDoesUserExistWithHttpInfo(username)\r\n                    .map(this._convertResponseToUsernameDetails) // anything in the 200-299 range will go here\r\n                    .catch(this._convertErrorResponseToUsernameDetails);\r\n    }\r\n\r\n    private _convertResponseToUsernameDetails(resp: Response): UsernameDetails {\r\n        if (resp.status === 200) {\r\n            return new UsernameDetails(true, true);\r\n        }\r\n        throw new Error('Unknown response from fetchUsernameDetails');\r\n    }\r\n\r\n    private _convertErrorResponseToUsernameDetails(err: any, caught: Observable<UsernameDetails>): Observable<UsernameDetails> {\r\n        if (err.status === 404) {\r\n            return Observable.of(new UsernameDetails(true, false));\r\n        } else if (err.status === 400) {\r\n            return Observable.of(new UsernameDetails(false, null));\r\n        }\r\n        throw new Error('Unknown response from fetchUsernameDetails');\r\n    }\r\n\r\n}\r\n\r\nexport class UsernameDetails {\r\n    constructor(public IsValid: boolean, public AlreadyInUse: boolean) {}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/identity.service.ts","import {Inject, Injectable, Optional} from '@angular/core';\r\nimport {KitsApi} from './../../client-api/SelectProductsApi/api/KitsApi';\r\nimport {Service} from '../../client-api/Service';\r\nimport {Observable} from 'rxjs/Observable';\r\nimport {Requirement} from '../../client-api/SelectProductsApi/model/Requirement';\r\nimport {Select_Products_Api_BASE_PATH} from '../../client-api/SelectProductsApi/variables';\r\nimport { MyDnaOperatingContextService } from './../shared/mydna-operating-context/mydna-operating-context.service';\r\n\r\n@Injectable()\r\nexport class ProductsService {\r\n  private basePath: string;\r\n  constructor(\r\n    @Optional()@Inject(Select_Products_Api_BASE_PATH) basePath: string,\r\n    private service: Service,\r\n    private kitsApi: KitsApi,\r\n    private _myDnaOperatingContextService: MyDnaOperatingContextService) {\r\n    this.basePath = basePath || this.basePath;\r\n  }\r\n\r\n  public getKitDetails(kitTypeId: number) {\r\n    let headers = this._myDnaOperatingContextService.getNewHeadersJsonWithOperatingContext();\r\n    return this.service.get(`${this.basePath}/Kits/${kitTypeId}`, {}, headers);\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/products.service.ts","import { Injectable } from '@angular/core';\r\nimport {KitBarcodesApi} from './../../client-api/ValidateBarcodesAPi/api/KitBarcodesApi';\r\n\r\n\r\n@Injectable()\r\nexport class ValidateBarcodesService {\r\n\r\n    constructor(private kitBarcodesApi: KitBarcodesApi) { }\r\n\r\n    public getBarcodeDetails(barcodeNumber: string) {\r\n        return this.kitBarcodesApi.kitBarcodesGet(barcodeNumber);\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/validateBarcodes.service.ts","import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class MyDnaUtilityService {\r\n\r\n    constructor() { }\r\n\r\n    public splitPhoneNumber(strphonenumber: any, country: any): any {\r\n        var output = {};\r\n        var PhoneNumber = \"\";\r\n        var countryCode = \"\";\r\n        if (strphonenumber !== '' && strphonenumber !== undefined && strphonenumber !== null) {\r\n        PhoneNumber = strphonenumber;\r\n        if (country && country === 'Australia') {\r\n            countryCode = PhoneNumber.substring(0, 3);\r\n            if (countryCode == \"+61\") {\r\n            PhoneNumber = PhoneNumber.substring(3, PhoneNumber.length)\r\n            }\r\n        } else if (country && country === 'Canada') {\r\n            countryCode = PhoneNumber.substring(0, 2);\r\n            if (countryCode == \"+1\") {\r\n            PhoneNumber = PhoneNumber.substring(2, PhoneNumber.length)\r\n            }\r\n        }\r\n        }\r\n        output = {\r\n        \"CountryCode\": countryCode,\r\n        \"PhoneNumber\": PhoneNumber\r\n        }\r\n        return output;\r\n  }\r\n\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/mydna-utility/mydna-utility.service.ts","/**\r\n * MyDna.HealthCarePractitionerSearchApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Http, Headers, URLSearchParams }                    from '@angular/http';\r\nimport { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http';\r\nimport { Response, ResponseContentType }                     from '@angular/http';\r\n\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport * as models                                           from '../model/models';\r\nimport { HealthCarePractitionerApi_BASE_PATH, COLLECTION_FORMATS }                     from '../variables';\r\nimport { Configuration }                                     from '../configuration';\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\n\r\n\r\n@Injectable()\r\nexport class HealthCarePractitionersApi {\r\n    protected basePath = '';\r\n    public defaultHeaders: Headers = new Headers();\r\n    public configuration: Configuration = new Configuration();\r\n    public memberId: string;\r\n\r\n    constructor(protected http: Http,\r\n                @Optional()@Inject(HealthCarePractitionerApi_BASE_PATH) basePath: string,\r\n                @Optional() configuration: Configuration) {\r\n        if (basePath) {\r\n            this.basePath = basePath;\r\n        }\r\n        if (configuration) {\r\n            this.configuration = configuration;\r\n        }\r\n    }\r\n\r\n    /**\r\n     * GetClinicians Method Implementation\r\n     *\r\n     * @param doctorNameOrClinicName Search doctor Name or clinic name in CRM.\r\n     */\r\n    public healthCarePractitionersGetClinicians(doctorNameOrClinicName?: string, unitMemberId?: string, partnerName?: string, partnerReferenceId?: string, partnerReferenceText?: string): Observable<Array<models.Clinician>> {\r\n        return this.healthCarePractitionersGetCliniciansWithHttpInfo(doctorNameOrClinicName, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText)\r\n            .map((response: Response) => {\r\n                if (response.status === 204) {\r\n                    return undefined;\r\n                } else {\r\n                    return response.json();\r\n                }\r\n            });\r\n    }\r\n\r\n\r\n    /**\r\n     * GetClinicians Method Implementation\r\n     *\r\n     * @param doctorNameOrClinicName Search doctor Name or clinic name in CRM.\r\n     */\r\n    public healthCarePractitionersGetCliniciansWithHttpInfo(doctorNameOrClinicName?: string, unitMemberId?: string, partnerName?: string, partnerReferenceId?: string, partnerReferenceText?: string, extraHttpRequestParams?: any): Observable<Response> {\r\n        const path = this.basePath + `/HealthCarePractitioners`;\r\n\r\n        let queryParameters = new URLSearchParams();\r\n        let headers = new Headers(this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845\r\n        if (doctorNameOrClinicName !== undefined) {\r\n          queryParameters.set('doctorNameOrClinicName', <any>doctorNameOrClinicName);\r\n        }\r\n        if (unitMemberId) {\r\n          queryParameters.set('memberId', unitMemberId);\r\n        }\r\n\r\n        if (partnerName) {\r\n            queryParameters.set('partnerName', partnerName);\r\n        }\r\n\r\n        if (partnerReferenceId && partnerReferenceText) {\r\n            queryParameters.set('partnerReferenceId', partnerReferenceId);\r\n            queryParameters.set('partnerReferenceText', partnerReferenceText);\r\n        }\r\n\r\n        // to determine the Content-Type header\r\n        let consumes: string[] = [\r\n        ];\r\n\r\n        // to determine the Accept header\r\n        let produces = [\r\n            'application/json',\r\n            'text/json',\r\n            'application/xml',\r\n            'text/xml'\r\n        ];\r\n\r\n        let requestOptions: RequestOptionsArgs = new RequestOptions({\r\n            method: RequestMethod.Get,\r\n            headers: headers,\r\n            search: queryParameters\r\n        });\r\n\r\n        // https://github.com/swagger-api/swagger-codegen/issues/4037\r\n        if (extraHttpRequestParams) {\r\n            requestOptions = (<any>Object).assign(requestOptions, extraHttpRequestParams);\r\n        }\r\n\r\n        return this.http.request(path, requestOptions);\r\n    }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/healthcare-practitioner-api/api/HealthCarePractitionersApi.ts","import { Inject, Injectable, Optional }                      from '@angular/core';\r\nimport { Http, Headers, URLSearchParams }                    from '@angular/http';\r\nimport { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http';\r\nimport { Response, ResponseContentType }                     from '@angular/http';\r\n\r\nimport { Observable }                                        from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport * as models                                           from '../model/models';\r\nimport { HealthCarePractitionerApi_BASE_PATH, COLLECTION_FORMATS }                     from '../variables';\r\n\r\n@Injectable()\r\nexport class PharmaciesApi {\r\n\r\n  constructor(private http: Http,\r\n              @Inject(HealthCarePractitionerApi_BASE_PATH) private basePath: string) {\r\n  }\r\n\r\n  public getPharmacies(query?: string, bannerGroup?: string): Observable<Array<models.Pharmacy>> {\r\n    return this.httpRequest(this.basePath + 'ClinicalOrganisations/Pharmacies', query, bannerGroup)\r\n      .map((response: Response) => {\r\n        return response.status === 204 ? undefined : response.json();\r\n      });\r\n  }\r\n\r\n  private httpRequest(path: string, query?: string, bannerGroup?: string): Observable<Response> {\r\n    let queryParameters = new URLSearchParams();\r\n    if (query !== undefined) {\r\n      queryParameters.set('query', <string>query);\r\n    }\r\n    if (bannerGroup !== undefined) {\r\n      queryParameters.set('bannerGroupCode', <string>bannerGroup);\r\n    }\r\n    let requestOptions: RequestOptionsArgs = new RequestOptions({\r\n      method: RequestMethod.Get,\r\n      headers: new Headers(),\r\n      search: queryParameters\r\n    });\r\n    return this.http.request(path, requestOptions);\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/healthcare-practitioner-api/api/PharmaciesApi.ts","export class Configuration {\r\n    apiKey: string;\r\n    username: string;\r\n    password: string;\r\n    accessToken: string | (() => string);\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/healthcare-practitioner-api/configuration.ts","// Using JSON.parse here for the boolean values as we want those settings to be set by Octopus in the release process and still keep those variables as boolean. If we put the variable remplacement tag ( #{} ) directly, ng build fail with an Invalid Caracter / Property declaration expected error.  \r\n\r\nexport const environment = {\r\n    production: JSON.parse('true'),\r\n    medicationsApiEndpoint              : 'https://api.mydna.life/MyDna.MedicationsServiceApi/',\r\n    pharmacistsApiEndpoint              : 'https://api.mydna.life/MyDna.HealthCarePractitionerSearchApi/',\r\n    HealthCarePractitionerApiEndPoint   : 'https://api.mydna.life/MyDna.HealthCarePractitionerSearchApi/',\r\n    RequestReportApiEndPoint            : 'https://api.mydna.life/MyDna.RequestReportApi/',\r\n    SelectProductsApiEndPoint           : 'https://api.mydna.life/MyDna.SelectProductsApi',\r\n    ValidateBarcodesApiEndPoint         : 'https://api.mydna.life/MyDna.ValidateKitBarcodesApi',\r\n    ConsumerRegistrationApiEndPoint     : 'https://api.mydna.life/MyDna.ConsumerRegistrationApi',\r\n    CountriesApiEndPoint                : 'https://api.mydna.life/MyDna.CountriesApi',\r\n    enableAppConferenceModule           : JSON.parse('false'),\r\n    enableConsumerRegistrationModule    : JSON.parse('true'),\r\n    channel                             : 'customer-registration',\r\n    addressCaptureToken                 : 'ff1ce302-11c2-4686-a412-7c655029e6e7',\r\n    captureSupportedCountries           : 'australia,canada,united kingdom,new zealand',\r\n    captureAddressUrl                   : 'https://api.edq.com/capture/address/v2/search',\r\n    captureEmailUrl                     : 'https://api.experianmarketingservices.com/sync/queryresult/EmailValidate/1.0/',\r\n    FeatureToggleUseEmailValidatior     : 'false'\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/environments/environment.octopus.ts","import { Injectable }                                         from '@angular/core';\r\nimport {Http, Headers, URLSearchParams, Request} from '@angular/http';\r\nimport { RequestMethod, RequestOptions, RequestOptionsArgs }  from '@angular/http';\r\nimport { Response }                                           from '@angular/http';\r\nimport { Observable }                                         from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\n@Injectable()\r\nexport class Service {\r\n\r\n  token: string;\r\n\r\n  constructor(private http: Http\r\n  ) {\r\n  }\r\n\r\n  public get<T>(url: string, parameters: any = {}, headers?: any, excludeTokenInHeader?: boolean): Observable<any> {\r\n    const httpParams = new URLSearchParams();\r\n    Object.keys(parameters || {}).forEach(p => httpParams.set(p, parameters[p]));\r\n    const requestOptions = new RequestOptions({\r\n      method: RequestMethod.Get,\r\n      headers: this.headers(headers, excludeTokenInHeader),\r\n      search: httpParams\r\n    });\r\n    return this.http.request(url, requestOptions)\r\n      .map(response => {\r\n        return response.status === 204 ? undefined : <T>response.json();\r\n      });\r\n  }\r\n\r\n  private headers(additional: any, excludeToken?: boolean) {\r\n    if (additional) {\r\n      if (this.token && !excludeToken) {\r\n        additional['Authorization'] = 'Bearer ' + this.token;\r\n      }\r\n    }\r\n    const headers = new Headers(additional || null);\r\n    return headers;\r\n  }\r\n/*\r\n  public get<T>(url: string, parameters: any = {}, headers?: any): Observable<any> {\r\n    return this.request<T>(RequestMethod.Get, url, parameters, headers);\r\n  }*/\r\n\r\n  public put<T>(url: string, object: any, headers?: any) {\r\n    return this.request<T>(RequestMethod.Put, url, object, headers);\r\n  }\r\n\r\n  public post<T>(url: string, object: any, headers?: any) {\r\n    return this.request<T>(RequestMethod.Post, url, object, headers);\r\n  }\r\n\r\n  private request<T>(type: RequestMethod, url: string, object: any, headers?: any) {\r\n    const requestOptions: RequestOptionsArgs = new RequestOptions({\r\n      method: type,\r\n      headers: this.headers(headers),\r\n      body: object ? JSON.stringify(object) : '' // https://github.com/angular/angular/issues/10612\r\n    });\r\n    return this.http.request(url, requestOptions).map(response => {\r\n      return response.status === 204 ? undefined : <T>response.json();\r\n    });\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/Service.ts","function webpackEmptyContext(req) {\n\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 768;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src async\n// module id = 768\n// module chunks = 0","import './polyfills.ts';\r\n\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\nimport { enableProdMode } from '@angular/core';\r\nimport { environment } from './environments/environment';\r\nimport { AppModule } from './app/app.module';\r\n\r\n//if (environment.production) {\r\n  enableProdMode();\r\n//}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.ts","module.exports = \"li{\\r\\n  margin-top:7px;\\r\\n}\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.component.css\n// module id = 82\n// module chunks = 0","import { Component, AfterViewInit, ViewChild, Inject } from '@angular/core';\r\nimport './operators';\r\nimport { ModalDirective } from 'ng2-bootstrap/modal';\r\nimport { ModalPopupService, ModalContent } from './customer-registration-wizard/shared/modal-popup/modal-popup.service';\r\nimport { SpinnerService, SpinnerContent } from './customer-registration-wizard/shared/spinner/spinner.service';\r\n/**\r\n * This class represents the main application component.\r\n */\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'app-root',\r\n  templateUrl: './app.component.html',\r\n  styleUrls: ['./app.component.css'],\r\n  providers: [ModalPopupService]\r\n})\r\nexport class AppComponent implements  AfterViewInit {\r\n  @ViewChild('autoShownModal') public autoShownModal: ModalDirective;\r\n  showSpinner = false;\r\n  isModalShown = false;\r\n  modalContent: ModalContent;\r\n  spinnerContent: SpinnerContent;\r\n  constructor( @Inject(ModalPopupService)private modalService: ModalPopupService,\r\n               @Inject(SpinnerService)private spinnerService: SpinnerService) {\r\n  }\r\n   public ngAfterViewInit() {\r\n      this.modalService.status.subscribe(val => {\r\n         this.isModalShown = val;\r\n      });\r\n      this.modalService.content.subscribe(content => {\r\n          this.modalContent = content;\r\n      });\r\n      this.spinnerService.status.subscribe(val => {\r\n        this.showSpinner = val;\r\n      });\r\n      this.spinnerService.content.subscribe(content => {\r\n        this.spinnerContent = content;\r\n      });\r\n  }\r\n  public showModal(): void {\r\n    this.isModalShown = true;\r\n  }\r\n  public hideModal(): void {\r\n    this.autoShownModal.hide();\r\n  }\r\n  public onHidden(): void {\r\n    this.isModalShown = false;\r\n  }\r\n  public toggleModal(): void {\r\n    this.modalService.show('505 Error', 'Something went wrong with the server');\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport {CookieXSRFStrategy, HttpModule, XSRFStrategy} from '@angular/http';\r\nimport { AppComponent } from './app.component';\r\n\r\nimport { MyDNACoreModule } from './core/mydna-core.module';\r\nimport { CustomerRegistrationWizardModule } from './customer-registration-wizard/customer-registration-wizard.module';\r\n\r\nimport { ModalPopupService } from './customer-registration-wizard/shared/modal-popup/modal-popup.service';\r\nimport { SpinnerService } from './customer-registration-wizard/shared/spinner/spinner.service';\r\nimport { ModalModule } from 'ng2-bootstrap';\r\nimport {StorageService} from './client-api/StorageService';\r\n\r\n@NgModule({\r\n  imports: [\r\n    BrowserModule,\r\n    HttpModule,\r\n    CustomerRegistrationWizardModule,\r\n    MyDNACoreModule.forRoot(),\r\n    ModalModule.forRoot()\r\n  ],\r\n  declarations: [AppComponent],\r\n  providers: [\r\n    ModalPopupService,\r\n    SpinnerService,\r\n    StorageService,\r\n    {\r\n      provide: XSRFStrategy,\r\n      useFactory: xsrfFactory\r\n    }\r\n\r\n  ],\r\n  bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n\r\nexport function xsrfFactory() {\r\n  return new CookieXSRFStrategy('csrftoken', 'CSRFToken');\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","export * from './ConsumerRegistrationApi';\r\nimport { ConsumerRegistrationApi } from './ConsumerRegistrationApi';\r\nexport const APIS = [ConsumerRegistrationApi];\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ConsumerRegistrationApi/api/api.ts","export class Configuration {\r\n    apiKey: string;\r\n    username: string;\r\n    password: string;\r\n    accessToken: string | (() => string);\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/CountriesApi/configuration.ts","export class Configuration {\r\n    apiKey: string;\r\n    username: string;\r\n    password: string;\r\n    accessToken: string | (() => string);\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/RequestReportApi/configuration.ts","/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from './models';\r\n\r\nexport interface ClinicalOrganisation {\r\n    id?: string;\r\n\r\n    name?: string;\r\n\r\n    category?: ClinicalOrganisation.CategoryEnum;\r\n\r\n    businessAddress?: models.Address;\r\n\r\n    contactDetails?: models.BusinessContactDetails;\r\n\r\n}\r\nexport namespace ClinicalOrganisation {\r\n    export enum CategoryEnum {\r\n        Doctor = <any> 'doctor',\r\n        Pharmacy = <any> 'pharmacy'\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/RequestReportApi/model/ClinicalOrganisation.ts","/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from './models';\r\n\r\nexport interface Customer {\r\n    id?: string;\r\n\r\n    salutation?: string;\r\n\r\n    firstName: string;\r\n\r\n    middleName?: string;\r\n\r\n    lastName: string;\r\n\r\n    dateOfBirth: string;\r\n\r\n    gender: Customer.GenderEnum;\r\n\r\n    postalAddress?: models.Address;\r\n\r\n    contactDetails?: models.ContactDetails;\r\n\r\n    isSmoker: boolean;\r\n\r\n    identity?: models.Identity;\r\n\r\n    preferences?: models.Preferences;\r\n\r\n    username: string;\r\n\r\n    registrationCode?: number; \r\n}\r\nexport namespace Customer {\r\n    export enum GenderEnum {\r\n        Male = <any> 'male',\r\n        Female = <any> 'female',\r\n        Other = <any> 'other'\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/RequestReportApi/model/Customer.ts","/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from './models';\r\n\r\nexport interface ReportRecipients {\r\n    resultsExplainedBy?: ReportRecipients.ResultsExplainedByEnum;\r\n\r\n    pharmacy?: models.ClinicalOrganisationRef;\r\n\r\n    healthcarePractitioners?: Array<models.HealthcarePractitioner>;\r\n\r\n}\r\nexport namespace ReportRecipients {\r\n    export enum ResultsExplainedByEnum {\r\n        Customer = <any> 'customer',\r\n        Pharmacy = <any> 'pharmacy',\r\n        HealthcarePractitioner = <any> 'healthcarePractitioner'\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/RequestReportApi/model/ReportRecipients.ts","/**\r\n * MyDna.RequestReportApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from './models';\r\n\r\nexport interface RequestReport {\r\n    id?: string;\r\n\r\n    token?: models.Token;\r\n\r\n    status: RequestReport.StatusEnum;\r\n\r\n    customer: models.Customer;\r\n\r\n    kitBarcodes?: Array<models.KitBarcode>;\r\n\r\n    medications?: Array<models.Medication>;\r\n\r\n    products?: Array<models.Product>;\r\n\r\n    resultRecipients?: models.ReportRecipients;\r\n\r\n    paymentDetails?: models.PaymentDetails;\r\n\r\n    partnerReferences?: Array<models.PartnerReference>;\r\n\r\n}\r\nexport namespace RequestReport {\r\n    export enum StatusEnum {\r\n        New = <any> 'new',\r\n        SubmittedForProcessing = <any> 'submittedForProcessing',\r\n        Fulfilled = <any> 'fulfilled'\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/RequestReportApi/model/RequestReport.ts","import { OpaqueToken } from '@angular/core';\r\n\r\nexport const REQUEST_REPORT_BASE_PATH = new OpaqueToken('basePath');\r\nexport const COLLECTION_FORMATS = {\r\n    'csv': ',',\r\n    'tsv': '   ',\r\n    'ssv': ' ',\r\n    'pipes': '|'\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/RequestReportApi/variables.ts","import { environment } from '../../../../environments/environment';\r\nimport { Injectable } from '@angular/core';\r\nimport { Headers }  from '@angular/http';\r\n\r\n@Injectable()\r\nexport class MyDnaOperatingContextService {\r\n    private _countryCode: string;\r\n\r\n    constructor() { }\r\n\r\n    public setContextCountryCode = (countryCode: string) => {\r\n        this._countryCode = countryCode;\r\n    }\r\n\r\n    public setOperatingContextHeaders = (headers: Headers) => {\r\n        headers.set('x-mydna-country', this._countryCode || '');\r\n        headers.set('x-mydna-channel', environment.channel || '');\r\n    }\r\n\r\n    public getNewHeadersJsonWithOperatingContext() {\r\n        let headers = new Headers();\r\n        this.setOperatingContextHeaders(headers);\r\n        return new Headers(headers.toJSON());\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/mydna-operating-context/mydna-operating-context.service.ts","import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class StorageService {\r\n\r\n  private data: any = {};\r\n  private native: boolean;\r\n\r\n  constructor() {\r\n    try {\r\n      localStorage.setItem('mod', 'mod');\r\n      localStorage.removeItem('mod');\r\n      this.native = true;\r\n    } catch (e) {\r\n      this.native = false;\r\n    }\r\n  }\r\n\r\n  setItem(key: string, value: string) {\r\n    if (this.native) {\r\n      try {\r\n        localStorage.setItem(key, value);\r\n      } catch (e) {\r\n        this.native = false;\r\n        this.data[key] = value;\r\n      }\r\n    } else {\r\n      this.data[key] = value;\r\n    }\r\n  }\r\n\r\n  getItem(key: string) {\r\n    if (this.native) {\r\n      try {\r\n        return localStorage.getItem(key);\r\n      } catch (e) {\r\n        this.native = false;\r\n        return null;\r\n      }\r\n    } else {\r\n      return this.data.hasOwnProperty(key) ? this.data[key] : null;\r\n    }\r\n  }\r\n\r\n  removeItem(key: any) {\r\n    if (this.native) {\r\n      try {\r\n        localStorage.removeItem(key);\r\n      } catch (e) {\r\n        this.native = false;\r\n      }\r\n    } else {\r\n      delete this.data[key];\r\n    }\r\n  }\r\n\r\n  clear() {\r\n    if (this.native) {\r\n      try {\r\n        localStorage.clear();\r\n      } catch (e) {\r\n        this.native = false;\r\n      }\r\n    } else {\r\n      this.data = {};\r\n    }\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/StorageService.ts","export class Configuration {\r\n    apiKey: string;\r\n    username: string;\r\n    password: string;\r\n    accessToken: string | (() => string);\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ValidateBarcodesAPi/configuration.ts","/**\r\n * MyDna.ValidateKitBarcodesApi\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: v1\r\n *\r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from './models';\r\n\r\nexport interface ValidatedKitBarcode {\r\n    kitTypeId?: number;\r\n    barcode?: string;\r\n    status?: ValidatedKitBarcode.StatusEnum;\r\n    country: string;\r\n}\r\nexport namespace ValidatedKitBarcode {\r\n    export enum StatusEnum {\r\n        Active = <any> 'active',\r\n        Cancelled = <any> 'cancelled',\r\n        Redeemed = <any> 'redeemed',\r\n        NotIssued = <any> 'notIssued'\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/client-api/ValidateBarcodesAPi/model/ValidatedKitBarcode.ts","import { NgModule, ModuleWithProviders } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { ToolbarComponent } from './toolbar/toolbar.component';\r\nimport { NavbarComponent } from './navbar/navbar.component';\r\nimport { PageNotFoundComponent } from './page-not-found/page-not-found.component';\r\n\r\n/**\r\n * Do not specify providers for modules that might be imported by a lazy loaded module.\r\n */\r\n\r\n@NgModule({\r\n  imports: [CommonModule, RouterModule],\r\n  declarations: [ToolbarComponent, NavbarComponent, PageNotFoundComponent],\r\n  exports: [ToolbarComponent, NavbarComponent,\r\n    CommonModule, FormsModule, RouterModule, PageNotFoundComponent]\r\n})\r\nexport class MyDNACoreModule {\r\n  static forRoot(): ModuleWithProviders {\r\n    return {\r\n      ngModule: MyDNACoreModule,\r\n      providers: []\r\n    };\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/core/mydna-core.module.ts","import { Component } from '@angular/core';\r\nimport { environment } from './../../../environments/environment';\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'sd-navbar',\r\n  templateUrl: 'navbar.component.html',\r\n  styleUrls: ['navbar.component.css'],\r\n})\r\nexport class NavbarComponent {\r\n  enableConsumerRegistrationModule: boolean;\r\n  enableAppConferenceModule: boolean;\r\n  constructor() {\r\n    this.enableConsumerRegistrationModule = environment.enableConsumerRegistrationModule;\r\n    this.enableAppConferenceModule = environment.enableAppConferenceModule;\r\n  }\r\n }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/core/navbar/navbar.component.ts","import { Component } from '@angular/core';\r\n\r\n/**\r\n * This class represents the navigation bar component.\r\n */\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-page-not-found',\r\n  templateUrl: 'page-not-found.component.html',\r\n  styleUrls: ['page-not-found.component.css'],\r\n})\r\nexport class PageNotFoundComponent { }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/core/page-not-found/page-not-found.component.ts","import { Component } from '@angular/core';\r\n\r\n/**\r\n * This class represents the toolbar component.\r\n */\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'sd-toolbar',\r\n  templateUrl: 'toolbar.component.html',\r\n  styleUrls: ['toolbar.component.css']\r\n})\r\nexport class ToolbarComponent { }\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/core/toolbar/toolbar.component.ts","import { Component } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport { Step, Steps, StepWorkflow } from '../steps';\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-breadcrumb',\r\n  template: `\r\n    <div class=\"row\">\r\n      <nav class=\"progress_bar\">\r\n        <div class=\"container\">\r\n          <ul class=\"nav nav-pills pull-right\">\r\n            <li role=\"presentation\" *ngFor=\"let step of steps; let i = index\"\r\n                [class.progress_dot_active]=\"step.view === currentStep\"\r\n                [class.progress_dot]=\"step.view !== currentStep\"\r\n                ><span>{{i+1}}</span>{{step.label}}</li>\r\n          </ul>\r\n        </div>\r\n      </nav>\r\n    </div>\r\n  `\r\n})\r\n\r\nexport class BreadcrumbComponent {\r\n\r\n  currentStep: string;\r\n  steps: Step[];\r\n  constructor(\r\n    registrationService: RegistrationService,\r\n    stepsService: Steps\r\n  ) {\r\n    this.steps = stepsService.getWorkflow().steps.filter(s => s.display);\r\n    this.currentStep = stepsService.mykit.view;\r\n    registrationService.navigator.subscribe(step => {\r\n      this.currentStep = step;\r\n    });\r\n    stepsService.workflow.subscribe(wf => {\r\n      this.steps = wf.steps.filter(s => s.display);\r\n    });\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/breadcrumb/breadcrumb.component.ts","import { Component, OnInit } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\n\r\n/**\r\n * This class represents the lazy loaded AboutComponent.\r\n */\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-confirmation-step',\r\n  templateUrl: 'confirmation-step.component.html',\r\n  styleUrls: ['confirmation-step.component.css']\r\n})\r\nexport class ConfirmationStepComponent {\r\n\r\n  e2eIds: string;\r\n\r\n  constructor(public registrationService : RegistrationService) {\r\n    this.e2eIds = this.registrationService.getE2ETestIds();\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/confirmation-step/confirmation-step.component.ts","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport { NgForm } from '@angular/forms';\r\n\r\n@Component({\r\n    moduleId: module.id,\r\n    selector: 'mydna-customerreg-consent-step',\r\n    templateUrl: './consent-step.component.html',\r\n    styleUrls: ['./consent-step.component.css'],\r\n\r\n})\r\nexport class ConsentStepComponent {\r\n\r\n  @ViewChild('f') public myForm: NgForm;\r\n  termsConditionsURL: string;\r\n  privacyPolicyURL: string;\r\n  isConsent = true;\r\n  showMarketingConsent = false; // remove marketing consent as part of NKPS-347.\r\n  showErrors = false;\r\n  kitCountryIso2Code: string;\r\n  consentReference: string;\r\n\r\n  constructor(public registrationService: RegistrationService) {\r\n    this.kitCountryIso2Code = this.registrationService.data.kitCountryIso2Code.toUpperCase();\r\n\r\n    switch(this.kitCountryIso2Code) {\r\n      case 'CA': {\r\n        this.termsConditionsURL = 'https://www.mydna.life/en-ca/terms-conditions-2/';\r\n        this.privacyPolicyURL = 'https://www.mydna.life/en-ca/privacy-policy-2/';\r\n        break;\r\n      }\r\n      case 'BE':\r\n      case 'GB': {\r\n        this.termsConditionsURL = 'https://www.mydna.life/en-uk/terms-conditions-3/';\r\n        this.privacyPolicyURL = 'https://www.mydna.life/en-uk/privacy-policy-3/';\r\n        break;\r\n      }\r\n      case 'US': {\r\n        this.termsConditionsURL = 'https://www.mydna.life/en-us/us-terms-conditions/';\r\n        this.privacyPolicyURL = 'https://www.mydna.life/en-us/us-privacy-policy/';\r\n        break;\r\n      }\r\n      default: {\r\n        this.termsConditionsURL = 'https://www.mydna.life/terms-conditions/';\r\n        this.privacyPolicyURL = 'https://www.mydna.life/privacy-policy/';\r\n        break;\r\n      }\r\n    }\r\n\r\n    const config = this.registrationService.data.product.config;\r\n\r\n    this.consentReference = config.consentReference || this.kitCountryIso2Code;\r\n    if (config.registrationWorkflow === 'CW-WR') {\r\n      this.consentReference = 'CW-WR';\r\n    }\r\n    if (this.kitCountryIso2Code === 'BE') {\r\n      this.consentReference = 'GB';\r\n    }\r\n  }\r\n\r\n  navigate() {\r\n      this.showErrors = false;\r\n      this.isConsent = true; // removed marketing consent as part of NKPS-347, setting isConsent = true.\r\n      this.registrationService.setMarketingConsent(this.isConsent);\r\n\r\n      if (this.myForm.valid) {\r\n          this.registrationService.nextPage();\r\n      } else {\r\n          this.showErrors = true;\r\n      }\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/consent-step.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-au-terms-conditions',\r\n  template: `<ul>\r\n    <li>I am 18 years of age or older, and any sample I provide is either my DNA, or the DNA of a person for whom I am a parent or legal guardian, or have obtained legal \r\n      authorisation to provide their DNA to myDNA.</li>\r\n    <li>myDNA will extract my DNA from the sample (a cheek swab) provided to perform genetic testing. In some cases, an additional sample may be required if the volume or \r\n      quality of the sample is not adequate.</li>\r\n    <li>myDNA will securely store my DNA sample indefinitely. I can formally request for my sample to be destroyed at any time.</li>\r\n    <li>myDNA will initially interpret and provide a personalised report only for the myDNA test(s) requested by me and/or my healthcare professional.</li>\r\n    <li>In the future, when new genetic testing or reporting is available, myDNA may perform additional testing on my sample. myDNA may communicate with me about new genetic \r\n      findings and offer me the opportunity for further testing and analysis. I will be able to opt out of receiving further genetic information at any time. </li>\r\n    <li>myDNA will confidentially disclose the myDNA Medication report results of the test(s) I have requested to my authorised healthcare professional.</li>\r\n    <li>The details of my healthcare professional have been provided in order for myDNA to commence analysis and produce my myDNA Medication report(s). </li>\r\n    <li>The myDNA Medication reports will be delivered to me by my nominated healthcare professional.</li>\r\n    <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third parties including my insurance company and employer. </li>\r\n    <li>Life insurance companies may request that I provide them with copies of any genetic test results known to me. myDNA focuses on lifestyle genetics and the majority \r\n      of the genes analysed are unrelated to disease risk and should not have implications for life insurance. A small number of the genes analysed for health and wellness \r\n      may be associated with disease risk. I understand that if I am concerned about this, I may want to consider my life insurance situation before having the myDNA test. </li>\r\n    <li>myDNA may analyse my deidentified results for evaluation, research and marketing purposes.</li>\r\n    <li>myDNA will make my results available to me on a secure online portal.</li>\r\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA \r\n      scientific team. Anything that falls out of this scope will not be reviewed or reported.</li>\r\n    <li>The myDNA report may not cover all medications/nutritional supplements that I may be taking.</li>\r\n    <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\r\n    <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\r\n    <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on <a href=\"tel:1300 436 373\">1300 436 373</a> to speak with a genetic expert.</li>\r\n    <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\r\n  </ul>`,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsAuConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.au.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-ca-terms-conditions',\r\n  template: `\r\n    <h4>What myDNA Life does:</h4>\r\n    <ol>\r\n      <li>myDNA Life is a genetic interpretation company that provides personalised DNA reports to help you make more informed health and wellness decision;</li>\r\n      <li>myDNA Life will extract DNA from the sample (a cheek swab) provided to perform DNA testing. In some cases, an additional sample may be required if the volume or quality\r\n        of the sample is not adequate;</li>\r\n      <li>myDNA Life will initially interpret and provide a personalised report only for the myDNA Life test(s) you and/or your healthcare professional requested;</li>\r\n      <li>myDNA will make your results available to you on a secure online portal;</li>\r\n      <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific\r\n        team. Anything that falls out of this scope will not be reviewed or reported;</li>\r\n      <li>For more detailed information on the genes we test for and the scientific studies please visit www.myDNA.lifeWhat myDNA Life does not do:</li>\r\n      <li>The information supplied to you does replace any information provided by a healthcare professional or practitioner. myDNA does not undertake DNA testing specifically\r\n        relating to diseases, disease risk or cancer.</li>\r\n      <li>If you have any specific concerns related to your own personal health then please consult with a qualified physician, doctor or genetic counsellor.</li>\r\n      <li>The myDNA report may not cover all medications/nutritional supplements that you may be taking.Data processing and protection</li>\r\n      <li>MyDNA Life will take reasonable measures to keep your information safe in accordance with the principles under the EU General Data Protection Regulation (GDPR) as a\r\n        minimum standard. All users, not just those in the EU, will have the same data privacy rights. We expect our contracted third-party processors to meet the same level of\r\n        protection and where we interact with users, partners and service providers in other territories. MyDNA ensures we meet our data protection requirements and obligations\r\n        in Canada and globally.</li>\r\n      <li>Your information will only be shared with third parties contracted to undertake necessary processing on behalf of MyDNA Life. Our third parties regardless of territory\r\n        will be contractually committed to comply with our policies and data protection obligations. We will maintain control of data shared with our third-party service providers\r\n        and will not permit them to further use your information for any other purpose than as instructed by us.</li>\r\n      <li>We will ask you to give us personal information as detailed in the Privacy Policy for account registration, user verification and service delivery. We rely on the\r\n        accuracy of information and while we do our best to ensure the information we hold is up to date, we ask that you contact us if any of your information changes.</li>\r\n      <li>Your reports and genetic data will be treated as your property and will never be disclosed or shared with third parties including your insurance company and\r\n        employer.</li>\r\n      <li>Your information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\r\n      <li>Your healthcare provider will collect personal health information from you and from its patient files and will disclose that information to myDNA through myDNA’s secure\r\n        electronic online system including: My name, address, phone number, email address, date of birth, gender.</li>\r\n    </ol>\r\n    <h4>Additional Testing or Reporting.</h4>\r\n    <ol start=\"16\">\r\n      <li>In the future, when new genetic testing or reporting is available, with your consent, myDNA may perform additional testing on your sample.</li>\r\n      <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving\r\n        further genetic information at any time. I may withdraw my consent at any time.</li>\r\n      <li>myDNA may analyse your deidentified results for evaluation, research and marketing purposes.Deletion</li>\r\n      <li>Your personal and genetic information will be stored on our secure database all the time your account remains active or until such a time that we decide it is no longer\r\n        required. You may request for us to close your account at any time and request for your data to be deleted.</li>\r\n      <li>Accounts will be closed within 30 days upon request. All Genetic Information will be deleted from your account and the MyDNA Life database except data required to meet\r\n        legal or regulatory obligations. You may request details on the data that we must retain.</li>\r\n    </ol>\r\n    <h4>Children’s privacy</h4>\r\n    <ol start=\"21\">\r\n      <li>This service is not intended for or directed to persons under the age of 18.</li>\r\n      <li>By clicking that you consent, you consent that you are 18 years of age or older, and any sample you provide is either your DNA, or the DNA of a person for whom you are\r\n        a parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\r\n    </ol>\r\n    <h4>Further information</h4>\r\n    <ol start=\"23\">\r\n      <li>You have been offered the opportunity to ask questions and you are aware you can contact myDNA at <a href=\"mailto:help@mydna.life\">help@mydna.life</a> or on\r\n        <a href=\"tel:1-844-472-7896\">1-844-472-7896</a> to speak with a genetic expert.</li>\r\n  </ol>`,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsCaConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.ca.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-cwwr-terms-conditions',\r\n  template: `\r\n    <h3>myDNA Wellness Revolution DNA Study Promotion<br>\r\n      TERMS AND CONDITIONS<br>\r\n    </h3>\r\n    <p>1.\tInformation on how to participate, the use of data and sharing of results form part of these terms and conditions <b>(Terms and Conditions)</b>.  \r\n        Participation in the Study is deemed acceptance of these Terms and Conditions. </p>\r\n    <p>2.\tThe promoters are My DNA Life Australia Pty Ltd of Level 13, 9 Yarra Street, South Yarra VIC 3141, ABN 18 125 639 394 <b>(Promoter)</b>.</p>\r\n    <h4>The Study</h4>\r\n    <p>3.\tThe Study commences at 8am AEST on Monday 3rd September, 2018 and closes at 5pm AEST on Thursday 25th October, 2018 <b>(Study Period)</b>.</p>\r\n    <p>4.\tEligible participants will receive a free Chemist Warehouse Nutrition and Fitness Test Kit for the Wellness Revolution DNA Study Promotion <b>(Study)</b> during the \r\n      Promotion Period.</p>\r\n    <p>5.\tParticipation in the Study is limited to one test kit per Eligible Participant.</p>\r\n    <p>6.\tTo participate in the Study, participants must complete the registration process, including agreeing to have their results shared as Study Results and \r\n      provide a DNA sample to the Promoters by October 31st, 2018 <b>(Closing Date)</b>.</p>\r\n    <h4>Study Results</h4>\r\n    <p>7. Participants agree that the Promoters may generate de-identified, aggregated data (Study Results) to be used and shared for any business purpose during or after \r\n      the Study Period (including, without limitation, to develop and improve the Promoters’ products and services and to create and distribute reports and other materials). \r\n      Subject to clause 17, any external use, sharing or publication of Study Data by the Promoters will be anonymous, and the Promoters will, to the extent reasonably possible, \r\n      ensure that individual participants cannot be identified by the Study Results.</p>\r\n    <p>8.\t After the Study Results have been aggregated and analysed, any learnings deemed of public interest by the Promoter can be promoted to the public at large through \r\n      mediums such as, but not limited to, online channels and traditional media.</p>\r\n    <p>9.\tDNA samples received after the Closing Date will not be included in the Study Results.</p>\r\n    <p>10.\tParticipants can only participate and register for the Study in their own name and in their own capacity. Participation and/or registration cannot be undertaken for \r\n      or on behalf of any other person or organisation.\r\n    <p>11.\tThe Promoters reserve the right to exclude participants’ data from the Study Results if, in their sole discretion, they consider the participant did not participate \r\n      in the Study in accordance with these Terms and Conditions, including but not limited to duplicate entries and tampering of the swab provided.\r\n    </p>\r\n    <h4>Participation</h4>\r\n    <p>12.\tParticipation in the Study is open to Australian residents aged 18 years or over <b>(Eligible Participant)</b>.</p>\r\n    <p>13.\tThe Promoters reserve the right to request participants provide proof of age, identity and residency prior to receiving the kit. The Promoters may determine, in \r\n      their sole discretion, what form of identification is suitable for verification.</p>\r\n    <h5>Study Followup</h5>\r\n    <p>14. A list of all participants who participate in the Study will be generated.</p>\r\n    <p>15. Participants agree that the Promoters may contact participants to discuss their results or survey submission and to solicit content for case studies, as part of the \r\n      Study Followup. This agreement does not constitute an obligation for participants’ data to be used for case studies.</p>\r\n    <p>16. Involvement in the Study Follow-up is voluntary. All participants who agree to be involved in the Study Followup consent to the Promoters and their agents using the \r\n      participants’ name, personal results, image, likeness and/or voice in promotional and other material, without compensation, for the purpose of promoting this Study \r\n      (including any outcome), and promoting any products manufactured, distributed and/or supplied by the Promoters.</p>\r\n    <h4>Exclusion of liability</h4>\r\n    <p>17.\tTo the extent permitted by law, the Promoters (including each of their officers, employees and agents) will not be liable for any loss, damage or personal injury \r\n      (including liability in negligence) or any loss of opportunity whether direct, indirect, special or consequential arising in any way out of the participant’s \r\n      participation in the Study.</p>\r\n    <p>18.\tExcept for any liability which cannot be excluded by law, the Promoters:</p>\r\n    <ul>\r\n      <li>are not responsible for any problems or technical malfunction of any telephone network or lines, computer on line systems, servers, or providers, computer\r\n        equipment, software, technical problems or traffic congestion on any computer system or at any website, or any combination thereof in connection with this Study;</li>\r\n      <li>accept no responsibility for any incorrect or inaccurate information, either caused by users or by any of the equipment or programming associated with or\r\n        utilised in connection with this Study, or by any technical error that may occur in the course of this Study; and </li>\r\n      <li>accept no responsibility for missed opportunities for Eligible Participants to participate in the Study.</li>\r\n    </ul>\r\n    <h4>Intellectual Property</h4>\r\n    <p>19.\tBy uploading, commenting or otherwise making available on any website or online platform any content in connection with the Study, each participant grants to the \r\n      Promoters a non-exclusive, worldwide, royalty free, perpetual licence to use, publish, reproduce and otherwise exploit that content in any form for any purpose. Each \r\n      participant acknowledges that any intellectual property rights created by them in taking part in this Study vest in the Promoters upon creation.  To the extent any o\r\n      wnership does not vest in the Promoters, they assign all intellectual property rights (if any) as a result of this Study.  Each participant unconditionally, perpetually \r\n      and irrevocably waives any moral rights (as defined in the Copyright Act 1968 (Cth)) that they have in any content or other intellectual property created as a result \r\n      of this Study.</p>\r\n    <p>20. Clause 20 is not intended to constitute a claim of ownership or intellectual property rights over participants’ DNA samples or genetic data.</p>\r\n    <p>21.\t“Intellectual property rights” means all present and future intellectual and industrial property rights throughout the world, including (but not limited to) all \r\n      rights in respect of copyright in all literary works, artistic works, any other works or subject matter in which copyright subsists and may in the future subsist.</p>\r\n    <h4>Privacy and publicity</h4>\r\n    <p>22. By participating in this Study, each participant understands and agrees that the Promoters and their related entities may use and disclose the information provided by \r\n      them in relation to this Study for the purpose of conducting this Study and for any of the purposes set out in the Promoter's privacy policy, which is available at\r\n      <a target=\"_blank\" href=\"https://www.mydna.life/privacy-policy/\">https://www.mydna.life/privacy-policy/</a>.</p>\r\n    <p>23.\tA participant can request to access, update or correct any personal information held about them by the Promoters by writing to the Customer Service Team at \r\n      1501/9 Yarra Street, South Yarra, Victoria 3141.</p>\r\n    <h4>Termination</h4>\r\n    <p>24.\tIn the event of war, terrorism, state of emergency, venue unavailability or disaster and other events outside the Promoters’ reasonable control, the Promoter \r\n      reserves the right to cancel, terminate, modify or suspend the Study, subject to State regulation.</p>\r\n    <p>25.\tIf for any reason this Study is not capable of running as planned (including but not limited to) infection by computer virus, website unavailability, network\r\n      failure, bugs, tampering, unauthorised intervention, fraud, technical failures or any other cause beyond the control of the Promoters which corrupts or affects the \r\n      administration, security, fairness, integrity or proper conduct of this Study, the Promoters reserve the right in their sole discretion \r\n      (subject to State regulation) to cancel, terminate, modify or suspend the Study.</p>\r\n    <h4>Consumer law</h4>\r\n    <p>26.\tNothing in these Terms and Conditions limits, excludes or modifies or purports to limit, exclude or modify the statutory consumer guarantees as provided under the \r\n      Competition and Consumer Act 2010 (Cth), as well as any other implied warranties under consumer protection laws in the State and Territories of Australia.</p>\r\n  `\r\n})\r\nexport class TermsCWWRConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.cwwr.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-generic-terms-conditions',\r\n  template: `<ul>\r\n    <li>That I am 18 years of age or older, and that any sample I provide is either my DNA, or the DNA of a person for whom I am a parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\r\n    <li>myDNA will interpret and provide a personalised report only for the myDNA test(s) requested by me and/or my healthcare professional.</li>\r\n    <li>If required, the details of my healthcare professional have been provided in order for myDNA to commence analysis and produce certain report(s).</li>\r\n    <li>myDNA will extract my DNA from the sample (a cell check swab) provided to perform genetic testing. In some cases, an additional sample may be required if the volume or quality of the sample is not adequate.</li>\r\n    <li>myDNA will confidentially disclose the myDNA Medication report results of the test(s) I have requested to my authorised healthcare professional.</li>\r\n    <li>myDNA will securely store my DNA sample indefinitely. In the future, when new genetic testing or reporting is available, myDNA may perform additional testing with my consent.</li>\r\n    <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third parties including my insurance company and employer. I can formally request for my sample to be destroyed at any time.</li>\r\n    <li>The myDNA Medication reports will be delivered to me by my nominated healthcare professional.</li>\r\n    <li>myDNA may analyse my deidentified results for evaluation, research and marketing purposes.</li>\r\n    <li>That myDNA will make my results available to me on the secure* myDNA Explore* online portal.</li>\r\n    <li>In the future, myDNA may communicate with me about new genetic findings and offer the opportunity for further testing and analysis.</li>\r\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific team. Anything that falls out of this scope will not be reviewed or reported.</li>\r\n    <li>myDNA does not assess any genes related to disease risk or diagnostics. My results should not have implications for any insurance policy.</li>\r\n    <li>That the myDNA report may not cover all medications/nutritional supplements that I may be taking.</li>\r\n    <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\r\n    <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\r\n    <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on <a href=\"tel:1300 436 373\">1300 436 373</a> to speak with a genetic expert.</li>\r\n    <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\r\n    </ul>`,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsGenericConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.generic.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-habit-terms-conditions',\r\n  template: `<ul>\r\n    <li>I am 18 years of age or older, and any sample I provide is either my DNA, or the DNA of a person for whom I am a parent or legal guardian, or have obtained legal \r\n      authorisation to provide their DNA to myDNA.</li>\r\n    <li>myDNA will extract my DNA from the sample (a cheek swab) provided to perform genetic testing. In some cases, an additional sample may be required if the volume or quality\r\n      of the sample is not adequate.</li>\r\n    <li>myDNA can securely store my DNA sample indefinitely. I can formally request for my sample to be destroyed at any time.</li>\r\n    <li>myDNA will initially interpret and provide a personalised report only for the myDNA test(s) requested by me and/or my healthcare professional.</li>\r\n    <li>myDNA will forward my reports to Pinnacle Ventures and Habit in New Zealand who will contact me or my health provider and pass the report on.lthcare professional.</li>\r\n    <li>In the future, when new genetic testing or reporting is available, myDNA can perform additional testing on my sample if I request them. myDNA and Habit may communicate\r\n      with me about new genetic findings and offer me the opportunity for further testing and analysis. I will be able to opt out of receiving further genetic information at any\r\n      time.</li>\r\n    <li>The myDNA Medication reports will be delivered to me by an associated provider, Pinnacle Ventures, via one of their GPs.</li>\r\n    <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third parties including my insurance company and employer.</li>\r\n    <li>Life insurance companies may request that I provide them with copies of any genetic test results known to me. myDNA focuses on lifestyle genetics and the majority of the\r\n      genes analysed are unrelated to disease risk and should not have implications for life insurance. A small number of the genes analysed for health and wellness may be\r\n      associated with disease risk. I understand that if I am concerned about this, I may want to consider my life insurance situation before having the myDNA test.</li>\r\n    <li>myDNA, Pinnacle Ventures and Habit may analyse my deidentified results for evaluation, research and marketing purposes.</li>\r\n    <li>myDNA, Pinnacle Ventures and Habit will make my results available to me on a secure online portal and if requested will attach or incorporate them into my health record\r\n      via my GP.</li>\r\n    <li>If my health record is stored within indici (a patient management software) then I will also be able to access my PGX report directly through my indici portal.</li>\r\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific\r\n      team. Anything that falls out of this scope will not be reviewed or reported.</li>\r\n    <li>The myDNA report may not cover all medications/nutritional supplements that I may be taking.</li>\r\n    <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\r\n    <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy.</li>\r\n    <li>All samples and data are help anonymously by myDNA in Australia, identifiable information is only held by Habit and Pinnacle Ventures in New Zealand.</li>\r\n    <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on 1300 436 373 to speak with a genetic expert.</li>\r\n    <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\r\n  </ul>\r\n  <h4>Terms of Use</h4>\r\n  <p>Thank you for visiting the mydna.life web site (the “Site”). myDNA.life is a leading provider of genetic and pharmacogenomic services: a retail store and information Site\r\n    for genetic testing. Accessible 24 hours a day, 7 days a week, the myDNA.life online store offers an easy and convenient method of purchasing the myDNA test kit online,\r\n    along with related health information.</p>\r\n  <p>By using the Site you agree to be bound by the following terms and conditions. Please read them carefully. Your usage of the Site indicates your acceptance of these terms\r\n    and conditions. Your placement of an order also indicates your acceptance of these terms and conditions.</p>\r\n  <h4>Applicable Law</h4>\r\n  <p>As far as legally possible this Agreement, its terms and conditions and the use of this Site shall be governed by the laws in existence from time to time in Australia and\r\n    New Zealand. Any claim relating to the Site, the services provided through the Site or the Content shall be governed by the internal laws of the state of Victoria and you\r\n    agree to submit to having the matter dealt with in a court in Melbourne in the state of Victoria Australia.</p>`,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsHabitConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.habit.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-pinnacle-terms-conditions',\r\n  template: `<h4>INFORMED CONSENT</h4>\r\n      <p>myDNA is an Australian based expert gene interpretation service that assesses your genetic profile and produces\r\n        personalised Medication, Nutrition & Wellness reports. The myDNA reports provide insights that enable you and your\r\n        health professionals to make more informed health and wellness decisions.</p>\r\n      <p>Ventures is part of the Pinnacle Group, a group of not for profit companies providing GP and community-based\r\n        services across New Zealand for around 1 million New Zealander’s.</p>\r\n      <p>Before submitting your DNA sample for testing you agree and consent to the following:</p>\r\n      <ul>\r\n        <li>I am 18 years of age or older, and any sample I provide is either my DNA, or the DNA of a person for whom I am\r\n          a parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\r\n        <li>My sample will be posted to the MyDNA lab in Melbourne Australia.</li>\r\n        <li>myDNA will extract DNA from the sample (a cheek swab) provided to perform genetic testing. In some cases, an\r\n          additional sample may be required if the volume or quality of the sample is not adequate.</li>\r\n        <li>myDNA can securely store my DNA sample indefinitely in Australia. I can formally request for my sample to be\r\n          destroyed at any time.</li>\r\n        <li>myDNA will initially interpret and provide a personalised report only for the myDNA test(s) requested by me\r\n          and/or my healthcare professional.</li>\r\n        <li>MyDNA will forward my reports to Ventures in New Zealand who will contact me or my health provider to make the\r\n          report available.</li>\r\n        <li>In the future, when new genetic testing or reporting is available, myDNA can perform additional testing on my\r\n          sample if I request them. MyDNA and Ventures may communicate with me about new genetic findings and offer me the\r\n          opportunity for further testing and analysis. I will be able to opt out of receiving further genetic information\r\n          at any time.</li>\r\n        <li>The myDNA Ventures Medication reports will be delivered to me by Ventures, either via one of their GPs or they\r\n          will liaise with my nominated GP.</li>\r\n        <li>My reports and genetic data will be treated as my property and will never be disclosed or shared with third\r\n          parties including my insurance company and employer.</li>\r\n        <li>Life insurance companies may request that I provide them with copies of any genetic test results known to me.\r\n          myDNA and Ventures focuses on lifestyle genetics and the majority of the genes analysed are unrelated to disease\r\n          risk and should not have implications for life insurance. A small number of the genes analysed for health and\r\n          wellness may be associated with disease risk. I understand that if I am concerned about this, I may want to\r\n          consider my life insurance situation before having the myDNA test.</li>\r\n        <li>myDNA and Ventures may analyse my deidentified results for evaluation, research and marketing purposes.</li>\r\n        <li>myDNA and Ventures will make my results available to me on a secure online portal and if requested will attach\r\n          or incorporate them into my health record via my GP using a secure health sector standard transmission method.\r\n        </li>\r\n        <li>Ventures will store my medication report and any other health information discussed in any Ventures\r\n          consultation securely in a New Zealand-based electronic health record system (indici) which will also allow the\r\n          Ventures GP and/or my nominated GP to view my report, advise me about my report and make future prescribing\r\n          recommendations out of the report. It will also allow Ventures to send my report and any relevant consultation\r\n          information securely to my main health record via my GP, or to other health professionals who are directly\r\n          involved in my care</li>\r\n        <li>In order to ensure that Ventures are matching my medication report correctly with my health record they will\r\n          need to access my records in the New Zealand National Health Index (NHI) database</li>\r\n        <li>If my health record is stored within indici then I will also be able to access my Medication report directly\r\n          through my indici portal</li>\r\n        <li>myDNA and Ventures will only report on actionable genetic findings that have a high degree of scientific\r\n          credibility which have been reviewed and signed off by the myDNA scientific team and or the Ventures Clinical\r\n          Governance Team. Anything that falls out of this scope will not be reviewed or reported.</li>\r\n        <li>The myDNA and Ventures report may not cover all medications/nutritional supplements that I may be taking.</li>\r\n        <li>All data and any results generated are held confidentially within a secure data protection protocol.</li>\r\n        <li>My information and results will be kept in strict accordance with the myDNA Privacy Policy and the Pinnacle\r\n          Ventures Group Privacy Policy - and according to the rules of the New Zealand Health Information Privacy Code\r\n          1994</li>\r\n        <li>I have been offered the opportunity to ask questions and am aware I can contact myDNA on +613 436 373 to speak\r\n          with a genetic expert or email <a href=\"mailto:dna@ventures.health.nz\">dna@ventures.health.nz</a> for a\r\n          conversation with a New Zealand health provider </li>\r\n        <li>In some circumstances, your test report may be emailed to your treating clinician, unencrypted.</li>\r\n        <li>We respect your cultural beliefs. You may hold beliefs about a sacred and shared value of all or any samples\r\n          collected. The tikanga/cultural expectations associated with storing your samples and/or sending your samples\r\n          overseas should be discussed with your family/whanau as appropriate. There are a range of views held by Māori\r\n          around these issues – however it is acknowledged that individuals have the right to choose. If you change your\r\n          mind later, just let us know, and we will appropriately dispose of your sample.</li>\r\n      </ul>\r\n      <h4>TERMS OF USE</h4>\r\n      <p>Thank you for visiting the mydna.life web site (the “Site”). myDNA.life is a leading provider of genetic and\r\n        pharmacogenomic services: a retail store and information Site for genetic testing. Accessible 24 hours a day, 7\r\n        days a week, the myDNA.life online store offers an easy and convenient method of purchasing the myDNA test kit\r\n        online, along with related health information.</p>\r\n      <p>By using the Site you agree to be bound by the following terms and conditions. Please read them carefully. Your\r\n        usage of the Site indicates your acceptance of these terms and conditions. Your placement of an order also\r\n        indicates your acceptance of these terms and conditions.</p>\r\n      <h4>APPLICABLE LAW</h4>\r\n      <p>As far as legally possible this Agreement, its terms and conditions and the use of this Site shall be governed by\r\n        the laws in existence from time to time in Australia and New Zealand. Any claim relating to the Site, the services\r\n        provided through the Site or the Content shall be governed by the internal laws of the state of Victoria and you\r\n        agree to submit to having the matter dealt with in a court in Melbourne in the state of Victoria Australia.</p>`,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsPinnacleConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.pinnacle.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-research-terms-conditions',\r\n  template: `<h4>INFORMED CONSENT</h4>\r\n      <p>I am a study investigator/research assistant registering this patient for pharmacogenomic testing as part of a research study. I confirm the patient has already signed the approved study consent forms.</p>\r\n      <p>I have informed the research subject that their test report, in some circumstances, maybe sent to me via an unencrypted email, and they have acknowledged this and consented. </p>\r\n      `,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsResearchConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.research.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-uk-terms-conditions',\r\n  template: `<h4>What myDNA Life does:</h4>\r\n    <ul>\r\n      <li>myDNA Life is a genetic interpretation company that provides personalised DNA reports to help you make more informed health and wellness decision;\r\n    <li>myDNA Life will extract DNA from the sample (a cheek swab) provided to perform DNA testing. In some cases, an additional sample may be required if the volume or \r\n      quality of the sample is not adequate;</li>\r\n    <li>myDNA Life will initially interpret and provide a personalised report only for the myDNA Life test(s) you and/or your healthcare professional requested;\r\n    <li>myDNA will make your results available to you on a secure online portal;</li>\r\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA \r\n      scientific team. Anything that falls out of this scope will not be reviewed or reported;</li>\r\n    <li>For more detailed information on the genes we test for and the scientific studies please visit www.myDNA.life</li>\r\n    </ul>\r\n\r\n  <h4>What myDNA Life does not do:</h4>\r\n  <ul>\r\n    <li>The information supplied to you does replace any information provided by a healthcare professional or practitioner. myDNA does not undertake DNA testing specifically \r\n      relating to diseases, disease risk or cancer.</li>\r\n    <li>If you have any specific concerns related to your own personal health then please consult with a qualified physician, doctor or genetic counsellor.</li>\r\n    <li>The myDNA report may not cover all medications/nutritional supplements that you may be taking.</li>\r\n  </ul>\r\n  \r\n  <h4>Data processing and protection</h4>\r\n  <ul>\r\n    <li>MyDNA Life being a registered organisation in the United Kingdom will take reasonable measures to keep your information safe in accordance with the principles under \r\n      the EU General Data Protection Regulation (GDPR) as a minimum standard. We expect our contracted third-party processors to meet the same level of protection and where we \r\n      interact with users, partners and service providers in other territories, we will observe other global data protection requirements provided we continue to meet our \r\n      obligations under GDPR.</li>\r\n    <li>Your information will only be shared with third parties contracted to undertake necessary processing on behalf of MyDNA Life and may take place in or outside the EU. \r\n      Our third parties regardless of territory will be contractually committed to comply with our policies and data protection obligations. We will maintain control of data \r\n      shared with our third-party service providers and will not permit them to further use your information for any other purpose than as instructed by us.</li>\r\n    <li>We will ask you to give us personal information as detailed in the <a href=\"https://www.mydna.life/en-uk/privacy-policy-3/\" target=\"_blank\">Privacy Policy</a> for account \r\n    registration, user verification and service delivery. We rely on the accuracy of information and while we do our best to ensure the information we hold is up to date, we ask \r\n    that you contact us if any of your information changes.</li>\r\n    <li>Your reports and genetic data will be treated as your property and will never be disclosed or shared with third parties including your insurance company and employer.\r\n    <li>Your information and results will be kept in strict accordance with the myDNA <a href=\"https://www.mydna.life/en-uk/privacy-policy-3/\" target=\"_blank\">Privacy Policy</a>.\r\n    </li>\r\n  </ul>\r\n  \r\n  <h4>Additional Testing or Reporting</h4>\r\n<ul>\r\n  <li>In the future, when new genetic testing or reporting is available, with your consent, myDNA may perform additional testing on your sample.</li>\r\n    <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving further \r\n      genetic information at any time.</li>\r\n    <li>myDNA may analyse your deidentified results for evaluation, research and marketing purposes.</li>\r\n  </ul>\r\n    <h4>Deletion</h4>\r\n  <ul>\r\n    <li>Your personal and genetic information will be stored on our secure database all the time your account remains active or until such a time that we decide it is no longer \r\n      required. You may request for us to close your account at any time and request for your data to be deleted.</li>\r\n    <li>Accounts will be closed within 30 days upon request. All Genetic Information will be deleted from your account and the MyDNA Life database except data required to meet \r\n      legal or regulatory obligations. You may request details on the data that we must retain.</li>\r\n  </ul>\r\n\r\n    <h4>Children’s privacy</h4>\r\n    <ul>\r\n    <li>This service is not intended for or directed to persons under the age of 18.</li>\r\n    <li>By clicking that you consent, you consent that you are 18 years of age or older, and any sample you provide is either your DNA, or the DNA of a person for whom you are a \r\n      parent or legal guardian, or have obtained legal authorisation to provide their DNA to myDNA.</li>\r\n    </ul>\r\n    <h4>Further information</h4>\r\n    <ul>\r\n    <li>You have been offered the opportunity to ask questions and you are aware you can contact myDNA on 0808 189 0079 to speak with a genetic expert.</li>\r\n    </ul>`,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsUkConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.uk.component.ts","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'mydna-usa-terms-conditions',\r\n  template: `<p>myDNA is a value based organization. Consistent with two of our values “Your Trusted Partner” and “Accountable to You”, we want to be transparent about how we use the information you provide to us to help you make better heath, wellness and lifestyle decisions.<p>\r\n  <p>Privacy and data security are fundamental to how myDNA operates and we take it very seriously.</p>\r\n  <p>Before submitting your DNA sample for testing with MyDNA Life (“myDNA”) we require your clear affirmative consent, which must be freely given, specific, informed and unambiguous.</p>\r\n  <h3>Last modified date</h3>\r\n  <p>31st January 2019</p>\r\n  <h3>What myDNA does:</h3>\r\n  <ul>\r\n    <li>myDNA is a genetic interpretation company that provides personalized DNA reports to help you make more informed health and wellness decisions.</li>\r\n    <li>myDNA will extract DNA from the sample (a cheek swab) provided to perform DNA testing. In some cases, an additional sample may be required if the volume or quality of the sample is not adequate.</li>\r\n    <li>myDNA will initially interpret and provide a personalized report only for the myDNA test(s) you and/or your healthcare professional requested.</li>\r\n    <li>myDNA will make your results available to you on a secure online portal.</li>\r\n    <li>myDNA will only report on actionable genetic findings that have a high degree of scientific credibility which have been reviewed and signed off by the myDNA scientific team. Anything that falls out of this scope will not be reviewed or reported.</li>\r\n    <li>For more detailed information on the genes we test for and the scientific studies please visit <a href=\"https://www.mydna.life\" target=\"_blank\">www.myDNA.life</a>.</li>\r\n  </ul>\r\n  <h3>What MyDNA Life does not do:</h3>\r\n  <ul>\r\n    <li>The information supplied to you does not replace any information provided by a healthcare professional or practitioner. myDNA does not undertake DNA testing specifically relating to diseases, disease risk or cancer.</li>\r\n    <li>If you have any specific concerns related to your own personal health then please consult with a qualified physician, doctor or genetic counsellor.</li>\r\n    <li>The myDNA report may not cover all medications/nutritional supplements that you may be taking.</li>\r\n  </ul>\r\n  <h3>What to expect</h3>\r\n  <ul>\r\n    <li>You will receive 3 separate emails from myDNA during the process:\r\n      <ol>\r\n        <li>When you register with myDNA.</li>\r\n        <li>When your sample reaches the laboratory.</li>\r\n        <li>When your results are ready. On average this takes approximately 2-3 weeks. You will be able to login to view your results through the myDNA website and app.</li>\r\n      </ol>\r\n    </li>\r\n    <li>Results from this test(s) are treated with complete confidentiality.</li>\r\n  </ul>\r\n  <h3>Additional Testing or Reporting</h3>\r\n  <ul>\r\n    <li>In the future, when new genetic testing or reporting is available, with your consent, myDNA may perform additional testing on your sample.</li>\r\n    <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving further genetic information at any time.</li>\r\n    <li>myDNA may analyze your deidentified results for evaluation, research and marketing purposes.</li>\r\n  </ul>\r\n  <h3>Possible Benefits</h3>\r\n  <p>myDNA Wellness and Nutrition report may help you to set reasonable personal fitness goals, improve your nutrition, or help you to lose weight.</p>\r\n  <p>Scientific credibility is the foundation of myDNA. This integrity is rigorously maintained. myDNA is: </p>\r\n  <h3>Evidence based</h3>\r\n  <ul>\r\n    <li>Worldwide research is evaluated by myDNA’s team of qualified professionals.</li>\r\n    <li>Testing for new genes is only introduced once there is adequate evidence.</li>\r\n    <li>Advice is based on international evidence and peer-reviewed published studies.</li>\r\n  </ul>\r\n  <h3>Led by experts</h3>\r\n  <p>Our clinical team includes genetic scientists, physicians, genetic counsellors, PhD scientists, nutritionists and dietitians that:</p>\r\n  <ul>\r\n    <li>Keep up-to-date with all the latest research and genetic literature.</li>\r\n    <li>Carefully read, evaluate and filter all emerging global evidence.</li>\r\n    <li>Are specialists in their subject matter, such as diet and lifestyle decisions.</li>\r\n    <li>Provide practical recommendations based on the genetic tests results (only myDNA does this).</li>\r\n  </ul>\r\n  <p>myDNA recommend all choices based on myDNA reports are made in consultation with a healthcare professional.</p>\r\n  <h3>Limitations of this Product</h3>\r\n  <ul>\r\n    <li>The myDNA Nutrition Report will identify your results for seven key genes, which have an influence on weight and appetite, fat storage, your risk of elevated triglycerides and your ability to breakdown fat.</li>\r\n    <li>The report includes advice for the most appropriate diet, based on your genetic results. This recommended diet is based on scientific evidence matched to your genetic type.</li>\r\n    <li>The report provides a food guide, your recommended nutritional breakdown and portion sizes based on your genetic profile.</li>\r\n    <li>The report will not provide any ‘silver bullet’ solution to weight management but will provide insights to help you make more informed decisions based on your genes. Lifestyle and environmental factors also play an important role in weight management.</li>\r\n    <li>The report does not provide specific dietary recommendations for coeliacs, diabetics, pregnant/breastfeeding women or people with any other health conditions. We encourage our customers to take the report to an accredited dietitian for such advice.</li>\r\n    <li>The myDNA Fitness Report will identify your results for seven key genes which have an influence on your suitability to endurance sports and sports that require sudden bursts of energy.</li>\r\n    <li>The report will include access to an interactive portal where your combined gene results along with your goals and current fitness level, will allow you to generate a comprehensive tailored workout. Note that variety in training is recommended for all people, regardless of genetic type.</li>\r\n    <li>The exercise recommendations based in the report do not accommodate for existing injuries. We recommend that you consult a healthcare professional or your trainer to check the recommended exercises are suitable for you.</li>\r\n    <li>The report does not factor in any health conditions that you may have, nor is it suitable for pregnant women. We encourage you take the exercise to a relevant specialist for further advice.</li>\r\n  </ul>\r\n  <h3>Possible risks </h3>\r\n  <p>We implement a variety of security measures to maintain the safety of your personal information when you place an order or enter, submit, or access your personal information. We utilize the internationally recognized security software and IT systems to make sure your genetic results will never knowingly be seen by anyone outside of myDNA without your permission. You’re the only person who can access your Wellness & Nutrition reports at www.mydna.life, and it’s your choice to share this information with health professionals – or anyone else.</p>\r\n  <p>You can read about all about the ways we protect your privacy in our <a href=\"https://www.mydna.life/en-us/us-privacy-policy/\" target=\"_blank\">Privacy Policy</a>.</p>\r\n  <p>There is a chance, you could learn something about yourself that you didn’t want to know. Since you share DNA with your blood relatives, these learnings could also affect them. You may want to discuss your options with your doctor, a mental health professional, or a genetic counselor before or after you get your results.</p>\r\n  <p>Under the Genetic Information Nondiscrimination Act (GINA), if you work for a company of 15 or more people, your employer may not ask you about your Genetic Information. They are also barred from using any Genetic Information in hiring or other employment decisions. Your health insurer cannot use genetic testing information in decisions about coverage and health premiums.</p>\r\n  <p>This restriction only applies to employment and health insurance companies. For example, companies that offer life, long-term care, or disability insurance are not covered by GINA. Neither are the US Armed Forces. Some states have safeguards on top of the safeguards in GINA. You should be aware of the laws in your state and be careful with whom you choose to share your Genetic Information. To learn more about how you are and are not protected, check out <a href=\"http://www.ginahelp.org\" target=\"_blank\">www.ginahelp.org</a></p>\r\n  <h3>Use of your Account/Data </h3>\r\n  <p>MyDNA Life will take reasonable measures to keep your information safe in accordance with the principles under the EU General Data Protection Regulation (GDPR) as a minimum standard. All users, not just those in the EU, will have the same data privacy rights. We expect our contracted third-party processors to meet the same level of protection and where we interact with users, partners and service providers in other territories. myDNA ensures we meet our data protection requirements and obligations in USA and globally.</p>\r\n  <p>Your information will only be shared with third parties contracted to undertake necessary processing on behalf of MyDNA Life. Our third parties regardless of territory will be contractually committed to comply with our policies and data protection obligations. We will maintain control of data shared with our third-party service providers and will not permit them to further use your information for any other purpose than as instructed by us.</p>\r\n  <p>We will ask you to give us personal information as detailed in the <a href=\"https://www.mydna.life/en-us/us-privacy-policy/\" target=\"_blank\">Privacy Policy</a> for account registration, user verification and service delivery. We rely on the accuracy of information and while we do our best to ensure the information we hold is up to date, we ask that you contact us if any of your information changes.</p>\r\n  <p>Your reports and genetic data will be treated as your property and will never be disclosed or shared with third parties including your insurance company and employer. </p>\r\n  <p>Your information and results will be kept in strict accordance with the myDNA Privacy Policy.</p>\r\n  <p>We will release your information if myDNA receives valid legal process from a law enforcement or regulatory agency that is operating within its jurisdiction. We will notify of you this release unless we are barred from doing so.</p>\r\n  <h3>Data deletion and/or cancellation</h3>\r\n  <p>Your personal and genetic information will be stored on our secure database all the time your account remains active or until such a time that we decide it is no longer required. You may request for us to close your account at any time and request for your data to be deleted.</p>\r\n  <p>Accounts will be closed within 30 days upon request. All Genetic Information will be deleted from your account and the MyDNA Life database except data required to meet legal or regulatory obligations. You may request details on the data that we must retain.</p>\r\n  <h3>Questions</h3>\r\n  <p>For questions regarding our Privacy Policy and how MyDNA Life handles your Personal Information, or to request your information held by MyDNA Life or change any of your privacy settings then please email <a href=\"mailto:help@mydna.life\">help@mydna.life</a></p>\r\n  <h3>Consent section</h3>\r\n  <p>You consent and agree to the following:</p>\r\n  <ul>\r\n    <li>This service is not intended for or directed to persons under the age of 18.</li>\r\n    <li>By clicking that you consent, you consent that you are 18 years of age or older, and any sample you provide is either your DNA, or the DNA of a person for whom you are a parent or legal guardian, or have obtained legal authorization to provide their DNA to myDNA.</li>\r\n    <li>myDNA may communicate with you about new genetic findings and offer you the opportunity for further testing and analysis. You will be able to opt out of receiving further genetic information at any time. You may withdraw your consent at any time.</li>\r\n  </ul>\r\n  <p>I have read this consent form or have had the form read to me. I understand and agree to the purpose, risks, benefits, and limitations of this product. I have been given the opportunity to have my questions about this product addressed. I consent to purchase this product. </p>\r\n  `,\r\n  styleUrls: ['./terms.component.css']\r\n\r\n})\r\nexport class TermsUsaConditionsComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/consent-step/terms/terms.usa.component.ts","import { Component, OnInit, ViewChild, NgZone } from \"@angular/core\";\r\nimport { NgForm, NgModel } from \"@angular/forms\";\r\nimport { RegistrationService } from \"../services/registration.service\";\r\nimport { CustomerDetails } from \"../models/customer-details\";\r\nimport { Validator } from \"../models/validator\";\r\nimport { Steps } from \"../steps\";\r\n\r\nimport { DateDropDownComponent } from \"../shared/date-dropdown/date-dropdown.component\";\r\n\r\nimport { MyDnaUtilityService } from \"../shared/mydna-utility/mydna-utility.service\";\r\nimport { MyDnaValidationPatterns } from \"../shared/mydna-validation/mydna-validation-patterns\";\r\nimport { ModalPopupService } from \"../shared/modal-popup/modal-popup.service\";\r\nimport { SpinnerService } from \"../shared/spinner/spinner.service\";\r\nimport { IdentityService } from \"../services/identity.service\";\r\nimport { CountryCodeService } from \"../services/countryCode.service\";\r\nimport {\r\n  AllCountriesWithCodes,\r\n  AllCountries,\r\n} from \"../../client-api/CountriesApi\";\r\nimport { StateProvince } from \"../../client-api/CountriesApi/model/StateProvince\";\r\n\r\nimport { environment } from \"../../../environments/environment\";\r\nimport { Subject } from \"rxjs\";\r\nimport { IProductConfig } from \"app/client-api/SelectProductsApi\";\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: \"mydna-customerreg-customer-details-step\",\r\n  templateUrl: \"customer-details-step.component.html\",\r\n  styleUrls: [\r\n    \"customer-details-step.component.css\",\r\n    \"../customer-registration-wizard.component.css\",\r\n  ],\r\n  providers: [MyDnaUtilityService, MyDnaValidationPatterns],\r\n})\r\nexport class CustomerDetailsStepComponent {\r\n  @ViewChild(\"f\") public myForm: NgForm;\r\n\r\n  parentFormSubmittedSubject: Subject<any> = new Subject();\r\n\r\n  frm: CustomerDetails;\r\n\r\n  showErrors = false;\r\n  showCountryErrors = false;\r\n  showStateErrors = false;\r\n\r\n  showUsernameErrors = false;\r\n  public CountryCode: string;\r\n\r\n  emailPattern: any;\r\n  usernamePattern: string;\r\n  phonePattern: any;\r\n  postcodePattern: string;\r\n  mobilePattern: string;\r\n  namePattern: string;\r\n  suburbPattern: string;\r\n  statePattern: string;\r\n  passwordPattern: string;\r\n  regCodePattern: string;\r\n\r\n  atLeastOneContactIsProvided = false;\r\n  authenticationFailed = false;\r\n  usernameAlreadyExists: boolean;\r\n\r\n  public requiresLanguageSelection = false;\r\n  public requiresEthnicitySelection = false;\r\n  public requiresPatientIdentifier = false;\r\n  public mustSpecifyEthnicity: boolean = false;\r\n  public requiresRegistrationCode: boolean = false;\r\n  public requiresContactDetails: boolean = true;\r\n\r\n  public fullAddress = \"\";\r\n  private productConfig: IProductConfig;\r\n  private hideAddressFields = false;\r\n\r\n  private _isAnAddressSearchSupportedCountry = false;\r\n  private _isIndiciProduct = false;\r\n\r\n  protected searchString: string;\r\n  public skipIdentity: boolean;\r\n\r\n  public CountrySearchDataSource: AllCountries[];\r\n  public AllCountriesAndCodes: AllCountriesWithCodes;\r\n  public StatesList;\r\n  public StateSearchDataSource: string[];\r\n\r\n  constructor(\r\n    public registrationService: RegistrationService,\r\n    private myDnaValidationPatterns: MyDnaValidationPatterns,\r\n    private myDnaUtilityService: MyDnaUtilityService,\r\n    private loader: SpinnerService,\r\n    private popup: ModalPopupService,\r\n    private steps: Steps,\r\n    private identityService: IdentityService,\r\n    private countryCodeService: CountryCodeService\r\n  ) {\r\n    this.CountryCode = \"+61\"; // If Country Became Dropdown list make it this.CountryCode = ''\r\n    this.productConfig = this.registrationService.data.product.config;\r\n    this.hideAddressFields =\r\n      this.productConfig.hideCustomerAddressOnRegistration;\r\n\r\n    this.buildForm();\r\n    this.countriesServiceGetAllCountryNames();\r\n    this.validateContactNumber(null);\r\n    this.skipIdentity =\r\n      this.registrationService.data.product.config.skipIdentity === true;\r\n\r\n    if (\r\n      this.registrationService.data.product.config.pinnacleProductType != null\r\n    ) {\r\n      //is Pinnacle\r\n      this.requiresEthnicitySelection = true;\r\n      this.requiresPatientIdentifier = true;\r\n    }\r\n\r\n    if (this.registrationService.data.product.productNumber === \"PPMR-NZ-B\") {\r\n      this._isIndiciProduct = true;\r\n      this.requiresEthnicitySelection = false;\r\n      this.requiresPatientIdentifier = false;\r\n      this.requiresContactDetails = false;\r\n      this.requiresRegistrationCode = true;\r\n    }\r\n  }\r\n\r\n  buildForm() {\r\n    this.frm = new CustomerDetails();\r\n    this.frm.Country = this.registrationService.data.kitCountry; // If Country Became Dropdown list make it this.frm.Country=''\r\n    this.frm.ISO2CountryCode = this.registrationService.data.kitCountryIso2Code;\r\n  }\r\n\r\n  isIdentityCreatedForLogin(): boolean {\r\n    return this.registrationService.data.isIdentityCreated;\r\n  }\r\n\r\n  private deepTrim(obj) {\r\n    Object.keys(obj).forEach((prop) => {\r\n      let value = obj[prop],\r\n        type = typeof value;\r\n      if (value != null && (type === \"string\" || type === \"object\")) {\r\n        if (type === \"object\") {\r\n          this.deepTrim(obj[prop]);\r\n        } else {\r\n          obj[prop] = obj[prop].trim();\r\n        }\r\n      }\r\n    });\r\n  }\r\n\r\n  guid() {\r\n    const s4 = () => {\r\n      return Math.floor((1 + Math.random()) * 0x10000)\r\n        .toString(16)\r\n        .substring(1);\r\n    };\r\n    return s4() + s4() + s4() + s4();\r\n  }\r\n\r\n  navigate() {\r\n    this.parentFormSubmittedSubject.next(true);\r\n    this.deepTrim(this.frm);\r\n    this.formatPhoneNumber();\r\n    if (\r\n      (this.myForm.valid && !this.requiresContactDetails) ||\r\n      (this.myForm.valid &&\r\n        this.checkForValidCountryEntered() &&\r\n        this.checkForValidStateEntered() &&\r\n        this.checkForValidAddress1Entered() &&\r\n        this.checkForValidEmailEntered())\r\n    ) {\r\n      this.formatPhoneNumber();\r\n      if (this.skipIdentity) {\r\n        this.frm.Username = \"tempuser_\" + this.guid();\r\n        this.frm.Password = \"NoPassword1!\";\r\n      }\r\n      if (!this.requiresContactDetails) {\r\n        this.frm.Email = \"tempemail_\" + this.guid() + \"@temp.mydna.life\";\r\n        this.frm.Country = this._isIndiciProduct ? \"New Zealand\" : null;\r\n      }\r\n      this.registrationService.setCustomerDetails(this.frm);\r\n      this.authenticationFailed = false;\r\n\r\n      let hasNonDefaultLanguagePreference = this.frm.Language != null;\r\n      let shouldIncludeIdentity =\r\n        !this.isIdentityCreatedForLogin() || hasNonDefaultLanguagePreference;\r\n\r\n      if (!this._isAnAddressSearchSupportedCountry && this.StatesList) {\r\n        let currentState = this.StatesList.stateProvinces.filter(\r\n          (s) => s.stateProvince === this.frm.State\r\n        );\r\n        if (currentState != null && currentState.length > 0) {\r\n          this.frm.State = currentState[0].code;\r\n        }\r\n      }\r\n\r\n      // JS logging with TrackJS\r\n      console.log(\r\n        \"FirstName|LastName: \" + this.frm.FirstName + \"|\" + this.frm.LastName\r\n      );\r\n      console.log(\"Formatted Address: \" + this.frm.AddressSearchQuery);\r\n      let duplicatedForm = JSON.parse(JSON.stringify(this.frm));\r\n      duplicatedForm.Password = \"***\";\r\n      duplicatedForm.ConfirmPassword = \"***\";\r\n      console.log(\"Form submission: \" + JSON.stringify(duplicatedForm));\r\n\r\n      this.registrationService\r\n        .submit(false, shouldIncludeIdentity, false)\r\n        .subscribe(\r\n          (resp) => {\r\n            if (resp === 401) {\r\n              this.popup.show(\r\n                \"Error\",\r\n                `Unable to login. The details entered above (date of birth, gender, username and/or password) do not match those on your Explore account.\r\n                                    Please check that they are entered correctly`\r\n              );\r\n            } else if (resp === 410) {\r\n              this.popup.show(\r\n                \"Error\",\r\n                `You are ineligible to activate this product as we have detected that you already have a myDNA account with us.\r\n                                    Please login to your account as you may already have this product available to you.`\r\n              );\r\n              this.buildForm();\r\n            } else if (resp === 500) {\r\n              this.popup.show500();\r\n            }\r\n          },\r\n          (err) => {\r\n            console.log(err);\r\n          }\r\n        );\r\n    } else {\r\n      this.showErrors = true;\r\n      this.showCountryErrors = true;\r\n      this.showStateErrors = true;\r\n      this.popup.show(\r\n        \"Error\",\r\n        `There has been an error submitting this form. Please scroll up to see missing and/or incorrect entries.`\r\n      );\r\n    }\r\n  }\r\n\r\n  private formatPhoneNumber(): void {\r\n    if (this.frm.PhoneNumber !== undefined) {\r\n      this.frm.Phone =\r\n        this.CountryCode + this.stripLeadingZero(this.frm.PhoneNumber);\r\n    }\r\n    if (this.frm.MobileNumber !== undefined) {\r\n      this.frm.Mobile =\r\n        this.CountryCode + this.stripLeadingZero(this.frm.MobileNumber);\r\n    }\r\n  }\r\n\r\n  private stripLeadingZero(num: string) {\r\n    return num.startsWith(\"0\") ? num.substr(1, num.length - 1) : num;\r\n  }\r\n\r\n  public validateContactNumber(event: any) {\r\n    this.atLeastOneContactIsProvided = false;\r\n    if (event !== null && event.target.value.length > 0) {\r\n      this.atLeastOneContactIsProvided = true;\r\n    } else {\r\n      if (\r\n        (this.frm.MobileNumber && this.frm.MobileNumber.length > 0) ||\r\n        (this.frm.PhoneNumber && this.frm.PhoneNumber.length > 0)\r\n      ) {\r\n        this.atLeastOneContactIsProvided = true;\r\n      }\r\n    }\r\n  }\r\n\r\n  OnBlurUsername(usernameField: NgModel) {\r\n    if (usernameField.valid) {\r\n      this.loader.show();\r\n      this.identityService.fetchUsernameDetails(this.frm.Username).subscribe(\r\n        (usernameDetails) => {\r\n          if (!usernameDetails.IsValid) {\r\n            usernameField.control.setErrors({ pattern: true });\r\n            this.showUsernameErrors = true;\r\n          } else {\r\n            this.usernameAlreadyExists = usernameDetails.AlreadyInUse;\r\n          }\r\n        },\r\n        (err) => {\r\n          this.loader.hide(); // must hide first otherwise the modal cannot be dismissed\r\n          this.popup.show500();\r\n        },\r\n        () => this.loader.hide()\r\n      );\r\n    } else {\r\n      this.showUsernameErrors = true;\r\n    }\r\n  }\r\n\r\n  OnChangeGender() {\r\n    this.frm.Username = \"\"; // to make it clear that their credentials need to be reentered (not as clear when just password is reset)\r\n    this.resetPasswordAndIdentityFields();\r\n  }\r\n\r\n  OnChangeDob() {\r\n    this.frm.Username = \"\"; // to make it clear that their credentials need to be reentered (not as clear when just password is reset)\r\n    this.resetPasswordAndIdentityFields();\r\n  }\r\n\r\n  OnChangeUsername() {\r\n    this.authenticationFailed = false; // reset to clear the error message\r\n    this.usernameAlreadyExists = false; // reset to clear the error message\r\n    this.resetPasswordAndIdentityFields();\r\n  }\r\n\r\n  OnChangePassword() {\r\n    this.authenticationFailed = false; // reset to clear the error message\r\n    this.resetIdentityFields();\r\n  }\r\n\r\n  private resetPasswordAndIdentityFields() {\r\n    this.frm.Password = \"\";\r\n    this.frm.ConfirmPassword = \"\";\r\n    this.resetIdentityFields();\r\n  }\r\n\r\n  private resetIdentityFields() {\r\n    this.registrationService.data.isIdentityCreated = false;\r\n    this.registrationService.data.requestReportId = null;\r\n    this.registrationService.data.customerId = null;\r\n  }\r\n\r\n  setValidationRules() {\r\n    const resp = this.myDnaValidationPatterns.getDefaultValidatons();\r\n    this.emailPattern = resp.email;\r\n    this.usernamePattern = resp.username;\r\n    this.namePattern = resp.name;\r\n    this.phonePattern = resp.phone;\r\n    this.mobilePattern = resp.mobile;\r\n    this.postcodePattern = resp.postcode;\r\n    this.passwordPattern = resp.password;\r\n    this.suburbPattern = resp.suburb;\r\n    this.statePattern = resp.state;\r\n    this.regCodePattern = resp.regCode;\r\n  }\r\n\r\n  languageFieldCheck() {\r\n    // make sure Canada select a value\r\n    this.requiresLanguageSelection = this.frm.ISO2CountryCode === \"CA\";\r\n    this.frm.Language = null;\r\n  }\r\n\r\n  countriesServiceGetAllCountryNames() {\r\n    this.loader.show();\r\n    this.countryCodeService.getCountriesAndCodes().subscribe(\r\n      (data) => {\r\n        this.loader.hide();\r\n        this.AllCountriesAndCodes = data;\r\n        this.CountrySearchDataSource = data.coutryList.map((c) => c.name);\r\n        this.setValidationRules();\r\n        this.languageFieldCheck();\r\n      },\r\n      (error) => {\r\n        this.loader.hide(); // must hide first otherwise the modal cannot be dismissed\r\n        this.popup.show500();\r\n      },\r\n      () => {\r\n        this.loader.hide();\r\n      }\r\n    );\r\n  }\r\n\r\n  checkForRegistrationCode(event: any) {\r\n    let value = event.target.value;\r\n\r\n    if (value.length === 8) {\r\n      \r\n      let digits = String(value).substring(0, 6);\r\n      let sum = digits.split(\"\").reduce((a, b) => {\r\n        return Number(a) + Number(b);\r\n      }, 0);\r\n      let checkSum = (sum % 2 === 0 ? sum : sum + 1) * 1.5;\r\n      this.regCodePattern = `^${digits + checkSum}$`;\r\n\r\n      return true;\r\n    }\r\n  }\r\n\r\n  checkForValidCountryEntered() {\r\n    if (!this.CountrySearchDataSource.find((c) => c === this.frm.Country)) {\r\n      this.showCountryErrors = true;\r\n      this.frm.Country = \"\";\r\n      return false;\r\n    }\r\n    return true;\r\n  }\r\n\r\n  checkForValidStateEntered() {\r\n    if (this.hideAddressFields) {\r\n      return true;\r\n    }\r\n\r\n    if (\r\n      !this._isAnAddressSearchSupportedCountry &&\r\n      this.StateSearchDataSource != null &&\r\n      this.StateSearchDataSource.length > 0\r\n    ) {\r\n      if (!this.StateSearchDataSource.find((c) => c === this.frm.State)) {\r\n        this.showStateErrors = true;\r\n        return false;\r\n      }\r\n    }\r\n    return true;\r\n  }\r\n\r\n  OnAddressChange($event) {\r\n    this.frm.Country = $event.Country;\r\n    this.frm.AddressLine1 = $event.AddressLine1;\r\n    this.frm.AddressLine2 = $event.AddressLine2;\r\n    this.frm.Suburb = $event.Suburb;\r\n    this.frm.State = $event.State;\r\n    this.frm.Zip = $event.Zip;\r\n    this.frm.AddressSearchQuery = $event.AddressSearchQuery;\r\n    this.CountryCode = $event.CountryPhoneCode;\r\n    this.frm.ISO2CountryCode = $event.ISO2CountryCode;\r\n    this.frm.ISO3CountryCode = $event.ISO3CountryCode;\r\n    this.languageFieldCheck();\r\n\r\n    let supportedCountriesArray =\r\n      environment.captureSupportedCountries.split(\",\");\r\n    this._isAnAddressSearchSupportedCountry =\r\n      this.frm.Country != null &&\r\n      supportedCountriesArray.find(\r\n        (c) => c.toLowerCase() === this.frm.Country.toLowerCase()\r\n      ) != null;\r\n\r\n    this.countryCodeService\r\n      .getStatesForCountry(this.frm.ISO2CountryCode)\r\n      .subscribe((data) => {\r\n        this.StatesList = data;\r\n        this.StateSearchDataSource = data.stateProvinces.map(\r\n          (state) => state.stateProvince\r\n        );\r\n      });\r\n  }\r\n\r\n  OnEmailChange($event) {\r\n    this.frm.Email = $event;\r\n  }\r\n\r\n  checkForValidAddress1Entered() {\r\n    if (this.hideAddressFields) {\r\n      return true;\r\n    }\r\n\r\n    if (this.frm.AddressLine1 != null && this.frm.AddressLine1 !== \"\") {\r\n      return true;\r\n    }\r\n    return false;\r\n  }\r\n\r\n  checkForValidEmailEntered() {\r\n    if (this.frm.Email != null && this.frm.Email !== \"\") {\r\n      return true;\r\n    }\r\n    return false;\r\n  }\r\n\r\n  OnEthnicityChange() {\r\n    this.frm.specifiedEthnicityReference = \"\";\r\n    this.mustSpecifyEthnicity = this.frm.ethnicityReference.endsWith(\" -\");\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/customer-details-step/customer-details-step.component.ts","import { Component } from '@angular/core';\r\nimport { RegistrationService } from './services/registration.service';\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg',\r\n  templateUrl: 'customer-registration-wizard.component.html',\r\n  styleUrls: ['customer-registration-wizard.component.css'],\r\n})\r\nexport class CustomerRegistrationWizardComponent {\r\n\r\n  public currentStep;\r\n  public coBrandImage;\r\n\r\n  constructor(\r\n    private registrationService: RegistrationService\r\n  ) {\r\n    this.registrationService.navigator.subscribe((value) => {\r\n      this.currentStep = value;\r\n    });\r\n    this.registrationService.nextPage();\r\n\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/customer-registration-wizard.component.ts","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n\r\nimport { DateDropDownModule} from './shared/date-dropdown/date-dropdown.module';\r\nimport { MyDnaUtilityModule } from './shared/mydna-utility/mydna-utility.module';\r\n\r\n\r\nimport { RegistrationService } from './services/registration.service';\r\nimport { ProductsService } from './services/products.service';\r\nimport { ValidateBarcodesService } from './services/validateBarcodes.service';\r\nimport { IdentityService } from './services/identity.service';\r\nimport { CountryCodeService } from './services/countryCode.service';\r\n\r\nimport { CustomerRegistrationWizardComponent } from './customer-registration-wizard.component';\r\nimport { MykitStepComponent } from './mykit-step/mykit-step.component';\r\nimport { CustomerDetailsStepComponent } from './customer-details-step/customer-details-step.component';\r\nimport { SelectReportsStepComponent } from './select-reports-step/select-reports-step.component';\r\nimport { MedicationsStepComponent } from './medications-step/medications-step.component';\r\nimport { MyPractitionersStepComponent } from './my-practitioners-step/my-practitioners-step.component';\r\nimport { ConfirmationStepComponent } from './confirmation-step/confirmation-step.component';\r\nimport { PinnacleConfirmationStepComponent } from './pinnacle-confirmation-step/pinnacle-confirmation-step.component';\r\nimport { ReportDeliverStepComponent } from './report-delivery-step/report-delivery-step.component';\r\nimport {QuestionnaireStepComponent} from './questionnaire-step/questionnaire-step.component';\r\nimport { AddressCaptureComponent } from '../shared/address-capture/address-capture.component';\r\nimport { EmailValidateComponent } from '../shared/email-validate/email-validate.component';\r\n\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { MedicationTypeAheadModule  } from '@mydna/medication-typeahead';\r\nimport { environment } from './../../environments/environment';\r\n\r\nimport { MedicationApiModule, MedicationsApi, MEDICATION_API_BASE_PATH } from '@mydna/medication-api';\r\n\r\nimport {HealthCarePractitionersApi, PharmaciesApi, HealthCarePractitionerApi_BASE_PATH } from './../healthcare-practitioner-api';\r\n\r\nimport {Service} from './../client-api/Service';\r\nimport {KitsApi} from './../client-api/SelectProductsApi/api/KitsApi';\r\nimport {ProductsApi} from './../client-api/SelectProductsApi/api/ProductsApi';\r\nimport {KitBarcodesApi} from './../client-api/ValidateBarcodesAPi/api/KitBarcodesApi';\r\nimport {CountriesApi} from './../client-api/CountriesApi/api/CountriesApi';\r\n\r\nimport {Select_Products_Api_BASE_PATH} from './../client-api/SelectProductsApi/index';\r\nimport {VaildateBarcodesApi_BASE_PATH} from './../client-api/ValidateBarcodesAPi/index';\r\nimport {CountriesApi_BASE_PATH} from './../client-api/CountriesApi/index';\r\n\r\nimport { EqualValidatorDirective} from './shared/mydna-customdirectives/equal-validator.directive';\r\n\r\nimport { ModalModule } from 'ng2-bootstrap';\r\n\r\n// import {RequestReportsApi} from './../client-api/RequestReportApi/api/RequestReportsApi';\r\nimport {REQUEST_REPORT_BASE_PATH} from './../client-api/RequestReportApi';\r\n\r\nimport {ConsumerRegistrationApi} from './../client-api/ConsumerRegistrationApi/api/ConsumerRegistrationApi';\r\nimport {CONSUMER_REGISTRATION_BASE_PATH} from './../client-api/ConsumerRegistrationApi';\r\n\r\nimport { ConsentStepComponent } from './consent-step/consent-step.component';\r\nimport {TermsGenericConditionsComponent} from './consent-step/terms/terms.generic.component';\r\nimport {TermsAuConditionsComponent} from './consent-step/terms/terms.au.component';\r\nimport {TermsUkConditionsComponent} from './consent-step/terms/terms.uk.component';\r\nimport {TermsUsaConditionsComponent} from './consent-step/terms/terms.usa.component';\r\nimport {TermsCaConditionsComponent} from './consent-step/terms/terms.ca.component';\r\nimport {TermsCWWRConditionsComponent} from './consent-step/terms/terms.cwwr.component';\r\nimport { MyDnaOperatingContextService } from './shared/mydna-operating-context/mydna-operating-context.service';\r\nimport { Ng2CompleterModule } from 'ng2-completer';\r\nimport {Steps} from './steps';\r\nimport {BreadcrumbComponent} from './breadcrumb/breadcrumb.component';\r\nimport {TermsHabitConditionsComponent} from \"./consent-step/terms/terms.habit.component\";\r\nimport {TermsPinnacleConditionsComponent} from \"./consent-step/terms/terms.pinnacle.component\";\r\nimport {TermsResearchConditionsComponent} from \"./consent-step/terms/terms.research.component\";\r\n\r\n\r\n@NgModule({\r\n  imports: [\r\n    CommonModule,\r\n    FormsModule,\r\n    //TextMaskModule,\r\n    DateDropDownModule,\r\n    MyDnaUtilityModule,\r\n    NgbModule.forRoot(),\r\n    MedicationApiModule,\r\n    MedicationTypeAheadModule,\r\n    ModalModule.forRoot(),\r\n    Ng2CompleterModule,\r\n    FormsModule,\r\n  ],\r\n  declarations: [\r\n    BreadcrumbComponent,\r\n    CustomerRegistrationWizardComponent,\r\n    MykitStepComponent,\r\n    CustomerDetailsStepComponent,\r\n    SelectReportsStepComponent,\r\n    MedicationsStepComponent,\r\n    MyPractitionersStepComponent,\r\n    ConfirmationStepComponent,\r\n    PinnacleConfirmationStepComponent,\r\n    QuestionnaireStepComponent,\r\n\r\n    AddressCaptureComponent,\r\n    EmailValidateComponent,\r\n    ReportDeliverStepComponent,\r\n    EqualValidatorDirective,\r\n    ConsentStepComponent,\r\n    TermsGenericConditionsComponent,\r\n    TermsAuConditionsComponent,\r\n    TermsUkConditionsComponent,\r\n    TermsUsaConditionsComponent,\r\n    TermsCaConditionsComponent,\r\n    TermsCWWRConditionsComponent,\r\n    TermsHabitConditionsComponent,\r\n    TermsPinnacleConditionsComponent,\r\n    TermsResearchConditionsComponent,\r\n  ],\r\n  exports: [CustomerRegistrationWizardComponent],\r\n  providers: [\r\n    RegistrationService,\r\n    ProductsService,\r\n    IdentityService,\r\n    ValidateBarcodesService,\r\n    CountryCodeService,\r\n    MyDnaOperatingContextService,\r\n    Steps,\r\n    {\r\n      provide: MEDICATION_API_BASE_PATH,\r\n      useValue: environment.medicationsApiEndpoint,\r\n    },\r\n    {\r\n      provide: HealthCarePractitionerApi_BASE_PATH,\r\n      useValue: environment.HealthCarePractitionerApiEndPoint,\r\n    },\r\n    {\r\n      provide: Select_Products_Api_BASE_PATH,\r\n      useValue: environment.SelectProductsApiEndPoint,\r\n    },\r\n    {\r\n      provide: VaildateBarcodesApi_BASE_PATH,\r\n      useValue: environment.ValidateBarcodesApiEndPoint,\r\n    },\r\n    {\r\n      provide: REQUEST_REPORT_BASE_PATH,\r\n      useValue: environment.RequestReportApiEndPoint,\r\n    },\r\n    {\r\n      provide: CONSUMER_REGISTRATION_BASE_PATH,\r\n      useValue: environment.ConsumerRegistrationApiEndPoint,\r\n    },\r\n    {\r\n      provide: CountriesApi_BASE_PATH,\r\n      useValue: environment.CountriesApiEndPoint,\r\n    },\r\n\r\n    MedicationsApi,\r\n    HealthCarePractitionersApi,\r\n    PharmaciesApi,\r\n    ConsumerRegistrationApi,\r\n    // RequestReportsApi,\r\n    KitsApi,\r\n    ProductsApi,\r\n    KitBarcodesApi,\r\n    CountriesApi,\r\n    Service,\r\n  ],\r\n})\r\nexport class CustomerRegistrationWizardModule {}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/customer-registration-wizard.module.ts","import { Component, OnInit, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport { MedicationSelectItem, MedicationTypeAheadConfig } from '@mydna/medication-typeahead';\r\n\r\nimport { Medication } from '@mydna/medication-api';\r\nimport { NgForm } from '@angular/forms';\r\nimport { environment } from 'environments/environment';\r\n\r\n/**\r\n * This class represents the lazy loaded AboutComponent.\r\n */\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-medications-step',\r\n  templateUrl: 'medications-step.component.html',\r\n  encapsulation: ViewEncapsulation.None,\r\n  styleUrls: ['medications-step.component.css']\r\n})\r\nexport class MedicationsStepComponent {\r\n\r\n  @ViewChild('f') public myForm: NgForm;\r\n  _medications: Medication[] = [];\r\n  showDuplicateError = false;\r\n  isSmoker = false;\r\n  showErrors = false;\r\n  contactText = \"\";\r\n\r\n  config: MedicationTypeAheadConfig = {\r\n    showHint: true,\r\n    notFoundText: 'No matching medications found.',\r\n    placeHolder: 'Start typing part of the medication name',\r\n    searchCharLength: 3\r\n  };\r\n\r\n  constructor(\r\n    public registrationService: RegistrationService,\r\n\r\n  ) {\r\n    this._medications = this.registrationService.getMedications();\r\n    this.isSmoker = this.registrationService.getIsSmoker();\r\n\r\n    this.contactText = \"please call 1300 436 373\";\r\n  }\r\n\r\n  removeItem(index: number) {\r\n    this._medications.splice(index, 1);\r\n  }\r\n\r\n  onSelect($event: MedicationSelectItem) {\r\n    if (!this.hasMedication($event.selectedItem)) {\r\n      this.showDuplicateError = false;\r\n      this._medications.push($event.selectedItem);\r\n    } else {\r\n      this.showDuplicateError = true;\r\n    }\r\n\r\n    $event.preventDefault();\r\n    $event.clearInputField();\r\n\r\n  }\r\n\r\n  navigate() {\r\n    this.showErrors = false;\r\n\r\n    if (this.myForm.valid) {\r\n      this.registrationService.setIsSmoker(this.isSmoker);\r\n      this.registrationService.submit(false, false, true);\r\n    } else {\r\n      this.showErrors = true;\r\n    }\r\n  }\r\n\r\n  private hasMedication(med: Medication): boolean {\r\n    return this._medications.filter(m => m.Id === med.Id).length > 0;\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/medications-step/medications-step.component.ts","export class PinnacleDoctorForm {\r\n    gpName: string;\r\n    clinic: string;\r\n    address: string;\r\n    suburb: string;\r\n    postcode: string;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/models/pinnacleDoctorForm.ts","import { Medication } from \"@mydna/medication-api\";\r\nimport { CustomerDetails } from \"./customer-details\";\r\nimport * as ReqRepApiInterfaces from \"../../client-api/RequestReportApi/model/models\";\r\nimport {\r\n  Clinician,\r\n  Pharmacy,\r\n} from \"./../../healthcare-practitioner-api/model/models\";\r\nimport { Product } from \"./../../client-api/SelectProductsApi/model/Product\";\r\nimport { ReportDeliveryOption } from \"./report-delivery-option\";\r\nimport { environment } from \"environments/environment\";\r\nimport { PinnacleDoctorForm } from \"./pinnacleDoctorForm\";\r\n\r\nexport class Registration {\r\n  isIdentityCreated: boolean;\r\n  // token: string;\r\n  customerId: string;\r\n  requestReportId: string;\r\n  barcode: string;\r\n  CustomerDetails: CustomerDetails;\r\n  medications: Medication[];\r\n  PharmacyDetails: Pharmacy[];\r\n  doctorsDetails: Clinician[];\r\n  smoker: any;\r\n  kitTypeId: any;\r\n  kitCountry: string;\r\n  kitCountryIso2Code: string;\r\n  product: Product;\r\n  reportDeliveryOption: ReportDeliveryOption;\r\n  additionalDetailsCssClass: string;\r\n  loginDetails: {};\r\n  marketingConsent: boolean;\r\n  hasUserChangedMarketingConsent?: boolean;\r\n  cobrandingImageLocation: string;\r\n  partnerId: string;\r\n  partnerReferenceDoctorForm: PinnacleDoctorForm;\r\n\r\n  private _toCustomerGender(): ReqRepApiInterfaces.Customer.GenderEnum {\r\n    if (!this.CustomerDetails) {\r\n      return null;\r\n    }\r\n    if (this.CustomerDetails.Gender === \"M\") {\r\n      return ReqRepApiInterfaces.Customer.GenderEnum.Male;\r\n    } else if (this.CustomerDetails.Gender === \"F\") {\r\n      return ReqRepApiInterfaces.Customer.GenderEnum.Female;\r\n    } else if (this.CustomerDetails.Gender === \"O\") {\r\n      return ReqRepApiInterfaces.Customer.GenderEnum.Other;\r\n    }\r\n    return null;\r\n  }\r\n\r\n  private _toCustomerPostalAddress(): ReqRepApiInterfaces.Address {\r\n    let _postalAddress = new _Address();\r\n    if (this.CustomerDetails) {\r\n      _postalAddress.addressLine1 = this.CustomerDetails.AddressLine1 || null;\r\n      _postalAddress.addressLine2 = this.CustomerDetails.AddressLine2 || null;\r\n      _postalAddress.suburb = this.CustomerDetails.Suburb || null;\r\n      _postalAddress.state = this.CustomerDetails.State || null;\r\n      _postalAddress.postcode = this.CustomerDetails.Zip || null;\r\n      _postalAddress.country = this.CustomerDetails.Country || null;\r\n    }\r\n    return _postalAddress;\r\n  }\r\n\r\n  private _toCustomerContactDetails(): ReqRepApiInterfaces.ContactDetails {\r\n    let _contactDetails = new _ContactDetail();\r\n    if (this.CustomerDetails) {\r\n      _contactDetails.homePhone = this.CustomerDetails.Phone || null;\r\n      _contactDetails.email =\r\n        this.CustomerDetails.Email || null;\r\n      _contactDetails.mobilePhone = this.CustomerDetails.Mobile || null;\r\n    }\r\n    return _contactDetails;\r\n  }\r\n  private _toCustomer(): ReqRepApiInterfaces.Customer {\r\n    let _customer = new _Customer();\r\n    if (this.CustomerDetails) {\r\n      _customer.id = this.customerId;\r\n      _customer.firstName = this.CustomerDetails.FirstName;\r\n      _customer.lastName = this.CustomerDetails.LastName;\r\n      _customer.middleName = this.CustomerDetails.MiddleName;\r\n\r\n      let dob = this.CustomerDetails.Dob;\r\n      _customer.dateOfBirth =\r\n        dob.substr(6, 4) + \"-\" + dob.substr(3, 2) + \"-\" + dob.substr(0, 2);\r\n      _customer.gender = this._toCustomerGender();\r\n      _customer.postalAddress = this._toCustomerPostalAddress();\r\n      _customer.contactDetails = this._toCustomerContactDetails();\r\n      _customer.isSmoker = this.smoker;\r\n\r\n      _customer.identity = new _Identity();\r\n      _customer.identity.username = this.CustomerDetails.Username;\r\n      _customer.identity.password = this.CustomerDetails.Password;\r\n      _customer.preferences = new Preferences();\r\n      _customer.preferences.language = this.CustomerDetails.Language;\r\n      _customer.preferences.marketingConsent = this.marketingConsent;\r\n      _customer.username = this.CustomerDetails.Username;\r\n      _customer.registrationCode = this.CustomerDetails.RegistrationCode;\r\n    }\r\n    return _customer;\r\n  }\r\n\r\n  private _toKitBarcodes(): Array<ReqRepApiInterfaces.KitBarcode> {\r\n    let kitBarcodes: _KitBarcode[] = [];\r\n\r\n    if (this.barcode) {\r\n      let barcode = new _KitBarcode();\r\n      barcode.barcodeNumber = this.barcode;\r\n      kitBarcodes.push(barcode);\r\n    }\r\n    return kitBarcodes;\r\n  }\r\n\r\n  private _toMedications(): Array<ReqRepApiInterfaces.Medication> {\r\n    let _medications: Array<_Medication> = [];\r\n    let i = 0;\r\n    if (this.medications && this.medications.length > 0) {\r\n      for (i = 0; i < this.medications.length; i++) {\r\n        let med = new _Medication();\r\n        med.id = this.medications[i].Id;\r\n        _medications.push(med);\r\n      }\r\n    }\r\n    return _medications;\r\n  }\r\n\r\n  private _toProducts(): Array<ReqRepApiInterfaces.Product> {\r\n    let _products: Array<_Product> = [];\r\n    if (this.product) {\r\n      const prod = new _Product();\r\n      prod.id = this.product.productId;\r\n      prod.countryId = this.product.countryId;\r\n      _products.push(prod);\r\n    }\r\n    return _products;\r\n  }\r\n\r\n  private _toPharmacy(): ReqRepApiInterfaces.ClinicalOrganisationRef {\r\n    let _pharmacy = new _ClinicalOrganisationRef();\r\n    if (this.PharmacyDetails && this.PharmacyDetails.length > 0) {\r\n      _pharmacy.id = this.PharmacyDetails[0].id;\r\n      return _pharmacy;\r\n    }\r\n    return null;\r\n  }\r\n\r\n  private _toHealthCarePractitioners(): Array<ReqRepApiInterfaces.HealthcarePractitioner> {\r\n    let i = 0;\r\n    if (this.doctorsDetails && this.doctorsDetails.length > 0) {\r\n      let _practitioners: Array<_HealthcarePractitioner> = [];\r\n      for (i = 0; i < this.doctorsDetails.length; i++) {\r\n        let _doctor = new _HealthcarePractitioner();\r\n        _doctor.clinicalOrganisation = new _ClinicalOrganisation();\r\n        // no salutation in UI\r\n        let doctorsId = this.doctorsDetails[i].id;\r\n        if (doctorsId) {\r\n          _doctor.id = this.doctorsDetails[i].id;\r\n          _doctor.clinicalOrganisation.id = this.doctorsDetails[i].clinicID;\r\n        } else {\r\n          _doctor.firstName = this.doctorsDetails[i].firstName;\r\n          _doctor.lastName = this.doctorsDetails[i].lastName;\r\n          _doctor.clinicalOrganisation.name = this.doctorsDetails[i].clinicName;\r\n          _doctor.clinicalOrganisation.category =\r\n            ReqRepApiInterfaces.ClinicalOrganisation.CategoryEnum.Doctor;\r\n          _doctor.clinicalOrganisation.businessAddress = new _Address();\r\n          _doctor.clinicalOrganisation.businessAddress.addressLine1 =\r\n            this.doctorsDetails[i].address;\r\n          _doctor.clinicalOrganisation.businessAddress.addressLine2 =\r\n            this.doctorsDetails[i].address2;\r\n          _doctor.clinicalOrganisation.businessAddress.suburb =\r\n            this.doctorsDetails[i].suburb;\r\n          _doctor.clinicalOrganisation.businessAddress.postcode =\r\n            this.doctorsDetails[i].postCode;\r\n          _doctor.clinicalOrganisation.businessAddress.state =\r\n            this.doctorsDetails[i].state;\r\n          _doctor.clinicalOrganisation.businessAddress.country =\r\n            this.doctorsDetails[i].country;\r\n          _doctor.clinicalOrganisation.contactDetails = new _ContactDetail();\r\n          _doctor.clinicalOrganisation.contactDetails.businessPhone =\r\n            this.doctorsDetails[i].phone;\r\n          _doctor.clinicalOrganisation.contactDetails.email =\r\n            this.doctorsDetails[i].email;\r\n          _doctor.clinicalOrganisation.contactDetails.fax =\r\n            this.doctorsDetails[i].fax;\r\n        }\r\n        _doctor.willExplainResults = this.doctorsDetails[i].willExplainResult;\r\n        _doctor.isReferrer = this.doctorsDetails[i].referredByDoctor;\r\n        _practitioners.push(_doctor);\r\n      }\r\n      return _practitioners;\r\n    }\r\n    return null;\r\n  }\r\n  private _toResultRecipient(): ReqRepApiInterfaces.ReportRecipients {\r\n    let _recipient = new _ResultRecipient();\r\n    _recipient.pharmacy = this._toPharmacy();\r\n    _recipient.healthcarePractitioners = this._toHealthCarePractitioners();\r\n    if (this.reportDeliveryOption && this.reportDeliveryOption.to) {\r\n      if (this.reportDeliveryOption.to === \"pharmacy\") {\r\n        _recipient.resultsExplainedBy =\r\n          ReqRepApiInterfaces.ReportRecipients.ResultsExplainedByEnum.Pharmacy;\r\n      } else if (this.reportDeliveryOption.to === \"customer\") {\r\n        _recipient.resultsExplainedBy =\r\n          ReqRepApiInterfaces.ReportRecipients.ResultsExplainedByEnum.Customer;\r\n      } else {\r\n        _recipient.resultsExplainedBy =\r\n          ReqRepApiInterfaces.ReportRecipients.ResultsExplainedByEnum.HealthcarePractitioner;\r\n        // if its a doctor it will be set from the _toHealthCarepractitioners;\r\n      }\r\n      return _recipient;\r\n    } else {\r\n      // if(this.requestReportId){\r\n      _recipient.resultsExplainedBy =\r\n        ReqRepApiInterfaces.ReportRecipients.ResultsExplainedByEnum.Customer;\r\n      return _recipient;\r\n      // }\r\n      // return null;\r\n    }\r\n  }\r\n\r\n  private _toPaymentDetails(): ReqRepApiInterfaces.PaymentDetails {\r\n    // Payment details required for setting the status fulfilled\r\n    let _paymentDetail = new _PaymentDetails();\r\n    _paymentDetail.transactionReference = \"Prepaid\";\r\n    return _paymentDetail;\r\n  }\r\n\r\n  private _toPartnerReferences(): Array<ReqRepApiInterfaces.PartnerReference> {\r\n    if (this.product.config.pinnacleProductType != null) {\r\n      //is Pinnacle\r\n      return this._venturesPartnerReferenceStrategy();\r\n    }\r\n\r\n    return new Array<PartnerReference>();\r\n  }\r\n\r\n  private _venturesPartnerReferenceStrategy = () => {\r\n    let _partnerReferences: Array<PartnerReference> = [];\r\n\r\n    let patientPartnerReferenceTemplate = new PartnerReference();\r\n    patientPartnerReferenceTemplate.PartnerId = this.partnerId;\r\n    patientPartnerReferenceTemplate.ObjectType = \"new_patient\"; //not worth moving into config\r\n\r\n    let ethnicity = Object.assign(\r\n      new PartnerReference(),\r\n      patientPartnerReferenceTemplate\r\n    );\r\n    if (this.CustomerDetails.ethnicityReference) {\r\n      ethnicity.TextValue = this.CustomerDetails.specifiedEthnicityReference\r\n        ? this.CustomerDetails.ethnicityReference +\r\n          \" \" +\r\n          this.CustomerDetails.specifiedEthnicityReference\r\n        : this.CustomerDetails.ethnicityReference;\r\n      ethnicity.FieldName = \"Ethnicity\";\r\n    }\r\n\r\n    let patientIdentifier = Object.assign(\r\n      new PartnerReference(),\r\n      patientPartnerReferenceTemplate\r\n    );\r\n    if (this.CustomerDetails.patientIdentifierReference) {\r\n      patientIdentifier.TextValue =\r\n        this.CustomerDetails.patientIdentifierReference;\r\n      patientIdentifier.FieldName = \"Patient Identifier (NHI)\";\r\n    }\r\n\r\n    if (this.partnerReferenceDoctorForm != null) {\r\n      let ventureDoctorFormTemplate = new PartnerReference();\r\n      ventureDoctorFormTemplate.PartnerId = this.partnerId;\r\n      ventureDoctorFormTemplate.ObjectType = \"salesorder\";\r\n\r\n      Object.keys(this.partnerReferenceDoctorForm).forEach((property) => {\r\n        let value = this.partnerReferenceDoctorForm[property];\r\n\r\n        if (value != null && value != \"\") {\r\n          let newItem = Object.assign(\r\n            new PartnerReference(),\r\n            ventureDoctorFormTemplate\r\n          );\r\n          newItem.FieldName = property;\r\n          newItem.TextValue = value;\r\n          _partnerReferences.push(newItem);\r\n        }\r\n      });\r\n    }\r\n\r\n    if (ethnicity.TextValue) _partnerReferences.push(ethnicity);\r\n    if (patientIdentifier.TextValue) _partnerReferences.push(patientIdentifier);\r\n\r\n    return _partnerReferences;\r\n  };\r\n\r\n  public toRequestReport = (): ReqRepApiInterfaces.RequestReport => {\r\n    let output = new _RequestReport();\r\n    output.id = this.requestReportId;\r\n    output.status = ReqRepApiInterfaces.RequestReport.StatusEnum.New;\r\n    output.customer = this._toCustomer();\r\n    output.kitBarcodes = this._toKitBarcodes();\r\n    output.medications = this._toMedications();\r\n    output.products = this._toProducts();\r\n    output.resultRecipients = this._toResultRecipient();\r\n    output.paymentDetails = this._toPaymentDetails();\r\n    output.partnerReferences = this._toPartnerReferences();\r\n\r\n    return output;\r\n  };\r\n\r\n  constructor() {\r\n    this.medications = [];\r\n    this.doctorsDetails = [];\r\n    this.reportDeliveryOption = new ReportDeliveryOption();\r\n    // this.token = '';\r\n  }\r\n}\r\n\r\nclass _RequestReport implements ReqRepApiInterfaces.RequestReport {\r\n  id: string;\r\n  status: ReqRepApiInterfaces.RequestReport.StatusEnum;\r\n  customer: ReqRepApiInterfaces.Customer;\r\n  kitBarcodes: ReqRepApiInterfaces.KitBarcode[];\r\n  medications: ReqRepApiInterfaces.Medication[];\r\n  products: ReqRepApiInterfaces.Product[];\r\n  resultRecipients: ReqRepApiInterfaces.ReportRecipients;\r\n  paymentDetails: ReqRepApiInterfaces.PaymentDetails;\r\n  partnerReferences: ReqRepApiInterfaces.PartnerReference[];\r\n}\r\n\r\nclass _Customer implements ReqRepApiInterfaces.Customer {\r\n  id: string;\r\n  salutation: string;\r\n  firstName: string;\r\n  middleName: string;\r\n  lastName: string;\r\n  dateOfBirth: string;\r\n  gender: ReqRepApiInterfaces.Customer.GenderEnum;\r\n  postalAddress: ReqRepApiInterfaces.Address;\r\n  contactDetails: ReqRepApiInterfaces.ContactDetails;\r\n  isSmoker: boolean;\r\n  identity: ReqRepApiInterfaces.Identity;\r\n  preferences: ReqRepApiInterfaces.Preferences;\r\n  username: string;\r\n  registrationCode: number;\r\n}\r\n\r\nclass _KitBarcode implements ReqRepApiInterfaces.KitBarcode {\r\n  barcodeNumber: string;\r\n}\r\n\r\nclass _ContactDetail implements ReqRepApiInterfaces.ContactDetails {\r\n  homePhone: string;\r\n  businessPhone: string;\r\n  mobilePhone: string;\r\n  email: string;\r\n}\r\n\r\nclass _Address implements ReqRepApiInterfaces.Address {\r\n  addressLine1: string;\r\n  addressLine2: string;\r\n  suburb: string;\r\n  state: string;\r\n  postcode: string;\r\n  country: string;\r\n}\r\n\r\nclass _Medication implements ReqRepApiInterfaces.Medication {\r\n  id?: string;\r\n}\r\n\r\nclass _Product implements ReqRepApiInterfaces.Product {\r\n  id?: string;\r\n  countryId: number;\r\n}\r\n\r\nclass _ResultRecipient implements ReqRepApiInterfaces.ReportRecipients {\r\n  resultsExplainedBy?: ReqRepApiInterfaces.ReportRecipients.ResultsExplainedByEnum;\r\n  pharmacy?: ReqRepApiInterfaces.ClinicalOrganisationRef;\r\n  healthcarePractitioners?: Array<ReqRepApiInterfaces.HealthcarePractitioner>;\r\n}\r\n\r\nclass _ClinicalOrganisationRef\r\n  implements ReqRepApiInterfaces.ClinicalOrganisationRef\r\n{\r\n  id?: string;\r\n}\r\n\r\nclass _HealthcarePractitioner\r\n  implements ReqRepApiInterfaces.HealthcarePractitioner\r\n{\r\n  id?: string;\r\n  salutation?: string;\r\n  firstName?: string;\r\n  lastName?: string;\r\n  willExplainResults?: boolean;\r\n  isReferrer?: boolean;\r\n  clinicalOrganisation?: ReqRepApiInterfaces.ClinicalOrganisation;\r\n}\r\n\r\nclass _ClinicalOrganisation\r\n  implements ReqRepApiInterfaces.ClinicalOrganisation\r\n{\r\n  id?: string;\r\n  name?: string;\r\n  category?: ReqRepApiInterfaces.ClinicalOrganisation.CategoryEnum;\r\n  businessAddress?: ReqRepApiInterfaces.Address;\r\n  contactDetails?: ReqRepApiInterfaces.BusinessContactDetails;\r\n}\r\n\r\nclass _BusinessContactDetails\r\n  implements ReqRepApiInterfaces.BusinessContactDetails\r\n{\r\n  businessPhone?: string;\r\n  fax?: string;\r\n  email?: string;\r\n}\r\n\r\nclass _PaymentDetails implements ReqRepApiInterfaces.PaymentDetails {\r\n  transactionReference: string;\r\n}\r\n\r\nclass _Identity implements ReqRepApiInterfaces.Identity {\r\n  username: string;\r\n  password: string;\r\n}\r\n\r\nclass Preferences implements ReqRepApiInterfaces.Preferences {\r\n  language?: string;\r\n  marketingConsent?: boolean;\r\n}\r\n\r\nclass PartnerReference implements ReqRepApiInterfaces.PartnerReference {\r\n  FieldName: string;\r\n  ObjectType: string;\r\n  PartnerId: string;\r\n  TextValue: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/models/registration.ts","export class Validator {\r\n    email: string;\r\n    username: string;\r\n    name: string;\r\n    password: string;\r\n    phone: string;\r\n    mobile: string;\r\n    postcode: string;\r\n    suburb:string;\r\n    state: string;\r\n    regCode: string;\r\n\r\n    constructor(){}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/models/validator.ts","import { Component, OnInit, ViewEncapsulation, ViewChild, NgZone } from '@angular/core';\r\nimport { FormsModule, NgForm } from '@angular/forms';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport { NgbTypeaheadSelectItemEvent } from '@ng-bootstrap/ng-bootstrap';\r\nimport { PharmaciesService } from './../services/pharmacies.service';\r\nimport { DoctorsService } from './../services/doctors.service';\r\nimport { Clinician, Pharmacy } from './../../healthcare-practitioner-api/model/models';\r\nimport { Observable } from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\nimport 'rxjs/add/operator/debounceTime';\r\nimport 'rxjs/add/operator/distinctUntilChanged';\r\nimport 'rxjs/add/observable/of';\r\nimport 'rxjs/add/operator/catch';\r\nimport 'rxjs/add/operator/do';\r\nimport 'rxjs/add/operator/switchMap';\r\nimport { ModalDirective } from 'ng2-bootstrap/modal';\r\nimport { MyDnaValidationPatterns } from './../shared/mydna-validation/mydna-validation-patterns';\r\n\r\nimport { Product } from './../../client-api/SelectProductsApi/model/Product';\r\nimport { ReportDeliveryOption } from './../models/report-delivery-option';\r\nimport { Steps } from './../steps';\r\nimport { CountryCodeService } from './../services/countryCode.service';\r\nimport { MyDnaOperatingContextService } from './../shared/mydna-operating-context/mydna-operating-context.service';\r\nimport { Validator } from './../models/validator';\r\n\r\nimport { environment } from '../../../environments/environment';\r\nimport { Subject } from 'rxjs';\r\nimport { PinnacleDoctorForm } from '../models/pinnacleDoctorForm';\r\n\r\ndeclare let trackJs: any;\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-my-practitioners-step',\r\n  templateUrl: 'my-practitioners-step.component.html',\r\n  styleUrls: ['my-practitioners-step.component.css', '../customer-registration-wizard.component.css'],\r\n  encapsulation: ViewEncapsulation.Emulated,\r\n  providers: [PharmaciesService, DoctorsService, MyDnaValidationPatterns, ReportDeliveryOption]\r\n})\r\nexport class MyPractitionersStepComponent {\r\n  @ViewChild('childModal') public childModal: ModalDirective;\r\n  parentFormSubmittedSubject: Subject<any> = new Subject();\r\n\r\n  Pharmacy: Pharmacy[];\r\n  showPharmaciesError: boolean;\r\n\r\n  pharmacyModel: string;\r\n  searching = false;\r\n  searchFailed = false;\r\n\r\n  Doctors: Clinician[] = [];\r\n  dietitians: Clinician[] = [];\r\n  doctorModel: string;\r\n  doctorSearching = false;\r\n  doctorSearchFailed = false;\r\n  searchingTextEnabled = false;\r\n  dietitianSearching = false;\r\n\r\n  frmDoc: any;\r\n  @ViewChild('f') public myForm: NgForm;\r\n  @ViewChild('f1') public myMainForm: NgForm;\r\n\r\n\r\n  emailPattern: any;\r\n  phonePattern: any;\r\n  mobilePattern: string;\r\n  namePattern: string;\r\n  postcodePattern: string;\r\n  suburbPattern: string;\r\n  statePattern: string;\r\n\r\n  showErrors: boolean;\r\n  CountryCode: string;\r\n  public fullAddress = '';\r\n\r\n  isDeliverByDoctorEnabled: boolean;\r\n  isDeliverByPharmacyEnabled: boolean;\r\n  isDeliverDirectToCustomerEnabled: boolean;\r\n  isDoctorRequired: boolean;\r\n  canSkipDeliveryPreference: boolean;\r\n  chemistWarehouse: boolean;\r\n  ymca: boolean;\r\n  gymDeliveryPrefs: boolean; //ymca and generic gym\r\n  organisationRequired: boolean;\r\n  isPinnacleOnlineMeds: boolean;\r\n  pinnacleDoctorForm: PinnacleDoctorForm = new PinnacleDoctorForm();\r\n  isPinnaclePostcodeError: boolean = false;\r\n  isPinnacleMeds: boolean = false;\r\n\r\n  organisationCopy: boolean;\r\n  directToCustomerWithCopyOrg: boolean;\r\n\r\n  partnerName: string;\r\n  partnerReferenceId: string;\r\n  partnerReferenceText: string;\r\n\r\n  atLeastOneContactIsProvided: boolean;\r\n  showErrorsMain: boolean;\r\n  frm: any;\r\n  selectedDoctor: Clinician;\r\n  deliveredTo: string;\r\n  unitId: string;\r\n\r\n  reportDeliveryOption: ReportDeliveryOption;\r\n\r\n  e2eIds: string;\r\n\r\n  deliveryPartyTitle: string;\r\n  deliveryPartyTitleCase: string;\r\n  longDeliveryPartyTitle: string;\r\n  orgSearchPlaceholderText: string;\r\n\r\n  postcodeRegex = /^\\d{4}$/;\r\n\r\n  public StatesList;\r\n  public StateSearchDataSource: string[];\r\n\r\n  private stateFieldToDisplay: string;\r\n  private _isAnAddressSearchSupportedCountry = false;\r\n\r\n  constructor(public registrationService: RegistrationService,\r\n              private pharmaciesService: PharmaciesService,\r\n              private doctorsService: DoctorsService,\r\n              private myDnaValidationPatterns: MyDnaValidationPatterns,\r\n              private steps: Steps,\r\n              private ngZone: NgZone,\r\n              private countryCodeService: CountryCodeService,\r\n              private myDnaOperatingContextService: MyDnaOperatingContextService\r\n            ) {\r\n\r\n    this.Pharmacy = [];\r\n    this.pharmacyModel = '';\r\n    this.showPharmaciesError = false;\r\n\r\n    this.Doctors = this.registrationService.getDoctorsDetails();\r\n    this.doctorModel = '';\r\n\r\n    this.frmDoc = {};\r\n    this.showErrors = false;\r\n    this.showErrorsMain = false;\r\n\r\n    this.CountryCode = '+61';\r\n    this.frmDoc.country = \"Australia\";\r\n    this.atLeastOneContactIsProvided = false;\r\n    this.fullAddress = '';\r\n\r\n    this.setValidationRules();\r\n    this.isDoctorRequired = false;\r\n\r\n    let PharmacyDetails = this.registrationService.getPharmacyDetails();\r\n    if (PharmacyDetails !== undefined && PharmacyDetails !== null) {\r\n      this.Pharmacy = PharmacyDetails;\r\n    }\r\n    this.frm = {};\r\n    this.deliveredTo = '';\r\n    this.unitId = this.registrationService.unitMemberId;\r\n    if (this.unitId) {\r\n      this.searchDietitians(this.unitId);\r\n    }\r\n\r\n    this.reportDeliveryOption = {};\r\n    this.reportDeliveryOption = this.registrationService.data.reportDeliveryOption;\r\n\r\n    let productDetails = this.registrationService.data.product;\r\n    if (productDetails) {\r\n      this.canSkipDeliveryPreference = !!productDetails.config.canSkipDeliveryPreference;\r\n      this.chemistWarehouse = !!productDetails.config.isChemistWarehouse;\r\n      this.ymca = !!productDetails.config.isYMCA;\r\n      this.gymDeliveryPrefs = !!productDetails.config.useGymDeliveryPreferences;\r\n      this.organisationRequired = !!productDetails.config.organisationRequired;\r\n      this.isPinnacleMeds = productDetails.config.pinnacleProductType === 'non-funded Medication';\r\n      this.isPinnacleOnlineMeds = productDetails.config.pinnacleProductType === 'medications';\r\n      this.organisationCopy = !!!!productDetails.config.organisationCopy;\r\n\r\n      // TODO : VB : read from product config\r\n      this.directToCustomerWithCopyOrg = true;\r\n\r\n      if (this.isPinnacleOnlineMeds) {\r\n        let virtualDoctor: Clinician = this.frmDoc;\r\n        virtualDoctor.id = productDetails.config.reportDeliveringUnitMemberId;\r\n        virtualDoctor.clinicID = productDetails.config.reportDeliveringUnitMemberOrganisationId;\r\n        virtualDoctor.willExplainResult = true;\r\n        virtualDoctor.referredByDoctor = true;\r\n        this.Doctors.push(virtualDoctor)\r\n\r\n        //deliver to pinnacle virtual doctor\r\n        this.deliveredTo = 'doctor';\r\n        this.reportDeliveryOption.to = 'doctor';\r\n      }\r\n\r\n      this.deliveredTo = productDetails.defaultDeliveryPreference;\r\n      this.isDeliverByDoctorEnabled = productDetails.isDeliverByDoctorEnabled;\r\n      this.isDeliverByPharmacyEnabled = productDetails.isDeliverByPharmacyEnabled;\r\n      this.isDeliverDirectToCustomerEnabled = productDetails.isDeliverByPhoneEnabled;\r\n      this.isDoctorRequired = ['PMWNRG-B', 'MSPCMR-B', 'MSPGMR-B', 'MSPPMR-B', 'MSPMHMR-B', 'MFPMR-B'].indexOf(productDetails.productNumber) > -1;\r\n\r\n    }\r\n\r\n    if(this.registrationService.data.product.config.pinnacleProductType != null) { //is Pinnacle\r\n      this.partnerName = 'Pinnacle';\r\n    }\r\n\r\n    if (this.reportDeliveryOption) {\r\n      let defaultDeliveryPreference: string = productDetails ? productDetails.defaultDeliveryPreference : '';\r\n      this.deliveredTo = this.reportDeliveryOption.to ? this.reportDeliveryOption.to : defaultDeliveryPreference;\r\n    }\r\n\r\n    this.e2eIds = this.registrationService.getE2ETestIds();\r\n\r\n    if (this.ymca){\r\n      this.deliveryPartyTitle = 'YMCA';\r\n      this.longDeliveryPartyTitle = 'YMCA gym';\r\n    }\r\n    else if (this.gymDeliveryPrefs){\r\n      this.deliveryPartyTitle = 'gym';\r\n      this.longDeliveryPartyTitle = 'gym';\r\n    }\r\n    else if (this.organisationCopy){\r\n        this.deliveryPartyTitle = 'pharmacy';\r\n        this.longDeliveryPartyTitle = 'nominated pharmacy';\r\n      }\r\n    else {\r\n      this.deliveryPartyTitle = 'healthcare professional'\r\n      this.longDeliveryPartyTitle = 'myDNA accredited healthcare professional'\r\n    }\r\n\r\n    if (this.chemistWarehouse){\r\n      this.orgSearchPlaceholderText = '';\r\n    }\r\n    else {\r\n      this.orgSearchPlaceholderText = 'Search for a ' + this.deliveryPartyTitle + ' by name or postcode'\r\n    }\r\n  }\r\n\r\n  navigate() {\r\n    this.ValidatePinnaclePostcode();\r\n    if (this.isPinnaclePostcodeError){\r\n      return;\r\n    }\r\n\r\n    if (this.pinnacleDoctorForm != null) {\r\n      this.registrationService.data.partnerReferenceDoctorForm = this.pinnacleDoctorForm;\r\n    }\r\n\r\n    this.searchFailed = false;\r\n    if (this.Pharmacy.length > 0) {\r\n      this.registrationService.setPharmacyDetails(this.Pharmacy);\r\n    }\r\n\r\n    if (this.myMainForm.valid) {\r\n      this.showErrorsMain = false;\r\n      if ((this.deliveredTo === 'doctor' && this.Doctors.length === 0) ||\r\n        ((this.organisationRequired || this.deliveredTo === 'pharmacy') && this.Pharmacy.length === 0) ||\r\n        (this.isDoctorRequired && this.Doctors.length === 0)) {\r\n        this.showErrorsMain = true;\r\n      } else {\r\n        this.reportDeliveryOption.to = this.deliveredTo;\r\n        this.registrationService.data.reportDeliveryOption = this.reportDeliveryOption;\r\n\r\n        this.registrationService.submit(true, false, true);\r\n      }\r\n    } else {\r\n      this.showErrorsMain = true;\r\n    }\r\n  }\r\n\r\n  removePharmacy(index: number) {\r\n    if (typeof index !== undefined && this.Pharmacy.length > 0) {\r\n      this.Pharmacy.splice(index, 1);\r\n      this.showPharmaciesError = false;\r\n      this.pharmacyModel = '';\r\n    }\r\n  }\r\n\r\n  formatter = (data: { id: String, name: String }) => { return data.name; };\r\n\r\n  resultFormatter = (data: { id: String, name: String }) => { return data.name; };\r\n\r\n\r\n  doctorFormatter = (data: { id: String, firstName: string, lastName: string, clinicName: String }) => { return data.firstName + ' ' + data.lastName + '  @ ' + data.clinicName; };\r\n\r\n  doctorResultFormatter = (data: {\r\n    id: String,\r\n    firstName: string,\r\n    lastName: string,\r\n    clinicName: String }) => { return data.firstName + ' ' + data.lastName + '  @ ' + data.clinicName; }\r\n\r\n  search = (text$: Observable<string>) =>\r\n    text$\r\n      .debounceTime(100)\r\n      .distinctUntilChanged()\r\n      .do((term) => this.searching = (term.length >= 3))\r\n      .switchMap(term => term.length < 3 ? Observable.of([]) :\r\n        this.pharmaciesService.getPharmacies(term, this.registrationService.data.product)\r\n          .do((results) => {\r\n              this.showErrorsMain = false;\r\n              this.searchFailed = (results.length === 0);\r\n          })\r\n          .catch((err) => {\r\n            this.searchFailed = true;\r\n            if (trackJs) {\r\n              trackJs.track(err); // Send the native error object to TrackJS\r\n            }\r\n            return Observable.of([]);\r\n          }))\r\n      .do((a) => {\r\n        this.searchFailed = !(a.length > 0) && this.searching === true;\r\n        this.searching = false;\r\n      });\r\n\r\n  onSelectedPharmacy(event: NgbTypeaheadSelectItemEvent) {\r\n    this.pharmacyModel = '';\r\n    if (typeof event !== undefined) {\r\n      if (this.Pharmacy.length > 0) {\r\n        this.showPharmaciesError = true;\r\n\r\n      } else {\r\n        this.Pharmacy.push(event.item);\r\n\r\n        this.pharmacyModel = '';\r\n        event.preventDefault();\r\n      }\r\n    }\r\n  }\r\n\r\n  searchDietitians(unitId: string) {\r\n    this.dietitianSearching = true;\r\n    this.doctorsService.getDoctors('', unitId).subscribe(results => {\r\n      this.dietitians = results;\r\n      this.dietitianSearching = false;\r\n      this.deliveredTo = 'doctor';\r\n      results.forEach(item => item.willExplainResult = true);\r\n    });\r\n  }\r\n\r\n  selectDietitian(doctor: Clinician) {\r\n    while (this.Doctors.length) {\r\n      this.Doctors.pop();\r\n    }\r\n    this.Doctors.push(doctor);\r\n  }\r\n\r\n\r\n\r\n  searchDoctor = (text$: Observable<string>) =>\r\n    text$\r\n      .debounceTime(300)\r\n      .distinctUntilChanged()\r\n      .do((term) => this.searchingTextEnabled = this.doctorSearching = (term.length >= 3))\r\n      .switchMap(term => term.length < 3 ? Observable.of([]) :\r\n          this.doctorsService.getDoctors(term, this.registrationService.unitMemberId, this.partnerName, this.partnerReferenceId, this.partnerReferenceText)\r\n          .do((x) => {\r\n            this.doctorSearchFailed = x.length === 0;\r\n          })\r\n          .catch((err) => {\r\n            this.doctorSearchFailed = true;\r\n            if (trackJs) {\r\n              trackJs.track(err); // Send the native error object to TrackJS\r\n            }\r\n            return Observable.of([]);\r\n          }))\r\n      .do((a) => {\r\n        this.searchingTextEnabled = true;\r\n        this.doctorSearchFailed = !(a.length > 0) && this.doctorSearching === true;\r\n        // this.doctorSearching = false;\r\n        this.searchingTextEnabled = false;\r\n      })\r\n\r\n  onSelectedDoctor(event: NgbTypeaheadSelectItemEvent) {\r\n    this.doctorModel = '';\r\n    if (typeof event !== undefined) {\r\n      let item: Clinician = event.item;\r\n      item.referredByDoctor = false;\r\n\r\n      if (!(this.Doctors.filter((doctor) => { return doctor.id === item.id; }).length > 0)) {\r\n        this.Doctors.push(event.item);\r\n      }\r\n\r\n      this.doctorModel = '';\r\n      event.preventDefault();\r\n\r\n    }\r\n\r\n  }\r\n\r\n  removeDoctor(index: number) {\r\n    if (typeof index !== undefined && this.Doctors.length > 0) {\r\n      if (this.selectedDoctor) {\r\n      if (this.Doctors[index].id === this.selectedDoctor.id) {\r\n        this.selectedDoctor = undefined;\r\n        this.myMainForm.form.controls['inputDoctor'].setErrors({'invalid': true});\r\n      }\r\n    }\r\n    this.Doctors.splice(index, 1);\r\n    this.doctorModel = '';\r\n\r\n    }\r\n  }\r\n\r\n  selectReferringDoctor(indx: number, doc: Clinician, $event: any) {\r\n\r\n    this.Doctors.forEach((doctor, index, doctors) => {\r\n      if (indx !== index) {\r\n        this.Doctors[index].referredByDoctor = false;\r\n      } else {\r\n        $event.target.checked = doc.referredByDoctor;\r\n      }\r\n    });\r\n  }\r\n\r\n\r\n  identify(index: number, doc: Clinician) {\r\n    return doc.id;\r\n  };\r\n\r\n  public showChildModal(): void {\r\n    this.doctorModel = '';\r\n    this.doctorSearchFailed = false;\r\n    this.showErrors = false;\r\n\r\n    this.childModal.show();\r\n  }\r\n\r\n  public hideChildModal(): void {\r\n    this.childModal.hide();\r\n  }\r\n\r\n  public saveChildModal(): void {\r\n    this.showErrors = false;\r\n    this.parentFormSubmittedSubject.next(true);\r\n\r\n    if (this.myForm.valid) {\r\n      let clinician: Clinician = this.frmDoc;\r\n      clinician.id = null;\r\n      clinician.clinicID = null;\r\n      clinician.phone = !!clinician.phone ? this.CountryCode + this.stripLeadingZero(clinician.phone) : null;\r\n      clinician.fax = !!clinician.fax ? this.CountryCode + this.stripLeadingZero(clinician.fax) : null;\r\n      clinician.email = !!clinician.email ? clinician.email : null;\r\n\r\n      this.Doctors.push(clinician);\r\n      this.hideChildModal();\r\n    } else {\r\n      this.showErrors = true;\r\n    }\r\n  }\r\n\r\n  private stripLeadingZero(num: string) {\r\n    if (num.startsWith('0')) {\r\n      num = num.substr(1, num.length - 1);\r\n    }\r\n    return num;\r\n  }\r\n\r\n  public validateContactDetails(event: any) {\r\n    this.atLeastOneContactIsProvided = false;\r\n    if (event.target.value.length > 0) {\r\n      this.atLeastOneContactIsProvided = true;\r\n    } else {\r\n      if ((this.frmDoc.phone && this.frmDoc.phone.length > 0)\r\n      || (this.frmDoc.fax && this.frmDoc.fax.length > 0)\r\n      || (this.frmDoc.email && this.frmDoc.email.length > 0)) {\r\n        this.atLeastOneContactIsProvided = true;\r\n      }\r\n    }\r\n  }\r\n\r\n  changeDoctor(event: any, _selectedDoctor: string) {\r\n    this.Doctors.forEach(item => item.willExplainResult = false);\r\n    if (event && event.target.selectedIndex && this.deliveredTo === 'doctor') {\r\n      let  selectedDoctorIndex = event.target.selectedIndex - 1;\r\n      this.Doctors[selectedDoctorIndex].willExplainResult = true;\r\n    }\r\n  }\r\n\r\n  setDeliveryPreference(event: any) {\r\n\r\n    if ((event && event.target && event.target.checked)) {\r\n\r\n      //as part of the integration task\r\n      //update model in the pharmacydetails\r\n      //event.target.value --pharmacy /doctor/customer\r\n      this.selectedDoctor = undefined;\r\n      this.deliveredTo = event.target.value;\r\n      this.reportDeliveryOption.to = event.target.value;\r\n      if (this.reportDeliveryOption.to  !== 'doctor') {\r\n        this.Doctors.forEach(item => item.willExplainResult = false);\r\n      }\r\n    }\r\n  }\r\n\r\n  setValidationRules () {\r\n    const resp: Validator = this.myDnaValidationPatterns.getDefaultValidatons();\r\n    this.emailPattern = resp.email;\r\n    this.namePattern = resp.name;\r\n    this.phonePattern = resp.phone;\r\n    this.mobilePattern = resp.mobile;\r\n    this.postcodePattern = resp.postcode;\r\n    this.suburbPattern = resp.suburb;\r\n    this.statePattern = resp.state;\r\n  }\r\n\r\n  OnAddressChange($event) {\r\n    this.frmDoc.country = $event.Country;\r\n    this.frmDoc.address = $event.AddressLine1;\r\n    this.frmDoc.address2 = $event.AddressLine2;\r\n    this.frmDoc.suburb = $event.Suburb;\r\n    this.frmDoc.state = $event.State;\r\n    this.frmDoc.postCode = $event.Zip;\r\n    this.CountryCode = $event.CountryPhoneCode;\r\n    this.frmDoc.ISO2CountryCode = $event.ISO2CountryCode;\r\n    this.frmDoc.ISO3CountryCode = $event.ISO3CountryCode;\r\n\r\n    let supportedCountriesArray = environment.captureSupportedCountries.split(',');\r\n    this._isAnAddressSearchSupportedCountry = this.frmDoc.country != null && supportedCountriesArray.find(c => c.toLowerCase() === this.frmDoc.country.toLowerCase()) != null;\r\n\r\n    this.countryCodeService.getStatesForCountry(this.frmDoc.ISO2CountryCode)\r\n      .subscribe(data => {\r\n        this.StatesList = data;\r\n        this.StateSearchDataSource = data.stateProvinces.map(state => state.stateProvince);\r\n      });\r\n\r\n  }\r\n\r\n  ValidatePinnaclePostcode() {\r\n    //postcode can be null/blank or if has a value, needs to match regex\r\n    if (this.pinnacleDoctorForm == null\r\n      || this.pinnacleDoctorForm.postcode == null\r\n      || this.pinnacleDoctorForm.postcode === ''\r\n      || this.pinnacleDoctorForm.postcode.match(this.postcodeRegex) !== null ) {\r\n        this.isPinnaclePostcodeError = false;\r\n        return;\r\n    }\r\n      this.isPinnaclePostcodeError = true;\r\n      return;\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/my-practitioners-step/my-practitioners-step.component.ts","import { Component, OnInit } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport { ValidateBarcodesService } from '../services/validateBarcodes.service';\r\nimport { ModalPopupService } from './../shared/modal-popup/modal-popup.service';\r\nimport { SpinnerService } from './../shared/spinner/spinner.service';\r\nimport { MyDnaOperatingContextService } from './../shared/mydna-operating-context/mydna-operating-context.service';\r\nimport { CountryCodeService } from '../services/countryCode.service';\r\nimport { environment } from 'environments/environment';\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-mykit-step',\r\n  templateUrl: 'mykit-step.component.html',\r\n  styleUrls: ['mykit-step.component.css']\r\n})\r\n\r\nexport class MykitStepComponent {\r\n\r\n  private barcode: string;\r\n  private kitTypeId: string;\r\n  private barcodeValid = false;\r\n  visibleerrorMessage = false;\r\n  countryErrorMessage = false;\r\n  countryLocation: string;\r\n  countryURL: string;\r\n  countryPhone: string;\r\n  errorMessage = '';\r\n\r\n  constructor(\r\n    public registrationService: RegistrationService,\r\n    private validateBarcodesService: ValidateBarcodesService,\r\n    private popup: ModalPopupService,\r\n    private loader: SpinnerService,\r\n    private myDnaOperatingContextService: MyDnaOperatingContextService,\r\n    private countryCodeService: CountryCodeService\r\n  ) {\r\n    this.barcode = this.registrationService.data.barcode;\r\n    this.kitTypeId = this.registrationService.data.kitTypeId;\r\n  }\r\n\r\n  navigate() {\r\n    if (/^\\d{9,10}$/.test(this.barcode)) {\r\n      let response: any;\r\n      this.barcodeValid = false;\r\n      this.countryErrorMessage = false;\r\n      this.myDnaOperatingContextService.setContextCountryCode('');\r\n      this.loader.show();\r\n      let formattedBarcode = this.FormatBarcodeForBackendSystems(this.barcode);\r\n      let value = this.validateBarcodesService.getBarcodeDetails(formattedBarcode)\r\n        .subscribe(data => {\r\n          this.loader.hide();\r\n          response = data;\r\n        },\r\n          error => {\r\n            this.loader.hide();\r\n            if (error.status === 400 || error.status === 404) {\r\n              this.visibleerrorMessage = true;\r\n              this.errorMessage = 'The barcode number you have entered is invalid. Please correct and try again. If you are still experiencing issues call us on 1300 436 373.';\r\n            } else if (error.status === 410) {\r\n              this.visibleerrorMessage = true;\r\n              this.errorMessage = 'This barcode is no longer valid, please contact the myDNA Support Team on 1300 436 373 or help@mydna.life';\r\n            } else {\r\n              this.popup.show500();\r\n            }\r\n            this.visibleerrorMessage = true;\r\n          },\r\n          () => {\r\n            this.loader.hide();\r\n            if (response !== undefined && response.status === 'active') {\r\n              if (response.kitTypeId === 100000098 || response.kitTypeId === 100000099) {\r\n                this.popup.show('Error', `It looks like you're trying to register a Blua test kit. Please\r\n                        <a href=\"https://blua.mydna.life\">register your kit here</a> instead.`);\r\n              } else {\r\n                this.registrationService.data.kitTypeId = response.kitTypeId;\r\n                this.registrationService.data.barcode = response.barcode;\r\n\r\n                this.countryCodeService.getCountryName(response.countryIso2)\r\n                  .subscribe(kitCountry =>\r\n                    this.registrationService.data.kitCountry = kitCountry\r\n                  );\r\n                this.registrationService.data.kitCountryIso2Code = response.countryIso2;\r\n                this.myDnaOperatingContextService.setContextCountryCode(response.countryIso2);\r\n\r\n                this.barcodeValid = true;\r\n                this.visibleerrorMessage = false;\r\n                this.registrationService.nextPage();\r\n              }\r\n            } else if (response.status === 'notAllowed') {\r\n              if (response.kitTypeId === 100000004) {\r\n                this.popup.show('Error', `This is a FIT BioCeuticals Product, please register at\r\n                        <a href=\"https://www.bioceuticals.com.au/clinical-services\">www.bioceuticals.com.au/clinical-services</a>`);\r\n              } else {\r\n                this.visibleerrorMessage = true;\r\n                this.errorMessage = 'This barcode is invalid';\r\n              }\r\n            } else if (response.status !== 'active') {\r\n              this.visibleerrorMessage = true;\r\n              this.errorMessage = 'This barcode is no longer valid, please contact the myDNA Support Team on 1300 436 373 or help@mydna.life';\r\n            } else {\r\n              this.popup.show500();\r\n            }\r\n          });\r\n    } else {\r\n      this.visibleerrorMessage = true;\r\n      this.errorMessage = 'Please check that your barcode is a 10 digit number';\r\n    }\r\n  }\r\n\r\n  private FormatBarcodeForBackendSystems(barcode: string): string {\r\n    return (barcode.length === 9 ? '0' : '') + barcode;\r\n  }\r\n\r\n  private ClearError() {\r\n    this.visibleerrorMessage = false;\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/mykit-step/mykit-step.component.ts","import { Component, OnInit } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\n\r\n/**\r\n * This class represents the lazy loaded AboutComponent.\r\n */\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-pinnacle-confirmation-step',\r\n  templateUrl: 'pinnacle-confirmation-step.component.html',\r\n  styleUrls: ['pinnacle-confirmation-step.component.css']\r\n})\r\nexport class PinnacleConfirmationStepComponent {\r\n\r\n  e2eIds: string;\r\n\r\n  constructor(public registrationService : RegistrationService) {\r\n    this.e2eIds = this.registrationService.getE2ETestIds();\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/pinnacle-confirmation-step/pinnacle-confirmation-step.component.ts","import {Component, ViewChild} from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport {NgForm} from '@angular/forms';\r\n\r\nexport class QuestionSet {\r\n  questions: Question[] = [];\r\n}\r\n\r\nexport class Question {\r\n  key: string;\r\n  title: string;\r\n  type: string;\r\n  answers?: KeyValue[] = [];\r\n  skip?: QuestionSkip;\r\n}\r\n\r\nexport class QuestionSkip {\r\n  key: string;\r\n  answers: string[] = [];\r\n}\r\n\r\nexport class KeyValue {\r\n  key: string;\r\n  value: string;\r\n}\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-questionnaire-step',\r\n  templateUrl: 'questionnaire-step.component.html'\r\n})\r\nexport class QuestionnaireStepComponent {\r\n\r\n  @ViewChild('answerForm') public form: NgForm;\r\n\r\n  answers = {};\r\n  showErrors = false;\r\n\r\n  questions = new QuestionSet();\r\n\r\n  yesNoUnsure =  [\r\n    {key: 'yes', value: 'Yes'},\r\n    {key: 'no', value: 'No'},\r\n    {key: 'unsure', value: 'I’m not sure'}\r\n  ];\r\n\r\n  yesNo =  [\r\n    {key: 'yes', value: 'Yes'},\r\n    {key: 'no', value: 'No'}\r\n  ];\r\n\r\n\r\n\r\n\r\n  buildKV(...args) {\r\n    return args.map(v => <KeyValue>{key: v.toString(), value: v.toString()});\r\n  }\r\n\r\n  buildRange(start: number, end: number): KeyValue[] {\r\n    const values: KeyValue[] = [];\r\n    while (start < end) {\r\n      values.push({key: start.toString(10), value: start.toString(10)});\r\n      start++;\r\n    }\r\n    return values;\r\n  }\r\n\r\n  setAnswer(qn: Question, answer: string) {\r\n    if (qn.type === 'single') {\r\n      this.answers[qn.key] = answer;\r\n    } else {\r\n      let answers = this.answers[qn.key] ? this.answers[qn.key].split(',') : [];\r\n      const loc = answers.indexOf(answer);\r\n      if (loc > -1) {\r\n        answers.splice(loc, 1);\r\n      } else {\r\n        answers.push(answer);\r\n      }\r\n      this.answers[qn.key] = answers.join(',');\r\n    }\r\n  }\r\n\r\n  constructor(public registrationService: RegistrationService) {\r\n    this.questions.questions.push(\r\n      {\r\n        key: 'weight',\r\n        type: 'single',\r\n        title: 'What is your weight in kilograms? (kg)',\r\n        answers: this.buildRange(25, 201)\r\n      },\r\n      {\r\n        key: 'weightGoal',\r\n        type: 'single',\r\n        title: 'What is your goal weight? (kg)',\r\n        answers: this.buildRange(25, 201)\r\n      },\r\n      {\r\n        key: 'exerciseFrequency',\r\n        type: 'single',\r\n        title: 'In an average week, how many times do you exercise?',\r\n        answers: this.buildKV(0, 1, 2, 3, 4, 5, '5+')\r\n      },\r\n      {\r\n        key: 'exerciseDuration',\r\n        type: 'single',\r\n        title: 'What is the usual duration of each training session?',\r\n        answers: [\r\n          {key: '0-30', value: '30 minutes or less'},\r\n          {key: '30-45', value: '30-45 minutes'},\r\n          {key: '45-60', value: '45-60 minutes'},\r\n          {key: '60', value: '60 minutes'}\r\n        ],\r\n        skip: {key: 'exerciseFrequency', answers: ['0']}\r\n      },\r\n      {\r\n        key: 'warmUp',\r\n        type: 'single',\r\n        title: 'Do you regularly warm-up before training?',\r\n        answers: [\r\n          {key: 'yes5+', value: 'Yes, for more than 5 minutes'},\r\n          {key: 'yes0-5', value: 'Yes, for 0 - 5 minutes'},\r\n          {key: 'no', value: 'No'}\r\n        ],\r\n        skip: {key: 'exerciseFrequency', answers: ['0']}\r\n      },\r\n      {\r\n        key: 'coolDown',\r\n        type: 'single',\r\n        title: 'Do you regularly cool-down after training?',\r\n        answers: [\r\n          {key: 'yes5+', value: 'Yes, for more than 5 minutes'},\r\n          {key: 'yes0-5', value: 'Yes, for 0 - 5 minutes'},\r\n          {key: 'no', value: 'No'}\r\n        ],\r\n        skip: {key: 'exerciseFrequency', answers: ['0']}\r\n      },\r\n      {\r\n        key: 'exerciseFavourite',\r\n        type: 'single',\r\n        title: 'Which of the following type of exercise do you enjoy the most?',\r\n        answers: [\r\n          {key: 'weights', value: 'Weights'},\r\n          {key: 'HIIT', value: 'Sprinting, high Intensity, Interval training'},\r\n          {key: 'cardio', value: 'Jogging, swimming, cycling (cardio)'},\r\n          {key: 'pilates', value: 'Pilates, yoga, walking'},\r\n          {key: 'none', value: 'None of the above'},\r\n          {key: 'other', value: 'Other'},\r\n        ]\r\n      },\r\n      {\r\n        key: 'exerciseFavouriteOther',\r\n        type: 'text',\r\n        title: 'What exercise do you enjoy the most?',\r\n        skip: {key: 'exerciseFavourite', answers: ['weights', 'HIIT', 'cardio', 'pilates', 'none', undefined, 'undefined']}\r\n      },\r\n      {\r\n        key: 'activityLevel',\r\n        type: 'single',\r\n        title: 'How active are you in your daily life? Please select the comment which sounds most like you.',\r\n        answers: [\r\n          {key: '0', value: 'I am always at rest (chair-bound or bed-bound)'},\r\n          {key: '1', value: 'I do seated work and a little or no strenuous leisure activity'},\r\n          {key: '2', value: 'I do seated work with occasional walking and regular exercise'},\r\n          {key: '3', value: 'I do work which is mainly standing or walking'},\r\n          {key: '4', value: 'I do heavy occupational work or have a highly active leisure life'},\r\n          {key: '5', value: 'I do significant amounts of sport and strenuous leisure activity in addition to work'}\r\n        ]\r\n      },\r\n      {\r\n        key: 'injuryProne',\r\n        type: 'single',\r\n        title: 'Are you prone to injuring your tendons, ligaments or muscles during exercise?',\r\n        answers: this.yesNoUnsure\r\n      },\r\n      {\r\n        key: 'informed',\r\n        type: 'single',\r\n        title: 'Do you feel well enough informed to make decisions about what nutrition will work best for your body?',\r\n        answers: [\r\n          {key: 'yes', value: 'No, there’s too much information out there about how to eat, I’m not sure what will work best for me'},\r\n          {key: 'no', value: 'Yes, I already feel quite sure about what will work best for my body'},\r\n          {key: 'unsure', value: 'I’m not sure'}\r\n        ]\r\n      },\r\n      {\r\n        key: 'dietBehaviour',\r\n        type: 'multiple',\r\n        title: 'Which best describes your dieting behaviour (tick as many as apply)?',\r\n        answers:  [\r\n          {key: 'quick', value: 'I can lose weight quickly by following a strict diet for a number of weeks'},\r\n          {key: 'social', value: 'I follow diets that are popular on social media or that have worked for my friends, but my weight yo-yos up and down'},\r\n          {key: 'unsteady', value: 'I tend to regain the weight loss after a diet making it a struggle to maintain a steady healthy weight'},\r\n          {key: 'sustainable', value: 'I follow a sustainable balanced diet and I am a healthy weight'},\r\n          {key: 'unhappy', value: 'I eat healthily and exercise regularly, but I am not happy with my weight'}\r\n        ]\r\n      },\r\n      {\r\n        key: 'triedHighFat',\r\n        type: 'single',\r\n        title: 'Have you tried a high fat diet (e.g. Keto diet or Paleo)?',\r\n        answers: this.yesNo\r\n      },\r\n      {\r\n        key: 'highFatEfficacy',\r\n        type: 'single',\r\n        title: 'Is/was the high fat diet successful in helping you to lose weight?',\r\n        answers: this.yesNo,\r\n        skip: {key: 'triedHighFat', answers: ['no']}\r\n      },\r\n      {\r\n        key: 'snacksStruggle',\r\n        type: 'single',\r\n        title: 'Do you struggle with appetite control and often snack on sugary/fatty foods?',\r\n        answers: this.yesNo\r\n      },\r\n      {\r\n        key: 'lastCaffeineTime',\r\n        type: 'single',\r\n        title: 'At what point in the day do you usually have your last coffee, tea, or other caffeinated drink (e.g. energy drink / hot chocolate)?',\r\n        answers: [\r\n          {key: 'morning', value: 'In the morning'},\r\n          {key: 'lunch', value: 'After lunch'},\r\n          {key: 'dinner', value: 'After dinner'},\r\n          {key: 'never', value: 'I do not consume caffeine (coffee, tea, energy drinks, chocolate)'}\r\n        ]\r\n      },\r\n      {\r\n        key: 'nextSuccessStory',\r\n        type: 'single',\r\n        title: `Are you the next myDNA success story? We’re looking for 20 people to take part in an 8-week program where myDNA will support you to achieve your health and\r\n        fitness goals. If you’re chosen as a successful applicant you will receive a complimentary 1:1 consult with a genetic counsellor, dietitian, and exercise physiologist\r\n        as well as a DEXA body scan at the start and end of the program <b>(valued at over $1,400)</b>. In return for this complimentary program, we’d like to share your story on\r\n        our website, in social media and through various other media channels aimed at inspiring others to achieve their goals too.`,\r\n        answers: this.yesNo\r\n      }\r\n    );\r\n  }\r\n\r\n  navigate() {\r\n    let complete = true;\r\n    this.questions.questions.forEach(qn => {\r\n      if (!this.answers[qn.key] || this.answers[qn.key] === 'undefined') {\r\n        if (!qn.skip || (qn.skip.answers.indexOf(this.answers[qn.skip.key]) === -1)) {\r\n          complete = false;\r\n        }\r\n      }\r\n    });\r\n    if (!complete) {\r\n      this.showErrors = true;\r\n    } else {\r\n      let qa: any = {};\r\n      this.questions.questions.map(q => {\r\n        if (this.answers.hasOwnProperty(q.key)) {\r\n          qa[q.key] = {Question: q.title.substr(0, 2000), Answer: this.answers[q.key]};\r\n        }\r\n      });\r\n      this.registrationService.setAdditionalDetails(qa);\r\n    }\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/questionnaire-step/questionnaire-step.component.ts","import { Component } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\n\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-report-delivery-step',\r\n  templateUrl: 'report-delivery-step.component.html'\r\n})\r\nexport class ReportDeliverStepComponent {\r\n\r\n  public deliveredTo?: string;\r\n  public showDropDown = false;\r\n  public options: DropDownOption[];\r\n\r\n  public selectedValue?: string;\r\n  public isHCPAvailable = true;\r\n  public isValid = false;\r\n\r\n  constructor(public registrationService: RegistrationService) {\r\n    this.checkPharmacyData();\r\n    this.checkHCP();\r\n  }\r\n\r\n  navigate() {\r\n\r\n    if ((this.deliveredTo === 'health_care_professional' && this.selectedValue != null) || this.deliveredTo === 'over_the_phone') {\r\n      this.registrationService.setReportSelection(this.deliveredTo);\r\n      this.registrationService.setReportDropDownSelection(this.selectedValue);\r\n      if (this.deliveredTo == null) {\r\n        this.registrationService.error = 'Please make a selection';\r\n        return false;\r\n      } else if (this.deliveredTo === 'health_care_professional' && this.selectedValue == null) {\r\n        this.registrationService.error = 'Please make a selection';\r\n        return false;\r\n      }\r\n\r\n      this.registrationService.submit(true, false, true);\r\n    }\r\n  }\r\n\r\n  checkPharmacyData() {\r\n    const pharmacyDetails = this.registrationService.getPharmacyDetails();\r\n    if (pharmacyDetails !== undefined && pharmacyDetails.length > 0) {\r\n      return true;\r\n    } else {\r\n      this.isHCPAvailable = false;\r\n    }\r\n    return false;\r\n  }\r\n\r\n  checkHCP() {\r\n    this.deliveredTo = this.registrationService.getReportSelection();\r\n\r\n    if (this.deliveredTo === 'over_the_phone') {\r\n      this.showDropDown = false;\r\n    } else if (this.deliveredTo === 'health_care_professional' && this.checkPharmacyData()) {\r\n      this.showDropDown = true;\r\n      this.prepareDropDown();\r\n    } else {\r\n      this.showDropDown = false;\r\n    }\r\n  }\r\n  prepareDropDown() {\r\n    const opt: DropDownOption[] = [];\r\n\r\n    let pharmacyDetails = this.registrationService.getPharmacyDetails();\r\n    if (pharmacyDetails != null) {\r\n      this.showDropDown = true;\r\n      opt.push(<DropDownOption>{\r\n        id: pharmacyDetails[0].RegistrationID,\r\n        name: pharmacyDetails[0].Name\r\n      });\r\n      this.options = opt;\r\n      return this.options[0];\r\n    } else {\r\n      this.showDropDown = false;\r\n    }\r\n\r\n  }\r\n\r\n  hideDropDown() {\r\n    this.showDropDown = false;\r\n  }\r\n\r\n  handleDropDownChange(evt) {\r\n    this.registrationService.setReportDropDownSelection(this.selectedValue);\r\n  }\r\n\r\n  handleRadioChange(evt) {\r\n    this.registrationService.setReportSelection(this.deliveredTo);\r\n    if (this.deliveredTo === 'health_care_professional' && this.checkPharmacyData()) {\r\n      this.prepareDropDown();\r\n      this.showDropDown = true;\r\n    } else {\r\n      this.showDropDown = false;\r\n    }\r\n  }\r\n}\r\n\r\nexport interface DropDownOption {\r\n  id: string;\r\n  name: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/report-delivery-step/report-delivery-step.component.ts","import { Component } from '@angular/core';\r\nimport { RegistrationService } from '../services/registration.service';\r\nimport { ProductsService } from '../services/products.service';\r\nimport 'rxjs/Rx';\r\nimport { ModalPopupService } from '../shared/modal-popup/modal-popup.service';\r\nimport { SpinnerService } from '../shared/spinner/spinner.service';\r\nimport { Steps } from '../steps';\r\nimport { KitDetails } from '../models/kit-details';\r\nimport { Product } from '../../client-api/SelectProductsApi';\r\n\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'mydna-customerreg-select-reports-step',\r\n  templateUrl: 'select-reports-step.component.html'\r\n})\r\nexport class SelectReportsStepComponent {\r\n\r\n  private reportSelected = false;\r\n  public KitDetails: KitDetails;\r\n\r\n  constructor(\r\n    public registrationService: RegistrationService,\r\n    private productsService: ProductsService,\r\n    private stepsService: Steps,\r\n    private popup: ModalPopupService,\r\n    private loader: SpinnerService) {\r\n    this.loader.show();\r\n    this.productsService.getKitDetails(this.registrationService.data.kitTypeId)\r\n      .subscribe(data => {\r\n          this.loader.hide();\r\n          data.products = data.products.filter(r => r.state.match('^(active|underRevision)'));\r\n          this.KitDetails = data;\r\n          this.SetCobrandingImageLocation();\r\n        },\r\n        error => {\r\n          this.loader.hide();\r\n          this.popup.show500();\r\n        });\r\n  }\r\n\r\n  public SelectProduct(product: Product) {\r\n    this.registrationService.data.product = product;\r\n    this.reportSelected = true;\r\n    if (this.registrationService.data.product) {\r\n      switch (true) {\r\n        case !!product.config && !!product.config.registrationWorkflow:\r\n          return this.stepsService.setWorkflow(\r\n            product.config.registrationWorkflow, product.productNumber\r\n          );\r\n        default:\r\n          return this.stepsService.setWorkflow(\r\n            product.isMedicationRequired ? Steps.FullMedication : Steps.Wellness, product.productNumber\r\n          );\r\n      }\r\n    }\r\n  }\r\n\r\n  navigate() {\r\n    this.registrationService.nextPage();\r\n  }\r\n\r\n  \r\n  private SetCobrandingImageLocation() {\r\n    this.KitDetails.products.forEach(prod => {\r\n      if (prod.config\r\n        && prod.config.cobrandingImageLocation){\r\n          this.registrationService.data.cobrandingImageLocation = prod.config.cobrandingImageLocation;\r\n        }\r\n    });\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/select-reports-step/select-reports-step.component.ts","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs/Observable';\r\nimport 'rxjs/add/operator/map';\r\n\r\nimport {HealthCarePractitionersApi} from './../../healthcare-practitioner-api';\r\nimport { MyDnaOperatingContextService } from './../shared/mydna-operating-context/mydna-operating-context.service';\r\n\r\n@Injectable()\r\nexport class DoctorsService {\r\n\r\n    constructor(\r\n        private healthCarePractitionerApi: HealthCarePractitionersApi,\r\n        private _myDnaOperatingContextService: MyDnaOperatingContextService\r\n    ) {}\r\n\r\n    getDoctors(q: string, unitMemberId: string, partnerName?: string, partnerReferenceId?: string, partnerReferenceText?: string) {\r\n        this._myDnaOperatingContextService.setOperatingContextHeaders(this.healthCarePractitionerApi.defaultHeaders);\r\n        return this.healthCarePractitionerApi.healthCarePractitionersGetClinicians(q, unitMemberId, partnerName, partnerReferenceId, partnerReferenceText);\r\n    }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/doctors.service.ts","import {Inject, Injectable, Optional} from '@angular/core';\r\nimport {Service} from '../../client-api/Service';\r\nimport { HealthCarePractitionerApi_BASE_PATH } from '../../healthcare-practitioner-api/variables';\r\nimport { MyDnaOperatingContextService } from './../shared/mydna-operating-context/mydna-operating-context.service';\r\nimport { HealthCarePractitionersApi } from './../../healthcare-practitioner-api';\r\nimport { Headers } from '@angular/http/src/headers';\r\nimport { ProductsApi, Product } from 'app/client-api/SelectProductsApi';\r\n\r\n@Injectable()\r\nexport class PharmaciesService {\r\n  private basePath: string;\r\n  constructor(\r\n    @Optional()@Inject(HealthCarePractitionerApi_BASE_PATH) basePath: string,\r\n      private service: Service,\r\n      private _myDnaOperatingContextService: MyDnaOperatingContextService,\r\n      private healthCarePractitionerApi: HealthCarePractitionersApi\r\n    ) {\r\n    \tthis.basePath = basePath || this.basePath;\r\n    }\r\n\r\n  getPharmacies(query: string, product?: Product) {\r\n      let contextHeader: Headers = this.healthCarePractitionerApi.defaultHeaders;\r\n      this._myDnaOperatingContextService.setOperatingContextHeaders(contextHeader);\r\n      let headers: Headers = new Headers(contextHeader.toJSON());\r\n\r\n      let bannerGroupInclude: string =  product.config.bannerGroupCode;\r\n      let bannerGroupExclude: string =  product.config.bannerGroupExclusions;\r\n   \r\n      return this.service.get(this.basePath + 'ClinicalOrganisations/Pharmacies', {query: query, bannerGroupCodes: bannerGroupInclude, bannerGroupCodesExclude: bannerGroupExclude }, headers);    \r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/services/pharmacies.service.ts","import { Component, Input, ElementRef, Renderer , forwardRef } from '@angular/core';\r\nimport { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';\r\n\r\nconst noop = () => {\r\n};\r\n\r\nexport const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any = {\r\n  provide: NG_VALUE_ACCESSOR,\r\n  useExisting: forwardRef(() => DateDropDownComponent),\r\n  multi: true\r\n};\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'date-dropdown',\r\n  templateUrl: 'date-dropdown.component.html',\r\n  styleUrls: ['date-dropdown.component.css'],\r\n  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]\r\n\r\n})\r\n\r\nexport class DateDropDownComponent implements ControlValueAccessor {\r\n  dayRange: any;\r\n  monthsArray: string[];\r\n\r\n  dayList: any;\r\n  MonthList: any;\r\n  YearList: any;\r\n\r\n  dateFields: any;\r\n  date: any;\r\n\r\n  dateIsRequired: boolean;\r\n\r\n  // The internal data model\r\n  private innerValue: any = '';\r\n\r\n  // Placeholders for the callbacks which are later provided\r\n  // by the Control Value Accessor\r\n\r\n  private onTouchedCallback: () => void = noop;\r\n  private onChangeCallback: (_: any) => void = noop;\r\n  @Input() dateFormat: string = 'dd/MM/yyyy';\r\n\r\n  @Input() dayDivClass: any = 'day-container';\r\n  @Input() dayClass: any = 'day-selector';\r\n  @Input() monthDivClass: any = 'month-container';\r\n  @Input() monthClass: any = 'month-selector';\r\n  @Input() yearDivClass: any = 'year-container';\r\n  @Input() yearClass: any = 'year-selector';\r\n\r\n  constructor(private el: ElementRef, private renderer: Renderer) {\r\n    this.dayRange = [1, 31];\r\n    this.monthsArray = [\r\n      'January',\r\n      'February',\r\n      'March',\r\n      'April',\r\n      'May',\r\n      'June',\r\n      'July',\r\n      'August',\r\n      'September',\r\n      'October',\r\n      'November',\r\n      'December'\r\n    ];\r\n\r\n    this.dateFields = {\r\n      day: '',\r\n      month: '',\r\n      year: ''\r\n    };\r\n\r\n    this.dayList = [];\r\n    this.MonthList = [];\r\n    this.YearList = [];\r\n\r\n    this.GetDays();\r\n    this.GetMonths();\r\n    this.GetYears();\r\n\r\n    this.date = '';\r\n    // this.setCssClasses();\r\n  }\r\n\r\n\r\n\r\n\r\n  // get accessor\r\n  get value(): any {\r\n    return this.innerValue;\r\n  };\r\n\r\n  // set accessor including call the onchange callback\r\n  set value(v: any) {\r\n    if (v !== this.innerValue) {\r\n      this.innerValue = v;\r\n      this.onChangeCallback(v);\r\n    }\r\n  }\r\n\r\n  // Set touched on blur\r\n  onBlur() {\r\n    this.onTouchedCallback();\r\n  }\r\n\r\n  // From ControlValueAccessor interface\r\n  writeValue(value: any) {\r\n    if (value !== this.innerValue) {\r\n      this.innerValue = value;\r\n      // this call is to rebind the value to model.\r\n      this.onModelChange();\r\n    }\r\n  }\r\n\r\n  // From ControlValueAccessor interface\r\n  registerOnChange(fn: any) {\r\n    this.onChangeCallback = fn;\r\n  }\r\n\r\n  // From ControlValueAccessor interface\r\n  registerOnTouched(fn: any) {\r\n    this.onTouchedCallback = fn;\r\n  }\r\n\r\n\r\n  setCssClasses() {\r\n    let cssArray: any = [this.dayDivClass, this.monthDivClass, this.yearDivClass, this.dayClass, this.monthClass, this.yearClass];\r\n    for (let i = 0; i < cssArray.length; i++) {\r\n      this.renderer.setElementClass(this.el.nativeElement, cssArray[i], true);\r\n    }\r\n\r\n  }\r\n\r\n  GetDays(): void {\r\n    let days: any = [];\r\n    while (this.dayRange[0] <= this.dayRange[1]) {\r\n      days.push(this.dayRange[0]++);\r\n    }\r\n    this.dayList = days;\r\n\r\n  };\r\n\r\n\r\n  GetMonths(): void {\r\n    let lst: any = [],\r\n      mLen = this.monthsArray.length;\r\n\r\n    for (let i = 0; i < mLen; i++) {\r\n      lst.push({\r\n        value: i,\r\n        name: this.monthsArray[i]\r\n      });\r\n    }\r\n    this.MonthList = lst;\r\n  }\r\n\r\n  GetYears(): void {\r\n    let lst: any = [];\r\n    let currentYear = new Date().getFullYear();\r\n    let oldestYear = 1900;\r\n    for (let i = currentYear; i >= oldestYear; i--) {\r\n      lst.push(i);\r\n    }\r\n    this.YearList = lst;\r\n  }\r\n\r\n  changeDate(date: any) {\r\n    if (date.day > 28) {\r\n      date.day--;\r\n      return date;\r\n    } else if (date.month > 11) {\r\n      date.day = 31;\r\n      date.month--;\r\n      return date;\r\n    }\r\n  }\r\n\r\n  formatDate(date: any) {\r\n\r\n    let day = date.getDate();\r\n    let month = date.getMonth() + 1;\r\n    let year = date.getFullYear();\r\n\r\n    if (day < 10) {\r\n      day = '0' + day;\r\n    }\r\n    if (month < 10) {\r\n      month = '0' + month;\r\n    }\r\n\r\n    if (this.dateFormat === 'dd/MM/yyyy') {\r\n      return day + '/' + month + '/' + year;\r\n    } else {\r\n      return month + '/' + day + '/' + year;\r\n    }\r\n  }\r\n\r\n  checkDate(date: any): any {\r\n    let d: any;\r\n    if (!date.day || date.month === null || date.month === undefined || !date.year) {\r\n      return false;\r\n    } else {\r\n      // d = new Date(Date.UTC(date.year, date.month, date.day));\r\n      d = new Date(date.year, date.month, date.day);\r\n\r\n      if (d && (d.getMonth() === date.month && d.getDate() === Number(date.day))) {\r\n        return d;\r\n      }\r\n      return this.checkDate(this.changeDate(date));\r\n    }\r\n  }\r\n\r\n  OnChangeDate() {\r\n    let date = this.checkDate(this.dateFields);\r\n    if (date) {\r\n      this.value = this.date = this.formatDate(date);\r\n    }\r\n  }\r\n\r\n  onModelChange() {\r\n    if (this.value !== undefined  && this.value !== '' && this.value != null) {\r\n      let newDate = this.value;\r\n      let dateParts = newDate.split('/');\r\n      this.dateFields.day = parseInt(dateParts[0], 10);\r\n      this.dateFields.month = parseInt(dateParts[1], 10) - 1;\r\n      this.dateFields.year = parseInt(dateParts[2], 10);\r\n    } else {\r\n      this.dateFields.day = new Date(this.value).getDate();\r\n      this.dateFields.month = new Date(this.value).getMonth();\r\n      this.dateFields.year = new Date(this.value).getFullYear();\r\n    }\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.component.ts","import { NgModule }           from '@angular/core';\r\nimport { CommonModule }       from '@angular/common';\r\nimport { FormsModule }        from '@angular/forms';\r\n\r\nimport {DateDropDownComponent} from './date-dropdown.component';\r\n\r\n@NgModule({\r\n    imports: [CommonModule, FormsModule],\r\n    declarations: [DateDropDownComponent],\r\n    exports: [DateDropDownComponent]\r\n})\r\nexport class DateDropDownModule {\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/date-dropdown/date-dropdown.module.ts","import { Directive, forwardRef,  Attribute } from '@angular/core';\r\nimport { Validator, AbstractControl, NG_VALIDATORS } from '@angular/forms';\r\n\r\n@Directive({\r\n  selector: `[validateEqual][formControlName],[validateEqual][formControl],[validateEqual][ngModel]`,\r\n  providers: [\r\n      { provide: NG_VALIDATORS, useExisting: forwardRef(() => EqualValidatorDirective), multi: true }  \r\n  ]\r\n})\r\n\r\nexport class EqualValidatorDirective implements Validator {\r\n  constructor(@Attribute('validateEqual') public validateEqual: string,\r\n    @Attribute('reverse') public reverse: string) {\r\n    }\r\n\r\n    private get isReverse() {\r\n        if (!this.reverse) return false;\r\n        return this.reverse === 'true' ? true: false;\r\n    }\r\n\r\n    validate(c: AbstractControl): { [key: string]: any } {\r\n        // self value\r\n        let v = c.value;\r\n\r\n        // control vlaue\r\n        let e = c.root.get(this.validateEqual);\r\n\r\n        // value not equal\r\n        if (e && (v !== e.value&&e.value && e.value.length>0) && !this.isReverse) {\r\n            return {\r\n                validateEqual: true\r\n            }\r\n        }\r\n\r\n        // value equal and reverse\r\n        if (e && (v === e.value&&e.value&& e.value.length>0) && this.isReverse) {\r\n            delete e.errors['validateEqual'];\r\n            if (!Object.keys(e.errors).length) e.setErrors(null);\r\n        }\r\n\r\n        // value not equal and reverse\r\n        if (e && (v !== e.value&&e.value && e.value.length>0) && this.isReverse) {\r\n            e.setErrors({ validateEqual: true });\r\n        }\r\n\r\n        return null;\r\n    }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/mydna-customdirectives/equal-validator.directive.ts","import { NgModule } from '@angular/core';\r\n\r\nimport {MyDnaUtilityService}   from './mydna-utility.service';\r\n\r\n@NgModule({\r\n    imports: [],\r\n    exports: [],\r\n    declarations: []  ,\r\n    providers:[MyDnaUtilityService] \r\n})\r\nexport class MyDnaUtilityModule { }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/customer-registration-wizard/shared/mydna-utility/mydna-utility.module.ts","export * from './PharmaciesApi';\r\nimport { PharmaciesApi }  from './PharmaciesApi';\r\nexport * from './HealthCarePractitionersApi';\r\nimport { HealthCarePractitionersApi }  from './HealthCarePractitionersApi';\r\nexport const APIS = [ PharmaciesApi, HealthCarePractitionersApi, ];\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/healthcare-practitioner-api/api/api.ts","import { Component, OnInit, Input, Output, ViewChild, EventEmitter } from '@angular/core';\r\nimport { NgForm, NgModel } from '@angular/forms';\r\n\r\nimport { AddressCaptureService } from '../services/address-capture/address-capture.service';\r\nimport { CountryCodeService } from '../../customer-registration-wizard/services/countryCode.service';\r\nimport { AllCountriesWithCodes, AllCountries } from '../../client-api/CountriesApi';\r\nimport { CustomerDetails } from '../../customer-registration-wizard/models/customer-details';\r\n\r\nimport { environment } from './../../../environments/environment';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n  selector: 'app-address-capture',\r\n  templateUrl: './address-capture.component.html',\r\n  styleUrls: ['./address-capture.component.css'],\r\n  providers: [AddressCaptureService]\r\n})\r\nexport class AddressCaptureComponent implements OnInit {\r\n\r\n  @ViewChild('f') public myForm: NgForm;\r\n\r\n  public form: CustomerDetails;\r\n\r\n  public CountrySearchDataSource: AllCountries[];\r\n  public AllCountriesAndCodes: AllCountriesWithCodes;\r\n  public StatesList;\r\n  public StateSearchDataSource: string[];\r\n\r\n  @Input('inputCountry') countryNameInput: string;\r\n  @Input('inputHideAddress') hideAddressInput: boolean;\r\n  @Input() parentFormSubmitted:Subject<any>;\r\n\r\n  public searchResults = null;\r\n  public searchQuery = '';\r\n  @Output() addressCaptureOutput = new EventEmitter<CustomerDetails>();\r\n\r\n  private showCountryErrors = false;\r\n  private showStateErrors = false;\r\n  private showAddressErrors = false;\r\n  private showManualForm = false;\r\n  private hideAddressFields = false;\r\n  private _isSearchEnabled = false;\r\n  private _currentActiveAddressSearchElement = 0;\r\n\r\n  constructor(\r\n    private addressCaptureService: AddressCaptureService,\r\n    private countryCodeService: CountryCodeService\r\n  ) {\r\n\r\n  }\r\n\r\n  ngOnInit() {\r\n    this.parentFormSubmitted.subscribe( event => {\r\n      this.showAddressErrors = true;\r\n      this.showManualForm = true;\r\n      this.CheckForValidCountryEntered();\r\n      this.CheckForValidStateEntered();\r\n    });\r\n\r\n    this.BuildForm();\r\n    this.CountriesServiceGetAllCountryNames();\r\n  }\r\n\r\n  EmitOutput() {\r\n    this.addressCaptureOutput.emit(this.form);\r\n  }\r\n\r\n  BuildForm() {\r\n    this.form = new CustomerDetails();\r\n    this.form.Country = this.countryNameInput;\r\n    this.hideAddressFields = this.hideAddressInput;\r\n    if (this.hideAddressFields) {\r\n      this.showAddressErrors = false;\r\n    }\r\n  }\r\n\r\n  test($event) {\r\n    this.EmitOutput();\r\n  }\r\n\r\n  GetSearchResults(query) {\r\n    this.searchQuery = query;\r\n    if (query.length > 3) {\r\n      this.addressCaptureService.searchResults(query)\r\n        .subscribe(data => {\r\n          this.searchResults = data.results;\r\n          this._currentActiveAddressSearchElement = 0;\r\n          if (this.searchResults != null && this.searchResults.length > 0) {\r\n            this.searchResults[0].isActive = true;\r\n          }\r\n        });\r\n    } else {\r\n      this.searchResults = null;\r\n      this._currentActiveAddressSearchElement = 0;\r\n      return [];\r\n    }\r\n  }\r\n\r\n  GetFormattedAddress(formatUrl) {\r\n    this.addressCaptureService.formattedResult(formatUrl)\r\n      .subscribe(data => {\r\n        this.DecodeFormattedResponse(data);\r\n      });\r\n  }\r\n\r\n  OnCountryChange() {\r\n    this.showStateErrors = false;\r\n    this.showCountryErrors = false;\r\n    this.showAddressErrors = false;\r\n    this.ClearAddressForm();\r\n  }\r\n\r\n  ClearAddressForm() {\r\n    this.form.AddressLine1 = '';\r\n    this.form.AddressLine2 = '';\r\n    this.form.Suburb = '';\r\n    this.form.State = '';\r\n    this.form.Zip = '';\r\n    this.searchResults = null;\r\n    this.searchQuery = '';\r\n    this._currentActiveAddressSearchElement = 0;\r\n  }\r\n\r\n  CountriesServiceGetAllCountryNames() {\r\n    this.countryCodeService.getCountriesAndCodes()\r\n      .subscribe(data => {\r\n        this.AllCountriesAndCodes = data;\r\n        this.CountrySearchDataSource = data.coutryList.map(c => c.name);\r\n        this.OnCountrySelected();\r\n      });\r\n  }\r\n\r\n  OnCountrySelected() {\r\n    const countryCodeObject = this.AllCountriesAndCodes.coutryList.find(r => r.name === this.form.Country);\r\n    this.CheckIfSearchShouldAppear();\r\n\r\n    if (countryCodeObject) {\r\n      this.form.ISO2CountryCode = countryCodeObject.isO2;\r\n      this.form.ISO3CountryCode = countryCodeObject.isO3;\r\n      this.addressCaptureService.setSearchCountryIso3(countryCodeObject.isO3);\r\n\r\n      this.form.CountryPhoneCode = countryCodeObject.phoneCode !== null && countryCodeObject.phoneCode !== '' ? ('+' + countryCodeObject.phoneCode) : '';\r\n\r\n      this.countryCodeService.getStatesForCountry(countryCodeObject.isO2)\r\n        .subscribe(data => {\r\n          this.StatesList = data;\r\n          this.StateSearchDataSource = data.stateProvinces.map(state => state.stateProvince);\r\n        });\r\n\r\n        this.EmitOutput();\r\n    }\r\n    this.CheckForValidCountryEntered();\r\n\r\n  }\r\n\r\n  CheckIfSearchShouldAppear() {\r\n    if (this.hideAddressFields) {\r\n      this.showManualForm = false;\r\n      this._isSearchEnabled = false;\r\n      return;\r\n    }\r\n\r\n    let supportedCountriesArray = environment.captureSupportedCountries.split(',');\r\n    this._isSearchEnabled = this.form.Country != null && supportedCountriesArray.find(c => c.toLowerCase() === this.form.Country.toLowerCase()) != null;\r\n    this.showManualForm = !this._isSearchEnabled;\r\n  }\r\n\r\n  CheckForValidCountryEntered() {\r\n    if (!this.CountrySearchDataSource.find(c => c === this.form.Country)) {\r\n      this.showCountryErrors = true;\r\n    }\r\n    else {\r\n      this.showCountryErrors = false;\r\n    }\r\n  }\r\n\r\n  CheckForValidStateEntered() {\r\n    if (!this._isSearchEnabled && !this.hideAddressFields) {\r\n      if (!this.StateSearchDataSource.find(c => c === this.form.State)) {\r\n        this.showStateErrors = true;\r\n        this.form.State = '';\r\n      }\r\n    }\r\n  }\r\n\r\n  OnAddressBlur() {\r\n    this.showAddressErrors = true;\r\n  }\r\n\r\n  OnStateBlur() {\r\n    this.showStateErrors = true;\r\n  }\r\n\r\n  OnCountryBlur() {\r\n      this.CheckForValidCountryEntered();\r\n  }\r\n\r\n  OnStateFocus() {\r\n    this.CheckForValidCountryEntered();\r\n    this.form.State = '';\r\n    this.showStateErrors = false;\r\n  }\r\n\r\n  OnStateSelected() {\r\n    this.EmitOutput();\r\n  }\r\n\r\n  OnSearchHoverRecord($event) {\r\n    for (let i = 0; i < this.searchResults.length; i++) {\r\n      if (this.searchResults[i].isActive) {\r\n        this.searchResults[i].isActive = false;\r\n      }\r\n      if (this.searchResults[i].suggestion === $event) {\r\n        this.searchResults[i].isActive = true;\r\n        this._currentActiveAddressSearchElement = i;\r\n      }\r\n    }\r\n  }\r\n\r\n  OnSearchKeyDownArrowDown() {\r\n    let searchIndex = this._currentActiveAddressSearchElement;\r\n    if (searchIndex !== this.searchResults.length - 1) {\r\n      this.searchResults[searchIndex].isActive = false;\r\n      searchIndex += 1;\r\n      this.searchResults[searchIndex].isActive = true;\r\n      this._currentActiveAddressSearchElement = searchIndex;\r\n    }\r\n  }\r\n\r\n  OnSearchKeyDownArrowUp() {\r\n    let searchIndex = this._currentActiveAddressSearchElement;\r\n    if (searchIndex !== 0) {\r\n      this.searchResults[searchIndex].isActive = false;\r\n      searchIndex -= 1;\r\n      this.searchResults[searchIndex].isActive = true;\r\n      this._currentActiveAddressSearchElement = searchIndex;\r\n    }\r\n  }\r\n\r\n  OnSearchKeyDownEnter() {\r\n    this.ResolveSearch();\r\n  }\r\n\r\n  OnSearchBlur() {\r\n    this.searchResults = null;\r\n    this._currentActiveAddressSearchElement = 0;\r\n  }\r\n\r\n  OnSearchClickedRecord() {\r\n    this.ResolveSearch();\r\n  }\r\n\r\n  ResolveSearch() {\r\n    let currentAddress = this.searchResults[this._currentActiveAddressSearchElement];\r\n\r\n    this.searchQuery = currentAddress.suggestion;\r\n    this.searchResults = null;\r\n    this._currentActiveAddressSearchElement = 0;\r\n    this.form.AddressSearchQuery = this.searchQuery;\r\n\r\n    this.GetFormattedAddress(currentAddress.format);\r\n  }\r\n\r\n  DecodeFormattedResponse(data) {\r\n    let flattened: any = {};\r\n\r\n    data.address.forEach(addrElement => {\r\n      Object.keys(addrElement).forEach(key => {\r\n        flattened[key] = addrElement[key];\r\n      });\r\n    });\r\n\r\n    this.form.AddressLine1 = flattened.addressLine1;\r\n    this.form.AddressLine2 = flattened.addressLine2;\r\n    this.form.AddressLine2 += flattened.addressLine3 === '' ? '' : ', ' + flattened.addressLine3;\r\n    this.form.Suburb = flattened.locality;\r\n    this.form.State = flattened.province;\r\n    this.form.Zip = flattened.postalCode;\r\n\r\n    this.EmitOutput();\r\n    this.showManualForm = true;\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/shared/address-capture/address-capture.component.ts","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { EmailValidateService } from '../services/email-validate/email-validate.service';\r\nimport { MyDnaValidationPatterns } from '../../customer-registration-wizard/shared/mydna-validation/mydna-validation-patterns';\r\nimport { environment } from 'environments/environment';\r\nimport { NgForm, NgModel } from '@angular/forms';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n  selector: 'app-email-validate',\r\n  templateUrl: './email-validate.component.html',\r\n  styleUrls: ['./email-validate.component.css'],\r\n  providers: [EmailValidateService, MyDnaValidationPatterns]\r\n})\r\nexport class EmailValidateComponent implements OnInit {\r\n  @Output() emailValidateOutput = new EventEmitter<string>();\r\n  @Input() parentFormSubmitted:Subject<any>;\r\n\r\n  public showErrors = false;\r\n  public verboseResponseMessage = '';\r\n  public certaintyLevel = '';\r\n  public correctionSuggestions = [];\r\n\r\n  public emailValue = '';\r\n\r\n  private _iconSources = {\r\n    'ok': '../../../assets/svg/ok-icon.svg',\r\n    'warning': '../../../assets/svg/warning-icon.svg',\r\n    'error': '../../../assets/svg/error-icon.svg',\r\n    'loading': '../../../assets/svg/loading-icon.svg'\r\n  };\r\n\r\n  private certaintyLevelStates = {\r\n    'verified': 'ok',\r\n    'undeliverable': 'error',\r\n    'unreachable': 'warning',\r\n    'illegitimate': 'warning',\r\n    'disposable': 'warning',\r\n    'unknown': 'warning'\r\n  };\r\n\r\n  private verboseResponses = {\r\n    /*** verified ***/\r\n    // Mailbox exists, is reachable, and not known to be illegitimate or disposable.\r\n    'verified': 'Email address successfully verified.',\r\n\r\n    /*** undeliverable ***/\r\n    // The user mailbox has been disabled\r\n    'mailboxDisabled': 'User mailbox may be disabled and cannot be delivered.',\r\n    // The user mailbox does not exist at this domain\r\n    'mailboxDoesNotExist': 'User mailbox does not exist.',\r\n    // The user mailbox is full\r\n    'mailboxFull': 'User mailbox may be full and email undeliverable.',\r\n    // The syntax of the email address is incorrect\r\n    'syntaxFailure': 'This email address isn\\'t in a valid format and cannot be delivered.',\r\n\r\n    /*** unreachable ***/\r\n    // The domain is not responding to validation requests or does not have any active mail servers.\r\n    'unreachable': 'This email address does not appear to exist.',\r\n\r\n    /*** illegitimate ***/\r\n    // Seed, spamtrap, black hole, technical role account or inactive domain\r\n    'illegitimate': 'We\\'ve detected that this email address may be from an illegitimate source.',\r\n    // Role accounts such as support@, sales@, info@\r\n    'roleAccount': 'We\\'ve detected that this email address may belong to a role account and may be unmonitored. E.g. support@, sales@, etc.',\r\n    // The domain was close to a common domain and although it exists, it is highly unlikely to be correct\r\n    'typoDomain': 'We\\'ve detected a possible mistake in the email\\'s domain.',\r\n    // Known local portions of the email that may indicate spam traps\r\n    'localPartSpamTrap': 'We\\'ve detected that this email address may be from an illegitimate source.',\r\n\r\n    /*** disposable ***/\r\n    // Domain is administered by a disposable email provider (e.g. Mailinator)\r\n    'disposable': 'This email address appears to be from a disposable email service.',\r\n\r\n    /*** unknown ***/\r\n    // We were unable to conclusively verify or invalidate this address\r\n    'unknown': 'This email address cannot be validated.',\r\n    // The request timed out due to the host domain not responding in time\r\n    'timeout': 'This email address cannot be validated.',\r\n    // The domain is accept-all, so the username cannot be validated\r\n    'acceptAll': 'This email address cannot be validated.',\r\n    // Result was validated at the incorrect mail exchanger\r\n    'relayDenied': 'This email address cannot be validated.'\r\n  };\r\n\r\n  public iconSource = '';\r\n  public emailPattern = '';\r\n\r\n  constructor(\r\n    private emailService: EmailValidateService,\r\n    private myDnaValidationPatterns: MyDnaValidationPatterns) {\r\n  }\r\n\r\n  ngOnInit() {\r\n    this.parentFormSubmitted.subscribe( event => {\r\n      this.showErrors = true;\r\n    });\r\n    \r\n    this.emailPattern = this.myDnaValidationPatterns.getDefaultValidatons().email;\r\n  }\r\n\r\n  EmitOutput() {\r\n    this.emailValidateOutput.emit(this.emailValue);\r\n  }\r\n\r\n  Validate() {\r\n    this.showErrors = true;\r\n    if (environment.FeatureToggleUseEmailValidatior === 'true') {\r\n      this.iconSource = this._iconSources.loading;\r\n\r\n      this.emailService.ValidationRequest(this.emailValue)\r\n        .subscribe(receivedData => {\r\n          let data: any = receivedData;\r\n          this.verboseResponseMessage = this.verboseResponses[data.VerboseOutput];\r\n\r\n          if (data.Corrections != null && data.Corrections.length > 0) {\r\n            this.correctionSuggestions = data.Corrections;\r\n          } else {\r\n            this.correctionSuggestions = [];\r\n          }\r\n\r\n          this.certaintyLevel = this.certaintyLevelStates[data.Certainty];\r\n          this.iconSource = this._iconSources[this.certaintyLevel];\r\n          this.EmitOutput();\r\n        },\r\n          error => {\r\n            this.ResetFields();\r\n          });\r\n    } else {\r\n      this.EmitOutput();\r\n    }\r\n\r\n\r\n  }\r\n\r\n  OnEmailChange() {\r\n    this.ResetFields();\r\n  }\r\n\r\n  ResetFields() {\r\n    this.iconSource = '';\r\n    this.verboseResponseMessage = '';\r\n    this.certaintyLevel = '';\r\n    this.correctionSuggestions = [];\r\n  }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/shared/email-validate/email-validate.component.ts","import { Injectable } from '@angular/core';\r\nimport { Service } from '../../../client-api/Service';\r\nimport { environment } from './../../../../environments/environment';\r\n\r\n@Injectable()\r\nexport class  AddressCaptureService  {\r\n\r\n  countryIso3: string;\r\n\r\n  constructor(private service: Service) {\r\n\r\n   }\r\n\r\n   setSearchCountryIso3(Iso3CountryCode) {\r\n     this.countryIso3 = Iso3CountryCode;\r\n   }\r\n\r\n  searchResults(query) {\r\n    let addrSearchUrl = environment.captureAddressUrl;\r\n\r\n    return this.service.get(addrSearchUrl,\r\n      {\r\n        query: query,\r\n        country: this.countryIso3,\r\n        take: 10\r\n      },\r\n      {\r\n        'Auth-Token': environment.addressCaptureToken\r\n      }, true);\r\n  }\r\n\r\n  formattedResult(formatUrl) {\r\n    return this.service.get(formatUrl,\r\n      {\r\n        'Auth-Token': environment.addressCaptureToken\r\n      });\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/shared/services/address-capture/address-capture.service.ts","import { Injectable } from '@angular/core';\r\n\r\nimport { Service } from '../../../client-api/Service';\r\nimport { environment } from './../../../../environments/environment';\r\n\r\n@Injectable()\r\nexport class EmailValidateService {\r\n\r\n  constructor(private service: Service) { }\r\n\r\n  ValidationRequest(emailAddress) {\r\n    let emailValidateUrl = environment.captureEmailUrl;\r\n\r\n    let body = {\r\n      'Email': emailAddress,\r\n      'Timeout': 5,\r\n      'Verbose': true\r\n    }\r\n\r\n    return this.service.post(emailValidateUrl, body, {\r\n      'Auth-Token': environment.addressCaptureToken\r\n    });\r\n  }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/shared/services/email-validate/email-validate.service.ts"],"sourceRoot":""}