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R,EAAqBC,KAAK,sBAAwBA,KAAK,uBAAyB,GACpFD,EAAmBpQ,QAAQ8P,EAAqB7hB,KAAK,KAAM,IAC3DmiB,EAAmB/Q,KAAOyQ,EAAqB7hB,KAAK,KAAMmiB,EAAmB/Q,KAAKpR,KAAKmiB,G,IC/CvF,IAAIE,EAAsB5C,EAAoBS,OAAEziB,EAAW,CAAC,MAAM,WAAa,OAAOgiB,EAAoB,KAAO,IACjH4C,EAAsB5C,EAAoBS,EAAEmC,E","sources":["webpack://vueapp/./src/ComponentsRoot/SiteHome.vue?b1b4","webpack://vueapp/./src/ComponentsRoot/SiteHome.vue","webpack://vueapp/./src/ComponentsRoot/SiteHome.vue?27e5","webpack://vueapp/./src/ComponentsRoot/ParticipantRegistration.vue?49ac","webpack://vueapp/./src/ComponentsRoot/ParticipantRegistration.vue","webpack://vueapp/./src/ComponentsRoot/ParticipantRegistration.vue?765e","webpack://vueapp/./src/Services/HttpClient/axios-plugin.ts","webpack://vueapp/./src/Services/base-api-service.ts","webpack://vueapp/./src/Services/lookup-service.ts","webpack://vueapp/./src/Services/participant-application-service.ts","webpack://vueapp/./src/Services/user-service.ts","webpack://vueapp/./src/Services/person-service.ts","webpack://vueapp/./src/Services/person-address-service.ts","webpack://vueapp/./src/Services/person-email-service.ts","webpack://vueapp/./src/Services/person-phone-service.ts","webpack://vueapp/./src/Services/person-emergency-contact-service.ts","webpack://vueapp/./src/Services/Helper/date-helper.ts","webpack://vueapp/./src/Enums/StateEnum.ts","webpack://vueapp/./src/ComponentsRoot/ParticipantApplication.vue?4f73","webpack://vueapp/./src/ComponentsRoot/ParticipantApplication.vue","webpack://vueapp/./src/ComponentsRoot/ParticipantApplication.vue?1910","webpack://vueapp/./src/ComponentsRoot/ParticipantLogin.vue?313b","webpack://vueapp/./src/ComponentsRoot/ParticipantLogin.vue","webpack://vueapp/./src/ComponentsRoot/ApplicationStatus.vue?1f48","webpack://vueapp/./src/ComponentsRoot/ApplicationStatus.vue","webpack://vueapp/./src/ComponentsRoot/ApplicationStatus.vue?116e","webpack://vueapp/./src/ComponentsRoot/ApplicationSubmitted.vue?1078","webpack://vueapp/./src/ComponentsRoot/ApplicationSubmitted.vue","webpack://vueapp/./src/ComponentsRoot/CallbackPage.vue?287c","webpack://vueapp/./src/ComponentsRoot/CallbackPage.vue","webpack://vueapp/./src/ComponentsRoot/CallbackPage.vue?0e19","webpack://vueapp/./src/Router/router.ts","webpack://vueapp/./src/Services/Auth0/auth0-plugin.ts","webpack://vueapp/./src/ComponentsChild/LoginButton.vue?86e0","webpack://vueapp/./src/ComponentsChild/LoginButton.vue","webpack://vueapp/./src/ComponentsChild/LoginButton.vue?9d28","webpack://vueapp/./src/ComponentsChild/LogoutButton.vue?023c","webpack://vueapp/./src/ComponentsChild/LogoutButton.vue","webpack://vueapp/./src/ComponentsChild/LogoutButton.vue?17de","webpack://vueapp/./src/ComponentsChild/AuthenticationButton.vue?52be","webpack://vueapp/./src/ComponentsChild/AuthenticationButton.vue","webpack://vueapp/./src/ComponentsChild/AuthenticationButton.vue?ac0a","webpack://vueapp/./src/ComponentsChild/MainNavigation.vue?69b0","webpack://vueapp/./src/ComponentsChild/MainNavigation.vue","webpack://vueapp/./src/ComponentsChild/MainNavigation.vue?e270","webpack://vueapp/./src/App.vue?2a5e","webpack://vueapp/./src/App.vue","webpack://vueapp/./src/App.vue?7ccd","webpack://vueapp/./src/Shell.vue?35be","webpack://vueapp/./src/Shell.vue","webpack://vueapp/./src/Shell.vue?63b6","webpack://vueapp/./src/Services/HttpClient/symbols.ts","webpack://vueapp/./src/Themes/siteThemes.ts","webpack://vueapp/./src/Services/Helper/format-helper.ts","webpack://vueapp/./src/Services/Helper/common-functions.ts","webpack://vueapp/./src/main.ts","webpack://vueapp/webpack/bootstrap","webpack://vueapp/webpack/runtime/chunk loaded","webpack://vueapp/webpack/runtime/define property getters","webpack://vueapp/webpack/runtime/global","webpack://vueapp/webpack/runtime/hasOwnProperty shorthand","webpack://vueapp/webpack/runtime/make namespace object","webpack://vueapp/webpack/runtime/publicPath","webpack://vueapp/webpack/runtime/jsonp chunk loading","webpack://vueapp/webpack/startup"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Wyoming Department of Health - Medicaid Waiver Applicant Portal\", -1)\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 1,\n style: {\"text-align\":\"left\"}\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", null, \"Welcome to the Medicaid Waiver Applicant Portal. This site will allow you to submit an application for the Medicaid Waivers.\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_8 = { key: 1 }\n\nimport { onMounted, ref } from 'vue';\r\n import { useAuth0 } from \"@/Services/Auth0/auth0-plugin\";\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'SiteHome',\n setup(__props) {\n\r\n console.log(\"api from env: \" + process.env.VUE_APP_PORTAL_API)\r\n \r\n const auth0 = useAuth0();\r\n const getAccessToken = async () => {\r\n if (!auth0) {\r\n return null;\r\n }\r\n\r\n return await auth0.getAccessToken();\r\n };\r\n const loadingData = ref(true)\r\n \r\n let unregistered = ref(true)\r\n let registered = ref(false)\r\n let isAuthenticated = false\r\n \r\n onMounted(async () => {\r\n try {\r\n const token = await getAccessToken();\r\n\r\n if (!token) {\r\n unregistered.value = true;\r\n registered.value = false;\r\n } else {\r\n unregistered.value = false;\r\n registered.value = true;\r\n isAuthenticated = auth0 ? auth0.isAuthenticated.value : false;\r\n console.log('Application Status Page is auth0 authenticated: ' + isAuthenticated);\r\n }\r\n } catch {\r\n console.log('Not Authenticated.');\r\n } finally {\r\n loadingData.value = false;\r\n }\r\n }); \r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n (loadingData.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, \"Loading...\"))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n (_unref(unregistered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createTextVNode(\" We recommend that you begin by \"),\n _createVNode(_component_router_link, { to: { name: 'register' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Registering\")\n ]),\n _: 1\n }),\n _createTextVNode(\" with the site prior to submitting an application. This will allow you to return to this site and see the status of your application, as well as provide additional information to the Wyoming Department of Health (WDH) as needed. A valid email address is required in order to register. \")\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_7,\n (_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createTextVNode(\" You are registered and logged into the site and you can proceed directly to the \"),\n _createVNode(_component_router_link, { to: { name: 'application' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Application\")\n ]),\n _: 1\n }),\n _createTextVNode(\" page and submit without being able to return and update or track your application, or if you have submitted your application, you can go to the \"),\n _createVNode(_component_router_link, { to: { name: 'application-status' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Application Status\")\n ]),\n _: 1\n }),\n _createTextVNode(\" page if your application has already been submitted. \")\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n","import script from \"./SiteHome.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SiteHome.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '@/assets/auth0_signup_screen.png'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Register\", -1)\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", null, \" This page will allow you to register as a user with the Participant Portal and check the status of your application once submitted. \", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", null, \" To do so, click 'Register' below, and click the 'Sign Up' button on the next screen: \", -1)\nconst _hoisted_5 = { style: {\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\",\"height\":\"100%\"} }\nconst _hoisted_6 = { key: 1 }\n\nimport { onMounted, ref } from 'vue'\r\n import { useAuth0 } from \"@/Services/Auth0/auth0-plugin\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ParticipantRegistration',\n setup(__props) {\n\r\n const auth0 = useAuth0();\r\n\r\n const getAccessToken = async () => {\r\n if (!auth0) {\r\n return null;\r\n }\r\n\r\n return await auth0.getAccessToken();\r\n };\r\n\r\n\r\n let unregistered = ref(true)\r\n let registered = ref(false)\r\n let isAuthenticated = false\r\n\r\n onMounted(async () => {\r\n try {\r\n const token = await getAccessToken();\r\n\r\n if (!token) {\r\n unregistered.value = true;\r\n registered.value = false;\r\n } else {\r\n unregistered.value = false;\r\n registered.value = true;\r\n isAuthenticated = auth0 ? auth0.isAuthenticated.value : false;\r\n console.log('Application Status Page is auth0 authenticated: ' + isAuthenticated);\r\n }\r\n } catch {\r\n console.log('Not Authenticated.');\r\n }\r\n });\r\n\r\n const login = () => {\r\n if (!auth0) {\r\n console.log('Hit !auth0 on Register Button');\r\n return;\r\n }\r\n console.log('Hitting auth0.login on Register');\r\n auth0.login({\r\n appState: {\r\n target: \"/application\",\r\n },\r\n authorizationParams: {\r\n prompt: \"login\",\r\n screen_hint: \"signup\",\r\n }\r\n });\r\n };\r\n\r\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_img = _resolveComponent(\"v-img\")!\n const _component_v_btn = _resolveComponent(\"v-btn\")!\n const _component_v_container = _resolveComponent(\"v-container\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createVNode(_component_v_form, { ref: \"form\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_container, { density: \"compact\" }, {\n default: _withCtx(() => [\n (_unref(unregistered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_v_img, {\n src: _imports_0,\n alt: \"Wyoming Department of Health\",\n style: {\"width\":\"250px\",\"max-height\":\"462px\",\"float\":\"inherit\"}\n })\n ]),\n _createVNode(_component_v_btn, { onClick: login }, {\n default: _withCtx(() => [\n _createTextVNode(\"Register\")\n ]),\n _: 1\n })\n ]))\n : (_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, \" You are already registered and logged in. Select 'Application' on the left menu to submit an application, or 'Application Status' to check the status of an existing Application. \"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512)\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n","import script from \"./ParticipantRegistration.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ParticipantRegistration.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import axios, { AxiosInstance, AxiosError, AxiosRequestTransformer } from 'axios'\r\n\r\n// Function to check if an error is an AxiosError\r\nexport function isAxiosError(error: unknown): error is AxiosError {\r\n return (error as AxiosError).isAxiosError !== undefined;\r\n}\r\n\r\nconst dateTransformer = (value: any): any => {\r\n if (value instanceof Date) {\r\n return value.toISOString();\r\n }\r\n if (Array.isArray(value)) {\r\n return value.map(dateTransformer);\r\n }\r\n if (typeof value === 'object' && value !== null) {\r\n return Object.fromEntries(Object.entries(value).map(([key, value]) => [key, dateTransformer(value)]));\r\n }\r\n return value;\r\n}\r\n\r\nconst apiClient: AxiosInstance = axios.create({\r\n baseURL: process.env.VUE_APP_PORTAL_API,\r\n headers: {\r\n 'Content-type': 'application/json',\r\n },\r\n transformRequest: [dateTransformer, ...(axios.defaults.transformRequest as AxiosRequestTransformer[])],\r\n});\r\n\r\nexport default apiClient","import type { AxiosError, AxiosInstance, AxiosResponse } from \"axios\";\r\nimport axios, { AxiosRequestTransformer } from \"axios\";\r\nimport { getAccessTokenForService } from \"@/Services/Auth0/auth0-plugin\";\r\nimport { AxiosKey } from '@/Services/HttpClient/symbols'\r\nimport apiClient, { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\n//import { AppConfig } from '../../public/static/appConfig'\r\n\r\nexport abstract class BaseApiService {\r\n protected readonly httpClient: AxiosInstance;\r\n\r\n protected constructor(protected readonly path?: string, protected readonly baseURL: string = '/api/') {\r\n const dateTransformer = (value: any): any => {\r\n if (value instanceof Date) {\r\n return value.toISOString();\r\n }\r\n if (Array.isArray(value)) {\r\n return value.map(dateTransformer);\r\n }\r\n if (typeof value === 'object' && value !== null) {\r\n return Object.fromEntries(Object.entries(value).map(([key, value]) => [key, dateTransformer(value)]));\r\n }\r\n return value;\r\n }\r\n\r\n baseURL = process.env.VUE_APP_PORTAL_API + baseURL\r\n\r\n if (path) {\r\n baseURL += path;\r\n }\r\n this.httpClient = axios.create({\r\n baseURL,\r\n headers: {\r\n 'Content-type': 'application/json',\r\n },\r\n transformRequest: [dateTransformer, ...(axios.defaults.transformRequest as AxiosRequestTransformer[])],\r\n });\r\n //from plugin\r\n //this.httpClient = apiClient;\r\n\r\n this.httpClient.interceptors.request.use(async (config) => {\r\n if (config.headers['AuthorizationNeeded']) {\r\n const token = await getAccessTokenForService();\r\n //console.log('interceptor accessToken set: ' + token);\r\n config.headers['Authorization'] = `Bearer ${token}`;\r\n }\r\n return config;\r\n });\r\n \r\n }\r\n\r\n protected handleResponse(response: AxiosResponse): T {\r\n return response.data;\r\n }\r\n\r\n protected handleError(error: unknown): never {\r\n if (error instanceof Error) {\r\n if (isAxiosError(error)) {\r\n if (error.response) {\r\n //Uncomment any or all below for better debugging\r\n //console.error(error.response.data);\r\n //console.error(error.response.status);\r\n //console.error(error.response.headers);\r\n throw error;\r\n }\r\n else if (error.request) {\r\n //console.error(error.request);\r\n throw new Error(error as any);\r\n }\r\n }\r\n else {\r\n //console.error(error.message);\r\n throw new Error(error as any);\r\n throw new Error(error as any);\r\n }\r\n }\r\n throw new Error(error as any);\r\n }\r\n}","import { BaseApiService } from \"./base-api-service\";\r\nimport { IAddressType, ICounty, IDivision, IEmailType, IEthnicity, IGender, IPhoneType, IPreferredMethodOfContact, IState, ISuffix, IContactType } from '@/Models/Lookup'\r\n//import { IWaiverType } from \"../Models/IWaiverType\";\r\n\r\nclass lookupService extends BaseApiService {\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': false,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n public constructor() {\r\n super('Lookup/');\r\n }\r\n\r\n //public getWaiverTypes() {\r\n // const waiverTypes = [\r\n // {\r\n // title: \"Community Choices Waiver\",\r\n // label: \"Community Choices Waiver\",\r\n // value: 1\r\n // },\r\n // {\r\n // title: \"Developmental Disabilities Waiver\",\r\n // label: \"Developmental Disabilities Waiver\",\r\n // value: 2\r\n // },\r\n // {\r\n // title: \"Unknown\",\r\n // label: \"Unknown\",\r\n // value: 3\r\n // }\r\n // ];\r\n\r\n // return waiverTypes;\r\n //}\r\n\r\n //public getWaiverTypes(): IWaiverType[] {\r\n // const waiverTypes: IWaiverType[] = [\r\n // {\r\n // title: \"Community Choices Waiver\",\r\n // label: \"Community Choices Waiver\",\r\n // divisionId: 1\r\n // },\r\n // {\r\n // title: \"Developmental Disabilities Waiver\",\r\n // label: \"Developmental Disabilities Waiver\",\r\n // divisionId: 2\r\n // },\r\n // {\r\n // title: \"Unknown\",\r\n // label: \"Unknown\",\r\n // divisionId: 3\r\n // }\r\n // ];\r\n // return waiverTypes;\r\n //}\r\n\r\n public async getDivisions(): Promise {\r\n return this.httpClient.get('DivisionList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n \r\n public async getCounties(): Promise {\r\n return this.httpClient.get('CountyList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getEthnicities() {\r\n return this.httpClient.get('EthnicityList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getGenders() {\r\n return this.httpClient.get('GenderList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getSuffixes() {\r\n return this.httpClient.get('SuffixList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getPreferredMethodsOfContact() {\r\n return this.httpClient.get('PreferredMethodOfContactList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getAddressTypes() {\r\n return this.httpClient.get('AddressTypeList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getStates() {\r\n return this.httpClient.get('StateList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getPhoneTypes() {\r\n return this.httpClient.get('PhoneTypeList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getEmailTypes() {\r\n return this.httpClient.get('EmailTypeList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getContactTypes() {\r\n return this.httpClient.get('ContactTypeList', lookupService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n}\r\n\r\nexport const LookupService: lookupService = new lookupService();\r\n","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IParticipantNewApplication } from '../Models/IParticipantNewApplication';\r\nimport { IParticipantApplication } from '../Models/IParticipantApplication';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass participantApplicationService extends BaseApiService {\r\n public constructor() {\r\n super('ParticipantApplication/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': false,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n private static authConfig = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async saveNewApplication(participantApplication: IParticipantNewApplication, captchaToken: string) {\r\n console.log('Saving New Application');\r\n return this.httpClient.post>(`SaveNewApplication?cToken=${captchaToken}`, participantApplication, participantApplicationService.config)\r\n .then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async updateApplication(participantApplication: IParticipantApplication) {\r\n console.log('Updating Application');\r\n this.httpClient.post>(`SaveApplication`, participantApplication, participantApplicationService.authConfig)\r\n .catch(this.handleError.bind(this));\r\n }\r\n\r\n public async testCaptcha(captchaToken: string) {\r\n console.log('Captcha Test Fired');\r\n console.log('Captcha Test captcha token: ' + captchaToken);\r\n return this.httpClient.post(`TestCaptcha?cToken=${captchaToken}`, participantApplicationService.config)\r\n .then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n\r\n //public async getUnprocessed(): Promise {\r\n // return this.httpClient.get(`GetUnprocessedApplications`, { headers: { 'AuthorizationNeeded': true, } })\r\n // .then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n //}\r\n\r\n public async getByParticipantPortalUserId(participantPortalUserId: string, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByParticipantPortalUserId?participantPortalUserId=${participantPortalUserId}&auth0Id=${auth0Id}`, { headers: { 'AuthorizationNeeded': true, } })\r\n .then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n}\r\n\r\n export const ParticipantApplicationService: participantApplicationService = new participantApplicationService();","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IUser } from '../Models/IUser';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass userService extends BaseApiService {\r\n public constructor() {\r\n super('User/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async getByAuth0Id(auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByAuth0Id?auth0Id=${auth0Id}`, userService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async saveUser(user: IUser) {\r\n console.log('Saving User');\r\n return this.httpClient.post>('SaveUser', user, userService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n}\r\n\r\nexport const UserService: userService = new userService();","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IPerson } from '../Models/IPerson';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass personService extends BaseApiService {\r\n public constructor() {\r\n super('Person/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async getByPersonId(personId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonId?personId=${personId}&auth0Id=${auth0Id}`, personService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getByParticipantPortalUserId(participantPortalUserId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByParticipantPortalUserId?participantPortalUserId=${participantPortalUserId}&auth0Id=${auth0Id}`, personService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async savePerson(person: IPerson, auth0Id: string) {\r\n console.log('Updating Person');\r\n this.httpClient.post>(`SavePerson?auth0Id=${auth0Id}`, person, personService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n}\r\n\r\nexport const PersonService: personService = new personService();","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IPersonAddress } from '../Models/IPersonAddress';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass personAddressService extends BaseApiService {\r\n public constructor() {\r\n super('PersonAddress/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async getByPersonAddressId(personAddressId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonAddressId?personAddressId=${personAddressId}&auth0Id=${auth0Id}`, personAddressService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n //public async getCounties(): Promise {\r\n public async getByPersonId(personId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonId?personId=${personId}&auth0Id=${auth0Id}`, personAddressService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async savePersonAddress(address: IPersonAddress, auth0Id: string) {\r\n console.log('Updating Person Address');\r\n this.httpClient.post>(`SavePersonAddress?auth0Id=${auth0Id}`, address, personAddressService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async deletePersonAddress(personAddressId: number, auth0Id: string) {\r\n console.log('Deleting Person Address: ' + personAddressId);\r\n this.httpClient.delete(`DeletePersonAddress?personAddressId=${personAddressId}&auth0Id=${auth0Id}`, personAddressService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n}\r\n\r\nexport const PersonAddressService: personAddressService = new personAddressService();\r\nexport function createPersonAddress(): IPersonAddress {\r\n return {\r\n personAddressId: 0,\r\n personId: 0,\r\n addressTypeId: 0,\r\n addressTypeName: '',\r\n addressLine1: '',\r\n addressLine2: '',\r\n city: '',\r\n stateId: 0,\r\n stateName: '',\r\n zipCode: '',\r\n modifiedBy: '',\r\n modifiedDate: ''\r\n };\r\n}","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IPersonEmail } from '../Models/IPersonEmail';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass personEmailService extends BaseApiService {\r\n public constructor() {\r\n super('PersonEmail/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async getByPersonEmailId(personEmailId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonEmailId?personEmailId=${personEmailId}&auth0Id=${auth0Id}`, personEmailService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getByPersonId(personId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonId?personId=${personId}&auth0Id=${auth0Id}`, personEmailService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async savePersonEmail(email: IPersonEmail, auth0Id: string) {\r\n console.log('Updating Person Email');\r\n this.httpClient.post>(`SavePersonEmail?auth0Id=${auth0Id}`, email, personEmailService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n}\r\n\r\nexport const PersonEmailService: personEmailService = new personEmailService();","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IPersonPhone } from '../Models/IPersonPhone';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass personPhoneService extends BaseApiService {\r\n public constructor() {\r\n super('PersonPhone/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async getByPersonPhoneId(personPhoneId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonPhoneId?id=${personPhoneId}&auth0Id=${auth0Id}`, personPhoneService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async getByPersonId(personId: number, auth0Id: string): Promise {\r\n return this.httpClient.get(`GetByPersonId?personId=${personId}&auth0Id=${auth0Id}`, personPhoneService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async savePersonPhone(phone: IPersonPhone, auth0Id: string) {\r\n console.log('Updating Person Phone');\r\n this.httpClient.post>(`SavePersonPhone?auth0Id=${auth0Id}`, phone, personPhoneService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n}\r\n\r\nexport const PersonPhoneService: personPhoneService = new personPhoneService();","import { BaseApiService } from '@/Services/base-api-service'\r\nimport { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\nimport { IPersonEmergencyContact } from '../Models/IPersonEmergencyContact';\r\nimport { ITypedValidationResult } from '../Models/IValidationResult';\r\n\r\nclass personEmergencyContactService extends BaseApiService {\r\n public constructor() {\r\n super('PersonEmergencyContact/');\r\n }\r\n\r\n private static config = {\r\n headers: {\r\n 'AuthorizationNeeded': true,\r\n // Other headers can be added here if needed\r\n }\r\n };\r\n\r\n public async getByPersonEmergencyContactId(personEmergencyContactId: number, auth0Id: string): Promise {\r\n console.log('Get Person Emergency Contact By Id');\r\n return this.httpClient.get(`GetByPersonEmergencyContactId?PersonEmergencyContactId=${personEmergencyContactId}&auth0Id=${auth0Id}`, personEmergencyContactService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n //public async getCounties(): Promise {\r\n public async getByPersonId(personId: number, auth0Id: string): Promise {\r\n console.log('Get Person Emergency Contact By Person');\r\n return this.httpClient.get(`GetByPersonId?personId=${personId}&auth0Id=${auth0Id}`, personEmergencyContactService.config).then(this.handleResponse.bind(this)).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async savePersonEmergencyContact(emergencyContact: IPersonEmergencyContact, auth0Id: string) {\r\n console.log('Updating Person Emergency Contact');\r\n this.httpClient.post>(`SavePersonEmergencyContact?auth0Id=${auth0Id}`, emergencyContact, personEmergencyContactService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n public async deletePersonEmergencyContact(PersonEmergencyContactId: number, auth0Id: string) {\r\n console.log('Deleting Person Emergency Contact: ' + PersonEmergencyContactId);\r\n this.httpClient.delete(`DeletePersonEmergencyContact?PersonEmergencyContactId=${PersonEmergencyContactId}&auth0Id=${auth0Id}`, personEmergencyContactService.config).catch(this.handleError.bind(this));\r\n }\r\n\r\n}\r\n\r\nexport const PersonEmergencyContactService: personEmergencyContactService = new personEmergencyContactService();\r\nexport function createPersonEmergencyContact(): IPersonEmergencyContact {\r\n return {\r\n personEmergencyContactId: 0,\r\n personId: 0,\r\n personName: '',\r\n contactTypeId: 0,\r\n contactTypeName: '',\r\n phoneTypeId: 0,\r\n phoneTypeName: '',\r\n phoneNumber: '',\r\n extension: '',\r\n emailTypeId: 0,\r\n emailTypeName: '',\r\n emailAddress: '',\r\n addressTypeId: 0,\r\n addressTypeName: '',\r\n addressLine1: '',\r\n addressLine2: '',\r\n city: '',\r\n stateId: 0,\r\n stateName: '',\r\n zipCode: '',\r\n preferredMethodOfContactId: 0,\r\n preferredMethodOfContactName: '',\r\n modifiedBy: '',\r\n modifiedDate: ''\r\n };\r\n}","\r\n\r\nexport abstract class DateHelper {\r\n\t/*\r\n\tDATE FORMATTING PARAMETERS - based on C#\r\n\td\t\tRepresents the day of the month as a number from 1 through 31\r\n\tdd\t\tRepresents the day of the month as a number from 01 through 31\r\n\tddd\t\tRepresents the abbreviated name of the day (Mon, Tue, Wed, etc)\r\n\tdddd\tRepresents the full name of the day (Monday, Tuesday, etc)\r\n\th\t\t12-hour clock hour (e.g. 4)\r\n\thh\t\t12-hour clock, with a leading 0 (e.g. 06)\r\n\tH\t\t24-hour clock hour (e.g. 15)\r\n\tHH\t\t24-hour clock hour, with a leading 0 (e.g. 22)\r\n\tmm\t\tMinutes with a leading zero\r\n\tM\t\tMonth number (e.g. 3)\r\n\tMM\t\tMonth number with leading zero (e.g. 04)\r\n\tMMM\t\tAbbreviated Month Name (e.g. Dec)\r\n\tMMMM\tFull month name (e.g. December)\r\n\ts\t\tSeconds\r\n\tss\t\tSeconds with leading zero\r\n\ttt\t\tAM / PM\r\n\ty\t\tYear, no leading zero (e.g. 2015 would be 15)\r\n\tyyyy\tYear, (e.g. 2015)\r\n\tz\t\tUTC offset (e.g. \"UTC-6\")\r\n\tZ\t\tTimezone abbreviation (e.g. \"MDT\")\r\n\t*/\r\n\r\n\tpublic static standardizeDate(input: Date | string | null): Date | null {\r\n\t\tif (input === null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tif (input instanceof Date) {\r\n\t\t\treturn input;\r\n\t\t}\r\n\r\n\t\tif (typeof input === 'string') {\r\n\t\t\tconst parsedDate = new Date(input);\r\n\t\t\treturn isNaN(parsedDate.getTime()) ? null : parsedDate;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}\r\n\r\n\t/**\r\n\t * Formats a date according to the provided format string, because Javascript has not seen fit to provide a native method for this elementary task.\r\n\t * @param date A Date object or string.\r\n\t * @param format A string representing the desired format. Uses C# formatting parameters. See this class for full list.\r\n\t * @returns empty string if date is null or unparseable, otherwise the formatted date string for UTC time.\r\n\t */\r\n\tpublic static formatDateUtc(input: Date | string | null, format: string): string {\r\n\t\tconst date = this.standardizeDate(input);\r\n\t\tif (date == null) return \"\";\r\n\r\n\t\tconst parsed = {\r\n\t\t\tseconds: date.getUTCSeconds(),\r\n\t\t\tminutes: date.getUTCMinutes(),\r\n\t\t\thours: date.getUTCHours(),\r\n\t\t\thours12: date.getUTCHours() == 0 ? 12 : (date.getUTCHours() > 12 ? date.getUTCHours() - 12 : date.getUTCHours()),\r\n\t\t\tweekday: date.getUTCDay(),\r\n\t\t\tday: date.getUTCDate(),\r\n\t\t\tmonth: date.getUTCMonth() + 1,\r\n\t\t\tyear: date.getUTCFullYear(),\r\n\t\t\tutcText: \"UTC\",\r\n\t\t\ttimezoneName: this.getTimezoneName(date),\r\n\t\t} as IParsedDate;\r\n\r\n\t\treturn this.formatDate(parsed, format);\r\n\t}\r\n\r\n\tpublic static formatDateLocal(input: Date | string | null, format: string): string {\r\n\t\tconst date = this.standardizeDate(input);\r\n\t\tif (date == null) return \"\";\r\n\r\n\t\t// Parsing the date parts\r\n\t\tconst parsed = {\r\n\t\t\tseconds: date.getSeconds(),\r\n\t\t\tminutes: date.getMinutes(),\r\n\t\t\thours: date.getHours(),\r\n\t\t\thours12: date.getHours() === 0 ? 12 : (date.getHours() > 12 ? date.getHours() - 12 : date.getHours()),\r\n\t\t\tweekday: date.getDay(),\r\n\t\t\tday: date.getDate(),\r\n\t\t\tmonth: date.getMonth() + 1,\r\n\t\t\tyear: date.getFullYear(),\r\n\t\t\tmilliseconds: date.getMilliseconds(),\r\n\t\t\tutcText: \"UTC-\" + (date.getTimezoneOffset() / 60),\r\n\t\t\ttimezoneName: this.getTimezoneName(date),\r\n\t\t} as IParsedDate;\r\n\r\n\t\treturn this.formatDate(parsed, format);\r\n\t}\r\n\r\n\t/**\r\n\t * Formats a date to be used in a date entry field.\r\n\t * @param input The date to be edited\r\n\t */\r\n\tpublic static formatForEdit(input: Date | string | null): string {\r\n\t\treturn this.formatDateUtc(input, \"yyyy-MM-dd\");\r\n\t}\r\n\r\n\tprivate static getTimezoneName(date: Date): string {\r\n\t\treturn Intl.DateTimeFormat().resolvedOptions().timeZone;\r\n\t}\r\n\r\n\tprivate static formatDate(parsed: IParsedDate, format: string): string {\r\n\t\t// Handling the custom format string\r\n\t\treturn format\r\n\t\t\t.replace('yyyy', String(parsed.year))\r\n\t\t\t.replace('MM', String(parsed.month).padStart(2, '0'))\r\n\t\t\t.replace('dd', String(parsed.day).padStart(2, '0'))\r\n\t\t\t.replace('HH', String(parsed.hours).padStart(2, '0'))\r\n\t\t\t.replace('mm', String(parsed.minutes).padStart(2, '0'))\r\n\t\t\t.replace('ss', String(parsed.seconds).padStart(2, '0'))\r\n\t\t\t.replace('SSS', String(parsed.milliseconds).padStart(3, '0'));\r\n\t}\r\n\r\n\tpublic static getAge(birthDate: Date): number {\r\n\t\tconst now = new Date();\r\n\t\tconst birth = new Date(birthDate);\r\n\r\n\t\tlet age = now.getFullYear() - birth.getFullYear();\r\n\r\n\t\t// Adjust if the birth date hasn't occurred yet this year\r\n\t\tconst monthDiff = now.getMonth() - birth.getMonth();\r\n\t\tconst dayDiff = now.getDate() - birth.getDate();\r\n\r\n\t\tif (monthDiff < 0 || (monthDiff === 0 && dayDiff < 0)) {\r\n\t\t\tage--;\r\n\t\t}\r\n\r\n\t\treturn age;\r\n\t}\r\n\r\n\tprivate static getMonthName(monthNum: number): string {\r\n\t\tswitch (monthNum) {\r\n\t\t\tcase 1: return \"January\";\r\n\t\t\tcase 2: return \"February\";\r\n\t\t\tcase 3: return \"March\";\r\n\t\t\tcase 4: return \"April\";\r\n\t\t\tcase 5: return \"May\";\r\n\t\t\tcase 6: return \"June\";\r\n\t\t\tcase 7: return \"July\";\r\n\t\t\tcase 8: return \"August\";\r\n\t\t\tcase 9: return \"September\";\r\n\t\t\tcase 10: return \"October\";\r\n\t\t\tcase 11: return \"November\";\r\n\t\t\tcase 12: return \"December\";\r\n\t\t\tdefault: throw new Error(\"Invalid month number\");\r\n\t\t}\r\n\t}\r\n\r\n\tprivate static getMonthAbbreviation(monthNum: number): string {\r\n\t\tswitch (monthNum) {\r\n\t\t\tcase 1: return \"Jan\";\r\n\t\t\tcase 2: return \"Feb\";\r\n\t\t\tcase 3: return \"Mar\";\r\n\t\t\tcase 4: return \"Apr\";\r\n\t\t\tcase 5: return \"May\";\r\n\t\t\tcase 6: return \"Jun\";\r\n\t\t\tcase 7: return \"Jul\";\r\n\t\t\tcase 8: return \"Aug\";\r\n\t\t\tcase 9: return \"Sep\";\r\n\t\t\tcase 10: return \"Oct\";\r\n\t\t\tcase 11: return \"Nov\";\r\n\t\t\tcase 12: return \"Dec\";\r\n\t\t\tdefault: throw new Error(\"Invalid month number\");\r\n\t\t}\r\n\t}\r\n\r\n\tprivate static getDayName(dayNum: number): string {\r\n\t\tswitch (dayNum) {\r\n\t\t\tcase 0: return \"Sunday\";\r\n\t\t\tcase 1: return \"Monday\";\r\n\t\t\tcase 2: return \"Tuesday\";\r\n\t\t\tcase 3: return \"Wednesday\";\r\n\t\t\tcase 4: return \"Thursday\";\r\n\t\t\tcase 5: return \"Friday\";\r\n\t\t\tcase 6: return \"Saturday\";\r\n\t\t\tdefault: throw new Error(\"Invalid day number\");\r\n\t\t}\r\n\t}\r\n\r\n\tprivate static getDayAbbreviation(dayNum: number): string {\r\n\t\tswitch (dayNum) {\r\n\t\t\tcase 0: return \"Sun\";\r\n\t\t\tcase 1: return \"Mon\";\r\n\t\t\tcase 2: return \"Tue\";\r\n\t\t\tcase 3: return \"Wed\";\r\n\t\t\tcase 4: return \"Thu\";\r\n\t\t\tcase 5: return \"Fri\";\r\n\t\t\tcase 6: return \"Sat\";\r\n\t\t\tdefault: throw new Error(\"Invalid day number\");\r\n\t\t}\r\n\t}\r\n\r\n\t//private static getTimezoneName(date: Date | null): string {\r\n\t//\tif (date == null) {\r\n\t//\t\treturn \"\";\r\n\t//\t}\r\n\t//\telse {\r\n\t//\t\ttry {\r\n\t//\t\t\tconst dateSplit = date.toLocaleDateString(undefined, { timeZoneName: 'short' }).split(\" \");\r\n\t//\t\t\treturn dateSplit[dateSplit.length - 1];\r\n\t//\t\t}\r\n\t//\t\tcatch (e: any) {\r\n\t//\t\t\treturn \"\";\r\n\t//\t\t}\r\n\t//\t}\r\n\t//}\r\n}\r\n\r\n\r\ninterface IParsedDate {\r\n\tseconds: number,\r\n\tminutes: number,\r\n\thours: number,\r\n\thours12: number,\r\n\tweekday: number,\r\n\tday: number,\r\n\tmonth: number,\r\n\tyear: number,\r\n\tmilliseconds: number;\r\n\tutcText: string,\r\n\ttimezoneName: string,\r\n}\r\n","export enum StateEnum {\r\n Wyoming = 65\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, isRef as _isRef, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Application\", -1)\nconst _hoisted_2 = {\n key: 0,\n style: {\"text-align\":\"left\"}\n}\nconst _hoisted_3 = { style: {\"color\":\"red\",\"text-align\":\"left\"} }\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"green\",\"text-align\":\"left\"} }, \" You are currently registered and logged in, \", -1)\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { style: {\"color\":\"green\"} }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_10 = {\n key: 0,\n style: {\"color\":\"royalblue\"}\n}\nconst _hoisted_11 = {\n key: 1,\n style: {\"color\":\"orangered\"}\n}\nconst _hoisted_12 = {\n key: 2,\n style: {\"color\":\"darkred\"}\n}\nconst _hoisted_13 = {\n key: 3,\n style: {\"color\":\"green\"}\n}\nconst _hoisted_14 = {\n key: 0,\n style: {\"color\":\"orangered\"}\n}\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_16 = [\"innerHTML\"]\nconst _hoisted_17 = {\n key: 1,\n style: {\"color\":\"green\"}\n}\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_20 = { key: 2 }\nconst _hoisted_21 = {\n key: 0,\n density: \"compact\",\n style: {\"text-align\":\"left\"}\n}\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Application Date:\", -1)\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Program Applied For:\", -1)\nconst _hoisted_24 = { key: 2 }\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"b\", null, \"CCW Waiver\", -1)\nconst _hoisted_27 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_28 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://health.wyo.gov/healthcarefin/hcbs/ccw-participant-services-and-eligibility/\",\n target: \"_blank\"\n}, \"https://health.wyo.gov/healthcarefin/hcbs/ccw-participant-services-and-eligibility/ (new window)\", -1)\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"b\", null, \"DD Waiver\", -1)\nconst _hoisted_30 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_31 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://health.wyo.gov/healthcarefin/hcbs/dd-participant-services-and-eligibility/\",\n target: \"_blank\"\n}, \"https://health.wyo.gov/healthcarefin/hcbs/dd-participant-services-and-eligibility/ (new window)\", -1)\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"b\", null, \"DD Waiver\", -1)\nconst _hoisted_33 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_34 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://health.wyo.gov/healthcarefin/hcbs/dd-participant-services-and-eligibility/\",\n target: \"_blank\"\n}, \"https://health.wyo.gov/healthcarefin/hcbs/dd-participant-services-and-eligibility/ (new window)\", -1)\nconst _hoisted_35 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_36 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_37 = /*#__PURE__*/_createElementVNode(\"b\", null, \"CCW Waiver\", -1)\nconst _hoisted_38 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_39 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://health.wyo.gov/healthcarefin/hcbs/ccw-participant-services-and-eligibility/\",\n target: \"_blank\"\n}, \"https://health.wyo.gov/healthcarefin/hcbs/ccw-participant-services-and-eligibility/ (new window)\", -1)\nconst _hoisted_40 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_41 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_42 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_43 = {\n key: 0,\n style: {\"margin\":\"5px\",\"padding-left\":\"10px\"}\n}\nconst _hoisted_44 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_45 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_46 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_47 = { style: {\"margin\":\"5px\",\"padding-left\":\"10px\"} }\nconst _hoisted_48 = {\n key: 3,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_49 = { style: {\"margin\":\"10px\"} }\n\nimport { ref, onMounted, watch } from 'vue';\r\n //import { injectStrict } from '@/Services/Helper/inject-typed'\r\n //import { AxiosKey } from '@/Services/HttpClient/symbols'\r\n import { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\n import router from '@/Router/router'\r\n import { useAuth0 } from '@/Services/Auth0/auth0-plugin';\r\n import { Auth0 } from '@/Services/Auth0/auth0-interface'\r\n import { LookupService } from '@/Services/lookup-service';\r\n //import { IWaiverType } from '@/Models/IWaiverType';\r\n import { ParticipantApplicationService } from '@/Services/participant-application-service';\r\n import { UserService } from '@/Services/user-service';\r\n import { IParticipantNewApplication } from '@/Models/IParticipantNewApplication';\r\n import { IParticipantApplication } from '@/Models/IParticipantApplication';\r\n import { IUser } from '@/Models/IUser'\r\n import { IPerson } from '../Models/IPerson';\r\n import { IPersonAddress } from '../Models/IPersonAddress';\r\n import { IPersonEmail } from '../Models/IPersonEmail';\r\n import { IPersonPhone } from '../Models/IPersonPhone';\r\n import { IPersonEmergencyContact } from '../Models/IPersonEmergencyContact';\r\n import { PersonService } from '@/Services/person-service';\r\n import { PersonAddressService, createPersonAddress } from '@/Services/person-address-service';\r\n import { PersonEmailService } from '@/Services/person-email-service';\r\n import { PersonPhoneService } from '@/Services/person-phone-service';\r\n import { PersonEmergencyContactService, createPersonEmergencyContact } from '@/Services/person-emergency-contact-service';\r\n import { DateHelper } from '@/Services/Helper/date-helper';\r\n import { StateEnum } from '@/Enums/StateEnum';\r\n\r\n import { useReCaptcha } from 'vue-recaptcha-v3'\r\n\r\n import { vMaska } from 'maska'\r\n interface ValidationError {\r\n text: string;\r\n }\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ParticipantApplication',\n setup(__props) {\n\r\n \r\n let recaptchaInstance = useReCaptcha();\r\n \r\n const recaptcha = async () => {\r\n await recaptchaInstance?.recaptchaLoaded();\r\n const token = await recaptchaInstance?.executeRecaptcha(\"submit_application\");\r\n return token;\r\n };\r\n //let captchaToken = recaptcha().then(token => {\r\n // console.log(\"recaptcha token:\", token);\r\n //});\r\n\r\n\r\n const phoneMask = { mask: '(###) ###-####' }\r\n const ssnMask = { mask: '###-##-####' }\r\n const medicaidIdMask = { mask: '##-########'}\r\n\r\n const auth0: Auth0 | null = useAuth0();\r\n const getAccessToken = async () => {\r\n if (!auth0) {\r\n return null;\r\n }\r\n\r\n return await auth0.getAccessToken();\r\n }; \r\n\r\n //const axios = injectStrict(AxiosKey)\r\n //const form = ref(null)\\\r\n const loadingData = ref(true)\r\n let isLoading = ref(true)\r\n let unregistered = ref(true)\r\n let registered = ref(false)\r\n let isAuthenticated = false\r\n let hasNoApplication = ref(true)\r\n let requiresEdit = ref(false)\r\n let auth0UserId = ref()\r\n let user = ref(null);\r\n let auth0User = ref()\r\n let existingApp = ref(null)\r\n let participantPortalUserId = ref();\r\n\r\n let valid = true\r\n let hasErrors = ref(false)\r\n let validationErrors = ref([]);\r\n let ccwFields = ref(false)\r\n let ddFields = ref(false)\r\n let unknownWaiver = ref(false)\r\n\r\n //const waiverTypes = ref([{}])\r\n const divisions = ref ([{}])\r\n const counties = ref([{}])\r\n const ethnicities = ref([{}])\r\n const genderTypes = ref([{}])\r\n const suffixes = ref([{}])\r\n const addressTypes = ref([{}])\r\n const states = ref([{}]) \r\n const phoneTypes = ref([{}]) \r\n const emailTypes = ref([{}])\r\n const preferredMethodsOfContact = ref([{}])\r\n const contactTypes = ref([{}])\r\n\r\n //let participantApplication = ref()\r\n let firstName = ref('')\r\n let lastName = ref('')\r\n let preferredName = ref('')\r\n let suffixId = ref()\r\n let divisionId = ref()\r\n let middleName = ref('')\r\n let dateOfBirth = ref('')\r\n let isMilitary = ref(false)\r\n let isApplyingForAbi = ref(false)\r\n let isOver21 = ref(false)\r\n let ssn = ref('')\r\n let medicaidId = ref('')\r\n let countyId = ref()\r\n let ethnicityId = ref()\r\n let genderId = ref()\r\n let preferredMethodOfContactId = ref()\r\n let phoneTypeId = ref()\r\n let phoneNumber = ref()\r\n let emailTypeId = ref()\r\n let emailAddress = ref() \r\n let addressTypeId = ref()\r\n let addressLine1 = ref()\r\n let addressLine2 = ref()\r\n let city = ref()\r\n let stateId = ref()\r\n let zipCode = ref()\r\n let showMailing = ref(false)\r\n let mailingAddressTypeId = ref()\r\n let mailingAddressLine1 = ref()\r\n let mailingAddressLine2 = ref()\r\n let mailingCity = ref()\r\n let mailingStateId = ref()\r\n let mailingZipCode = ref()\r\n\r\n let emergencyContactName = ref()\r\n let emergencyContactContactTypeId = ref()\r\n let emergencyContactPhoneTypeId = ref()\r\n let emergencyContactPhoneNumber = ref()\r\n let emergencyContactEmailTypeId = ref()\r\n let emergencyContactEmailAddress = ref()\r\n let emergencyContactAddressTypeId = ref()\r\n let emergencyContactAddressLine1 = ref()\r\n let emergencyContactAddressLine2 = ref()\r\n let emergencyContactCity = ref()\r\n let emergencyContactStateId = ref()\r\n let emergencyContactZipCode = ref()\r\n let emergencyContactPreferredMethodOfContactId = ref()\r\n\r\n let isSubmitted = ref(false)\r\n\r\n let statusPending = ref(true);\r\n let statusDeclined = ref(false);\r\n let statusAccepted = ref(false);\r\n let statusMoreInfo = ref(false);\r\n\r\n let person = ref(null)\r\n let personAddresses = ref(null)\r\n let personAddress = ref(null)\r\n let personEmail = ref(null)\r\n let personPhone = ref(null)\r\n let personEmergencyContact = ref(null)\r\n\r\n LookupService.getDivisions().then(result => divisions.value = result).then(() => isLoading.value = false);\r\n LookupService.getCounties().then(result => counties.value = result).then(() => isLoading.value = false);\r\n LookupService.getAddressTypes().then(result => addressTypes.value = result).then(() => isLoading.value = false);\r\n LookupService.getEmailTypes().then(result => emailTypes.value = result).then(() => isLoading.value = false);\r\n LookupService.getEthnicities().then(result => ethnicities.value = result).then(() => isLoading.value = false);\r\n LookupService.getGenders().then(result => genderTypes.value = result).then(() => isLoading.value = false);\r\n LookupService.getPhoneTypes().then(result => phoneTypes.value = result).then(() => isLoading.value = false);\r\n LookupService.getPreferredMethodsOfContact().then(result => preferredMethodsOfContact.value = result).then(() => isLoading.value = false);\r\n LookupService.getContactTypes().then(result => contactTypes.value = result).then(() => isLoading.value = false);\r\n LookupService.getStates().then(result => states.value = result).then(() => isLoading.value = false);\r\n LookupService.getSuffixes().then(result => suffixes.value = result).then(() => isLoading.value = false);\r\n\r\n\r\n onMounted(async () => {\r\n console.log('valid: ' + valid);\r\n try {\r\n const token = await getAccessToken();\r\n\r\n if (!token) {\r\n unregistered.value = true;\r\n registered.value = false;\r\n } else {\r\n unregistered.value = false;\r\n registered.value = true;\r\n isAuthenticated = auth0 ? auth0.isAuthenticated.value : false;\r\n auth0User.value = auth0 ? auth0.user.value : null;\r\n console.log('Application Page is auth0 authenticated: ' + isAuthenticated);\r\n if (auth0User.value) {\r\n auth0UserId.value = auth0User.value.sub; // Access Auth0 user ID\r\n //console.log('Auth0 User ID: ' + auth0UserId.value);\r\n const returnUser = await UserService.getByAuth0Id(auth0UserId.value);\r\n user.value = returnUser;\r\n participantPortalUserId.value = user.value.participantPortalUserId;\r\n\r\n //check if they have an application already\r\n const appResult = await ParticipantApplicationService.getByParticipantPortalUserId(participantPortalUserId.value, auth0UserId.value);\r\n existingApp.value = appResult;\r\n //console.log(\"existing app:\" + JSON.stringify(existingApp.value, null, 2));\r\n if (existingApp.value != null && existingApp.value.participantPortalUserId == participantPortalUserId.value) {\r\n //don't let them submit again.\r\n hasNoApplication.value = false;\r\n\r\n switch (existingApp.value.applicationResultId) {\r\n case 1:\r\n statusPending.value = false;\r\n statusDeclined.value = false;\r\n statusAccepted.value = true;\r\n statusMoreInfo.value = false;\r\n break;\r\n case 2:\r\n statusPending.value = false;\r\n statusDeclined.value = true;\r\n statusAccepted.value = false;\r\n statusMoreInfo.value = false;\r\n break;\r\n case 3:\r\n statusPending.value = false;\r\n statusDeclined.value = false;\r\n statusAccepted.value = false;\r\n statusMoreInfo.value = true;\r\n requiresEdit.value = true; // show edit button\r\n break;\r\n default:\r\n statusPending.value = true;\r\n statusDeclined.value = false;\r\n statusAccepted.value = false;\r\n statusMoreInfo.value = false;\r\n break;\r\n }\r\n\r\n const personResult = await PersonService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n person.value = personResult;\r\n //console.log(\"Person: \" + JSON.stringify(person));\r\n const personAddressResult = await PersonAddressService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personAddresses.value = personAddressResult;\r\n const personEmailResult = await PersonEmailService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personEmail.value = personEmailResult;\r\n const personPhoneResult = await PersonPhoneService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personPhone.value = personPhoneResult;\r\n const personEmergencyContactResult = await PersonEmergencyContactService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personEmergencyContact.value = personEmergencyContactResult;\r\n\r\n divisionId.value = existingApp.value.applicationDivisionId;\r\n \r\n onDivisionTypeChange();\r\n\r\n firstName.value = person.value.firstName;\r\n middleName.value = person.value.middleName;\r\n lastName.value = person.value.lastName;\r\n preferredName.value = person.value.preferredName;\r\n suffixId.value = person.value.suffixId == 0 ? null : person.value.suffixId;\r\n dateOfBirth.value = (new Date(person.value.dateOfBirth).getFullYear() + \"-\" + String(new Date(person.value.dateOfBirth).getMonth() + 1).padStart(2, '0') + \"-\" + String(new Date(person.value.dateOfBirth).getDate()).padStart(2, '0'));\r\n ssn.value = person.value.ssn;\r\n genderId.value = person.value.genderId;\r\n ethnicityId.value = person.value.ethnicityId;\r\n medicaidId.value = person.value.medicaidId == undefined ? '' : person.value.medicaidId;\r\n isMilitary.value = existingApp.value.isActiveMilitary ? true : false;\r\n isApplyingForAbi.value = existingApp.value.isApplyingForAbi ? true : false;\r\n countyId.value = existingApp.value.countyId;\r\n phoneTypeId.value = personPhone.value.phoneTypeId;\r\n phoneNumber.value = personPhone.value.phoneNumber;\r\n emailTypeId.value = personEmail.value.emailTypeId;\r\n emailAddress.value = personEmail.value.emailAddress;\r\n\r\n emergencyContactName.value = personEmergencyContact.value.personName;\r\n emergencyContactContactTypeId.value = personEmergencyContact.value.contactTypeId;\r\n emergencyContactPhoneTypeId.value = personEmergencyContact.value.phoneTypeId;\r\n emergencyContactPhoneNumber.value = personEmergencyContact.value.phoneNumber;\r\n emergencyContactEmailTypeId.value = personEmergencyContact.value.emailTypeId;\r\n emergencyContactEmailAddress.value = personEmergencyContact.value.emailAddress;\r\n emergencyContactAddressTypeId.value = personEmergencyContact.value.addressTypeId;\r\n emergencyContactAddressLine1.value = personEmergencyContact.value.addressLine1;\r\n emergencyContactAddressLine2.value = personEmergencyContact.value.addressLine2;\r\n emergencyContactCity.value = personEmergencyContact.value.city;\r\n emergencyContactStateId.value = personEmergencyContact.value.stateId;\r\n emergencyContactZipCode.value = personEmergencyContact.value.zipCode;\r\n emergencyContactPreferredMethodOfContactId.value = personEmergencyContact.value.preferredMethodOfContactId;\r\n\r\n if (personAddresses.value) {\r\n personAddresses.value.forEach((singleAddress) => {\r\n\r\n if (singleAddress.addressTypeId == 2) {\r\n //console.log('Loading Mailing Address, ID: ' + singleAddress.personAddressId);\r\n showMailing.value = true;\r\n mailingAddressTypeId.value = singleAddress.addressTypeId;\r\n mailingAddressLine1.value = singleAddress.addressLine1;\r\n mailingAddressLine2.value = singleAddress.addressLine2;\r\n mailingCity.value = singleAddress.city;\r\n mailingStateId.value = singleAddress.stateId;\r\n mailingZipCode.value = singleAddress.zipCode;\r\n } else {\r\n //console.log('Loading Physical Address, ID: ' + singleAddress.personAddressId);\r\n addressTypeId.value = singleAddress.addressTypeId;\r\n addressLine1.value = singleAddress.addressLine1;\r\n addressLine2.value = singleAddress.addressLine2;\r\n city.value = singleAddress.city;\r\n stateId.value = singleAddress.stateId;\r\n zipCode.value = singleAddress.zipCode;\r\n }\r\n });\r\n }\r\n\r\n preferredMethodOfContactId.value = person.value.preferredMethodOfContactId;\r\n\r\n\r\n } else {\r\n hasNoApplication.value = true;\r\n }\r\n //console.log('hasNoApplication: ' + hasNoApplication.value);\r\n }\r\n }\r\n } catch (e) {\r\n //console.log('Not Authenticated.');\r\n const errorObj = e as Error;\r\n console.error('Authentication Error: ' + errorObj.message);\r\n } finally {\r\n loadingData.value = false;\r\n }\r\n });\r\n\r\n watch(isSubmitted, () => {\r\n console.log(\"Submitted Status: \" + isSubmitted.value.toString())\r\n })\r\n\r\n watch(isOver21, () => {\r\n console.log(\"Is Over 21: \" + isOver21.value)\r\n })\r\n\r\n watch(dateOfBirth, (newValue) => {\r\n if (newValue) {\r\n const today = new Date();\r\n const birthDate = new Date(newValue);\r\n let age = today.getFullYear() - birthDate.getFullYear();\r\n const monthDiff = today.getMonth() - birthDate.getMonth();\r\n\r\n if (monthDiff < 0 || (monthDiff === 0 && today.getDate() < birthDate.getDate())) {\r\n age--;\r\n }\r\n\r\n isOver21.value = age >= 21;\r\n } else {\r\n isOver21.value = false;\r\n }\r\n });\r\n\r\n // eslint-disable-next-line\r\n async function testCaptcha() {\r\n //console.log('Testing Captcha');\r\n var token = await recaptcha();\r\n //console.log('Submit testCaptcha token: ' + token);\r\n if (token != null) {\r\n ParticipantApplicationService.testCaptcha(token)\r\n }\r\n }\r\n\r\n // eslint-disable-next-line\r\n async function saveNewApplication() {\r\n console.log('zipCode: ' + zipCode.value);\r\n var token = await recaptcha();\r\n //console.log('Submit testCaptcha token: ' + token);\r\n if (token != null) {\r\n \r\n try {\r\n let result = validateForm();\r\n if (result) {\r\n\r\n console.log('saving new app')\r\n \r\n // get the user\r\n if (registered.value == true) {\r\n const result = await UserService.getByAuth0Id(auth0UserId.value);\r\n user.value = result;\r\n participantPortalUserId.value = user.value.participantPortalUserId;\r\n console.log('participantPortalUserId:' + participantPortalUserId.value);\r\n }\r\n const application: IParticipantNewApplication = {\r\n participantPortalUserId: participantPortalUserId.value ? Number(participantPortalUserId.value) : undefined,\r\n divisionId: Number(divisionId.value),\r\n firstName: firstName.value,\r\n middleName: middleName.value,\r\n lastName: lastName.value,\r\n preferredName: preferredName.value ?? '',\r\n suffixId: Number(suffixId.value) == 0 ? undefined : Number(suffixId.value),\r\n genderId: Number(genderId.value),\r\n dateOfBirth: dateOfBirth.value,\r\n ssn: ssn.value,\r\n medicaidId: medicaidId.value ? medicaidId.value : '',\r\n ethnicityId: Number(ethnicityId.value),\r\n isActiveMilitary: isMilitary.value.toString(),\r\n isApplyingForAbi: isApplyingForAbi.value.toString(),\r\n preferredMethodOfContactId: Number(preferredMethodOfContactId.value),\r\n countyId: Number(countyId.value),\r\n addressTypeId: mailingAddressLine1.value == undefined || mailingAddressLine1.value == \"\" ? Number(3) : Number(1),\r\n addressLine1: addressLine1.value,\r\n addressLine2: addressLine2.value ?? '',\r\n city: city.value,\r\n stateId: Number(stateId.value),\r\n zipCode: zipCode.value,\r\n mailingAddressTypeId: mailingAddressLine1.value != undefined && mailingAddressLine1.value != \"\" ? Number(2) : 0,\r\n mailingAddressLine1: mailingAddressLine1.value ?? '',\r\n mailingAddressLine2: mailingAddressLine2.value ?? '',\r\n mailingCity: mailingCity.value ?? '',\r\n mailingStateId: Number(mailingStateId.value) ?? 0,\r\n mailingZipCode: mailingZipCode.value ?? '',\r\n phoneTypeId: Number(phoneTypeId.value),\r\n phoneNumber: phoneNumber.value,\r\n emailTypeId: Number(emailTypeId.value),\r\n emailAddress: emailAddress.value,\r\n emergencyContactName: emergencyContactName.value,\r\n emergencyContactContactTypeId: emergencyContactContactTypeId.value,\r\n emergencyContactPhoneTypeId: Number(emergencyContactPhoneTypeId.value),\r\n emergencyContactPhoneNumber: emergencyContactPhoneNumber.value,\r\n emergencyContactEmailTypeId: emergencyContactEmailTypeId.value ? Number(emergencyContactEmailTypeId.value) : 0,\r\n emergencyContactEmailAddress: emergencyContactEmailAddress.value,\r\n emergencyContactAddressTypeId: Number(emergencyContactAddressTypeId.value),\r\n emergencyContactAddressLine1: emergencyContactAddressLine1.value,\r\n emergencyContactAddressLine2: emergencyContactAddressLine2.value,\r\n emergencyContactCity: emergencyContactCity.value,\r\n emergencyContactStateId: Number(emergencyContactStateId.value),\r\n emergencyContactZipCode: emergencyContactZipCode.value,\r\n emergencyContactPreferredMethodOfContactId: emergencyContactPreferredMethodOfContactId.value\r\n };\r\n console.log('zipCode: ' + zipCode.value);\r\n console.log(\"Application object:\", application);\r\n ParticipantApplicationService.saveNewApplication(application, token)\r\n\r\n isSubmitted.value = true\r\n\r\n // redirect to submitted page\r\n router.push('submitted');\r\n\r\n } else {\r\n isSubmitted.value = false\r\n }\r\n\r\n console.log(\"IsSubmitted: \" + isSubmitted.value);\r\n\r\n } catch (e: unknown) {\r\n if (isAxiosError(e)) {\r\n console.error(e.response?.data);\r\n } else {\r\n console.error(e); // Log the entire error object if it doesn't have the expected structure\r\n }\r\n }\r\n\r\n }\r\n \r\n }\r\n\r\n // eslint-disable-next-line\r\n async function updateApplication() {\r\n\r\n var token = await recaptcha();\r\n //console.log('Submit testCaptcha token: ' + token);\r\n if (token != null) {\r\n\r\n try {\r\n let result = validateForm();\r\n if (result) {\r\n\r\n console.log('updating existing app')\r\n const appResult = await ParticipantApplicationService.getByParticipantPortalUserId(participantPortalUserId.value, auth0UserId.value);\r\n existingApp.value = appResult;\r\n existingApp.value.applicationDivisionId = divisionId.value;\r\n const personResult = await PersonService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n person.value = personResult;\r\n //console.log(\"Person: \" + JSON.stringify(person));\r\n const personAddressResult = await PersonAddressService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personAddresses.value = personAddressResult;\r\n const personEmailResult = await PersonEmailService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personEmail.value = personEmailResult;\r\n const personPhoneResult = await PersonPhoneService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personPhone.value = personPhoneResult;\r\n const personEmergencyContactResult = await PersonEmergencyContactService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personEmergencyContact.value = personEmergencyContactResult;\r\n\r\n person.value.firstName = firstName.value;\r\n person.value.middleName = middleName.value;\r\n person.value.lastName = lastName.value;\r\n person.value.preferredName = preferredName.value;\r\n person.value.suffixId = Number(suffixId.value) == 0 ? undefined : Number(suffixId.value);\r\n person.value.dateOfBirth = dateOfBirth.value;\r\n person.value.ssn = ssn.value;\r\n person.value.genderId = Number(genderId.value);\r\n person.value.ethnicityId = Number(ethnicityId.value);\r\n person.value.medicaidId = medicaidId.value ? medicaidId.value : undefined;\r\n existingApp.value.isActiveMilitary = isMilitary.value.toString() == \"true\" ? true : false;\r\n existingApp.value.isApplyingForAbi = isApplyingForAbi.value.toString() == \"true\" ? true : false;\r\n existingApp.value.countyId = Number(countyId.value);\r\n personPhone.value.phoneTypeId = Number(phoneTypeId.value);\r\n personPhone.value.phoneNumber = phoneNumber.value;\r\n personEmail.value.emailTypeId = Number(emailTypeId.value);\r\n personEmail.value.emailAddress = emailAddress.value;\r\n\r\n if (personEmergencyContact.value.personName == null || personEmergencyContact.value.personName == \"\")\r\n {\r\n personEmergencyContact.value = createPersonEmergencyContact();\r\n } \r\n\r\n personEmergencyContact.value.personId = person.value.personId;\r\n personEmergencyContact.value.personName = emergencyContactName.value;\r\n personEmergencyContact.value.contactTypeId = emergencyContactContactTypeId.value;\r\n personEmergencyContact.value.phoneTypeId = Number(emergencyContactPhoneTypeId.value);\r\n personEmergencyContact.value.phoneNumber = emergencyContactPhoneNumber.value;\r\n personEmergencyContact.value.emailTypeId = emergencyContactEmailTypeId.value ? Number(emergencyContactEmailTypeId.value) : 0;\r\n personEmergencyContact.value.emailAddress = emergencyContactEmailAddress.value;\r\n personEmergencyContact.value.addressTypeId = Number(emergencyContactAddressTypeId.value);\r\n personEmergencyContact.value.addressLine1 = emergencyContactAddressLine1.value;\r\n personEmergencyContact.value.addressLine2 = emergencyContactAddressLine2.value;\r\n personEmergencyContact.value.city = emergencyContactCity.value;\r\n personEmergencyContact.value.stateId = Number(emergencyContactStateId.value);\r\n personEmergencyContact.value.zipCode = emergencyContactZipCode.value;\r\n personEmergencyContact.value.preferredMethodOfContactId = emergencyContactPreferredMethodOfContactId.value;\r\n personEmergencyContact.value.modifiedBy = \"Update\";\r\n personEmergencyContact.value.modifiedDate = DateHelper.formatDateLocal(new Date(), 'yyyy-MM-ddTHH:mm:ss.SSS');\r\n\r\n person.value.preferredMethodOfContactId = preferredMethodOfContactId.value;\r\n\r\n PersonService.savePerson(person.value, auth0UserId.value);\r\n PersonEmailService.savePersonEmail(personEmail.value, auth0UserId.value);\r\n PersonPhoneService.savePersonPhone(personPhone.value, auth0UserId.value);\r\n PersonEmergencyContactService.savePersonEmergencyContact(personEmergencyContact.value, auth0UserId.value); \r\n\r\n var hasExistingMailing = false;\r\n var deletedMailing = false;\r\n if (personAddresses.value) {\r\n personAddresses.value.forEach((singleAddress) => {\r\n if (singleAddress.addressTypeId == 2) {\r\n //if (showMailing && mailingAddressLine1.value != undefined && mailingAddressLine1.value != \"\") {\r\n //console.log('Step through addresses for update, showMailing: ' + showMailing.value);\r\n //console.log('Step through 2 - mailing Line 1 check: ' + (mailingAddressLine1.value != undefined && mailingAddressLine1.value != \"\"));\r\n if (showMailing.value && (mailingAddressLine1.value != undefined && mailingAddressLine1.value != \"\")) {\r\n console.log('Updating existing Mailing');\r\n singleAddress.addressLine1 = mailingAddressLine1.value;\r\n singleAddress.addressLine2 = mailingAddressLine2.value;\r\n singleAddress.city = mailingCity.value;\r\n singleAddress.stateId = mailingStateId.value;\r\n singleAddress.zipCode = mailingZipCode.value;\r\n PersonAddressService.savePersonAddress(singleAddress, auth0UserId.value);\r\n hasExistingMailing = true;\r\n } else {\r\n //console.log('Deleting existing Mailing: ' + singleAddress.personAddressId);\r\n PersonAddressService.deletePersonAddress(singleAddress.personAddressId, auth0UserId.value);\r\n deletedMailing = true;\r\n }\r\n \r\n } else {\r\n //saving \r\n console.log('Updating existing physical');\r\n singleAddress.addressLine1 = addressLine1.value;\r\n singleAddress.addressLine2 = addressLine2.value;\r\n singleAddress.city = city.value;\r\n singleAddress.stateId = stateId.value;\r\n singleAddress.zipCode = zipCode.value;\r\n PersonAddressService.savePersonAddress(singleAddress, auth0UserId.value);\r\n }\r\n });\r\n }\r\n\r\n if (showMailing.value && !hasExistingMailing && mailingAddressLine1.value != undefined && mailingAddressLine1.value != \"\") {\r\n console.log(\"Adding New Mailing to Existing App\");\r\n personAddress.value = createPersonAddress();\r\n personAddress.value.personId = person.value.personId;\r\n personAddress.value.addressTypeId = 2; //mailing\r\n personAddress.value.addressLine1 = mailingAddressLine1.value;\r\n personAddress.value.addressLine2 = mailingAddressLine2.value;\r\n personAddress.value.city = mailingCity.value;\r\n personAddress.value.stateId = mailingStateId.value;\r\n personAddress.value.zipCode = mailingZipCode.value;\r\n personAddress.value.modifiedBy = \"Update\";\r\n personAddress.value.modifiedDate = DateHelper.formatDateLocal(new Date(), 'yyyy-MM-ddTHH:mm:ss.SSS');\r\n PersonAddressService.savePersonAddress(personAddress.value, auth0UserId.value);\r\n\r\n //because we just added a mailing address,we need to make sure the existing address is set to physical and not physical/mailing\r\n if (personAddresses.value) {\r\n personAddresses.value.forEach((singleAddress) => {\r\n if (singleAddress.addressTypeId == 3) {\r\n console.log(\"Updating existing physical/mailing to physical\");\r\n //save the physical address as physical if physical/mailing\r\n singleAddress.addressTypeId = 1;\r\n singleAddress.addressLine1 = addressLine1.value;\r\n singleAddress.addressLine2 = addressLine2.value;\r\n singleAddress.city = city.value;\r\n singleAddress.stateId = stateId.value;\r\n singleAddress.zipCode = zipCode.value;\r\n PersonAddressService.savePersonAddress(singleAddress, auth0UserId.value);\r\n }\r\n });\r\n }\r\n }\r\n\r\n if (deletedMailing) {\r\n if (personAddresses.value) {\r\n personAddresses.value.forEach((singleAddress) => {\r\n if (singleAddress.addressTypeId == 1) {\r\n console.log(\"Updating existing physical to physical/mailing\");\r\n singleAddress.addressTypeId = 3;\r\n singleAddress.addressLine1 = addressLine1.value;\r\n singleAddress.addressLine2 = addressLine2.value;\r\n singleAddress.city = city.value;\r\n singleAddress.stateId = stateId.value;\r\n singleAddress.zipCode = zipCode.value;\r\n PersonAddressService.savePersonAddress(singleAddress, auth0UserId.value);\r\n }\r\n });\r\n }\r\n }\r\n\r\n //TODO: turn this back on to reset the app for review\r\n existingApp.value.applicationResultId = 0;\r\n ParticipantApplicationService.updateApplication(existingApp.value);\r\n\r\n isSubmitted.value = true\r\n\r\n // redirect to submitted page\r\n router.push('submitted');\r\n\r\n } else {\r\n isSubmitted.value = false\r\n }\r\n\r\n console.log(\"IsSubmitted: \" + isSubmitted.value);\r\n\r\n } catch (e: unknown) {\r\n if (isAxiosError(e)) {\r\n console.error(e.response?.data);\r\n } else {\r\n console.error(e); // Log the entire error object if it doesn't have the expected structure\r\n }\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n\r\n function validateForm() {\r\n let isValid = true;\r\n validationErrors.value = []\r\n console.log(\"Errors: \" + validationErrors.value)\r\n // validationErrors.value = '';\r\n if (divisionId.value == \"\" || divisionId.value == null) {\r\n validationErrors.value.push({ text: 'Waiver Program is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (divisionId.value != \"\" && divisionId.value != null && divisionId.value > 0 && dateOfBirth.value != \"\" && dateOfBirth.value != null) {\r\n if (divisionId.value == 2) {\r\n console.log\r\n const age = DateHelper.getAge(new Date(dateOfBirth.value));\r\n if (age < 18) {\r\n validationErrors.value.push({ text: 'You must be 18 or older in order to apply for the Community Choices Waiver.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n }\r\n }\r\n if (firstName.value == \"\") { \r\n validationErrors.value.push({ text: 'First Name is Required.'});\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (lastName.value == \"\") {\r\n validationErrors.value.push({text: 'Last Name is Required.'});\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (dateOfBirth.value == \"\") {\r\n validationErrors.value.push({ text: 'Date of Birth is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n } else {\r\n if (new Date(dateOfBirth.value) >= new Date()) {\r\n validationErrors.value.push({ text: 'Date of Birth cannot be a future date.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n }\r\n if (ssn.value == \"\") {\r\n validationErrors.value.push({ text: 'SSN is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (genderId.value == \"\" || genderId.value == null) {\r\n validationErrors.value.push({ text: 'Gender is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (ethnicityId.value == \"\" || ethnicityId.value == null) {\r\n validationErrors.value.push({ text: 'Ethnicity is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (countyId.value == \"\" || countyId.value == null) {\r\n validationErrors.value.push({ text: 'County is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (phoneTypeId.value == \"\" || phoneTypeId.value == null) {\r\n validationErrors.value.push({ text: 'Phone Type is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (phoneNumber.value == \"\" || phoneNumber.value == null) {\r\n validationErrors.value.push({ text: 'Phone Number is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emailTypeId.value == \"\" || emailTypeId.value == null) {\r\n validationErrors.value.push({ text: 'Email Type is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emailAddress.value == \"\" || emailAddress.value == null) {\r\n validationErrors.value.push({ text: 'Email is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n \r\n //if (addressTypeId.value == \"\" || addressTypeId.value == null) {\r\n // validationErrors.value.push({ text: 'Address Type is Required.' });\r\n // isValid = false;\r\n // hasErrors.value = true;\r\n //}\r\n if (addressLine1.value == \"\" || addressLine1.value == undefined) {\r\n validationErrors.value.push({ text: 'Physical Address Line 1 is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (city.value == \"\" || city.value == undefined) {\r\n validationErrors.value.push({ text: 'Physical Address City is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (stateId.value == \"\" || stateId.value == null || stateId.value == undefined) {\r\n validationErrors.value.push({ text: 'Physical Address State is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n } else {\r\n console.log('validating state is Wyoming');\r\n if (stateId.value != StateEnum.Wyoming) {\r\n console.log('validating state is Wyoming - fail');\r\n validationErrors.value.push({ text: 'Physical address must be in Wyoming in order to apply for the waiver.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n }\r\n if (zipCode.value == \"\" || zipCode.value == null || zipCode.value == undefined) {\r\n validationErrors.value.push({ text: 'Physical Address Zip Code is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n\r\n if (emergencyContactName.value == \"\" || emergencyContactName.value == null) {\r\n validationErrors.value.push({ text: 'Emergency Contact Name is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactContactTypeId.value == \"\" || emergencyContactContactTypeId.value == null) {\r\n validationErrors.value.push({ text: 'Emergency Contact Type is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactPhoneTypeId.value == \"\" || emergencyContactPhoneTypeId.value == null) {\r\n validationErrors.value.push({ text: 'Emergency Contact Phone Type is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactPhoneNumber.value == \"\" || emergencyContactPhoneNumber.value == null) {\r\n validationErrors.value.push({ text: 'Emergency Contact Phone Number is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactAddressLine1.value == \"\" || emergencyContactAddressLine1.value == undefined) {\r\n validationErrors.value.push({ text: 'Emergency Contact Address Line 1 is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactCity.value == \"\" || emergencyContactCity.value == undefined) {\r\n validationErrors.value.push({ text: 'Emergency Contact Address City is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactStateId.value == \"\" || emergencyContactStateId.value == null || emergencyContactStateId.value == undefined) {\r\n validationErrors.value.push({ text: 'Emergency Contact Address State is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (emergencyContactZipCode.value == \"\" || emergencyContactZipCode.value == null || emergencyContactZipCode.value == undefined) {\r\n validationErrors.value.push({ text: 'Emergency Contact Address Zip Code is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n\r\n if (preferredMethodOfContactId.value == \"\" || preferredMethodOfContactId.value == null) {\r\n validationErrors.value.push({ text: 'Preferred Method of Contact is Required.' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n\r\n if (showMailing.value) {\r\n if (mailingAddressLine1.value == \"\" || mailingAddressLine1.value == undefined) {\r\n validationErrors.value.push({ text: 'Mailing Address Line 1 is Required if you have selected "Do you have a different mailing address than the address entered above?".' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (mailingCity.value == \"\" || mailingCity.value == undefined) {\r\n validationErrors.value.push({ text: 'Mailing Address City is Required if you have selected "Do you have a different mailing address than the address entered above?".' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (mailingStateId.value == \"\" || mailingStateId.value == null || mailingStateId.value == undefined) {\r\n validationErrors.value.push({ text: 'Mailing Address State is Required if you have selected "Do you have a different mailing address than the address entered above?".' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n if (mailingZipCode.value == \"\" || mailingZipCode.value == undefined) {\r\n validationErrors.value.push({ text: 'Mailing Address Zip Code is Required if you have selected "Do you have a different mailing address than the address entered above?".' });\r\n isValid = false;\r\n hasErrors.value = true;\r\n }\r\n }\r\n\r\n return isValid;\r\n }\r\n\r\n function onDivisionTypeChange() {\r\n //console.log(\"Selected WaiverType: \" + divisionId.value);\r\n if (divisionId.value == \"1\") {\r\n ccwFields.value = false;\r\n ddFields.value = true;\r\n } else if (divisionId.value == \"2\") {\r\n ccwFields.value = true;\r\n ddFields.value = false;\r\n } else {\r\n ccwFields.value = false;\r\n ddFields.value = false;\r\n unknownWaiver.value = true;\r\n }\r\n }\r\n\r\n \nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_v_col = _resolveComponent(\"v-col\")!\n const _component_v_row = _resolveComponent(\"v-row\")!\n const _component_v_select = _resolveComponent(\"v-select\")!\n const _component_v_text_field = _resolveComponent(\"v-text-field\")!\n const _component_v_checkbox = _resolveComponent(\"v-checkbox\")!\n const _component_v_card = _resolveComponent(\"v-card\")!\n const _component_v_btn = _resolveComponent(\"v-btn\")!\n const _component_v_container = _resolveComponent(\"v-container\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createVNode(_component_v_form, {\n modelValue: _unref(valid),\n \"onUpdate:modelValue\": _cache[43] || (_cache[43] = ($event: any) => (_isRef(valid) ? (valid).value = $event : valid = $event)),\n ref: \"form\"\n }, {\n default: _withCtx(() => [\n (_unref(unregistered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, [\n _createTextVNode(\" You are currently not registered, or not logged in. You will be unable to track any application submitted through this site unless you are \"),\n _createVNode(_component_router_link, { to: { name: 'register' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"registered\")\n ]),\n _: 1\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_router_link, { to: { name: 'login' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"logged in\")\n ]),\n _: 1\n }),\n _createTextVNode(\". \")\n ])\n ]))\n : (_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n (!_unref(hasNoApplication))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n _createElementVNode(\"span\", _hoisted_7, [\n _createTextVNode(\"and your application has been successfully submitted. You can track any application submitted through this site by going to the \"),\n _createVNode(_component_router_link, { to: { name: 'application-status' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Application Status\")\n ]),\n _: 1\n }),\n _createTextVNode(\" page.\"),\n _hoisted_8,\n _hoisted_9\n ]),\n _createElementVNode(\"h3\", null, [\n _createTextVNode(\" Application Status: \"),\n (_unref(statusPending))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, \"PENDING\"))\n : _createCommentVNode(\"\", true),\n (_unref(statusMoreInfo))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, \"MORE INFORMATION REQUIRED\"))\n : _createCommentVNode(\"\", true),\n (_unref(statusDeclined))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, \"DECLINED\"))\n : _createCommentVNode(\"\", true),\n (_unref(statusAccepted))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, \"ACCEPTED\"))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(statusMoreInfo))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, \"Your application requires additional information in order to be processed. Please see notes below, make the necessary updates, and click 'Submit Updates' at the bottom of the page.\"))\n : _createCommentVNode(\"\", true),\n _hoisted_15,\n _createElementVNode(\"span\", {\n innerHTML: !_unref(existingApp).applicationResultNote || _unref(existingApp).applicationResultNote.trim() === '' ? '' : 'Notes: ' + _unref(existingApp).applicationResultNote + '

'\n }, null, 8, _hoisted_16),\n _createTextVNode(\" Please review submitted information below: \")\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(hasNoApplication))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, [\n _createTextVNode(\"but your application has not yet been submitted.\"),\n _hoisted_18,\n _hoisted_19\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (loadingData.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, \"Loading...\"))\n : (_openBlock(), _createBlock(_component_v_container, {\n key: 3,\n density: \"compact\",\n style: {\"text-align\":\"left\"}\n }, {\n default: _withCtx(() => [\n (!_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"8\"\n })\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(hasNoApplication))\n ? (_openBlock(), _createBlock(_component_v_row, { key: 1 }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_22,\n _createTextVNode(\" \" + _toDisplayString(new Date((_unref(existingApp)).applicationDate).toLocaleDateString('en-US')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_23,\n _createTextVNode(\" \" + _toDisplayString(_unref(existingApp).waiverProgramName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"4\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Which waiver program are you applying for? \"),\n _createVNode(_component_v_select, {\n modelValue: _unref(divisionId),\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => (_isRef(divisionId) ? (divisionId).value = $event : divisionId = $event)),\n onDivisionTypeChange\n ],\n items: divisions.value,\n \"item-value\": \"divisionId\",\n \"item-title\": \"description\",\n label: \"Waiver Program\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"modelValue\", \"items\"]),\n _createTextVNode(),\n _hoisted_25\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_unref(ccwFields))\n ? (_openBlock(), _createBlock(_component_v_row, {\n key: 0,\n style: {\"text-align\":\"left\",\"margin-top\":\"-40px\"},\n dense: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"40\",\n md: \"12\",\n style: {\"text-align\":\"left\",\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_26,\n _createTextVNode(\" For more information about CCW Participant Services and Eligibility, please visit: \"),\n _hoisted_27,\n _hoisted_28\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(ddFields))\n ? (_openBlock(), _createBlock(_component_v_row, {\n key: 1,\n style: {\"text-align\":\"left\",\"margin-top\":\"-40px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"40\",\n md: \"12\",\n style: {\"text-align\":\"left\",\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_29,\n _createTextVNode(\" For more information about DD Participant Services and Eligibility, please visit: \"),\n _hoisted_30,\n _hoisted_31\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(unknownWaiver))\n ? (_openBlock(), _createBlock(_component_v_row, {\n key: 2,\n style: {\"text-align\":\"left\",\"margin-top\":\"-40px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"40\",\n md: \"12\",\n style: {\"text-align\":\"left\",\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_32,\n _createTextVNode(\" For more information about DD Participant Services and Eligibility, please visit: \"),\n _hoisted_33,\n _hoisted_34,\n _hoisted_35,\n _hoisted_36,\n _hoisted_37,\n _createTextVNode(\" For more information about CCW Participant Services and Eligibility, please visit: \"),\n _hoisted_38,\n _hoisted_39\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(firstName),\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(firstName) ? (firstName).value = $event : firstName = $event)),\n label: \"First Name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(middleName),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(middleName) ? (middleName).value = $event : middleName = $event)),\n label: \"Middle Name\",\n clearable: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(lastName),\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_isRef(lastName) ? (lastName).value = $event : lastName = $event)),\n label: \"Last Name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(preferredName),\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_isRef(preferredName) ? (preferredName).value = $event : preferredName = $event)),\n label: \"Preferred Name\",\n clearable: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: suffixes.value,\n modelValue: _unref(suffixId),\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_isRef(suffixId) ? (suffixId).value = $event : suffixId = $event)),\n \"item-value\": \"suffixId\",\n \"item-title\": \"description\",\n name: \"suffix\",\n label: \"Suffix\",\n clearable: \"\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(dateOfBirth),\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_isRef(dateOfBirth) ? (dateOfBirth).value = $event : dateOfBirth = $event)),\n label: \"Birth Date\",\n type: \"date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_v_text_field, {\n modelValue: _unref(ssn),\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_isRef(ssn) ? (ssn).value = $event : ssn = $event)),\n label: \"SSN\"\n }, null, 8, [\"modelValue\"]), [\n [_unref(vMaska), void 0, ssnMask]\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: genderTypes.value,\n modelValue: _unref(genderId),\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_isRef(genderId) ? (genderId).value = $event : genderId = $event)),\n \"item-value\": \"genderId\",\n \"item-title\": \"description\",\n label: \"Gender\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: ethnicities.value,\n modelValue: _unref(ethnicityId),\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_isRef(ethnicityId) ? (ethnicityId).value = $event : ethnicityId = $event)),\n \"item-value\": \"ethnicityId\",\n \"item-title\": \"description\",\n name: \"ethnicity\",\n label: \"Ethnicity\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_v_text_field, {\n modelValue: _unref(medicaidId),\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_isRef(medicaidId) ? (medicaidId).value = $event : medicaidId = $event)),\n label: \"Medicaid ID\"\n }, null, 8, [\"modelValue\"]), [\n [_unref(vMaska), void 0, medicaidIdMask]\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n \"cols-\": \"12\",\n md: \"8\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_checkbox, {\n modelValue: _unref(isMilitary),\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_isRef(isMilitary) ? (isMilitary).value = $event : isMilitary = $event)),\n label: \"Are you, your spouse or parent a veteran or an active-duty member of the U.S. military?\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: counties.value,\n modelValue: _unref(countyId),\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (_isRef(countyId) ? (countyId).value = $event : countyId = $event)),\n \"item-value\": \"countyId\",\n \"item-title\": \"description\",\n name: \"county\",\n label: \"County\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_card, {\n variant: \"outlined\",\n title: \"Contact Info\",\n class: \"text-left\",\n style: {\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_40, [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: phoneTypes.value,\n modelValue: _unref(phoneTypeId),\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_isRef(phoneTypeId) ? (phoneTypeId).value = $event : phoneTypeId = $event)),\n \"item-value\": \"phoneTypeId\",\n \"item-title\": \"description\",\n name: \"phoneType\",\n label: \"Phone Type\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_v_text_field, {\n modelValue: _unref(phoneNumber),\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => (_isRef(phoneNumber) ? (phoneNumber).value = $event : phoneNumber = $event)),\n label: \"Phone\",\n placeholder: \"(000) 000-0000\"\n }, null, 8, [\"modelValue\"]), [\n [_unref(vMaska), void 0, phoneMask]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: emailTypes.value,\n modelValue: _unref(emailTypeId),\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => (_isRef(emailTypeId) ? (emailTypeId).value = $event : emailTypeId = $event)),\n \"item-value\": \"emailTypeId\",\n \"item-title\": \"description\",\n name: \"emailType\",\n label: \"Email Type\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emailAddress),\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => (_isRef(emailAddress) ? (emailAddress).value = $event : emailAddress = $event)),\n label: \"Email\",\n placeholder: \"johndoe@gmail.com\",\n type: \"email\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_v_card, {\n variant: \"outlined\",\n title: \"Physical Address\",\n class: \"text-left\",\n style: {\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_41, [\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(addressLine1),\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => (_isRef(addressLine1) ? (addressLine1).value = $event : addressLine1 = $event)),\n label: \"Address Line 1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(addressLine2),\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => (_isRef(addressLine2) ? (addressLine2).value = $event : addressLine2 = $event)),\n label: \"Address Line 2\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(city),\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => (_isRef(city) ? (city).value = $event : city = $event)),\n label: \"City\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: states.value,\n modelValue: _unref(stateId),\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => (_isRef(stateId) ? (stateId).value = $event : stateId = $event)),\n \"item-value\": \"stateId\",\n \"item-title\": \"description\",\n name: \"state\",\n label: \"State\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(zipCode),\n \"onUpdate:modelValue\": _cache[21] || (_cache[21] = ($event: any) => (_isRef(zipCode) ? (zipCode).value = $event : zipCode = $event)),\n label: \"Zip\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_v_card, {\n variant: \"outlined\",\n title: \"Mailing Address (if different from Physical Address)\",\n class: \"text-left\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_42, [\n _createVNode(_component_v_checkbox, {\n modelValue: _unref(showMailing),\n \"onUpdate:modelValue\": _cache[22] || (_cache[22] = ($event: any) => (_isRef(showMailing) ? (showMailing).value = $event : showMailing = $event)),\n label: \"Do you have a different mailing address than the address entered above?\"\n }, null, 8, [\"modelValue\"])\n ]),\n (_unref(showMailing))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_43, [\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(mailingAddressLine1),\n \"onUpdate:modelValue\": _cache[23] || (_cache[23] = ($event: any) => (_isRef(mailingAddressLine1) ? (mailingAddressLine1).value = $event : mailingAddressLine1 = $event)),\n label: \"Address Line 1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(mailingAddressLine2),\n \"onUpdate:modelValue\": _cache[24] || (_cache[24] = ($event: any) => (_isRef(mailingAddressLine2) ? (mailingAddressLine2).value = $event : mailingAddressLine2 = $event)),\n label: \"Address Line 2\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(mailingCity),\n \"onUpdate:modelValue\": _cache[25] || (_cache[25] = ($event: any) => (_isRef(mailingCity) ? (mailingCity).value = $event : mailingCity = $event)),\n label: \"City\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: states.value,\n modelValue: _unref(mailingStateId),\n \"onUpdate:modelValue\": _cache[26] || (_cache[26] = ($event: any) => (_isRef(mailingStateId) ? (mailingStateId).value = $event : mailingStateId = $event)),\n \"item-value\": \"stateId\",\n \"item-title\": \"description\",\n name: \"mailingState\",\n label: \"State\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(mailingZipCode),\n \"onUpdate:modelValue\": _cache[27] || (_cache[27] = ($event: any) => (_isRef(mailingZipCode) ? (mailingZipCode).value = $event : mailingZipCode = $event)),\n label: \"Zip\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { style: {\"margin-top\":\"10px\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: preferredMethodsOfContact.value,\n modelValue: _unref(preferredMethodOfContactId),\n \"onUpdate:modelValue\": _cache[28] || (_cache[28] = ($event: any) => (_isRef(preferredMethodOfContactId) ? (preferredMethodOfContactId).value = $event : preferredMethodOfContactId = $event)),\n \"item-value\": \"preferredMethodOfContactId\",\n \"item-title\": \"description\",\n name: \"preferredMethodOfContact\",\n label: \"Preferred Method Of Contact\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n \"cols-\": \"12\",\n md: \"8\"\n }, {\n default: _withCtx(() => [\n (_unref(isOver21))\n ? (_openBlock(), _createBlock(_component_v_checkbox, {\n key: 0,\n modelValue: _unref(isApplyingForAbi),\n \"onUpdate:modelValue\": _cache[29] || (_cache[29] = ($event: any) => (_isRef(isApplyingForAbi) ? (isApplyingForAbi).value = $event : isApplyingForAbi = $event)),\n label: \"Are you applying for the Acquired Brain Injury Waiver?\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_card, {\n variant: \"outlined\",\n title: \"Emergency Contact Info\",\n class: \"text-left\",\n style: {\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_44, [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactName),\n \"onUpdate:modelValue\": _cache[30] || (_cache[30] = ($event: any) => (_isRef(emergencyContactName) ? (emergencyContactName).value = $event : emergencyContactName = $event)),\n label: \"Name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: contactTypes.value,\n modelValue: _unref(emergencyContactContactTypeId),\n \"onUpdate:modelValue\": _cache[31] || (_cache[31] = ($event: any) => (_isRef(emergencyContactContactTypeId) ? (emergencyContactContactTypeId).value = $event : emergencyContactContactTypeId = $event)),\n \"item-value\": \"contactTypeId\",\n \"item-title\": \"description\",\n name: \"emergencyContactType\",\n label: \"Contact Type\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_45, [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: phoneTypes.value,\n modelValue: _unref(emergencyContactPhoneTypeId),\n \"onUpdate:modelValue\": _cache[32] || (_cache[32] = ($event: any) => (_isRef(emergencyContactPhoneTypeId) ? (emergencyContactPhoneTypeId).value = $event : emergencyContactPhoneTypeId = $event)),\n \"item-value\": \"phoneTypeId\",\n \"item-title\": \"description\",\n name: \"emergencyContactPhoneType\",\n label: \"Phone Type\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactPhoneNumber),\n \"onUpdate:modelValue\": _cache[33] || (_cache[33] = ($event: any) => (_isRef(emergencyContactPhoneNumber) ? (emergencyContactPhoneNumber).value = $event : emergencyContactPhoneNumber = $event)),\n label: \"Phone\",\n placeholder: \"(000) 000-0000\"\n }, null, 8, [\"modelValue\"]), [\n [_unref(vMaska), void 0, phoneMask]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: emailTypes.value,\n modelValue: _unref(emergencyContactEmailTypeId),\n \"onUpdate:modelValue\": _cache[34] || (_cache[34] = ($event: any) => (_isRef(emergencyContactEmailTypeId) ? (emergencyContactEmailTypeId).value = $event : emergencyContactEmailTypeId = $event)),\n \"item-value\": \"emailTypeId\",\n \"item-title\": \"description\",\n name: \"emergencyContactEmailType\",\n label: \"Email Type\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactEmailAddress),\n \"onUpdate:modelValue\": _cache[35] || (_cache[35] = ($event: any) => (_isRef(emergencyContactEmailAddress) ? (emergencyContactEmailAddress).value = $event : emergencyContactEmailAddress = $event)),\n label: \"Email\",\n placeholder: \"johndoe@gmail.com\",\n type: \"email\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_46, [\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: addressTypes.value,\n modelValue: _unref(emergencyContactAddressTypeId),\n \"onUpdate:modelValue\": _cache[36] || (_cache[36] = ($event: any) => (_isRef(emergencyContactAddressTypeId) ? (emergencyContactAddressTypeId).value = $event : emergencyContactAddressTypeId = $event)),\n \"item-value\": \"addressTypeId\",\n \"item-title\": \"description\",\n name: \"emergencyContactAddressType\",\n label: \"Address Type\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactAddressLine1),\n \"onUpdate:modelValue\": _cache[37] || (_cache[37] = ($event: any) => (_isRef(emergencyContactAddressLine1) ? (emergencyContactAddressLine1).value = $event : emergencyContactAddressLine1 = $event)),\n label: \"Address Line 1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"11\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactAddressLine2),\n \"onUpdate:modelValue\": _cache[38] || (_cache[38] = ($event: any) => (_isRef(emergencyContactAddressLine2) ? (emergencyContactAddressLine2).value = $event : emergencyContactAddressLine2 = $event)),\n label: \"Address Line 2\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactCity),\n \"onUpdate:modelValue\": _cache[39] || (_cache[39] = ($event: any) => (_isRef(emergencyContactCity) ? (emergencyContactCity).value = $event : emergencyContactCity = $event)),\n label: \"City\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: states.value,\n modelValue: _unref(emergencyContactStateId),\n \"onUpdate:modelValue\": _cache[40] || (_cache[40] = ($event: any) => (_isRef(emergencyContactStateId) ? (emergencyContactStateId).value = $event : emergencyContactStateId = $event)),\n \"item-value\": \"stateId\",\n \"item-title\": \"description\",\n name: \"emergencyContactState\",\n label: \"State\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, {\n cols: \"8\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_text_field, {\n modelValue: _unref(emergencyContactZipCode),\n \"onUpdate:modelValue\": _cache[41] || (_cache[41] = ($event: any) => (_isRef(emergencyContactZipCode) ? (emergencyContactZipCode).value = $event : emergencyContactZipCode = $event)),\n label: \"Zip\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_47, [\n _createVNode(_component_v_row, { dense: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_select, {\n items: preferredMethodsOfContact.value,\n modelValue: _unref(emergencyContactPreferredMethodOfContactId),\n \"onUpdate:modelValue\": _cache[42] || (_cache[42] = ($event: any) => (_isRef(emergencyContactPreferredMethodOfContactId) ? (emergencyContactPreferredMethodOfContactId).value = $event : emergencyContactPreferredMethodOfContactId = $event)),\n \"item-value\": \"preferredMethodOfContactId\",\n \"item-title\": \"description\",\n name: \"emergencyContactPreferredMethodOfContact\",\n label: \"Preferred Method Of Contact\"\n }, {\n counter: _withCtx(() => []),\n _: 1\n }, 8, [\"items\", \"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n (_unref(hasErrors))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_48, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(validationErrors), (err) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: err.text\n }, _toDisplayString(err.text), 1))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_49, [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }),\n _createVNode(_component_v_col, {\n cols: \"12\",\n md: \"4\"\n }, {\n default: _withCtx(() => [\n (_unref(hasNoApplication))\n ? (_openBlock(), _createBlock(_component_v_btn, {\n key: 0,\n onClick: saveNewApplication,\n block: \"\",\n color: \"indigo-darken-3\",\n size: \"medium\",\n variant: \"flat\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Submit\")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(requiresEdit))\n ? (_openBlock(), _createBlock(_component_v_btn, {\n key: 1,\n onClick: updateApplication,\n block: \"\",\n color: \"indigo-darken-3\",\n size: \"medium\",\n variant: \"flat\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Submit Updates\")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n\r\n","import script from \"./ParticipantApplication.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ParticipantApplication.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { } from 'vue';\r\n import AuthenticationButton from \"@/ComponentsChild/AuthenticationButton.vue\";\r\n \r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ParticipantLogin',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(AuthenticationButton)\n ]))\n}\n}\n\n})","import script from \"./ParticipantLogin.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ParticipantLogin.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Status\", -1)\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { style: {\"color\":\"red\"} }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"green\"} }, \" You are registered, \", -1)\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", { style: {\"color\":\"green\"} }, [\n /*#__PURE__*/_createTextVNode(\"and your application has been successfully submitted.\"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"br\")\n], -1)\nconst _hoisted_9 = {\n key: 0,\n style: {\"color\":\"royalblue\"}\n}\nconst _hoisted_10 = {\n key: 1,\n style: {\"color\":\"orangered\"}\n}\nconst _hoisted_11 = {\n key: 2,\n style: {\"color\":\"darkred\"}\n}\nconst _hoisted_12 = {\n key: 3,\n style: {\"color\":\"green\"}\n}\nconst _hoisted_13 = [\"innerHTML\"]\nconst _hoisted_14 = {\n key: 1,\n style: {\"color\":\"green\"}\n}\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_17 = { key: 2 }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"span\", null, \" Loading... \", -1)\nconst _hoisted_19 = [\n _hoisted_18\n]\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Application Date:\", -1)\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Program Applied For:\", -1)\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"b\", null, \"First Name:\", -1)\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Middle Name:\", -1)\nconst _hoisted_24 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Last Name:\", -1)\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Preferred Name: \", -1)\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Suffix:\", -1)\nconst _hoisted_27 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Birth Date:\", -1)\nconst _hoisted_28 = /*#__PURE__*/_createElementVNode(\"b\", null, \"SSN:\", -1)\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Gender: \", -1)\nconst _hoisted_30 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Ethnicity: \", -1)\nconst _hoisted_31 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Medicaid ID:\", -1)\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Are you, your spouse or parent a veteran or an active-duty member of the U.S. Military?\", -1)\nconst _hoisted_33 = /*#__PURE__*/_createElementVNode(\"b\", null, \"County: \", -1)\nconst _hoisted_34 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Phone Type:\", -1)\nconst _hoisted_35 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Phone Number:\", -1)\nconst _hoisted_36 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Email Type:\", -1)\nconst _hoisted_37 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Email Address:\", -1)\nconst _hoisted_38 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Line 1:\", -1)\nconst _hoisted_39 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Line 2:\", -1)\nconst _hoisted_40 = /*#__PURE__*/_createElementVNode(\"b\", null, \"City:\", -1)\nconst _hoisted_41 = /*#__PURE__*/_createElementVNode(\"b\", null, \"State:\", -1)\nconst _hoisted_42 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Zip:\", -1)\nconst _hoisted_43 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Preferred Method of Contact:\", -1)\nconst _hoisted_44 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Are you applying for the Acquired Brain Injury Waiver?\", -1)\nconst _hoisted_45 = /*#__PURE__*/_createElementVNode(\"p\", null, \" \", -1)\nconst _hoisted_46 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Name:\", -1)\nconst _hoisted_47 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Contact Type:\", -1)\nconst _hoisted_48 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Phone Type:\", -1)\nconst _hoisted_49 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Phone Number:\", -1)\nconst _hoisted_50 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Email Type:\", -1)\nconst _hoisted_51 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Email Address:\", -1)\nconst _hoisted_52 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Address Type:\", -1)\nconst _hoisted_53 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Line 1:\", -1)\nconst _hoisted_54 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Line 2:\", -1)\nconst _hoisted_55 = /*#__PURE__*/_createElementVNode(\"b\", null, \"City:\", -1)\nconst _hoisted_56 = /*#__PURE__*/_createElementVNode(\"b\", null, \"State:\", -1)\nconst _hoisted_57 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Zip:\", -1)\nconst _hoisted_58 = /*#__PURE__*/_createElementVNode(\"b\", null, \"Preferred Method of Contact:\", -1)\nconst _hoisted_59 = { key: 4 }\n\nimport { ref, onMounted } from 'vue';\r\n import { useAuth0 } from '@/Services/Auth0/auth0-plugin';\r\n import { Auth0 } from '@/Services/Auth0/auth0-interface'\r\n //import { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\n //import router from '@/Router/router'\r\n import { IParticipantApplication } from '@/Models/IParticipantApplication';\r\n import { IUser } from '@/Models/IUser'\r\n import { ParticipantApplicationService } from '@/Services/participant-application-service';\r\n import { UserService } from '@/Services/user-service';\r\n import { IPerson } from '../Models/IPerson';\r\n import { IPersonAddress } from '../Models/IPersonAddress';\r\n import { IPersonEmail } from '../Models/IPersonEmail';\r\n import { IPersonPhone } from '../Models/IPersonPhone';\r\n import { PersonService } from '@/Services/person-service';\r\n import { PersonAddressService } from '@/Services/person-address-service';\r\n import { PersonEmailService } from '@/Services/person-email-service';\r\n import { PersonPhoneService } from '@/Services/person-phone-service';\r\n import { PersonEmergencyContactService } from '@/Services/person-emergency-contact-service';\r\nimport { IPersonEmergencyContact } from '../Models/IPersonEmergencyContact';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ApplicationStatus',\n setup(__props) {\n\r\n const auth0: Auth0 | null = useAuth0();\r\n const getAccessToken = async () => {\r\n if (!auth0) {\r\n return null;\r\n }\r\n\r\n return await auth0.getAccessToken();\r\n };\r\n const loadingData = ref(true)\r\n\r\n let statusPending = ref(true);\r\n let statusDeclined = ref(false);\r\n let statusAccepted = ref(false);\r\n let statusMoreInfo = ref(false);\r\n \r\n let unregistered = ref(true)\r\n let registered = ref(false)\r\n let isAuthenticated = false\r\n let hasNoApplication = ref(true)\r\n let auth0UserId = ref()\r\n let user = ref(null);\r\n let auth0User = ref()\r\n let existingApp = ref(null)\r\n let person = ref(null)\r\n let personAddresses = ref(null)\r\n let personEmail = ref(null)\r\n let personPhone = ref(null)\r\n let personEmergencyContact = ref(null)\r\n let participantPortalUserId = ref();\r\n \r\n onMounted(async () => {\r\n try {\r\n const token = await getAccessToken();\r\n\r\n if (!token) {\r\n unregistered.value = true;\r\n registered.value = false;\r\n } else {\r\n unregistered.value = false;\r\n registered.value = true;\r\n isAuthenticated = auth0 ? auth0.isAuthenticated.value : false;\r\n auth0User.value = auth0 ? auth0.user.value : null;\r\n console.log('Application Status Page is auth0 authenticated: ' + isAuthenticated);\r\n if (auth0User.value) {\r\n auth0UserId.value = auth0User.value.sub; // Access Auth0 user ID\r\n //console.log('Auth0 User ID: ' + auth0UserId.value);\r\n const r = await UserService.getByAuth0Id(auth0UserId.value);\r\n user.value = r;\r\n participantPortalUserId.value = user.value.participantPortalUserId;\r\n\r\n //check if they have an application already\r\n const appResult = await ParticipantApplicationService.getByParticipantPortalUserId(participantPortalUserId.value, auth0UserId.value);\r\n existingApp.value = appResult;\r\n\r\n //console.log(\"existing app:\" + JSON.stringify(existingApp.value, null, 2));\r\n if (existingApp.value != null && existingApp.value.participantPortalUserId == participantPortalUserId.value) {\r\n //don't let them submit again.\r\n hasNoApplication.value = false;\r\n //console.log('Application: ' + JSON.stringify(existingApp));\r\n switch (existingApp.value.applicationResultId) {\r\n case 1:\r\n statusPending.value = false;\r\n statusDeclined.value = false;\r\n statusAccepted.value = true;\r\n statusMoreInfo.value = false;\r\n break;\r\n case 2:\r\n statusPending.value = false;\r\n statusDeclined.value = true;\r\n statusAccepted.value = false;\r\n statusMoreInfo.value = false;\r\n break;\r\n case 3:\r\n statusPending.value = false;\r\n statusDeclined.value = false;\r\n statusAccepted.value = false;\r\n statusMoreInfo.value = true;\r\n break;\r\n default:\r\n statusPending.value = true;\r\n statusDeclined.value = false;\r\n statusAccepted.value = false;\r\n statusMoreInfo.value = false;\r\n break;\r\n }\r\n\r\n const personResult = await PersonService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n person.value = personResult;\r\n //console.log(\"Person: \" + JSON.stringify(person));\r\n const personAddressResult = await PersonAddressService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personAddresses.value = personAddressResult;\r\n const personEmailResult = await PersonEmailService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personEmail.value = personEmailResult;\r\n const personPhoneResult = await PersonPhoneService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personPhone.value = personPhoneResult;\r\n const personEmergencyContactResult = await PersonEmergencyContactService.getByPersonId(existingApp.value.personId, auth0UserId.value);\r\n personEmergencyContact.value = personEmergencyContactResult;\r\n\r\n } else {\r\n hasNoApplication.value = true;\r\n }\r\n console.log('hasNoApplication: ' + hasNoApplication.value);\r\n }\r\n }\r\n } catch (e) {\r\n //console.log('Not Authenticated.');\r\n const errorObj = e as Error;\r\n console.error('Authentication Error: ' + errorObj.message);\r\n } finally {\r\n loadingData.value = false;\r\n }\r\n });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_v_col = _resolveComponent(\"v-col\")!\n const _component_v_row = _resolveComponent(\"v-row\")!\n const _component_v_card = _resolveComponent(\"v-card\")!\n const _component_v_container = _resolveComponent(\"v-container\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createVNode(_component_v_form, {\n ref: \"form\",\n style: {\"text-align\":\"left\"}\n }, {\n default: _withCtx(() => [\n (loadingData.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, \"Loading...\"))\n : (_openBlock(), _createBlock(_component_v_container, {\n key: 1,\n density: \"compact\",\n style: {\"max-width\":\"1024px\",\"text-align\":\"left\",\"float\":\"left\"}\n }, {\n default: _withCtx(() => [\n (_unref(unregistered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", _hoisted_4, [\n _createTextVNode(\" You are currently not registered, or not logged in. You will be unable to track any application submitted through this site unless you are \"),\n _createVNode(_component_router_link, { to: { name: 'register' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"registered\")\n ]),\n _: 1\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_router_link, { to: { name: 'login' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"logged in\")\n ]),\n _: 1\n }),\n _createTextVNode(\". \")\n ])\n ]))\n : (_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _hoisted_6,\n (!_unref(hasNoApplication))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"h3\", null, [\n _createTextVNode(\" Application Status: \"),\n (_unref(statusPending))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, \"PENDING\"))\n : _createCommentVNode(\"\", true),\n (_unref(statusMoreInfo))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, \"MORE INFORMATION REQUIRED\"))\n : _createCommentVNode(\"\", true),\n (_unref(statusDeclined))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, \"DECLINED\"))\n : _createCommentVNode(\"\", true),\n (_unref(statusAccepted))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, \"ACCEPTED\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n innerHTML: !_unref(existingApp).applicationResultNote || _unref(existingApp).applicationResultNote.trim() === '' ? '' : 'Notes: ' + _unref(existingApp).applicationResultNote + '

'\n }, null, 8, _hoisted_13),\n _createTextVNode(\" Please review submitted information below: \")\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(hasNoApplication))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, [\n _createTextVNode(\"but your application has not yet been submitted.\"),\n _hoisted_15,\n _hoisted_16\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_17, _hoisted_19)),\n (!_unref(hasNoApplication))\n ? (_openBlock(), _createBlock(_component_v_card, {\n key: 3,\n style: {\"text-align\":\"left\",\"margin-top\":\"15px\",\"float\":\"left\",\"padding\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_20,\n _createTextVNode(\" \" + _toDisplayString(new Date((_unref(existingApp)).applicationDate).toLocaleDateString('en-US')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_21,\n _createTextVNode(\" \" + _toDisplayString(_unref(existingApp).waiverProgramName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_22,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).firstName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_23,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).middleName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_24,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).lastName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_25,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).preferredName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_26,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).suffixName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_27,\n _createTextVNode(\" \" + _toDisplayString(new Date((_unref(person)).dateOfBirth).toLocaleDateString('en-US')), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_28,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).ssn), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_29,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).genderName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_30,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).ethnicityName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_31,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).medicaidId), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_32,\n _createTextVNode(\" \" + _toDisplayString(_unref(existingApp).isActiveMilitary ? 'Yes' : 'No'), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_33,\n _createTextVNode(\" \" + _toDisplayString(_unref(existingApp).countyName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_card, {\n variant: \"outlined\",\n title: \"Contact Info\",\n class: \"text-left\",\n style: {\"margin-bottom\":\"10px\",\"padding\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_34,\n _createTextVNode(\" \" + _toDisplayString(_unref(personPhone).phoneTypeName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_35,\n _createTextVNode(\" \" + _toDisplayString(_unref(personPhone).phoneNumber), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_36,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmail).emailTypeName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_37,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmail).emailAddress), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(personAddresses), (personAddress, index) => {\n return (_openBlock(), _createBlock(_component_v_card, {\n key: index,\n variant: \"outlined\",\n title: personAddress.addressTypeName + ' Address',\n class: \"text-left\",\n style: {\"margin-bottom\":\"10px\",\"padding\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_38,\n _createTextVNode(\" \" + _toDisplayString(personAddress.addressLine1), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n (personAddress.addressLine2)\n ? (_openBlock(), _createBlock(_component_v_row, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_39,\n _createTextVNode(\" \" + _toDisplayString(personAddress.addressLine2), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_40,\n _createTextVNode(\" \" + _toDisplayString(personAddress.city), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_41,\n _createTextVNode(\" \" + _toDisplayString(personAddress.stateName), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_42,\n _createTextVNode(\" \" + _toDisplayString(personAddress.zipCode), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"title\"]))\n }), 128)),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_43,\n _createTextVNode(\" \" + _toDisplayString(_unref(person).preferredMethodOfContactName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_44,\n _createTextVNode(\" \" + _toDisplayString(_unref(existingApp).isApplyingForAbi ? 'Yes' : 'No'), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _hoisted_45,\n _createVNode(_component_v_card, {\n variant: \"outlined\",\n title: \"Emergency Contact\",\n class: \"text-left\",\n style: {\"margin-bottom\":\"10px\",\"padding\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_46,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).personName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_47,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).contactTypeName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_48,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).phoneTypeName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_49,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).phoneNumber), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_unref(personEmergencyContact).emailAddress)\n ? (_openBlock(), _createBlock(_component_v_row, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_50,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).emailTypeName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_51,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).emailAddress), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_52,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).addressTypeName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_53,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).addressLine1), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_unref(personEmergencyContact).addressLine2)\n ? (_openBlock(), _createBlock(_component_v_row, { key: 1 }, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_54,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).addressLine2), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_55,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).city), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_56,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).stateName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_57,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).zipCode), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_col, null, {\n default: _withCtx(() => [\n _hoisted_58,\n _createTextVNode(\" \" + _toDisplayString(_unref(personEmergencyContact).preferredMethodOfContactName), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(hasNoApplication))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_59, [\n _createTextVNode(\" You have not yet submitted an application. Please go to the \"),\n _createVNode(_component_router_link, { to: { name: 'application' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Participant Application\")\n ]),\n _: 1\n }),\n _createTextVNode(\" to complete an application. \")\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n ]),\n _: 1\n }, 512)\n ], 64))\n}\n}\n\n})","\r\n \r\n\r\n\r\n\r\n","import script from \"./ApplicationStatus.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ApplicationStatus.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Submitted\", -1)\n\nimport { } from 'vue';\r\n\r\n \r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ApplicationSubmitted',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n const _component_v_container = _resolveComponent(\"v-container\")!\n\n return (_openBlock(), _createBlock(_component_v_container, { density: \"compact\" }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createTextVNode(\" Your application has been submitted. If you chose to register, you can return to the Application Status page at any point to check the status of your application. \")\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ApplicationSubmitted.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ApplicationSubmitted.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { key: 0 }\n\nimport { ref, onMounted } from 'vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'CallbackPage',\n setup(__props) {\n\r\n let registered = ref(true);\r\n let errorMessage = ref(null);\r\n let showVerificationHint = ref(false);\r\n\r\n onMounted(() => {\r\n // Parse URL parameters\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const errorDescription = urlParams.get('error_description');\r\n\r\n if (errorDescription) {\r\n errorMessage.value = decodeURIComponent(errorDescription);\r\n registered.value = false; // Set `registered` to false to show error message\r\n\r\n // Check if the error message contains \"verify\"\r\n if (errorMessage.value.toLowerCase().includes('verify')) {\r\n showVerificationHint.value = true;\r\n }\r\n }\r\n });\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_unref(registered))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, \" Logged in. \"))\n : (_unref(errorMessage))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", null, _toDisplayString(_unref(errorMessage)), 1),\n (_unref(showVerificationHint))\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, \" Check the email you used when registering for a verification email. If you do not see this email, please check your spam folders! \"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./CallbackPage.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CallbackPage.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { RouteRecordRaw, createRouter, createWebHistory } from \"vue-router\";\r\nimport SiteHome from \"@/ComponentsRoot/SiteHome.vue\";\r\nimport ParticipantRegistration from \"@/ComponentsRoot/ParticipantRegistration.vue\";\r\nimport ParticipantApplication from \"@/ComponentsRoot/ParticipantApplication.vue\";\r\nimport ParticipantLogin from \"@/ComponentsRoot/ParticipantLogin.vue\";\r\nimport ApplicationStatus from \"@/ComponentsRoot/ApplicationStatus.vue\";\r\nimport ApplicationSubmitted from \"@/ComponentsRoot/ApplicationSubmitted.vue\";\r\nimport CallbackPage from \"@/ComponentsRoot/CallbackPage.vue\";\r\nimport { useAuth0 } from '@/Services/Auth0/auth0-plugin';\r\nimport { Auth0 } from '@/Services/Auth0/auth0-interface';\r\n\r\nconst routes: Array = [\r\n {\r\n path: \"/\",\r\n name: \"home\",\r\n component: SiteHome,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal - Home',\r\n },\r\n },\r\n {\r\n path: \"/register\",\r\n name: \"register\",\r\n component: ParticipantRegistration,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal - Register',\r\n },\r\n },\r\n {\r\n path: \"/application\",\r\n name: \"application\",\r\n component: ParticipantApplication,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal - Application',\r\n },\r\n },\r\n {\r\n path: \"/login\",\r\n name: \"login\",\r\n component: ParticipantLogin,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal - Login',\r\n },\r\n },\r\n {\r\n path: \"/submitted\",\r\n name: \"submitted\",\r\n component: ApplicationSubmitted,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal - Submitted',\r\n },\r\n },\r\n {\r\n path: \"/application-status\",\r\n name: \"application-status\",\r\n component: ApplicationStatus,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal - Application Status',\r\n },\r\n },\r\n {\r\n path: \"/callback\",\r\n name: \"callback\",\r\n component: CallbackPage,\r\n meta: {\r\n title: 'WDH Waivers Participant Portal',\r\n },\r\n }\r\n];\r\n\r\nconst router = createRouter({\r\n history: createWebHistory(),\r\n routes\r\n});\r\n\r\nrouter.beforeEach(async (to, from, next) => {\r\n // Update the title based on the route's meta information\r\n document.title = (to.meta.title as string) || 'Default Title';\r\n\r\n const auth0: Auth0 | null = useAuth0(); // Initialize useAuth0 inside the hook\r\n\r\n // Early exit if auth0 is not initialized\r\n if (!auth0) {\r\n next(); // Allow the navigation to proceed\r\n return;\r\n }\r\n\r\n try {\r\n const token = await auth0.getAccessToken(); // Fetch the token only when required\r\n\r\n // If no token and trying to access a protected route (adjust as needed)\r\n const isPublicRoute = ['/login', '/register', '/callback'].includes(to.path);\r\n\r\n if (!token && !isPublicRoute) {\r\n if (to.path !== '/') {\r\n next({ path: '/' }); // Redirect to home only if not already there\r\n } else {\r\n next(); // Stay on home if already there\r\n }\r\n } else {\r\n next(); // Allow navigation if token exists or route is public\r\n }\r\n } catch (error) {\r\n console.error(\"Error fetching access token:\", error);\r\n if (to.path !== '/') {\r\n next({ path: '/' }); // Redirect to home if error occurs and not already on home\r\n } else {\r\n next(); // Stay on home if already there\r\n }\r\n }\r\n});\r\n\r\nexport default router;\r\n","import { createAuth0Client, Auth0Client, GetTokenSilentlyOptions, User } from \"@auth0/auth0-spa-js\";\r\nimport { inject, provide, ref, Ref } from \"vue\";\r\nimport router from \"@/Router/router\";\r\nimport { Auth0 } from '@/Services/Auth0/auth0-interface'\r\nimport { injectStrict } from '@/Services/Helper/inject-typed'\r\nimport { AxiosKey } from '@/Services/HttpClient/symbols'\r\nimport apiClient, { isAxiosError } from '@/Services/HttpClient/axios-plugin'\r\n\r\n\r\nconst domain = process.env.VUE_APP_AUTH0_DOMAIN;\r\nconst clientId = process.env.VUE_APP_AUTH0_CLIENT_ID;\r\nconst audience = process.env.VUE_APP_AUTH0_AUDIENCE;\r\nconst callbackUrl = process.env.VUE_APP_AUTH0_CALLBACK_URL;\r\n\r\nconst axios = apiClient\r\n\r\nconst auth0Client: Ref = ref(null);\r\nexport const isAuthenticated: Ref = ref(false);\r\nexport const isLoading: Ref = ref(true);\r\nconst user = ref(null);\r\nconst error: Ref = ref(null);\r\n\r\nexport const Auth0Symbol: symbol = Symbol();\r\n\r\nconst createClient = async () => {\r\n\r\n auth0Client.value = await createAuth0Client({\r\n domain,\r\n clientId: clientId,\r\n authorizationParams: {\r\n audience: audience,\r\n redirect_uri: callbackUrl,\r\n }\r\n });\r\n};\r\n\r\nconst handleCallback = async (): Promise => {\r\n if (!auth0Client.value) {\r\n console.log('auth0 plugin, handleCallback, auth0Client has no value.');\r\n return;\r\n }\r\n console.log('handling callback');\r\n \r\n isAuthenticated.value = await auth0Client.value.isAuthenticated();\r\n\r\n console.log('isAuthenticated: ' + isAuthenticated.value)\r\n \r\n if (isAuthenticated.value) {\r\n console.log('isAuthenticated: ' + isAuthenticated.value)\r\n user.value = (await auth0Client.value.getUser()) || null;\r\n isLoading.value = false;\r\n\r\n window.history.replaceState({}, document.title, window.location.pathname);\r\n\r\n return;\r\n }\r\n\r\n const params = new URLSearchParams(window.location.search);\r\n const hasError = params.has(\"error\");\r\n const hasCode = params.has(\"code\");\r\n const hasState = params.has(\"state\");\r\n\r\n if (hasError) {\r\n error.value = new Error(\r\n params.get(\"error_description\") || \"error completing login process\"\r\n );\r\n\r\n isLoading.value = false;\r\n console.log('handleCallback hasError: ' + error.value);\r\n\r\n return;\r\n }\r\n\r\n if (hasCode && hasState) {\r\n try {\r\n console.log('handleCallback hasCode and hasState');\r\n const result = await auth0Client.value.handleRedirectCallback();\r\n\r\n let url: string = \"/\";\r\n\r\n if (result.appState && result.appState.targetUrl) {\r\n url = result.appState.targetUrl;\r\n }\r\n\r\n isAuthenticated.value = await auth0Client.value.isAuthenticated();\r\n console.log('handleCallback hasCode and hasState isAuthenticatedState: ' + isAuthenticated.value);\r\n if (isAuthenticated.value) {\r\n user.value = (await auth0Client.value.getUser()) || null;\r\n error.value = null;\r\n //enable this line to see what is returned in the object\r\n //console.log('user code: ' + user.value ? JSON.stringify(user.value, null, 2) : \"\");\r\n //console.log('auth0 userid: ' + (user.value ? user.value.sub : \"\"))\r\n sessionStorage.setItem('auth0_userId', user.value ? user.value.sub as string : \"\")\r\n //console.log('session auth0_userId: ' + sessionStorage.getItem('auth0_userId'));\r\n\r\n if (user.value) {\r\n\r\n // Get the access token from Auth0\r\n const accessToken = await getAccessToken();\r\n //console.log('accessToken set: ' + accessToken);\r\n\r\n const modifiedDate = new Date();\r\n\r\n const userData = {\r\n emailAddress: user.value.email as string,\r\n auth0UserId: user.value.sub as string,\r\n firstName: user.value.given_name as string,\r\n lastName: user.value.family_name as string,\r\n isActive: true,\r\n createdBy: 'Registration',\r\n createdDate: modifiedDate.toISOString(),\r\n modifiedBy: 'Registration',\r\n modifiedDate: modifiedDate.toISOString(),\r\n };\r\n\r\n //console.log(\"userData object: \" + userData);\r\n\r\n // Make the POST request using Axios\r\n try {\r\n //console.log('accessToken check: ' + accessToken);\r\n const response = await axios.post('api/User/GetUserDtoOrCreateByAuth0UserId',\r\n userData, {\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${accessToken}`,\r\n },\r\n });\r\n } catch (e: unknown) {\r\n if (isAxiosError(e)) {\r\n console.error(e.response?.data);\r\n } else {\r\n console.error(e); // Log the entire error object if it doesn't have the expected structure\r\n }\r\n }\r\n\r\n //end check for/insert user\r\n }\r\n \r\n isLoading.value = false;\r\n\r\n // Remove authorization code from the URL\r\n window.history.replaceState({}, document.title, url);\r\n\r\n console.log('handleCallback router push');\r\n await (router).push(url);\r\n\r\n return;\r\n }\r\n } catch (err) {\r\n error.value = err as Error;\r\n }\r\n }\r\n\r\n isLoading.value = false;\r\n};\r\n\r\nexport const login = async (options?: Record): Promise => {\r\n if (!auth0Client.value) {\r\n return;\r\n }\r\n\r\n try {\r\n await auth0Client.value.loginWithRedirect(options);\r\n } catch (err) {\r\n error.value = err as Error;\r\n }\r\n};\r\n\r\nconst logout = async (options?: Record): Promise => {\r\n if (!auth0Client.value) {\r\n return;\r\n }\r\n\r\n try {\r\n auth0Client.value.logout(options);\r\n } catch (err) {\r\n error.value = err as Error;\r\n }\r\n};\r\n\r\nconst getAccessToken = async (\r\n options?: Record\r\n): Promise => {\r\n if (!auth0Client.value) {\r\n return null;\r\n }\r\n\r\n options = {\r\n scope: 'openid profile email',\r\n };\r\n\r\n return await auth0Client.value.getTokenSilently(options);\r\n};\r\n\r\n//In some cases we have services that are loaded and used before the main app root has been loaded and the Auth0 client has been properly injected (eliminating the usefulness of useAuth();) \r\n//We don't want to expose the client directly, or create another client instance. So we must use this middle ground. Please DON'T use this for anything beyond external services.\r\nexport const getAccessTokenForService = async (options?: GetTokenSilentlyOptions): Promise => {\r\n if (!auth0Client.value) {\r\n return null;\r\n }\r\n\r\n options = {\r\n authorizationParams: {\r\n scope: 'openid profile email',\r\n }\r\n };\r\n\r\n return (await auth0Client.value.getTokenSilently(options)) as string;\r\n};\r\n\r\nexport const provideAuth0 = () => {\r\n const auth0: Auth0 = {\r\n isAuthenticated,\r\n isLoading,\r\n user,\r\n\r\n createClient,\r\n handleCallback,\r\n login,\r\n logout,\r\n getAccessToken,\r\n };\r\n\r\n provide(Auth0Symbol, auth0);\r\n};\r\n\r\nexport const useAuth0 = (): Auth0 | null => {\r\n const auth0 = inject(Auth0Symbol) as Auth0 | null;\r\n return auth0 || null;\r\n};\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { useAuth0 } from \"@/Services/Auth0/auth0-plugin\";\r\n import { Auth0 } from '@/Services/Auth0/auth0-interface'\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginButton',\n setup(__props) {\n\r\n const auth0: Auth0 | null = useAuth0();\r\n\r\n const login = () => {\r\n if (!auth0) {\r\n console.log('Hit !auth0 on Login Button');\r\n return;\r\n }\r\n console.log('Hitting auth0.login');\r\n auth0.login()\r\n\r\n };\r\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: \"button button--primary button--compact\",\n onClick: login\n }, \" Log In \"))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./LoginButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LoginButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { useAuth0 } from \"@/Services/Auth0/auth0-plugin\";\r\n import { Auth0 } from '@/Services/Auth0/auth0-interface'\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'LogoutButton',\n setup(__props) {\n\r\n const auth0: Auth0 | null = useAuth0();\r\n\r\n const logout = () => {\r\n if (!auth0) {\r\n return;\r\n }\r\n\r\n auth0.logout({\r\n logoutParams: {\r\n returnTo: window.location.origin\r\n }\r\n });\r\n };\r\n\r\n \r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: \"button button--primary button--compact\",\n onClick: logout\n }, \" Log Out \"))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./LogoutButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LogoutButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nimport LoginButton from \"@/ComponentsChild/LoginButton.vue\";\r\n import LogoutButton from \"@/ComponentsChild/LogoutButton.vue\";\r\n import { useAuth0 } from \"@/Services/Auth0/auth0-plugin\";\r\n import { computed, watch } from \"vue\";\r\n import { useRouter } from 'vue-router';\r\n import { Auth0 } from '@/Services/Auth0/auth0-interface'\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'AuthenticationButton',\n setup(__props) {\n\r\n const auth0: Auth0 | null = useAuth0();\r\n const router = useRouter();\r\n\r\n const isAuthenticated = computed(() => {\r\n if (!auth0) {\r\n return null;\r\n }\r\n\r\n return auth0.isAuthenticated.value;\r\n });\r\n\r\n // Watch the isAuthenticated property and redirect if it changes to true\r\n watch(isAuthenticated, (newValue) => {\r\n if (newValue) {\r\n router.push({ name: 'home' }); \r\n }\r\n });\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (isAuthenticated.value)\n ? (_openBlock(), _createBlock(LogoutButton, { key: 0 }))\n : (_openBlock(), _createBlock(LoginButton, { key: 1 }))\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./AuthenticationButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AuthenticationButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/wdh_logo.png'\n\n\nimport { ref, watch } from 'vue';\r\n import AuthenticationButton from \"@/ComponentsChild/AuthenticationButton.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'MainNavigation',\n setup(__props) {\n\r\n const drawer = ref(false);\r\n const group = ref(null);\r\n //let registered = ref(true)\r\n\r\n const items = ref([\r\n { icon: 'mdi-home', text: 'Home', route: '/' },\r\n { icon: 'mdi-account-circle', text: 'Register', route: 'register' },\r\n { icon: 'mdi-file-document', text: 'Application', route: 'application' },\r\n\r\n ]);\r\n\r\n const registeredItems = ref([\r\n { icon: 'mdi-file-document-check', text: 'Application Status', route: 'application-status' }\r\n ])\r\n\r\n watch(group, () => {\r\n drawer.value = false;\r\n });\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_toolbar_title = _resolveComponent(\"v-toolbar-title\")!\n const _component_v_app_bar = _resolveComponent(\"v-app-bar\")!\n const _component_v_img = _resolveComponent(\"v-img\")!\n const _component_v_list_item = _resolveComponent(\"v-list-item\")!\n const _component_v_icon = _resolveComponent(\"v-icon\")!\n const _component_v_list_item_title = _resolveComponent(\"v-list-item-title\")!\n const _component_v_list = _resolveComponent(\"v-list\")!\n const _component_v_navigation_drawer = _resolveComponent(\"v-navigation-drawer\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_v_app_bar, {\n app: \"\",\n dark: \"\",\n clipped: \"true\",\n color: \"primary\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_toolbar_title, null, {\n default: _withCtx(() => [\n _createTextVNode(\" Wyoming Department of Health - Medicaid Waiver Participant Portal \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_navigation_drawer, {\n location: \"left\",\n color: \"secondary\",\n permanent: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_list_item, { class: \"d-flex justify-center align-center\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_img, {\n src: _imports_0,\n alt: \"Wyoming Department of Health\",\n style: {\"width\":\"100px\",\"max-height\":\"200px\"}\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_list, {\n lines: false,\n density: \"compact\",\n nav: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_list_item, {\n color: \"primary\",\n class: \"text-left\"\n }, {\n prepend: _withCtx(() => [\n _createVNode(_component_v_icon, { icon: \"mdi-login\" })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_v_list_item_title, { class: \"text-left\" }, {\n default: _withCtx(() => [\n _createVNode(AuthenticationButton)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(items.value, (item, i) => {\n return (_openBlock(), _createBlock(_component_v_list_item, {\n key: i,\n value: item,\n to: item.route,\n \"prepend-icon\": item.icon,\n color: \"primary\",\n class: \"text-left\"\n }, {\n prepend: _withCtx(() => [\n _createVNode(_component_v_icon, {\n icon: item.icon\n }, null, 8, [\"icon\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_v_list_item_title, {\n textContent: _toDisplayString(item.text)\n }, null, 8, [\"textContent\"])\n ]),\n _: 2\n }, 1032, [\"value\", \"to\", \"prepend-icon\"]))\n }), 128)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(registeredItems.value, (item, i) => {\n return (_openBlock(), _createBlock(_component_v_list_item, {\n key: i,\n value: item,\n to: item.route,\n \"prepend-icon\": item.icon,\n color: \"primary\",\n class: \"text-left\"\n }, {\n prepend: _withCtx(() => [\n _createVNode(_component_v_icon, {\n icon: item.icon\n }, null, 8, [\"icon\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_v_list_item_title, {\n textContent: _toDisplayString(item.text)\n }, null, 8, [\"textContent\"])\n ]),\n _: 2\n }, 1032, [\"value\", \"to\", \"prepend-icon\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n\r\n","import script from \"./MainNavigation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MainNavigation.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { onMounted } from 'vue';\r\n import MainNavigation from '@/ComponentsChild/MainNavigation.vue';\r\n // eslint-disable-next-line\r\n import { useAuth0, Auth0Symbol } from '@/Services/Auth0/auth0-plugin';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\r\n const auth0 = useAuth0()\r\n\r\n onMounted(async() => {\r\n if (!auth0) {\r\n console.log('auth0 on app.vue has no value')\r\n return;\r\n }\r\n console.log('app.vue createClient')\r\n await auth0.createClient();\r\n await auth0.handleCallback();\r\n \r\n }) \r\n\r\n//export default defineComponent({\r\n// name: 'App',\r\n// components: {\r\n// MainNavigation\r\n// }\r\n//});\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_v_container = _resolveComponent(\"v-container\")!\n const _component_v_main = _resolveComponent(\"v-main\")!\n const _component_v_app = _resolveComponent(\"v-app\")!\n\n return (_openBlock(), _createBlock(_component_v_app, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(MainNavigation),\n _createVNode(_component_v_main, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_container, null, {\n default: _withCtx(() => [\n _createVNode(_component_router_view)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=bdf17410&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport App from \"@/App.vue\"\r\n import { provideAuth0 } from \"@/Services/Auth0/auth0-plugin\";\r\n /* eslint-disable */\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Shell',\n setup(__props) {\n\r\n provideAuth0();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(App))\n}\n}\n\n})","\r\n\r\n","import script from \"./Shell.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Shell.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { InjectionKey } from 'vue'\r\nimport { AxiosInstance } from 'axios'\r\n\r\nexport const AxiosKey: InjectionKey = Symbol('http')","export const customDarkTheme = {\r\n dark: true,\r\n colors: {\r\n primary: \"#3a6a93\",\r\n secondary: \"#e4d8c4\",\r\n background: \"#181818\"\r\n }\r\n}\r\n\r\nexport const customLightTheme = {\r\n dark: false,\r\n colors: {\r\n primary: \"#3a6a93\",\r\n secondary: \"#e4d8c4\"\r\n }\r\n}","export default abstract class FormatHelper {\r\n\tpublic static formatPhone(phone: string): string {\r\n\t\tphone = phone.replace(/\\D+/g, \"\");\r\n\t\tif (phone == null || phone == \"\") {\r\n\t\t\treturn \"\";\r\n\t\t}\r\n\t\tif (phone.length == 7) {\r\n\t\t\treturn phone.substring(0, 3) + \"-\" + phone.substring(3);\r\n\t\t}\r\n\t\tif (phone.length == 10) {\r\n\t\t\treturn \"(\" + phone.substring(0, 3) + \") \" + phone.substring(3, 6) + \"-\" + phone.substring(6);\r\n\t\t}\r\n\t\treturn phone;\r\n\t}\r\n\r\n\tpublic static filterOnlyNumbers(evt: KeyboardEvent) {\r\n\t\tevt = (evt || window.event);\r\n\t\tconst expect = (evt.target as HTMLInputElement)?.value?.toString() + evt.key.toString();\r\n\t\tif (!/^[0-9]*$/.test(expect)) {\r\n\t\t\tevt.preventDefault();\r\n\t\t} else {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n}","import { DateHelper } from '@/Services/Helper/date-helper';\r\nimport FormatHelper from '@/Services/Helper/format-helper';\r\n\r\nexport default {\r\n\tinstall: (app: any, options: any) => {\r\n\t\t// Adds globally available functions\r\n\t\tapp.config.globalProperties.formatDate = (date: Date | string | null): string => {\r\n\t\t\tconst dateFormat = options.dateFormat ?? \"MM/dd/yyyy\";\r\n\t\t\treturn DateHelper.formatDateUtc(date, dateFormat);\r\n\t\t};\r\n\t\tapp.config.globalProperties.formatTimestamp = (timestamp: Date | string | null): string => {\r\n\t\t\tconst timestampFormat = options.timestampFormat ?? \"MM/dd/yyyy h:mm tt z\";\r\n\t\t\treturn DateHelper.formatDateLocal(timestamp, timestampFormat);\r\n\t\t};\r\n\t\tapp.config.globalProperties.formatPhone = (phone: string): string => {\r\n\t\t\treturn FormatHelper.formatPhone(phone);\r\n\t\t};\r\n\t\tapp.config.globalProperties.getYesNoText = (bool: boolean | null): string => {\r\n\t\t\treturn bool === null ? \"\" : (bool ? \"Yes\" : \"No\");\r\n\t\t};\r\n\t}\r\n}","import { createApp } from 'vue'\r\nimport { createAuth0 } from \"@auth0/auth0-vue\"\r\nimport Shell from './Shell.vue'\r\nimport router from './Router/router'\r\n\r\nimport { VueReCaptcha } from 'vue-recaptcha-v3'\r\n\r\n//The http client we are using to make API calls, axios\r\nimport axios from './Services/HttpClient/axios-plugin'\r\nimport { AxiosKey } from './Services/HttpClient/symbols'\r\n\r\n// Vuetify\r\nimport 'vuetify/styles'\r\nimport { createVuetify } from 'vuetify'\r\nimport * as components from 'vuetify/components'\r\nimport * as directives from 'vuetify/directives'\r\n//import { VDataTable } from 'vuetify/labs/VDataTable';\r\nimport { aliases, mdi } from 'vuetify/iconsets/mdi';\r\nimport \"@mdi/font/css/materialdesignicons.css\";\r\nimport { customDarkTheme, customLightTheme } from './Themes/siteThemes';\r\n\r\n//The supported state manager for this project\r\nimport { createPinia } from 'pinia';\r\nimport piniaPluginPersistedstate from 'pinia-plugin-persistedstate';\r\n\r\n//Adds global functions\r\nimport CommonFunctions from '@/Services/Helper/common-functions';\r\nimport { IReCaptchaOptions } from 'vue-recaptcha-v3/dist/IReCaptchaOptions'\r\n\r\n\r\n\r\nconst CommonFunctionOptions = {\r\n dateFormat: \"MM/dd/yyyy\",\r\n timestampFormat: \"MM/dd/yyyy h:mm tt Z\",\r\n};\r\n\r\nconst vuetify = createVuetify({\r\n components,\r\n directives,\r\n theme: {\r\n defaultTheme: \"customLightTheme\",\r\n themes: {\r\n customLightTheme,\r\n customDarkTheme\r\n }\r\n }\r\n})\r\n\r\nconst app = createApp(Shell);\r\nconst piniaStateManager = createPinia();\r\npiniaStateManager.use(piniaPluginPersistedstate);\r\n\r\n// Global error handler\r\napp.config.errorHandler = (err, instance, info) => {\r\n\r\n // Handle the error globally\r\n console.error(\"Global error:\", err as Error);\r\n console.log(\"Vue instance:\", instance);\r\n console.log(\"Error info:\", info);\r\n\r\n // Add code for UI notifications, reporting or other error handling logic\r\n};\r\n\r\napp.provide(AxiosKey, axios);\r\nconst captchaOptions: IReCaptchaOptions = {\r\n siteKey: '6Le9bVUpAAAAALpgBoNSJn678liLnaSUQ3ynbm6T', loaderOptions: {} }\r\n\r\napp.use(router)\r\n .use(vuetify)\r\n .use(CommonFunctions, CommonFunctionOptions)\r\n .use(VueReCaptcha, captchaOptions)\r\n\r\napp.mount('#app');","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvueapp\"] = self[\"webpackChunkvueapp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(2059); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_hoisted_1","_createElementVNode","_hoisted_2","key","_hoisted_3","style","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_defineComponent","__name","setup","__props","console","log","auth0","useAuth0","getAccessToken","async","loadingData","ref","unregistered","registered","isAuthenticated","onMounted","token","value","_ctx","_cache","_component_router_link","_resolveComponent","_openBlock","_createElementBlock","_Fragment","_unref","_createTextVNode","_createVNode","to","name","default","_withCtx","_","_createCommentVNode","__exports__","login","appState","target","authorizationParams","prompt","screen_hint","_component_v_img","_component_v_btn","_component_v_container","_component_v_form","density","src","_imports_0","alt","onClick","isAxiosError","error","undefined","dateTransformer","Date","toISOString","Array","isArray","map","Object","fromEntries","entries","apiClient","axios","create","baseURL","process","headers","transformRequest","defaults","BaseApiService","constructor","path","_defineProperty","this","httpClient","interceptors","request","use","config","getAccessTokenForService","handleResponse","response","data","handleError","Error","lookupService","super","getDivisions","get","then","bind","catch","getCounties","getEthnicities","getGenders","getSuffixes","getPreferredMethodsOfContact","getAddressTypes","getStates","getPhoneTypes","getEmailTypes","getContactTypes","LookupService","participantApplicationService","saveNewApplication","participantApplication","captchaToken","post","updateApplication","authConfig","testCaptcha","getByParticipantPortalUserId","participantPortalUserId","auth0Id","ParticipantApplicationService","userService","getByAuth0Id","saveUser","user","UserService","personService","getByPersonId","personId","savePerson","person","PersonService","personAddressService","getByPersonAddressId","personAddressId","savePersonAddress","address","deletePersonAddress","delete","PersonAddressService","createPersonAddress","addressTypeId","addressTypeName","addressLine1","addressLine2","city","stateId","stateName","zipCode","modifiedBy","modifiedDate","personEmailService","getByPersonEmailId","personEmailId","savePersonEmail","email","PersonEmailService","personPhoneService","getByPersonPhoneId","personPhoneId","savePersonPhone","phone","PersonPhoneService","personEmergencyContactService","getByPersonEmergencyContactId","personEmergencyContactId","savePersonEmergencyContact","emergencyContact","deletePersonEmergencyContact","PersonEmergencyContactId","PersonEmergencyContactService","createPersonEmergencyContact","personName","contactTypeId","contactTypeName","phoneTypeId","phoneTypeName","phoneNumber","extension","emailTypeId","emailTypeName","emailAddress","preferredMethodOfContactId","preferredMethodOfContactName","DateHelper","standardizeDate","input","parsedDate","isNaN","getTime","formatDateUtc","format","date","parsed","seconds","getUTCSeconds","minutes","getUTCMinutes","hours","getUTCHours","hours12","weekday","getUTCDay","day","getUTCDate","month","getUTCMonth","year","getUTCFullYear","utcText","timezoneName","getTimezoneName","formatDate","formatDateLocal","getSeconds","getMinutes","getHours","getDay","getDate","getMonth","getFullYear","milliseconds","getMilliseconds","getTimezoneOffset","formatForEdit","Intl","DateTimeFormat","resolvedOptions","timeZone","replace","String","padStart","getAge","birthDate","now","birth","age","monthDiff","dayDiff","getMonthName","monthNum","getMonthAbbreviation","getDayName","dayNum","getDayAbbreviation","StateEnum","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","href","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","recaptchaInstance","useReCaptcha","recaptcha","recaptchaLoaded","executeRecaptcha","phoneMask","mask","ssnMask","medicaidIdMask","isLoading","hasNoApplication","requiresEdit","auth0UserId","auth0User","existingApp","valid","hasErrors","validationErrors","ccwFields","ddFields","unknownWaiver","divisions","counties","ethnicities","genderTypes","suffixes","addressTypes","states","phoneTypes","emailTypes","preferredMethodsOfContact","contactTypes","firstName","lastName","preferredName","suffixId","divisionId","middleName","dateOfBirth","isMilitary","isApplyingForAbi","isOver21","ssn","medicaidId","countyId","ethnicityId","genderId","showMailing","mailingAddressTypeId","mailingAddressLine1","mailingAddressLine2","mailingCity","mailingStateId","mailingZipCode","emergencyContactName","emergencyContactContactTypeId","emergencyContactPhoneTypeId","emergencyContactPhoneNumber","emergencyContactEmailTypeId","emergencyContactEmailAddress","emergencyContactAddressTypeId","emergencyContactAddressLine1","emergencyContactAddressLine2","emergencyContactCity","emergencyContactStateId","emergencyContactZipCode","emergencyContactPreferredMethodOfContactId","isSubmitted","statusPending","statusDeclined","statusAccepted","statusMoreInfo","personAddresses","personAddress","personEmail","personPhone","personEmergencyContact","result","validateForm","application","Number","isActiveMilitary","toString","router","push","e","appResult","applicationDivisionId","personResult","personAddressResult","personEmailResult","personPhoneResult","personEmergencyContactResult","hasExistingMailing","deletedMailing","forEach","singleAddress","applicationResultId","isValid","text","Wyoming","onDivisionTypeChange","sub","returnUser","errorObj","message","watch","newValue","today","_component_v_col","_component_v_row","_component_v_select","_component_v_text_field","_component_v_checkbox","_component_v_card","modelValue","$event","_isRef","innerHTML","applicationResultNote","trim","_createBlock","cols","md","_toDisplayString","applicationDate","toLocaleDateString","waiverProgramName","items","label","counter","dense","clearable","type","_withDirectives","vMaska","variant","title","class","placeholder","_renderList","err","block","color","size","AuthenticationButton","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","r","suffixName","genderName","ethnicityName","countyName","index","errorMessage","showVerificationHint","urlParams","URLSearchParams","window","location","search","errorDescription","decodeURIComponent","toLowerCase","includes","routes","component","SiteHome","meta","ParticipantRegistration","ParticipantApplication","ParticipantLogin","ApplicationSubmitted","ApplicationStatus","CallbackPage","createRouter","history","createWebHistory","beforeEach","from","next","document","isPublicRoute","domain","clientId","audience","callbackUrl","auth0Client","Auth0Symbol","Symbol","createClient","createAuth0Client","redirect_uri","handleCallback","getUser","replaceState","pathname","params","hasError","has","hasCode","hasState","handleRedirectCallback","url","targetUrl","sessionStorage","setItem","accessToken","userData","given_name","family_name","isActive","createdBy","createdDate","Authorization","loginWithRedirect","options","logout","scope","getTokenSilently","provideAuth0","provide","inject","logoutParams","returnTo","origin","useRouter","computed","LogoutButton","LoginButton","drawer","group","icon","route","registeredItems","_component_v_toolbar_title","_component_v_app_bar","_component_v_list_item","_component_v_icon","_component_v_list_item_title","_component_v_list","_component_v_navigation_drawer","app","dark","clipped","permanent","lines","nav","prepend","item","i","textContent","_component_router_view","_component_v_main","_component_v_app","MainNavigation","App","AxiosKey","customDarkTheme","colors","primary","secondary","background","customLightTheme","FormatHelper","formatPhone","length","substring","filterOnlyNumbers","evt","event","expect","test","preventDefault","install","globalProperties","dateFormat","formatTimestamp","timestamp","timestampFormat","getYesNoText","bool","CommonFunctionOptions","vuetify","createVuetify","components","directives","theme","defaultTheme","themes","createApp","Shell","piniaStateManager","createPinia","piniaPluginPersistedstate","errorHandler","instance","info","captchaOptions","siteKey","loaderOptions","CommonFunctions","VueReCaptcha","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","keys","every","splice","d","definition","o","defineProperty","enumerable","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","toStringTag","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","id","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}