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AAS,KAE1BoD,EAAgBpD,GAAW,EAE5B,OAAOzB,EAAoBS,EAAE7yD,EAAO,EAGjC03D,EAAqBvD,WAAW,6BAA+BA,WAAW,8BAAgC,GAC9GuD,EAAmBhnD,QAAQ4mD,EAAqB5B,KAAK,KAAM,IAC3DgC,EAAmBnyD,KAAO+xD,EAAqB5B,KAAK,KAAMgC,EAAmBnyD,KAAKmwD,KAAKgC,G,KClFvF,IAAIC,EAAsBvF,EAAoBS,OAAEltD,EAAW,CAAC,MAAM,IAAOysD,EAAoB,SAC7FuF,EAAsBvF,EAAoBS,EAAE8E,E","sources":["webpack://mijn-omgeving/./src/router/index.js","webpack://mijn-omgeving/./.quasar/app.js","webpack://mijn-omgeving/./.quasar/quasar-user-options.js","webpack://mijn-omgeving/./src-pwa/register-service-worker.js","webpack://mijn-omgeving/./.quasar/client-entry.js","webpack://mijn-omgeving/./src/boot/appInsights.js","webpack://mijn-omgeving/./src/boot/axios.js","webpack://mijn-omgeving/./src/directive/clickOutside.js","webpack://mijn-omgeving/./src/boot/clickOutsideDirective.js","webpack://mijn-omgeving/./src/boot/cmsStringParser.js","webpack://mijn-omgeving/./src/boot/i18n.js","webpack://mijn-omgeving/./src/boot/interceptors.js","webpack://mijn-omgeving/./src/directive/mask.js","webpack://mijn-omgeving/./src/boot/maskDirective.js","webpack://mijn-omgeving/./src/boot/routeGuard.js","webpack://mijn-omgeving/./src/components/featureShared/helpers/IBANLen.js","webpack://mijn-omgeving/./src/components/featureShared/validators.js","webpack://mijn-omgeving/./src/components/shared/validators.js","webpack://mijn-omgeving/./src/boot/vue-tel-input.js","webpack://mijn-omgeving/./src/constants/enums/invoiceStatus.js","webpack://mijn-omgeving/./src/constants/notify.js","webpack://mijn-omgeving/./src/constants/packageType.js","webpack://mijn-omgeving/./src/i18n/index.js","webpack://mijn-omgeving/./src/models/attachmentReadability.js","webpack://mijn-omgeving/./src/models/invoice.js","webpack://mijn-omgeving/./src/models/medicalSelection.js","webpack://mijn-omgeving/./src/router/routes.js","webpack://mijn-omgeving/./src/store/auth/state.js","webpack://mijn-omgeving/./src/store/auth/getters.js","webpack://mijn-omgeving/./src/store/auth/mutations.js","webpack://mijn-omgeving/./src/models/permissions.js","webpack://mijn-omgeving/./src/models/contactInfo.js","webpack://mijn-omgeving/./src/models/address.js","webpack://mijn-omgeving/./src/models/role.js","webpack://mijn-omgeving/./src/models/collectivityLabel.js","webpack://mijn-omgeving/./src/models/user.js","webpack://mijn-omgeving/./src/models/accountDetails.js","webpack://mijn-omgeving/./src/models/verificationReceiver.js","webpack://mijn-omgeving/./src/store/auth/actions.js","webpack://mijn-omgeving/./src/store/auth/index.js","webpack://mijn-omgeving/./src/store/createAccount/state.js","webpack://mijn-omgeving/./src/store/createAccount/getters.js","webpack://mijn-omgeving/./src/store/createAccount/mutations.js","webpack://mijn-omgeving/./src/store/createAccount/actions.js","webpack://mijn-omgeving/./src/store/createAccount/index.js","webpack://mijn-omgeving/./src/store/news/state.js","webpack://mijn-omgeving/./src/store/news/getters.js","webpack://mijn-omgeving/./src/store/news/mutations.js","webpack://mijn-omgeving/./src/models/newsText.js","webpack://mijn-omgeving/./src/store/news/actions.js","webpack://mijn-omgeving/./src/store/news/index.js","webpack://mijn-omgeving/./src/store/policy/state.js","webpack://mijn-omgeving/./src/store/policy/getters.js","webpack://mijn-omgeving/./src/store/policy/mutations.js","webpack://mijn-omgeving/./src/store/policy/actions.js","webpack://mijn-omgeving/./src/store/policy/index.js","webpack://mijn-omgeving/./src/store/document/state.js","webpack://mijn-omgeving/./src/store/document/getters.js","webpack://mijn-omgeving/./src/store/document/mutations.js","webpack://mijn-omgeving/./src/models/gender.js","webpack://mijn-omgeving/./src/models/message.js","webpack://mijn-omgeving/./src/store/document/actions.js","webpack://mijn-omgeving/./src/store/document/index.js","webpack://mijn-omgeving/./src/store/config/state.js","webpack://mijn-omgeving/./src/store/config/getters.js","webpack://mijn-omgeving/./src/store/config/mutations.js","webpack://mijn-omgeving/./src/store/config/index.js","webpack://mijn-omgeving/./src/store/collectivity/state.js","webpack://mijn-omgeving/./src/store/collectivity/getters.js","webpack://mijn-omgeving/./src/models/collectivity.js","webpack://mijn-omgeving/./src/store/collectivity/mutations.js","webpack://mijn-omgeving/./src/store/collectivity/actions.js","webpack://mijn-omgeving/./src/store/collectivity/index.js","webpack://mijn-omgeving/./src/store/download/state.js","webpack://mijn-omgeving/./src/store/download/getters.js","webpack://mijn-omgeving/./src/store/download/mutations.js","webpack://mijn-omgeving/./src/store/download/actions.js","webpack://mijn-omgeving/./src/store/download/index.js","webpack://mijn-omgeving/./src/store/user/state.js","webpack://mijn-omgeving/./src/store/user/getters.js","webpack://mijn-omgeving/./src/store/user/mutations.js","webpack://mijn-omgeving/./src/store/user/actions.js","webpack://mijn-omgeving/./src/store/user/index.js","webpack://mijn-omgeving/./src/store/faqs/state.js","webpack://mijn-omgeving/./src/store/faqs/getters.js","webpack://mijn-omgeving/./src/store/faqs/mutations.js","webpack://mijn-omgeving/./src/store/faqs/actions.js","webpack://mijn-omgeving/./src/store/faqs/index.js","webpack://mijn-omgeving/./src/store/financialSummary/state.js","webpack://mijn-omgeving/./src/store/financialSummary/getters.js","webpack://mijn-omgeving/./src/store/financialSummary/mutations.js","webpack://mijn-omgeving/./src/store/financialSummary/actions.js","webpack://mijn-omgeving/./src/store/financialSummary/index.js","webpack://mijn-omgeving/./src/store/agreement/state.js","webpack://mijn-omgeving/./src/store/agreement/getters.js","webpack://mijn-omgeving/./src/store/agreement/mutations.js","webpack://mijn-omgeving/./src/models/paymentTerm.js","webpack://mijn-omgeving/./src/models/paymentDetails.js","webpack://mijn-omgeving/./src/models/typeOfProduct.js","webpack://mijn-omgeving/./src/models/product.js","webpack://mijn-omgeving/./src/models/policy.js","webpack://mijn-omgeving/./src/models/financialSummary.js","webpack://mijn-omgeving/./src/models/customer.js","webpack://mijn-omgeving/./src/models/policyHolder.js","webpack://mijn-omgeving/./src/models/agreement.js","webpack://mijn-omgeving/./src/models/agreementDetails.js","webpack://mijn-omgeving/./src/store/agreement/actions.js","webpack://mijn-omgeving/./src/store/agreement/index.js","webpack://mijn-omgeving/./src/store/customer/state.js","webpack://mijn-omgeving/./src/store/customer/getters.js","webpack://mijn-omgeving/./src/store/customer/mutations.js","webpack://mijn-omgeving/./src/store/customer/actions.js","webpack://mijn-omgeving/./src/store/customer/index.js","webpack://mijn-omgeving/./src/store/insuranceCard/state.js","webpack://mijn-omgeving/./src/store/insuranceCard/getters.js","webpack://mijn-omgeving/./src/store/insuranceCard/mutations.js","webpack://mijn-omgeving/./src/models/requestHealthCard.js","webpack://mijn-omgeving/./src/models/digitalInsuranceCardInformation.js","webpack://mijn-omgeving/./src/store/insuranceCard/actions.js","webpack://mijn-omgeving/./src/store/insuranceCard/index.js","webpack://mijn-omgeving/./src/store/declaration/state.js","webpack://mijn-omgeving/./src/store/declaration/getters.js","webpack://mijn-omgeving/./src/store/declaration/mutations.js","webpack://mijn-omgeving/./src/models/declaration.js","webpack://mijn-omgeving/./src/models/declarationDetails.js","webpack://mijn-omgeving/./src/store/declaration/actions.js","webpack://mijn-omgeving/./src/store/declaration/index.js","webpack://mijn-omgeving/./src/store/invoice/state.js","webpack://mijn-omgeving/./src/store/invoice/getters.js","webpack://mijn-omgeving/./src/store/invoice/mutations.js","webpack://mijn-omgeving/./src/models/paymentArrangement.js","webpack://mijn-omgeving/./src/store/invoice/actions.js","webpack://mijn-omgeving/./src/store/invoice/index.js","webpack://mijn-omgeving/./src/store/contactForm/state.js","webpack://mijn-omgeving/./src/store/contactForm/getters.js","webpack://mijn-omgeving/./src/store/contactForm/mutations.js","webpack://mijn-omgeving/./src/store/contactForm/actions.js","webpack://mijn-omgeving/./src/store/contactForm/index.js","webpack://mijn-omgeving/./src/store/contract/state.js","webpack://mijn-omgeving/./src/store/contract/getters.js","webpack://mijn-omgeving/./src/store/contract/mutations.js","webpack://mijn-omgeving/./src/models/contractCard.js","webpack://mijn-omgeving/./src/models/customerMedicalSelectionAcceptanceDetails.js","webpack://mijn-omgeving/./src/store/contract/actions.js","webpack://mijn-omgeving/./src/store/contract/index.js","webpack://mijn-omgeving/./src/store/notification/state.js","webpack://mijn-omgeving/./src/store/notification/getters.js","webpack://mijn-omgeving/./src/store/notification/mutations.js","webpack://mijn-omgeving/./src/store/notification/actions.js","webpack://mijn-omgeving/./src/store/notification/index.js","webpack://mijn-omgeving/./src/store/addInsured/state.js","webpack://mijn-omgeving/./src/store/addInsured/getters.js","webpack://mijn-omgeving/./src/store/addInsured/mutations.js","webpack://mijn-omgeving/./src/store/addInsured/actions.js","webpack://mijn-omgeving/./src/store/addInsured/index.js","webpack://mijn-omgeving/./src/store/memberOffers/state.js","webpack://mijn-omgeving/./src/store/memberOffers/getters.js","webpack://mijn-omgeving/./src/store/memberOffers/mutations.js","webpack://mijn-omgeving/./src/store/memberOffers/actions.js","webpack://mijn-omgeving/./src/store/memberOffers/index.js","webpack://mijn-omgeving/./src/store/menu/state.js","webpack://mijn-omgeving/./src/utils/routeHelper.js","webpack://mijn-omgeving/./src/models/menu/menuItem.js","webpack://mijn-omgeving/./src/models/menu/menuItemGroup.js","webpack://mijn-omgeving/./src/store/menu/getters.js","webpack://mijn-omgeving/./src/store/menu/mutations.js","webpack://mijn-omgeving/./src/store/menu/actions.js","webpack://mijn-omgeving/./src/store/menu/index.js","webpack://mijn-omgeving/./src/store/tile/state.js","webpack://mijn-omgeving/./src/store/tile/getters.js","webpack://mijn-omgeving/./src/store/tile/mutations.js","webpack://mijn-omgeving/./src/utils/tile.js","webpack://mijn-omgeving/./src/store/tile/actions.js","webpack://mijn-omgeving/./src/store/tile/index.js","webpack://mijn-omgeving/./src/store/insuranceRight/state.js","webpack://mijn-omgeving/./src/store/insuranceRight/getters.js","webpack://mijn-omgeving/./src/store/insuranceRight/mutations.js","webpack://mijn-omgeving/./src/models/insurancePermission.js","webpack://mijn-omgeving/./src/store/insuranceRight/actions.js","webpack://mijn-omgeving/./src/store/insuranceRight/index.js","webpack://mijn-omgeving/./src/store/careMediation/state.js","webpack://mijn-omgeving/./src/store/careMediation/getters.js","webpack://mijn-omgeving/./src/store/careMediation/mutations.js","webpack://mijn-omgeving/./src/store/careMediation/actions.js","webpack://mijn-omgeving/./src/store/careMediation/index.js","webpack://mijn-omgeving/./src/store/treatmentAbroad/state.js","webpack://mijn-omgeving/./src/store/treatmentAbroad/getters.js","webpack://mijn-omgeving/./src/store/treatmentAbroad/mutations.js","webpack://mijn-omgeving/./src/store/treatmentAbroad/actions.js","webpack://mijn-omgeving/./src/store/treatmentAbroad/index.js","webpack://mijn-omgeving/./src/store/seatedPatientTransport/state.js","webpack://mijn-omgeving/./src/store/seatedPatientTransport/getters.js","webpack://mijn-omgeving/./src/store/seatedPatientTransport/mutations.js","webpack://mijn-omgeving/./src/store/seatedPatientTransport/actions.js","webpack://mijn-omgeving/./src/store/seatedPatientTransport/index.js","webpack://mijn-omgeving/./src/store/requestEditPolicySurvey/state.js","webpack://mijn-omgeving/./src/store/requestEditPolicySurvey/getters.js","webpack://mijn-omgeving/./src/store/requestEditPolicySurvey/mutations.js","webpack://mijn-omgeving/./src/store/requestEditPolicySurvey/actions.js","webpack://mijn-omgeving/./src/store/requestEditPolicySurvey/index.js","webpack://mijn-omgeving/./src/store/index.js","webpack://mijn-omgeving/./src/utils/format.js","webpack://mijn-omgeving/./src/helpers/holidays.js","webpack://mijn-omgeving/./src/utils/helpers.js","webpack://mijn-omgeving/./src/App.vue","webpack://mijn-omgeving/./src/mixins/injectMetaTags.js","webpack://mijn-omgeving/./src/constants/environments.js","webpack://mijn-omgeving/./src/mixins/cookieBanner.js","webpack://mijn-omgeving/./src/mixins/googleTagManager.js","webpack://mijn-omgeving/./src/mixins/showRefreshNotification.js","webpack://mijn-omgeving/./src/App.vue?e5aa","webpack://mijn-omgeving/webpack/bootstrap","webpack://mijn-omgeving/webpack/runtime/chunk loaded","webpack://mijn-omgeving/webpack/runtime/compat get default export","webpack://mijn-omgeving/webpack/runtime/define property getters","webpack://mijn-omgeving/webpack/runtime/ensure chunk","webpack://mijn-omgeving/webpack/runtime/get javascript chunk filename","webpack://mijn-omgeving/webpack/runtime/get mini-css chunk filename","webpack://mijn-omgeving/webpack/runtime/global","webpack://mijn-omgeving/webpack/runtime/hasOwnProperty shorthand","webpack://mijn-omgeving/webpack/runtime/load script","webpack://mijn-omgeving/webpack/runtime/make namespace object","webpack://mijn-omgeving/webpack/runtime/node module decorator","webpack://mijn-omgeving/webpack/runtime/publicPath","webpack://mijn-omgeving/webpack/runtime/css loading","webpack://mijn-omgeving/webpack/runtime/jsonp chunk loading","webpack://mijn-omgeving/webpack/startup"],"sourcesContent":["import { createRouter, createMemoryHistory, createWebHistory, createWebHashHistory } from 'vue-router';\nimport { store } from 'src/store/index.js';\nimport routes from './routes';\n\n/*\n * If not building with SSR mode, you can\n * directly export the Router instantiation;\n *\n * The function below can be async too; either use\n * async/await or return a Promise which resolves\n * with the Router instance.\n */\n\nexport default function (/* { store, ssrContext } */) {\n const createHistory = process.env.SERVER\n ? createMemoryHistory\n : process.env.VUE_ROUTER_MODE === 'history'\n ? createWebHistory\n : createWebHashHistory;\n\n const Router = createRouter({\n scrollBehavior: () => ({ left: 0, top: 0 }),\n routes: routes,\n\n // Leave this as is and make changes in the quasar.config file instead!\n // quasar.config file -> build -> vueRouterMode\n // quasar.config file -> build -> publicPath\n mode: process.env.VUE_ROUTER_MODE,\n base: process.env.VUE_ROUTER_BASE,\n history: createHistory(process.env.VUE_ROUTER_BASE),\n });\n\n Router.beforeEach((to, from, next) => {\n if (window.location.href.startsWith('http://') && store.getters['config/config'].ENFORCE_HTTPS) {\n window.location = window.location.href.replace('http://', 'https://');\n }\n if (!to.meta.requiresAuth && !store.getters['user/label']) {\n store.dispatch('user/setLabel');\n }\n\n next();\n });\n\n return Router;\n}\n","/**\n * THIS FILE IS GENERATED AUTOMATICALLY.\n * DO NOT EDIT.\n *\n * You are probably looking on adding startup/initialization code.\n * Use \"quasar new boot \" and add it there.\n * One boot file per concern. Then reference the file(s) in quasar.config.js > boot:\n * boot: ['file', ...] // do not add \".js\" extension to it.\n *\n * Boot files are your \"main.js\"\n **/\n\n\n\nimport { Quasar } from 'quasar'\nimport { markRaw } from 'vue'\nimport RootComponent from 'app/src/App.vue'\n\nimport createStore from 'app/src/store/index'\nimport createRouter from 'app/src/router/index'\n\n\n\n\n\nexport default async function (createAppFn, quasarUserOptions) {\n // Create the app instance.\n // Here we inject into it the Quasar UI, the router & possibly the store.\n const app = createAppFn(RootComponent)\n\n \n\n app.use(Quasar, quasarUserOptions)\n\n \n\n \n const store = typeof createStore === 'function'\n ? await createStore({})\n : createStore\n\n \n // obtain Vuex injection key in case we use TypeScript\n const { storeKey } = await import('app/src/store/index')\n \n \n\n const router = markRaw(\n typeof createRouter === 'function'\n ? await createRouter({store})\n : createRouter\n )\n\n \n // make router instance available in store\n \n store.$router = router\n \n \n\n // Expose the app, the router and the store.\n // Note that we are not mounting the app here, since bootstrapping will be\n // different depending on whether we are in a browser or on the server.\n return {\n app,\n store, storeKey,\n router\n }\n}\n","/**\n * THIS FILE IS GENERATED AUTOMATICALLY.\n * DO NOT EDIT.\n *\n * You are probably looking on adding startup/initialization code.\n * Use \"quasar new boot \" and add it there.\n * One boot file per concern. Then reference the file(s) in quasar.config.js > boot:\n * boot: ['file', ...] // do not add \".js\" extension to it.\n *\n * Boot files are your \"main.js\"\n **/\n\nimport lang from 'quasar/lang/nl.js'\n\nimport iconSet from 'quasar/icon-set/material-icons.js'\n\n\n\nimport {LoadingBar,Notify,Cookies} from 'quasar'\n\n\n\nexport default { config: {\"loadingBar\":{\"color\":\"yellow-dark\",\"size\":\"11px\",\"position\":\"bottom\"}},lang,iconSet,plugins: {LoadingBar,Notify,Cookies} }\n\n","import { register } from 'register-service-worker';\n\n// The ready(), registered(), cached(), updatefound() and updated()\n// events passes a ServiceWorkerRegistration instance in their arguments.\n// ServiceWorkerRegistration: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration\n\nregister(process.env.SERVICE_WORKER_FILE, {\n // The registrationOptions object will be passed as the second argument\n // to ServiceWorkerContainer.register()\n // https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register#Parameter\n\n // registrationOptions: { scope: './' },\n\n ready() {\n if (process.env.DEV) {\n console.log('App is being served from cache by a service worker.');\n }\n },\n\n registered(/* registration */) {\n if (process.env.DEV) {\n console.log('Service worker has been registered.');\n }\n },\n\n cached(/* registration */) {\n if (process.env.DEV) {\n console.log('Content has been cached for offline use.');\n }\n },\n\n updatefound() {\n if (process.env.DEV) {\n console.log('New content is downloading.');\n }\n },\n\n updated() {\n console.log('New content is available; please refresh.');\n\n document.dispatchEvent(new CustomEvent('swUpdated'));\n\n if (process.env.DEV) {\n console.log('New content is available; please refresh.');\n }\n },\n\n offline() {\n if (process.env.DEV) {\n console.log('No internet connection found. App is running in offline mode.');\n }\n },\n\n error(err) {\n if (process.env.DEV) {\n console.error('Error during service worker registration:', err);\n }\n },\n});\n","/**\n * THIS FILE IS GENERATED AUTOMATICALLY.\n * DO NOT EDIT.\n *\n * You are probably looking on adding startup/initialization code.\n * Use \"quasar new boot \" and add it there.\n * One boot file per concern. Then reference the file(s) in quasar.config.js > boot:\n * boot: ['file', ...] // do not add \".js\" extension to it.\n *\n * Boot files are your \"main.js\"\n **/\n\n\nimport { createApp } from 'vue'\n\n\n\n\n\n\n\nimport '@quasar/extras/fontawesome-v5/fontawesome-v5.css'\n\nimport '@quasar/extras/roboto-font/roboto-font.css'\n\nimport '@quasar/extras/material-icons/material-icons.css'\n\n\n\n\n// We load Quasar stylesheet file\nimport 'quasar/dist/quasar.sass'\n\n\n\n\nimport 'src/css/app.scss'\n\nimport 'src/css/fonts.css'\n\n\nimport createQuasarApp from './app.js'\nimport quasarUserOptions from './quasar-user-options.js'\n\n\nimport 'app/src-pwa/register-service-worker'\n\n\n\n\n\n\nconst publicPath = `/`\n\n\nasync function start ({\n app,\n router\n , store, storeKey\n}, bootFiles) {\n \n\n \n let hasRedirected = false\n const getRedirectUrl = url => {\n try { return router.resolve(url).href }\n catch (err) {}\n\n return Object(url) === url\n ? null\n : url\n }\n const redirect = url => {\n hasRedirected = true\n\n if (typeof url === 'string' && /^https?:\\/\\//.test(url)) {\n window.location.href = url\n return\n }\n\n const href = getRedirectUrl(url)\n\n // continue if we didn't fail to resolve the url\n if (href !== null) {\n window.location.href = href\n \n }\n }\n\n const urlPath = window.location.href.replace(window.location.origin, '')\n\n for (let i = 0; hasRedirected === false && i < bootFiles.length; i++) {\n try {\n await bootFiles[i]({\n app,\n router,\n store,\n ssrContext: null,\n redirect,\n urlPath,\n publicPath\n })\n }\n catch (err) {\n if (err && err.url) {\n redirect(err.url)\n return\n }\n\n console.error('[Quasar] boot error:', err)\n return\n }\n }\n\n if (hasRedirected === true) {\n return\n }\n \n\n app.use(router)\n app.use(store, storeKey)\n\n \n\n \n\n \n app.mount('#q-app')\n \n\n \n\n \n\n}\n\ncreateQuasarApp(createApp, quasarUserOptions)\n\n .then(app => {\n // eventually remove this when Cordova/Capacitor/Electron support becomes old\n const [ method, mapFn ] = Promise.allSettled !== void 0\n ? [\n 'allSettled',\n bootFiles => bootFiles.map(result => {\n if (result.status === 'rejected') {\n console.error('[Quasar] boot error:', result.reason)\n return\n }\n return result.value.default\n })\n ]\n : [\n 'all',\n bootFiles => bootFiles.map(entry => entry.default)\n ]\n\n return Promise[ method ]([\n \n import(/* webpackMode: \"eager\" */ 'boot/i18n'),\n \n import(/* webpackMode: \"eager\" */ 'boot/axios'),\n \n import(/* webpackMode: \"eager\" */ 'boot/interceptors'),\n \n import(/* webpackMode: \"eager\" */ 'boot/routeGuard'),\n \n import(/* webpackMode: \"eager\" */ 'boot/vue-tel-input'),\n \n import(/* webpackMode: \"eager\" */ 'boot/appInsights'),\n \n import(/* webpackMode: \"eager\" */ 'boot/cmsStringParser'),\n \n import(/* webpackMode: \"eager\" */ 'boot/clickOutsideDirective'),\n \n import(/* webpackMode: \"eager\" */ 'boot/maskDirective'),\n \n import(/* webpackMode: \"eager\" */ 'boot/validators')\n \n ]).then(bootFiles => {\n const boot = mapFn(bootFiles).filter(entry => typeof entry === 'function')\n start(app, boot)\n })\n })\n\n","import { createApp } from 'vue';\nimport App from './../App.vue';\nimport { AppInsightsPlugin } from 'vue3-application-insights';\n\nexport default async ({ store, router }) => {\n const config = store.getters['config/config'];\n\n createApp(App)\n .use(router)\n .use(AppInsightsPlugin, {\n router: router,\n appInsightsConfig: {\n config: {\n instrumentationKey: config.APPLICATION_INSIGHTS.INSTRUMENTATION_KEY,\n connectionString: config.APPLICATION_INSIGHTS.CONNECTION_STRING,\n disableAjaxTracking: false,\n enableAjaxErrorStatusText: true,\n enableRequestHeaderTracking: true,\n enableResponseHeaderTracking: true,\n enableAutoRouteTracking: true, // we are not using vue router\n enableUnhandledPromiseRejectionTracking: true,\n trackInitialPageView: false,\n },\n },\n trackAppErrors: true,\n });\n};\n","import axios from 'axios';\n\nlet axiosInstance = null;\nlet contentAxiosInstance = null;\nconst CancelToken = axios.CancelToken;\nexport default async ({ store }) => {\n axiosInstance = axios.create();\n\n const response = await axios.get('statics/config.json', {\n headers: { 'Cache-control': 'no-cache' },\n });\n\n store.commit('config/setConfig', response.data);\n\n const config = store.getters['config/config'];\n\n axiosInstance = axios.create({\n baseURL: `${config.API.BASE_URL}/api/`,\n headers: {\n 'Client-Version': config.APP.RELEASE_TAG,\n },\n });\n\n contentAxiosInstance = axios.create({\n baseURL: config.API.CONTENT_BASE_URL,\n });\n\n contentAxiosInstance.interceptors.request.use((con) => {\n con.params = {\n cacheRefreshParam: config.CACHCONTROLGUID,\n };\n\n return con;\n });\n};\n\nexport { axiosInstance, contentAxiosInstance, CancelToken };\n","export default {\n beforeMount(el, binding) {\n el.clickOutsideEvent = function (event) {\n // Check if the clicked element is neither the element\n // to which the directive is applied nor its child\n if (!(el === event.target || event.target.parentNode === null || el.contains(event.target))) {\n // Invoke the provided method\n binding.value(event);\n }\n };\n document.addEventListener('click', el.clickOutsideEvent);\n },\n unmounted(el) {\n // Remove the event listener when the bound element is unmounted\n document.removeEventListener('click', el.clickOutsideEvent);\n },\n};\n","import ClickOutside from '../directive/clickOutside';\n\nexport default ({ app }) => {\n app.directive('click-outside', ClickOutside);\n};\n","export default ({ app, store }) => {\n app.config.globalProperties.$cmsStringParser = (string) => {\n return string.replace(/\\{(.*?)\\}/g, (match, p1) => {\n if (p1 === 'label') {\n const labeltranslation = store.getters['user/user']?.collectivityLabel?.translation;\n\n if (!labeltranslation) {\n console.warn('[cmsStringParser] User has no collectivityLabel with translation}');\n return match;\n }\n\n return labeltranslation;\n }\n console.warn(`[cmsStringParser] Unknown placeholder: ${p1}`);\n return match;\n });\n };\n};\n","import i18n from 'src/i18n/index.js';\n\nexport default ({ app }) => {\n // Tell app to use the I18n instance\n app.use(i18n);\n};\n","import { Cookies } from 'quasar';\nimport { axiosInstance } from 'boot/axios.js';\nimport i18n from 'src/i18n/index.js';\nimport { parseJwt } from 'src/utils/helpers';\nimport Notify from 'src/constants/notify';\n\nexport default ({ store, router }) => {\n axiosInstance.interceptors.request.use((request) => {\n const controller = new AbortController();\n const token = Cookies.get('authorization_token');\n const localExpirationTime = Cookies.get('authorization_token_local_expiration_time');\n if (token) {\n const parsedToken = parseJwt(token);\n const expirationDateTime = new Date(parsedToken.exp * 1000);\n\n // Using the local expiration time we calculated instead of expiration time of token.\n // The local time can differ from server time this is why we use the calculated local expiration time.\n const localExpirationDate = !isNaN(localExpirationTime)\n ? new Date(parseInt(localExpirationTime))\n : expirationDateTime;\n\n if (new Date() >= localExpirationDate) {\n Notify.create({\n progress: false,\n type: 'negative',\n message: i18n.global.t('response.status-code-401'),\n });\n setTimeout(() => {\n router.push({ name: 'logout' });\n }, 3000);\n controller.abort(i18n.global.t('response.status-code-401'));\n }\n }\n return {\n ...request,\n signal: controller.signal,\n };\n });\n\n axiosInstance.interceptors.response.use(\n (response) => {\n if (response.data.loginToken !== undefined) {\n handleLoginToken(store, response);\n }\n if (response.data.accessToken !== undefined) {\n handleAccessToken(store, response);\n }\n return response;\n },\n (error) => {\n let message;\n let showProgress = false;\n let hasPriority = false;\n\n if (error.response && error.response.status) {\n switch (error.response.status) {\n case 401:\n showProgress = true;\n setTimeout(() => {\n router.push({ name: 'logout' });\n }, 5000);\n message = i18n.global.t('response.status-code-401');\n hasPriority = true;\n break;\n\n case 403:\n showProgress = true;\n setTimeout(() => {\n router.push({ name: 'logout' });\n }, 5000);\n message = i18n.global.t('response.status-code-403');\n hasPriority = true;\n break;\n\n case 500:\n message = i18n.global.t('response.status-code-500');\n break;\n\n default:\n message = i18n.global.t('response.default-error', {\n error: error.response.status,\n });\n break;\n }\n setTimeout(() => {\n const urls = store.getters['notification/notificationRequestUrls'];\n const requestUrl = error.response.config.url;\n if (hasPriority || !urls.includes(requestUrl)) {\n Notify.create({\n progress: showProgress,\n message: message,\n type: 'negative',\n });\n }\n store.dispatch('notification/clearNotificationRequestUrl', requestUrl);\n }, 50);\n }\n\n return Promise.reject(error);\n },\n );\n};\nfunction handleLoginToken(store, response) {\n store.dispatch('auth/getVerification', response.data.loginToken);\n axiosInstance.defaults.headers.common.Authorization = 'Bearer ' + response.data.loginToken;\n}\nfunction handleAccessToken(store, response) {\n store.dispatch('auth/parseTokenSetUser', response.data.accessToken);\n store.dispatch('auth/setToken', {\n token: response.data.accessToken,\n rememberMe: store.state.rememberMe,\n });\n}\n","const patternsToMatch = {\n '#': { pattern: /\\d/ },\n a: { pattern: /[a-z]/i },\n A: { pattern: /[a-z]/i, action: (chr) => chr.toUpperCase() },\n n: { pattern: /[a-z0-9]/i },\n N: { pattern: /[a-z0-9]/i, action: (chr) => chr.toUpperCase() },\n X: { pattern: /./ },\n};\n\nfunction keepValueWithinMaxBinding(value, binding) {\n const result = value.substring(0, binding.value.length);\n return result;\n}\n\nfunction filterValue(currentValue, binding) {\n let result = currentValue;\n let stringCharIndex = 0;\n\n while (stringCharIndex < result.length && stringCharIndex <= binding.value.length) {\n const currentPattern = patternsToMatch[binding.value[stringCharIndex]];\n if (currentPattern === undefined) {\n //Add mask value (mask char unknown - not in pattersToMach - means a default value like space)\n if (binding.value[stringCharIndex] !== result[stringCharIndex]) {\n result =\n result.substring(0, stringCharIndex) + binding.value[stringCharIndex] + result.substring(stringCharIndex);\n }\n //Check if char is correct pattern\n } else if (!currentPattern.pattern.test(result[stringCharIndex])) {\n result = result.substring(0, stringCharIndex) + result.substring(stringCharIndex + 1);\n stringCharIndex--;\n //Execute action if applicable\n } else if (currentPattern.action) {\n result =\n result.substring(0, stringCharIndex) +\n currentPattern.action(result[stringCharIndex]) +\n result.substring(stringCharIndex + 1);\n }\n\n stringCharIndex++;\n }\n\n result = keepValueWithinMaxBinding(result, binding);\n\n return result;\n}\n\nfunction addMaskValue(lastValue, currentValue, binding) {\n let result = currentValue;\n if (lastValue.length < result.length && patternsToMatch[binding.value[result.length]] === undefined) {\n result += binding.value[result.length];\n }\n\n return result;\n}\n\nfunction calculateSelectionStart(lastValue, currentValue, binding, currentSelectionStart) {\n if (\n lastValue.length < currentValue.length &&\n binding.value[currentSelectionStart] === currentValue[currentSelectionStart]\n ) {\n return currentSelectionStart + 1;\n }\n return currentSelectionStart;\n}\n\nexport default {\n beforeMount(el, binding) {\n let lastValue = el.value;\n el.inputMask = function (event) {\n const startValue = event.target.value;\n let currentValue = keepValueWithinMaxBinding(event.target.value, binding);\n\n currentValue = filterValue(currentValue, binding);\n currentValue = addMaskValue(lastValue, currentValue, binding);\n\n const selectionStart = calculateSelectionStart(lastValue, currentValue, binding, event.target.selectionStart);\n\n event.target.value = currentValue;\n lastValue = currentValue;\n\n el.selectionStart = selectionStart;\n el.selectionEnd = selectionStart;\n\n if (startValue !== currentValue) {\n var evt = new Event('input', { bubbles: true, cancelable: true });\n el.dispatchEvent(evt);\n }\n };\n\n el.addEventListener('input', el.inputMask);\n },\n unmounted(el) {\n el.removeEventListener('input', el.inputMask);\n },\n};\n","import mask from '../directive/mask';\n\nexport default ({ app }) => {\n app.directive('aevi-mask', mask);\n};\n","import Notify from 'src/constants/notify';\nimport i18n from 'src/i18n/index.js';\nimport isUndefined from 'lodash/isUndefined';\n\nconst routeGuard = async (to, from, next, store) => {\n store.dispatch('auth/fetchUser').then(() => {\n const requiresAuthentication = to.matched.some((record) => record.meta.requiresAuth);\n const isAuthorized = to.matched.every(\n (record) => isUndefined(record.meta.isAuthorized) || record.meta.isAuthorized(),\n );\n\n if (requiresAuthentication) {\n const isAuthenticated = store.getters['user/isLoggedIn'];\n if (isAuthenticated) {\n if (isAuthorized) {\n next();\n } else {\n next({\n name: 'home',\n });\n\n Notify.create({\n type: 'negative',\n message: i18n.global.t('route-guard.not-allowed'),\n position: 'bottom-right',\n });\n }\n } else {\n next({\n name: 'login',\n query: {\n redirect: to.fullPath,\n },\n params: { label: to.params.label },\n });\n }\n } else {\n next();\n }\n });\n};\n\nexport default async ({ router, store }) => {\n router.beforeEach(async (to, from, next) => routeGuard(to, from, next, store));\n};\n\nexport { routeGuard };\n","export default {\n NO: 15,\n BE: 16,\n DK: 18,\n FI: 18,\n FO: 18,\n GL: 18,\n NL: 18,\n MK: 19,\n SI: 19,\n AT: 20,\n BA: 20,\n EE: 20,\n KZ: 20,\n LT: 20,\n LU: 20,\n CR: 21,\n CH: 21,\n HR: 21,\n LI: 21,\n LV: 21,\n BG: 22,\n BH: 22,\n DE: 22,\n GB: 22,\n GE: 22,\n IE: 22,\n ME: 22,\n RS: 22,\n AE: 23,\n GI: 23,\n IL: 23,\n AD: 24,\n CZ: 24,\n ES: 24,\n MD: 24,\n PK: 24,\n RO: 24,\n SA: 24,\n SE: 24,\n SK: 24,\n VG: 24,\n TN: 24,\n PT: 25,\n IS: 26,\n TR: 26,\n FR: 27,\n GR: 27,\n IT: 27,\n MC: 27,\n MR: 27,\n SM: 27,\n AL: 28,\n AZ: 28,\n CY: 28,\n DO: 28,\n GT: 28,\n HU: 28,\n LB: 28,\n PL: 28,\n BR: 29,\n PS: 29,\n KW: 30,\n MU: 30,\n MT: 31,\n};\n","import { defineRule } from 'vee-validate';\nimport ibanLen from './helpers/IBANLen.js';\nimport { isValid, isEqual, isAfter, isBefore } from 'date-fns';\n\ndefineRule('required', (value, [translationKey]) => {\n if (!value || !value.length) {\n return translationKey ? `validators.${translationKey}` : 'validators.required-field';\n }\n return true;\n});\n\ndefineRule('requiredNumber', (value, [translationKey]) => {\n if (value === '' || value === false || value === null || value === undefined) {\n return translationKey ? `validators.${translationKey}` : 'validators.required-field';\n }\n return true;\n});\n\ndefineRule('requiredDropdown', (value, [translationKey]) => {\n if (!value || Object.keys(value).length < 2) {\n return translationKey ? `validators.${translationKey}` : 'validators.required-field';\n }\n return true;\n});\ndefineRule('requiredDropdownMultiChoice', (value, [translationKey]) => {\n if (\n !value ||\n Object.keys(value).length < 1 ||\n (Object.keys(value).length === 1 && Object.values(value)[0].key === 0)\n ) {\n return translationKey ? `validators.${translationKey}` : 'validators.required-field';\n }\n return true;\n});\ndefineRule('checked', (value, [translationKey]) => {\n const key =\n translationKey !== null && translationKey !== undefined\n ? `validators.${translationKey}`\n : 'validators.no-confirmation';\n return value ? true : key;\n});\n\ndefineRule('isValidIban', (iban) => {\n const validationMessage = 'validators.valid-iban';\n if (!iban) return true;\n\n iban = iban.replace(/\\s/g, '');\n\n if (!iban.match(/^[\\dA-Z]+$/)) return validationMessage;\n var len = iban.length;\n if (len !== ibanLen[iban.substring(0, 2)]) return validationMessage;\n iban = iban.substring(4) + iban.substring(0, 4);\n for (var s = '', i = 0; i < len; i += 1) s += parseInt(iban.charAt(i), 36);\n // eslint-disable-next-line\n for (var m = s.substring(0, 15) % 97, s = s.substring(15); s; s = s.substring(13)) m = (m + s.substring(0, 13)) % 97;\n\n return m === 1 ? true : validationMessage;\n});\n\ndefineRule('isValidFileType', (value, { selectedFiles, allowedFileTypes }) => {\n let error = false;\n for (let i = 0; i < selectedFiles.length; i++) {\n const fileType = `.${selectedFiles[i].fileName.split('.').pop()}`.toLocaleLowerCase();\n if (!allowedFileTypes.split(',').includes(fileType)) {\n selectedFiles[i].isInvalid = true;\n error = true;\n }\n }\n\n return error ? 'validators.invalid-file-type' : true;\n});\n\ndefineRule('isFileSelected', (value, { selectedFiles }) => {\n return selectedFiles.length === 0 ? 'validators.no-file-selected' : true;\n});\n\ndefineRule('isFileToBig', (value, { usedMB, maxMB }) => {\n return usedMB > maxMB ? 'validators.file-to-big' : true;\n});\n\ndefineRule('isValidValuta', (value, [translationKey]) => {\n const errorMessage = translationKey ? `validators.${translationKey}` : 'validators.invalid-input';\n if (typeof value === 'boolean' || value === 0) return errorMessage;\n\n if (value.toString().match(/^\\d+(\\.\\d{1,2})?$/)) return true;\n return errorMessage;\n});\n\ndefineRule('isDutchPostalCode', (value) => {\n value = value.replace(/\\s/g, '');\n if (!value.match(/^\\d{4}[A-Z]{2}$/)) return 'validators.invalid-postal-code';\n return true;\n});\n\ndefineRule('isValidDate', (date, [min, max, messageKeyTooLongAgo, messageKeyFuture]) => {\n const minDate = min && min !== 'undefined' ? new Date(min) : undefined;\n const maxDate = max && max !== 'undefined' ? new Date(max) : undefined;\n\n if (!date) return true;\n var parsedDate = new Date(date);\n if (!isValid(parsedDate)) return 'validators.invalid-date';\n else if (minDate && (isEqual(parsedDate, minDate) || isBefore(parsedDate, minDate)))\n return `validators.${messageKeyTooLongAgo}`;\n else if (maxDate && (isEqual(parsedDate, maxDate) || isAfter(parsedDate, maxDate)))\n return `validators.${messageKeyFuture}`;\n return true;\n});\n\ndefineRule('isValidDateCanBeEqual', (date, [min, max, messageKeyTooLongAgo, messageKeyFuture]) => {\n const minDate = min && min !== 'undefined' ? new Date(min) : undefined;\n const maxDate = max && max !== 'undefined' ? new Date(max) : undefined;\n\n if (!date) return true;\n var parsedDate = new Date(date);\n if (!isValid(parsedDate)) return 'validators.invalid-date';\n else if (minDate && isBefore(parsedDate, minDate)) return `validators.${messageKeyTooLongAgo}`;\n else if (maxDate && isAfter(parsedDate, maxDate)) return `validators.${messageKeyFuture}`;\n return true;\n});\n\ndefineRule('isAmountBetween', (value, { min, max, minTranslationKey, maxTranslationKey }) => {\n if (value > max) return `validators.${maxTranslationKey}`;\n if (value < min) return `validators.${minTranslationKey}`;\n return true;\n});\n\ndefineRule('isValidEmail', (email) => {\n if (!email) return 'validators.email-required';\n if (!email?.match(/^\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(\\.\\w{2,3})+$/)) return 'validators.email-invalid';\n return true;\n});\n\ndefineRule('isValidPhoneNumber', (value, { prefix, number }) => {\n if (!number) return 'validators.phone-number-required';\n let phoneNumberParsed = null;\n let val = '';\n\n if (prefix?.value && number) {\n val = prefix.value.replace('(', '').replace(')', '');\n phoneNumberParsed = `${val}${number}`;\n }\n\n if (\n !phoneNumberParsed ||\n !phoneNumberParsed?.startsWith('+') ||\n (phoneNumberParsed?.startsWith('+31') && phoneNumberParsed?.length !== 12) ||\n phoneNumberParsed?.length <= 9 ||\n phoneNumberParsed?.length > 15\n ) {\n return 'validators.phone-number-invalid';\n }\n\n return true;\n});\n\ndefineRule('numberLength', (value, [number, requiredLength, translationKey]) => {\n if (number.length < requiredLength) return `validators.${translationKey}`;\n return true;\n});\n\ndefineRule('numberIsPositive', (value, [number, translationKey]) => {\n if (number < 1) return `validators.${translationKey}`;\n return true;\n});\n","import { axiosInstance } from 'src/boot/axios.js';\nimport isEmpty from 'lodash/isEmpty';\nimport AttachmentReadability from 'src/models/attachmentReadability.js';\nimport { defineRule } from 'vee-validate';\n\nconst fileTypesToCheckForReadability = ['pdf', 'jpg', 'jpeg', 'png', 'bmp', 'tif', 'tiff'];\n\ndefineRule('isFileReadable', async (value, { selectedFiles, maxFileSize, allowedFileTypes }) => {\n const formData = new FormData();\n\n const validFiles = selectedFiles.filter(\n (x) =>\n allowedFileTypes.split(',').includes('.' + x.fileName.split('.').pop()) &&\n x.size < maxFileSize &&\n !x.isValidReadability &&\n fileTypesToCheckForReadability.includes(x.fileName.split('.').pop()),\n );\n\n let error = false;\n let readabilities = [];\n if (validFiles && validFiles.length > 0) {\n validFiles.forEach((file) => {\n formData.append('files', file.file);\n });\n\n await axiosInstance.post('Declaration/ValidateAttachmentsReadability', formData).then((response) => {\n if (!isEmpty(response.data)) {\n readabilities = response.data.map((readability) => new AttachmentReadability(readability));\n }\n });\n }\n\n for (let i = 0; i < readabilities.length; i++) {\n const readability = readabilities[i];\n const validFile = validFiles.find((file) => file.fileName === readability.fileName);\n\n if (validFile) {\n if (\n readability.readabilityScore.isUnreadable ||\n readability.readabilityScore.isBarelyReadable ||\n readability.readabilityScore.isLocked\n ) {\n validFile.isInvalid = true;\n error = true;\n validFile.isValidReadability = false;\n } else {\n validFile.isValidReadability = true;\n }\n }\n }\n\n if (error) {\n if (readabilities.some((x) => x.readabilityScore.isUnreadable)) {\n return 'validators.file-is-unreadable';\n } else if (readabilities.some((x) => x.readabilityScore.isLocked)) {\n return 'validators.file-is-locked';\n }\n return 'validators.file-is-barely-readable';\n }\n\n return true;\n});\n\ndefineRule('isLessHoursInWeek', (value, { amount, max, maxKey }) => {\n if (amount > max) return `validators.${maxKey}`;\n return true;\n});\n\ndefineRule('isLessMinutesInHour', (value, { amount, max, maxKey }) => {\n if (amount > max) return `validators.${maxKey}`;\n return true;\n});\n\ndefineRule('isNumberLessThenMaxAndRequired', (value, { amount, max, maxKey, requiredKey, min, minKey }) => {\n if (value === '' || value === false || value === null || value === undefined || value === 0) {\n return `validators.${requiredKey}`;\n }\n if (amount < min) {\n return `validators.${minKey}`;\n }\n if (amount > max) return `validators.${maxKey}`;\n return true;\n});\n\ndefineRule(\n 'nursingPersonalCareRequired',\n (\n value,\n { nursingHours, nursingMinutes, personalCareHours, personalCareMinutes, translationKey, selectedCareTypeId },\n ) => {\n if (selectedCareTypeId === 2 && (personalCareHours > 0 || personalCareMinutes > 0)) return true;\n if (selectedCareTypeId === 1 && (nursingHours > 0 || nursingMinutes > 0)) return true;\n if (nursingHours > 0 || nursingMinutes > 0 || personalCareHours > 0 || personalCareMinutes > 0) return true;\n\n return `validators.${translationKey}`;\n },\n);\n","import { boot } from 'quasar/wrappers';\nimport VueTelInput from 'vue-tel-input';\nimport 'vue-tel-input/vue-tel-input.css';\n\nexport default boot(async ({ app }) => {\n app.use(VueTelInput);\n});\n","const invoiceStatus = {\n Openstaand: 1,\n Herinnering: 2,\n Aanmaning: 3,\n Sommatie: 4,\n Betalingsregeling: 5,\n Incassobureau: 6,\n Schuldhulptraject: 7,\n Faillissement: 8,\n Betaald: 9,\n AutomatischeIncasso: 10,\n};\n\nexport default invoiceStatus;\n","import { store } from 'src/store/index.js';\n\nconst Notify = {\n create(notification, errorResponse = undefined) {\n store.dispatch('notification/createNotification', {\n notification: notification,\n error: errorResponse,\n });\n },\n};\n\nexport default Notify;\n","export default {\n OwnRisk: 'OW',\n BasicInsurance: 'MB',\n ExtraAdditionalInsurance: 'XA',\n AdditionalInsurance: 'AP',\n DentalInsurance: 'TA',\n};\n","import enUS from 'src/i18n/en-us.json';\nimport nlNL from 'src/i18n/nl-nl.json';\n\nimport { createI18n } from 'vue-i18n';\n\nconst messages = {\n 'nl-NL': nlNL,\n 'en-US': enUS,\n};\n\nconst numberFormats = {\n 'nl-NL': {\n currency: {\n style: 'currency',\n currency: 'EUR',\n },\n currencyNoCents: {\n style: 'currency',\n currency: 'EUR',\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n },\n },\n 'en-US': {\n currency: {\n style: 'currency',\n currency: 'USD',\n },\n },\n};\n\n// Create I18n instance\nconst i18n = createI18n({\n locale: 'nl-NL',\n fallbackLocale: 'nl-NL',\n globalInjection: true,\n numberFormats,\n messages,\n});\n\nexport default i18n;\n","class AttachmentReadability {\n constructor(params) {\n this.fileName = params.fileName;\n this.readabilityScore = new ReadabilityScore(params.readabilityScore);\n }\n}\n\nclass ReadabilityScore {\n constructor(score) {\n this.isReadable = false;\n this.isBarelyReadable = false;\n this.isUnreadable = false;\n this.isLocked = false;\n switch (score) {\n case 0:\n this.isUnreadable = true;\n break;\n case 1:\n this.isBarelyReadable = true;\n break;\n case 2:\n this.isReadable = true;\n break;\n case 3:\n this.isLocked = true;\n }\n }\n}\n\nexport { AttachmentReadability as default };\n","class Invoice {\n constructor(params) {\n this.description = params.description;\n this.invoiceNumber = params.invoiceNumber;\n this.amount = params.amount;\n this.status = params.status.status;\n this.statusId = params.status.id;\n this.invoiceDate = new Date(params.invoiceDate);\n this.remaining = params.remaining;\n this.attachments = params.attachments;\n this.paymentType = params.invoicePaymentType;\n this.expirationDate = new Date(params.expirationDate);\n this.paymentDate = new Date(params.paymentDate);\n this.premiePeriod = params.premiePeriod;\n }\n}\n\nexport { Invoice as default };\n","import i18n from 'src/i18n/index.js';\n\nclass MedicalSelection {\n constructor(params) {\n this.policyNumber = params.policyNumber;\n this.orthodonticsWithinTwoYears = params.orthodonticsWithinTwoYears;\n this.dentistLastTwoYears = params.dentistLastTwoYears;\n this.hasCongenitalDentalDefect = params.hasCongenitalDentalDefect;\n this.congenitalDentalDefectMessage = params.congenitalDentalDefectMessage;\n this.extracted4OrMoreTeeth = params.extracted4OrMoreTeeth;\n this.numberOfMissingTeeth = params.numberOfMissingTeeth;\n this.expectsToHaveOneOfFollowingTreatments = params.expectsToHaveOneOfFollowingTreatments;\n this.doesNotExpectTreatment = params.doesNotExpectTreatment;\n this.acceptedTermsAndConditions = params.acceptedTermsAndConditions;\n this.acceptanceDate = params.acceptanceDate;\n }\n\n static createEmpty() {\n return new MedicalSelection({\n policyNumber: null,\n orthodonticsWithinTwoYears: null,\n dentistLastTwoYears: null,\n hasCongenitalDentalDefect: null,\n congenitalDentalDefectMessage: '',\n extracted4OrMoreTeeth: null,\n numberOfMissingTeeth: 0,\n expectsToHaveOneOfFollowingTreatments: [],\n doesNotExpectTreatment: false,\n acceptedTermsAndConditions: false,\n acceptanceDate: undefined,\n });\n }\n\n static createEmptyNew() {\n return new MedicalSelection({\n policyNumber: null,\n orthodonticsWithinTwoYears: null,\n dentistLastTwoYears: null,\n hasCongenitalDentalDefect: null,\n congenitalDentalDefectMessage: '',\n extracted4OrMoreTeeth: null,\n numberOfMissingTeeth: 0,\n expectsToHaveOneOfFollowingTreatments: [\n {\n key: 0,\n value: i18n.global.t('edit-policy.labels.make-choice'),\n },\n ],\n doesNotExpectTreatment: false,\n acceptedTermsAndConditions: true,\n acceptanceDate: undefined,\n });\n }\n\n getDenialReasons() {\n const denialReasons = [];\n if (this.orthodonticsWithinTwoYears)\n denialReasons.push(i18n.global.t('medical-selection.denial.orthodontics-within-two-years'));\n if (!this.dentistLastTwoYears) denialReasons.push(i18n.global.t('medical-selection.denial.dentist-last-two-years'));\n if (this.hasCongenitalDentalDefect)\n denialReasons.push(i18n.global.t('medical-selection.denial.has-congenital-dental-defect'));\n if (this.extracted4OrMoreTeeth)\n denialReasons.push(i18n.global.t('medical-selection.denial.extracted-4-or-more-teeth'));\n if (!this.doesNotExpectTreatment)\n denialReasons.push(i18n.global.t('medical-selection.denial.does-expect-treatment'));\n return denialReasons;\n }\n}\nexport { MedicalSelection as default };\n","import { store } from 'src/store/index.js';\nimport { h, resolveComponent } from 'vue';\n\nconst mainChildren = [\n {\n path: '',\n name: 'default',\n component: () => import('pages/Home.vue'),\n meta: {\n requiresAuth: true,\n },\n },\n {\n path: 'home',\n name: 'home',\n component: () => import('pages/Home.vue'),\n meta: {\n requiresAuth: true,\n },\n },\n {\n path: 'leden-aanbiedingen',\n name: 'member-offers',\n component: () => import('pages/MemberOffers.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadMemberOffer;\n },\n },\n },\n {\n path: 'uitloggen',\n name: 'logout',\n component: () => import('pages/auth/Logout'),\n meta: {\n requiresAuth: true,\n },\n },\n\n {\n path: 'polisoverzicht',\n name: 'policy-overview',\n component: () => import('src/pages/MyHealthInsurance.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadInsurance;\n },\n },\n },\n\n {\n path: 'rekeningen-en-betalingen',\n name: 'bills-payments',\n component: () => import('pages/BillsAndPayments.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadInvoice;\n },\n },\n },\n {\n path: 'betalingsregeling',\n name: 'payment-arrangement',\n component: () => import('pages/PaymentArrangement.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreatePaymentArrangement;\n },\n },\n },\n {\n path: 'polis-wijzigen',\n name: 'edit-policy',\n component: () => import('pages/EditPolicy.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdateInsurance;\n },\n },\n },\n\n {\n path: `polis-aanvragen/:selectedYear/:contractCode/:agreementId/:shouldResetSelection`,\n name: 'request-policy-selected-year',\n\n props(route) {\n const props = {\n ...route.params,\n };\n props.selectedYear = +props.selectedYear;\n props.shouldResetSelection = props.shouldResetSelection === 'true' || props.shouldResetSelection === true;\n\n return props;\n },\n component: () => import('src/pages/RequestPolicy.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdateInsurance;\n },\n },\n },\n\n {\n path: `polis-wijzigen/:selectedYear/:contractCode/:agreementId/:shouldResetSelection`,\n name: 'edit-policy-selected-year',\n\n props(route) {\n const props = {\n ...route.params,\n };\n props.selectedYear = +props.selectedYear;\n props.shouldResetSelection = props.shouldResetSelection === 'true' || props.shouldResetSelection === true;\n\n return props;\n },\n component: () => import('src/pages/EditPolicy.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdateInsurance;\n },\n },\n },\n\n {\n path: 'berichtenbox',\n name: 'message-box',\n props: true,\n component: () => import('pages/MessageBox.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadMessages;\n },\n },\n },\n {\n path: `berichtenbox/:cluster`,\n name: 'message-box-cluster',\n props: true,\n component: () => import('pages/MessageBox.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadMessages;\n },\n },\n },\n {\n path: 'verzekerde-bijschrijven',\n\n name: 'add-insured-to-policy',\n component: () => import('pages/AddInsured.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateInsuredPerson;\n },\n },\n },\n {\n path: `verzekerde-bijschrijven-paketten/:selectedYear/:contractCode/:agreementId`,\n name: 'add-insured-package-selection',\n component: () => import('pages/AddInsuredPackageSelection.vue'),\n props(route) {\n const props = {\n ...route.params,\n };\n props.selectedYear = +props.selectedYear;\n\n return props;\n },\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateInsuredPerson;\n },\n },\n },\n {\n path: 'zorgpas-ehic',\n name: 'insurance-card',\n component: () => import('src/pages/InsuranceCards.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateEHIC;\n },\n },\n },\n {\n path: 'vergoedingsdocumenten',\n name: 'reimbursement-documents',\n\n component: () => import('pages/ReimbursementDocuments.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCompensationDocument;\n },\n },\n },\n {\n path: 'persoonlijke-gegevens-wijzigen',\n name: 'edit-personal-info',\n component: () => import('pages/EditPersonalInfo.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdatePersonalDetails;\n },\n },\n },\n {\n path: 'persoonlijke-gegevens',\n name: 'personal-info',\n component: () => import('pages/PersonalInfo.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadPersonalDetails;\n },\n },\n },\n {\n path: 'betaal-en-rekeninggegevens',\n name: 'payment-details',\n component: () => import('pages/PaymentDetails.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadPaymentDetails;\n },\n },\n },\n {\n path: `betaalgegevens-wijzigen/:agreementId`,\n name: 'edit-payment-details',\n component: () => import('pages/EditPaymentDetails.vue'),\n props(route) {\n const props = {\n ...route.params,\n };\n props.selectedYear = +props.selectedYear;\n\n return props;\n },\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdatePaymentDetails;\n },\n },\n },\n {\n path: 'contactformulier',\n name: 'contact-form',\n component: () => import('pages/ContactForm.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateContact;\n },\n },\n },\n {\n path: 'mijn-zorgkosten',\n name: 'healthcare-costs',\n component: () => import('pages/HealthcareCosts.vue'),\n props(route) {\n const props = {\n ...route.query,\n };\n return props;\n },\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadDeclaration;\n },\n },\n },\n {\n path: 'aanvraag-zittend-ziekenvervoer',\n name: 'request-seated-patient-transport',\n component: () => import('pages/RequestSeatedPatientTransport.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateDeclaration;\n },\n },\n },\n {\n path: 'indienen-zorgkosten',\n name: 'submit-healthcare-costs',\n component: () => import('pages/SubmitHealthcareCosts.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateDeclaration;\n },\n },\n },\n {\n path: 'contact-opnemen',\n name: 'contact',\n component: () => import('pages/Contact.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadContact;\n },\n },\n },\n {\n path: 'instellingen',\n name: 'settings',\n component: () => import('pages/Settings.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayReadAccount;\n },\n },\n },\n {\n path: 'wijzig-instellingen',\n name: 'edit-settings',\n component: () => import('pages/EditSettings.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdateAccount;\n },\n },\n },\n {\n path: 'contactgegevens-wijzigen',\n name: 'edit-contact-details',\n component: () => import('pages/EditContactDetails.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdateAccount;\n },\n },\n },\n {\n path: `medische-selectie/:selectedYear/:contractCode/:agreementId`,\n name: 'add-insured-medical-selection',\n props(route) {\n const props = {\n ...route.params,\n };\n props.selectedYear = +props.selectedYear;\n\n return props;\n },\n component: () => import('pages/AddInsuredMedicalSelection.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateInsuredPerson;\n },\n },\n },\n {\n path: `medische-selectie/:selectedYear/:contractCode/:agreementId`,\n name: 'medical-selection',\n props(route) {\n const props = {\n ...route.params,\n };\n props.selectedYear = +props.selectedYear;\n\n return props;\n },\n component: () => import('pages/EditPolicyMedicalSelection.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayUpdateInsurance;\n },\n },\n },\n {\n path: 'verzekeringsrecht',\n name: 'insurance-right',\n component: () => import('pages/InsuranceRightCheck.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n const isCheckRequired = store.getters['insuranceRight/insuranceRight']?.isCheckRequired;\n return (\n store.getters['user/isLoggedIn'] &&\n store.getters['user/permissions'].mayCreateInsuranceRight &&\n isCheckRequired\n );\n },\n },\n },\n {\n path: 'zorgbemiddeling-aanvragen',\n name: 'request-care-mediation',\n component: () => import('pages/RequestCareMediation.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateCareMediation;\n },\n },\n },\n {\n path: 'behandeling-buitenland-aanvragen',\n name: 'request-treatment-abroad',\n component: () => import('pages/RequestTreatmentAbroad.vue'),\n meta: {\n requiresAuth: true,\n isAuthorized: () => {\n return store.getters['user/isLoggedIn'] && store.getters['user/permissions'].mayCreateTreatmentAbroad;\n },\n },\n },\n];\nconst authChildren = [\n {\n path: `inloggen`,\n name: 'login',\n component: () => import('pages/auth/Login'),\n props: (route) => ({\n labelCode: route.params.label,\n }),\n },\n {\n path: `inloggen`,\n name: 'login-after-logout',\n meta: {\n canBeIntercepted: false,\n },\n component: () => import('pages/auth/Login'),\n },\n {\n path: 'verificatie',\n name: 'verify',\n component: () => import('pages/auth/Verify'),\n props: (route) => ({\n labelCode: route.params.label,\n }),\n },\n {\n path: 'registreren',\n name: 'register',\n component: () => import('pages/auth/Register'),\n props: (route) => ({\n labelCode: route.params.label,\n }),\n },\n {\n path: 'activeren',\n name: 'activate',\n component: () => import('pages/auth/Activate'),\n props: (route) => ({\n labelCode: route.params.label,\n }),\n },\n {\n path: 'idin-activeren',\n name: 'idin-register',\n component: () => import('pages/auth/IdinRegister'),\n props: (route) => ({\n labelCode: route.params.label,\n }),\n meta: {\n isRegister: true,\n },\n },\n {\n path: 'callback/iDin-authenticatie',\n name: 'idin-authentication',\n component: () => import('pages/auth/IdinAuthentication'),\n props: (route) => ({\n sessionId: route.query.sessionId,\n }),\n },\n {\n path: 'callback/iDin-register',\n name: 'idin-register2',\n component: () => import('pages/auth/IdinIdentification'),\n props: (route) => ({\n sessionId: route.query.sessionId,\n }),\n },\n {\n path: 'callback/iDin-abort',\n name: 'idin-abort',\n component: () => import('pages/auth/IdinAbort'),\n props: (route) => ({\n sessionId: route.query.sessionId,\n }),\n },\n {\n path: 'callback/iDin-error',\n name: 'idin-error',\n component: () => import('pages/auth/IdinError'),\n props: (route) => ({\n sessionId: route.query.sessionId,\n }),\n },\n\n {\n path: 'callback/iDin',\n name: 'callback-idin',\n props: (route) => ({\n code: route.query.code,\n state: route.query.state,\n sessionState: route.query.session_state,\n error: route.query.error,\n errorDescription: route.query.error_description,\n labelCode: route.params.label,\n }),\n component: () => import('pages/auth/IdinCallBack'),\n },\n {\n path: 'wachtwoord',\n name: 'password',\n component: {\n render() {\n return h(resolveComponent('router-view'));\n },\n },\n props: (route) => ({\n labelCode: route.params.label,\n }),\n children: [\n {\n path: 'vergeten',\n name: 'forgot',\n component: () => import('pages/auth/password/Forgot'),\n },\n {\n path: 'resetten',\n name: 'reset',\n component: () => import('pages/auth/password/Reset'),\n },\n ],\n },\n];\n\nconst routes = [\n {\n path: '/',\n component: () => import('layouts/MainLayout.vue'),\n children: mainChildren,\n },\n {\n path: '/',\n component: () => import('layouts/AuthLayout.vue'),\n children: authChildren,\n },\n];\n\n//Always leave this as last one\nif (process.env.MODE !== 'ssr') {\n routes.push({\n path: '/:pathMatch(.*)*',\n component: () => {\n if (!store.getters['user/isLoggedIn']) store.dispatch('auth/fetchUser');\n\n if (store.getters['user/isLoggedIn']) {\n return import('layouts/MainLayout.vue');\n }\n\n return import('layouts/AuthLayout.vue');\n },\n\n children: [\n {\n path: '/:pathMatch(.*)*',\n component: () => import('pages/Error404.vue'),\n },\n ],\n });\n}\n\nexport default routes;\n","export default function () {\n return {\n fromPage: '',\n flowType: '',\n token: undefined,\n verificationReceiver: undefined,\n isVerificationCodeNeeded: undefined,\n rememberMe: false,\n verificationInfo: {\n hasEmailAddress: undefined,\n hasPhoneNumber: undefined,\n },\n email: '',\n accountDetails: undefined,\n hasIdinFailed: false,\n idinFailureMessage: '',\n isLoggingOff: false,\n idinBankOptions: {},\n bankOptions: [],\n };\n}\n","export const fromPage = (state) => state.fromPage;\nexport const comesFromLoginPage = (state) => state.fromPage === 'login';\nexport const comesFromForgotPage = (state) => state.fromPage === 'forgot';\n\nexport const flowType = (state) => state.flowType;\n\nexport const token = (state) => state.token;\n\nexport const verificationReceiver = (state) => state.verificationReceiver;\n\nexport const rememberMe = (state) => state.rememberMe;\n\nexport const email = (state) => state.email;\n\nexport const accountDetails = (state) => state.accountDetails;\n\nexport const hasPhoneNumber = (state) => state.verificationInfo.hasPhoneNumber;\nexport const hasEmailAddress = (state) => state.verificationInfo.hasEmailAddress;\n\nexport const hasIdinFailed = (state) => state.hasIdinFailed;\n\nexport const idinFailureMessage = (state) => state.idinFailureMessage;\n\nexport const isVerificationCodeNeeded = (state) => state.isVerificationCodeNeeded;\nexport const isLoggingOff = (state) => state.isLoggingOff;\n\nexport const idinBankOptions = (state) => state.idinBankOptions;\nexport const bankOptionsValue = (state) => state.bankOptions;\n","export function setFromPage(state, payload) {\n state.fromPage = payload;\n}\n\nexport function clearFromPage(state) {\n state.fromPage = '';\n}\n\nexport function setFlowType(state, payload) {\n state.flowType = payload;\n}\n\nexport function clearFlowType(state) {\n state.flowType = '';\n}\n\nexport function setIsLoggingOff(state, payload) {\n state.isLoggingOff = payload;\n}\n\nexport function setVerificationReceiver(state, payload) {\n state.verificationReceiver = payload;\n}\n\nexport function clearVerificationReceiver(state) {\n state.verificationReceiver = undefined;\n}\n\nexport function setRememberMe(state, payload) {\n state.rememberMe = payload;\n}\n\nexport function clearRememberMe(state) {\n state.rememberMe = false;\n}\n\nexport function setHasPhoneNumber(state, payload) {\n state.verificationInfo.hasPhoneNumber = payload;\n}\nexport function clearHasPhoneNumber(state) {\n state.verificationInfo.hasPhoneNumber = undefined;\n}\n\nexport function setHasEmailAddress(state, payload) {\n state.verificationInfo.hasEmailAddress = payload;\n}\nexport function clearHasEmailAddress(state) {\n state.verificationInfo.hasEmailAddress = undefined;\n}\n\nexport function setIsVerificationCodeNeeded(state, payload) {\n state.isVerificationCodeNeeded = payload;\n}\n\nexport function setEmail(state, payload) {\n state.email = payload;\n}\n\nexport function clearEmail(state) {\n state.email = '';\n}\n\nexport function setAccountDetails(state, payload) {\n state.accountDetails = payload;\n}\n\nexport function clearAccountDetails(state) {\n state.accountDetails = false;\n}\n\nexport function setUsernameAlreadyExists(state, payload) {\n state.accountDetails = state.accountDetails.setUsernameAlreadyExists(payload);\n}\n\nexport function setHasIdinFailed(state, payload) {\n state.hasIdinFailed = payload;\n}\n\nexport function clearHasIdinFailed(state) {\n state.hasIdinFailed = false;\n}\n\nexport function setIdinFailureMessage(state, payload) {\n state.idinFailureMessage = payload;\n}\n\nexport function clearIdinFailureMessage(state) {\n state.idinFailureMessage = '';\n}\n\nexport function setIdinBankOptions(state, payload) {\n state.idinBankOptions = payload;\n}\nexport function setBankOptions(state, payload) {\n state.bankOptions = payload;\n}\n","class Permissions {\n constructor(params) {\n this.permissions = params;\n\n this.mayReadInsuranceRight = this.hasPermissionFor('r-insurance-right');\n this.mayCreateInsuranceRight = this.hasPermissionFor('c-insurance-right');\n this.mayReadInsurance = this.hasPermissionFor('r-ins');\n this.mayReadInvoice = this.hasPermissionFor('r-inv');\n this.mayCreatePaymentArrangement = this.hasPermissionFor('c-pay-arr');\n this.mayReadPremium = this.hasPermissionFor('r-pre');\n this.mayReadExcess = this.hasPermissionFor('r-exc');\n this.mayUpdateInsurance = this.hasPermissionFor('u-ins');\n this.mayReadPolicyDocument = this.hasPermissionFor('r-pol-doc');\n this.mayCreateInsuredPerson = this.hasPermissionFor('c-ins-per');\n this.mayCompensationDocument = this.hasPermissionFor('r-com-doc');\n this.mayReadPersonalDetails = this.hasPermissionFor('r-per-det');\n this.mayUpdatePersonalDetails = this.hasPermissionFor('u-per-det');\n this.mayReadPaymentDetails = this.hasPermissionFor('r-pay-det');\n this.mayUpdatePaymentDetails = this.hasPermissionFor('u-pay-det');\n this.mayReadMessages = this.hasPermissionFor('r-msg');\n this.mayCreateDeclaration = this.hasPermissionFor('c-dec');\n this.mayCreateEHIC = this.hasPermissionFor('c-ehic');\n this.mayReadDeclaration = this.hasPermissionFor('r-dec');\n this.mayReadContact = this.hasPermissionFor('r-con');\n this.mayCreateContact = this.hasPermissionFor('c-con');\n this.mayReadAccount = this.hasPermissionFor('r-acc');\n this.mayUpdateAccount = this.hasPermissionFor('u-acc');\n this.mayUpdatePassword = this.hasPermissionFor('u-pw');\n this.mayLogin = this.hasPermissionFor('login');\n this.mayReadMemberOffer = this.hasPermissionFor('r-mem-off');\n this.mayCreateMemberOfferTip = this.hasPermissionFor('c-mem-off-tip');\n this.isAdmin = this.hasPermissionFor('admin');\n this.mayCreateCareMediation = this.hasPermissionFor('c-care-med');\n this.mayCreateTreatmentAbroad = this.hasPermissionFor('c-treat-abr');\n }\n\n hasPermissionFor(permission) {\n return this.permissions.includes(permission);\n }\n}\nexport { Permissions as default };\n","import { filterPhoneNumber } from 'src/utils/helpers.js';\nclass ContactInfo {\n constructor(params) {\n this.email = params.email;\n this.phoneNumber = filterPhoneNumber(params.phoneNumber);\n return this;\n }\n}\nexport { ContactInfo as default };\n","class Address {\n constructor(params) {\n this.streetName = params.street;\n this.streetNumber = params.houseNumber;\n this.streetNumberAddition = params.houseNumberAddition ? params.houseNumberAddition : '';\n this.postalCode = params.zipCode;\n this.city = params.city;\n this.countryName = params.country;\n return this;\n }\n}\nexport { Address as default };\n","class Role {\n constructor(Role) {\n this.Role = Role;\n }\n\n isMainInsured() {\n return this.Role === 'H';\n }\n\n isCoInsured() {\n return this.Role === 'M';\n }\n\n isPartnerInsured() {\n return this.Role === 'P';\n }\n}\nexport { Role as default };\n","import i18n from 'src/i18n/index.js';\n\nclass CollectivityLabel {\n constructor(collectivityLabel) {\n const exists = true;\n\n this.collectivityLabel = exists ? collectivityLabel.toLowerCase() : 'aev';\n this.logo = `statics/whitelabel/logos/${this.collectivityLabel}.svg`;\n this.translation = `${i18n.global.t(`collectivity-labels.${this.collectivityLabel}`)}`;\n }\n}\n\nexport { CollectivityLabel as default };\n","import ContactInfo from 'src/models/contactInfo.js';\nimport Address from 'src/models/address.js';\nimport Role from 'src/models/role.js';\nimport CollectivityLabel from 'src/models/collectivityLabel.js';\nimport i18n from 'src/i18n/index.js';\n\nclass User {\n constructor(params) {\n if (!params) return undefined;\n\n this.customerNumber = params.CustomerNumber;\n this.accountId = params.AccountId;\n this.emailAddress = params.EmailAddress;\n this.firstName = params.FirstName;\n this.lastName = params.LastName;\n this.birthDate = params.BirthDate;\n this.prefix = params.Prefix;\n this.maidenName = params.MaidenName;\n this.prefixMaidenName = params.PrefixMaidenName;\n this.initials = params.Initials;\n this.gender = params.Gender;\n this.shouldResetPassword = params.ShouldResetPassword;\n this.shouldVerifyEmailAddress = params.ShouldVerifyEmailAddress;\n this.signedTermsOfAgreement = params.SignedTermsOfAgreement;\n this.isDefaulter = params.IsDefaulter;\n this.shouldShowDigitalPopup = params.ShouldShowDigitalPopUp;\n\n this.collectivityLabel = new CollectivityLabel(params.CollectivityLabel);\n this.role = new Role(params.Role);\n\n const lastNameWithPrefix = this.prefix ? `${this.prefix} ${this.lastName}` : `${this.lastName}`;\n const maidenNameWithPrefix = this.prefixMaidenName\n ? `${this.prefixMaidenName} ${this.maidenName}`\n : `${this.maidenName}`;\n this.fullLastName = this.maidenName ? `${lastNameWithPrefix} - ${maidenNameWithPrefix}` : `${lastNameWithPrefix}`;\n\n this.fullNameWithSalutation = `${i18n.global.t(`gender.salutation-${params.Gender.toLowerCase()}`)} ${this.initials} ${this.fullLastName}`;\n this.address = undefined;\n this.contactInfo = undefined;\n return this;\n }\n\n addAddress(params) {\n this.address = new Address(params);\n\n return this;\n }\n\n addContactInfo(params) {\n this.contactInfo = new ContactInfo(params);\n return this;\n }\n\n updateEmailAddress(emailAddress) {\n this.emailAddress = emailAddress;\n return this;\n }\n}\n\nexport { User as default };\n","class AccountDetails {\n constructor(params) {\n this.username = params.username;\n this.email = params.email;\n this.phoneNumber = params.phoneNumber;\n this.iDinActivationDate = params.iDinActivationDate;\n this.iDinActive = params.iDinActive;\n this.loginActive = params.loginActive;\n this.loginInfo = params.loginInfo;\n this.usernameAlreadyExists = false;\n this.digitalNewsletterActive = params.digitalNewsletterActive;\n this.announcementEmailActive = params.announcementEmailActive;\n this.paymentMethod = params.paymentMethod;\n this.paymentMethodExcess = params.paymentMethodExcess;\n return this;\n }\n\n setUsernameAlreadyExists(payload) {\n this.usernameAlreadyExists = payload;\n return this;\n }\n}\nexport { AccountDetails as default };\n","class VerificationReceiver {\n constructor(params) {\n this.username = params.Username ? params.Username : params.username;\n this.phoneNumber = params.PhoneNumber ? params.PhoneNumber : params.phoneNumber;\n this.emailAddress = params.EmailAddress ? params.EmailAddress : params.emailAddress;\n this.phoneNumberIsUnknown = params.PhoneNumberIsUnknown ? params.PhoneNumberIsUnknown : params.phoneNumberIsUnknown;\n this.emailAddressIsUnknown = params.EmailAddressIsUnknown\n ? params.EmailAddressIsUnknown\n : params.emailAddressIsUnknown;\n this.isVerificationCodeNeeded = params.IsVerificationCodeNeeded\n ? params.IsVerificationCodeNeeded\n : params.isVerificationCodeNeeded;\n this.sendDate = params.SendDate ? params.SendDate : params.sendDate;\n this.customerNumber = params.CustomerNumber ? params.CustomerNumber : params.customerNumber;\n }\n}\nexport { VerificationReceiver as default };\n","import { axiosInstance } from 'boot/axios';\nimport { Cookies } from 'quasar';\nimport Notify from 'src/constants/notify';\nimport { dataModificationRedirect } from 'src/utils/helpers.js';\nimport i18n from 'src/i18n/index.js';\n\nimport Permissions from 'src/models/permissions.js';\nimport User from 'src/models/user.js';\nimport AccountDetails from 'src/models/accountDetails.js';\nimport VerificationReceiver from 'src/models/verificationReceiver.js';\nimport { parseJwt, convertToUtcDateFromString } from 'src/utils/helpers';\n\nconst idinCookieName = 'idin-session-cookie';\n\nfunction getLoginErrorMessage(errorData) {\n if (errorData) {\n if (\n errorData.startsWith('Incorrect username/password combination.') ||\n errorData.startsWith('Account not activated')\n )\n return i18n.global.t('login.notification.form-invalid');\n }\n return 'login.notification.default';\n}\n\nexport function login({ commit, getters }, data) {\n const router = this.$router;\n const p = new Promise(function (resolve, reject) {\n return axiosInstance\n .post('/account/login', data.body)\n .then((response) => {\n commit('setHasPhoneNumber', !getters.verificationReceiver.phoneNumberIsUnknown);\n commit('setIsVerificationCodeNeeded', getters.verificationReceiver.isVerificationCodeNeeded);\n commit('setRememberMe', response.rememberMe);\n commit('setFromPage', 'login');\n\n if (!getters.isVerificationCodeNeeded || getters.hasPhoneNumber) {\n router.push({\n name: 'verify',\n });\n }\n resolve();\n })\n .catch((error) => {\n if (error.response.data.startsWith('Account not activated')) {\n router.push({ name: 'register' });\n }\n Notify.create(\n {\n type: 'negative',\n message: getLoginErrorMessage(error.response.data),\n },\n error.response,\n );\n\n reject(error);\n });\n });\n\n return p;\n}\n\nexport function verify({ dispatch, getters }, data) {\n let p;\n\n if (getters.comesFromLoginPage) {\n p = dispatch('verifyLogin', data);\n } else if (getters.comesFromForgotPage) {\n p = dispatch('verifyForgot', data);\n }\n\n return p;\n}\n\nexport function resend({ commit }) {\n return axiosInstance.post('Account/ResendVerificationCode').then((response) => {\n commit('setVerificationReceiver', response.data);\n });\n}\n\nexport function getAccountDetails({ commit }) {\n return axiosInstance.post('Account/GetAccountDetails').then((response) => {\n commit('setAccountDetails', new AccountDetails(response.data));\n });\n}\n\nexport function resetUsername({ commit }, payload) {\n const utcDate = convertToUtcDateFromString(payload.birthDate, 'yyyy/mm/dd');\n return axiosInstance\n .post('Account/ResetUsername', {\n policyNumber: payload.policyNumber,\n birthDate: utcDate,\n })\n .then(\n () => {\n commit('setFromPage', 'forgot');\n commit('setFlowType', 'username');\n\n this.$router.push({\n name: 'verify',\n });\n },\n (error) => {\n if (error.data.startsWith('Account not activated')) this.$router.push({ name: 'register' });\n resetFlowErrorHandler(commit, error);\n },\n );\n}\n\nexport function resetPassword({ commit }, payload) {\n const utcDate = convertToUtcDateFromString(payload.birthDate, 'yyyy/mm/dd');\n return axiosInstance\n .post('Account/ResetPassword', {\n username: payload.username,\n birthDate: utcDate,\n })\n .then(\n () => {\n commit('setFromPage', 'forgot');\n commit('setFlowType', 'password');\n\n this.$router.push({\n name: 'verify',\n });\n },\n (error) => {\n if (error.data.startsWith('Account not activated')) this.$router.push({ name: 'register' });\n resetFlowErrorHandler(commit, error);\n },\n );\n}\n\nfunction resetFlowErrorHandler(commit, error) {\n if (error.data.startsWith('Account does not have:')) {\n commit('setHasPhoneNumber', !error.data.includes('PhoneNumber'));\n commit('setHasEmailAddress', !error.data.includes('EmailAddress'));\n } else {\n let message = i18n.global.t('forgot.notification.account-not-found');\n if (error.data.startsWith('Account not found with Username'))\n message = i18n.global.t('forgot.notification.unknown-username');\n if (error.data.startsWith('Account not activated'))\n message = i18n.global.t('forgot.notification.account-not-activated');\n\n Notify.create(\n {\n color: 'negative',\n message: message,\n },\n error,\n );\n }\n}\n\nexport function getVerification({ commit }, loginToken) {\n const parsedResponse = parseJwt(loginToken);\n const receiver = JSON.parse(parsedResponse.VerificationReceiver);\n commit('setVerificationReceiver', new VerificationReceiver(receiver));\n}\n\nexport function updatePassword(_, password) {\n const p = new Promise(function (resolve, reject) {\n return axiosInstance\n .post('Account/UpdatePassword', { Password: password })\n .then(() => {\n resolve();\n })\n .catch((error) => {\n reject(error);\n });\n });\n\n return p;\n}\n\nexport function verifyLogin({ commit }, data) {\n const router = this.$router;\n\n return new Promise(function (resolve, reject) {\n return axiosInstance\n .post('/account/validateVerificationCode', { verificationCode: data })\n .then(() => {\n commit('news/clearNewsTexts', '', { root: true });\n\n router.push('/');\n resolve();\n })\n\n .catch((error) => {\n Notify.create(\n {\n type: 'negative',\n message: i18n.global.t('verify.wrong-code'),\n },\n error.response,\n );\n reject(error);\n });\n });\n}\n\nexport function verifyForgot({ commit, state }, data) {\n return new Promise(function (resolve, reject) {\n return axiosInstance\n .post('/account/validateVerificationCodeResetFlow', {\n verificationCode: data,\n resetType: state.flowType,\n })\n .then((response) => {\n commit('setEmail', response.data);\n resolve();\n })\n\n .catch((error) => {\n Notify.create(\n {\n type: 'negative',\n message: i18n.global.t('verify.wrong-code'),\n },\n error.response,\n );\n\n reject(error);\n });\n });\n}\n\nexport function parseTokenSetUser({ commit }, token) {\n const parsedResponse = parseJwt(token);\n\n const permissions = new Permissions(parsedResponse['aevitae/permissions']);\n const user = new User(JSON.parse(parsedResponse['http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata']));\n\n commit('user/setPermissions', permissions, { root: true });\n commit('user/setUser', user, { root: true });\n}\n\nexport function setToken(_, data) {\n axiosInstance.defaults.headers.common.Authorization = 'Bearer ' + data.token;\n\n const parsedToken = parseJwt(data.token);\n const issuedAtTime = parsedToken.iat;\n const expirationTime = parsedToken.exp;\n const timeDifference = expirationTime - issuedAtTime;\n\n const localExpirationTime = new Date().getTime() + timeDifference * 1000;\n\n // Adding the local expiration with the current local time and token expiration time\n // We use this value for calculating if token is expired. We need to check with local time because local time can differ from server time\n Cookies.set('authorization_token_local_expiration_time', localExpirationTime, {\n path: '/',\n expires: timeDifference + 's',\n });\n\n if (data.rememberMe) {\n Cookies.set('authorization_token', data.token, {\n expires: 365,\n path: '/',\n });\n } else {\n Cookies.set('authorization_token', data.token, {\n path: '/',\n expires: timeDifference + 's',\n });\n }\n}\n\nexport async function fetchUser({ dispatch }) {\n var token = Cookies.get('authorization_token');\n\n if (token) {\n dispatch('parseTokenSetUser', token);\n axiosInstance.defaults.headers.common.Authorization = 'Bearer ' + token;\n }\n}\n\nexport async function clearStorage() {\n sessionStorage.clear();\n localStorage.removeItem('pdfjs.history');\n localStorage.removeItem('pdfjs.preferences');\n caches.keys().then((names) => {\n for (const name of names) {\n caches.delete(name);\n }\n });\n}\n\nexport function logout({ dispatch, commit }) {\n dispatch('clearStorage');\n commit('setIsLoggingOff', true);\n commit('user/clearUser', null, { root: true });\n Cookies.remove('authorization_token_local_expiration_time', {\n path: '/',\n });\n\n Cookies.remove('authorization_token', {\n path: '/',\n });\n\n location.reload();\n}\n\nexport function getIdinSession(_, payload) {\n const { isRegister, bankIssuer } = payload;\n\n return axiosInstance\n .post('Idin/create-session', {\n iDINFlow: isRegister ? 0 : 1,\n bankIssuer: bankIssuer,\n clientBaseUrl: window.location.origin,\n })\n .then((x) => {\n Cookies.set(idinCookieName, x.data.clientCode, {\n expires: x.data.sessionLifetime + 's',\n sameSite: 'Strict',\n secure: true,\n });\n\n return x;\n });\n}\n\nexport function verifyIdin({ dispatch }, payload) {\n const { Code, State, Error, ErrorDescription, callbackUrl } = payload;\n let redirectionPage = 'home';\n\n return axiosInstance\n .get('Idin', {\n params: {\n code: Code,\n state: State,\n error: Error ?? '',\n error_description: ErrorDescription ?? '',\n callbackUrl: callbackUrl,\n },\n })\n .catch((error) => {\n dispatch('catchIdinError', {\n error: error.response,\n state: State,\n });\n redirectionPage = error.response.data.startsWith('Account not found for iDinIdentifier')\n ? 'idin-register'\n : 'login';\n })\n .finally(() => {\n const useReplace = true;\n dataModificationRedirect(redirectionPage, this.$router, useReplace);\n });\n}\n\nexport function IdinAuthenticate({ dispatch }, payload) {\n const { sessionId } = payload;\n let redirectionPage = 'home';\n\n let cookieResult = Cookies.get(idinCookieName);\n Cookies.remove(idinCookieName);\n\n return axiosInstance\n .post('Idin/process-authentication', { sessionId: sessionId, clientCode: cookieResult })\n .catch((error) => {\n dispatch('catchIdinError', {\n error: error.response,\n });\n redirectionPage = error.response.data.startsWith('Account not found for iDinIdentifier')\n ? 'idin-register'\n : 'login';\n })\n .finally(() => {\n const useReplace = true;\n dataModificationRedirect(redirectionPage, this.$router, useReplace);\n });\n}\n\nexport function IdinIdentificate({ dispatch }, payload) {\n const { sessionId } = payload;\n let redirectionPage = 'home';\n\n let cookieResult = Cookies.get(idinCookieName);\n Cookies.remove(idinCookieName);\n\n return axiosInstance\n .post('Idin/process-identification', { sessionId: sessionId, clientCode: cookieResult })\n .catch((error) => {\n dispatch('catchIdinError', {\n error: error.response,\n });\n redirectionPage = 'idin-register';\n })\n .finally(() => {\n const useReplace = true;\n dataModificationRedirect(redirectionPage, this.$router, useReplace);\n });\n}\n\nexport function IdinLogError(_, payload) {\n const { sessionId } = payload;\n\n return axiosInstance.post('Idin/process-error', { sessionId: sessionId }).finally(() => {\n const useReplace = true;\n dataModificationRedirect('home', this.$router, useReplace);\n });\n}\n\nexport function catchIdinError({ commit }, payload) {\n if (payload.error.status === 400) {\n commit('setHasIdinFailed', true);\n const errorType = isolateIdinErrorType(payload.error.data);\n\n switch (errorType) {\n case 'Expired':\n commit(\n 'setIdinFailureMessage',\n i18n.global.t('idin-login.failure-popup.expired', {\n action: i18n.global.t(`idin-login.failure-popup.${payload.state}`),\n }),\n );\n break;\n case 'Cancelled':\n commit(\n 'setIdinFailureMessage',\n i18n.global.t('idin-login.failure-popup.cancelled', {\n action: i18n.global.t(`idin-login.failure-popup.${payload.state}`),\n }),\n );\n break;\n case 'RegisterAccountNotFound':\n commit('setIdinFailureMessage', i18n.global.t('idin-login.failure-popup.register-account-not-found'));\n break;\n case 'IdinLoginNotActive':\n commit('setIdinFailureMessage', i18n.global.t('idin-login.failure-popup.should-activate'));\n break;\n default:\n commit('setIdinFailureMessage', i18n.global.t('idin-login.failure-popup.failure'));\n }\n }\n}\n\nfunction isolateIdinErrorType(errorString) {\n if (errorString === 'Account not found for iDin register') return 'RegisterAccountNotFound';\n if (errorString.startsWith('Account not found for iDinIdentifier')) return 'IdinLoginNotActive';\n return errorString.includes('usercancel:') ? errorString.split('usercancel:')[1].slice(0, -2) : 'failed';\n}\n\nexport function updatePhoneNumber({ commit, getters }, payload) {\n return axiosInstance.post('Account/updatePhoneNumber', { phoneNumber: payload }).then(() => {\n commit('setHasPhoneNumber', !getters.verificationReceiver.phoneNumberIsUnknown);\n\n this.$router.push({\n name: 'verify',\n });\n });\n}\n\nexport function signTermsOfAgreement() {\n return axiosInstance.post('Account/SignTermsOfAgreement');\n}\n\nexport function updateAccountDetails({ commit }, payload) {\n return axiosInstance\n .post('account/UpdateAccountDetails', payload)\n .then((response) => {\n if (response.data.usernameExists) {\n commit('setUsernameAlreadyExists', true);\n } else if (!response.data.usernameExists) {\n commit('setUsernameAlreadyExists', false);\n Notify.create({\n progress: true,\n icon: 'done',\n color: 'positive',\n message: i18n.global.t('edit-personal-info.valid'),\n });\n dataModificationRedirect('settings', this.$router);\n }\n })\n .catch((error) => {\n Notify.create(\n {\n color: 'negative',\n message: i18n.global.t('edit-personal-info.error-saving'),\n },\n error.response,\n );\n });\n}\n\nexport function updateContactDetails(_, payload) {\n return axiosInstance\n .post('account/UpdateContactDetails', payload)\n .then(() => {\n Notify.create({\n progress: true,\n icon: 'done',\n color: 'positive',\n message: i18n.global.t('edit-personal-info.valid'),\n });\n dataModificationRedirect('settings', this.$router);\n })\n .catch((error) => {\n Notify.create(\n {\n color: 'negative',\n message: i18n.global.t('edit-personal-info.error-saving'),\n },\n error.response,\n );\n });\n}\n\nexport function updateDigitalPopUp(_, payload) {\n return axiosInstance.post('account/UpdateContactDetails', payload);\n}\n\nexport function setUsernameAlreadyExists({ commit }, payload) {\n commit('setUsernameAlreadyExists', payload);\n}\n\nexport function setHasIdinFailed({ commit }, payload) {\n commit('setHasIdinFailed', payload);\n}\n\nexport function clearHasIdinFailed({ commit }) {\n commit('clearHasIdinFailed');\n}\nexport function clearHasPhoneNumber({ commit }) {\n commit('clearHasPhoneNumber');\n}\nexport function clearHasEmailAddress({ commit }) {\n commit('clearHasEmailAddress');\n}\nexport function setIsLoggingOff({ commit }, payload) {\n commit('setIsLoggingOff', payload);\n}\n\nexport function getEmailAddress({ commit }) {\n return axiosInstance.get('account/getEmailAddress').then((response) => {\n commit('user/updateEmailAddress', response.data, { root: true });\n });\n}\n\nexport function getIdinBankOptions({ commit }) {\n return axiosInstance.get('idin/IdinBankOptions').then((response) => {\n commit('setIdinBankOptions', response.data);\n });\n}\n\nexport function getBankOptions({ commit }) {\n return axiosInstance.get('idin/bank-options').then((response) => {\n commit('setBankOptions', response.data);\n });\n}\n\nexport function declineDigitalPopup() {\n return axiosInstance.post('account/decline-digital-pop-up');\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state,\n};\n","export default function () {\n return {\n receivedPhoneNumber: undefined,\n sendDate: undefined,\n hasSuccessfullyCreatedAccount: undefined,\n customerNumber: undefined,\n };\n}\n","export const receivedPhoneNumber = (state) => state.receivedPhoneNumber;\n\nexport const sendDate = (state) => state.sendDate;\n\nexport const hasSuccessfullyCreatedAccount = (state) => state.hasSuccessfullyCreatedAccount;\n\nexport const customerNumber = (state) => state.customerNumber;\n","export function setReceivedPhoneNumber(state, payload) {\n state.receivedPhoneNumber = payload;\n}\n\nexport function clearReceivedPhoneNumber(state) {\n state.receivedPhoneNumber = '';\n}\n\nexport function setSendDate(state, payload) {\n state.sendDate = payload;\n}\n\nexport function clearSendDate(state) {\n state.sendDate = '';\n}\n\nexport function setHasSuccessfullyCreatedAccount(state, payload) {\n state.hasSuccessfullyCreatedAccount = payload;\n}\n\nexport function setCustomerNumber(state, payload) {\n state.customerNumber = payload;\n}\n\nexport function clearCustomerNumber(state) {\n state.customerNumber = undefined;\n}\n","import { axiosInstance } from 'src/boot/axios';\nimport Notify from 'src/constants/notify';\nimport i18n from 'src/i18n/index.js';\n\nexport function isValid({ commit }, payload) {\n const router = this.$router;\n const p = new Promise(function (resolve, reject) {\n return axiosInstance\n .post('CreateAccount/IsValid', {\n username: payload.username,\n birthDate: payload.birthDate,\n agreementId: payload.agreementId,\n })\n .then((response) => {\n commit('setCustomerNumber', response.data);\n resolve();\n })\n .catch((error) => {\n let message;\n if (error.response.data.startsWith('Incorrect combination'))\n message = i18n.global.t('register.notification.unknown-data');\n else if (error.response.data.startsWith('Account not found'))\n message = i18n.global.t('register.notification.unknown-username');\n else if (error.response.data.startsWith('Account already exists')) {\n message = i18n.global.t('register.notification.account-registered');\n router.push({ name: 'login' });\n }\n\n if (message) {\n Notify.create(\n {\n type: 'negative',\n message: message,\n },\n error.response,\n );\n }\n\n reject(error);\n });\n });\n\n return p;\n}\n\nexport function sendActivationCode({ state }, email) {\n return axiosInstance.post('CreateAccount/SendActivationCode', {\n email: email,\n customerNumber: state.customerNumber,\n });\n}\n\nexport function validateActivationCode(_, payload) {\n const p = new Promise(function (resolve, reject) {\n return axiosInstance\n .post('CreateAccount/ValidateActivationCode', {\n email: payload.email,\n code: payload.code,\n })\n .then(() => {\n resolve();\n })\n .catch((error) => {\n Notify.create(\n {\n type: 'negative',\n message: i18n.global.t('register.notification.wrong-activation-code'),\n },\n error.response,\n );\n reject();\n });\n });\n\n return p;\n}\n\nexport function sendVerificationCode({ commit }, payload) {\n return axiosInstance.post('CreateAccount/SendVerificationCode', payload).then((response) => {\n commit('setReceivedPhoneNumber', response.data.phoneNumber);\n commit('setSendDate', response.data.sendDate);\n });\n}\n\nexport function createAccount({ commit }, payload) {\n return axiosInstance\n .post('CreateAccount', payload)\n .then(() => {\n commit('setHasSuccessfullyCreatedAccount', true);\n this.$router.push({ name: 'login' });\n })\n .catch((error) => {\n if (error.response.data === 'Verificationcode was invalid') {\n Notify.create(\n {\n type: 'negative',\n message: i18n.global.t('verify.wrong-code'),\n },\n error.response,\n );\n }\n });\n}\n\nexport function setHasSuccessfullyCreatedAccount({ commit }, payload) {\n commit('setHasSuccessfullyCreatedAccount', payload);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n newsTexts: [],\n };\n}\n","export const newsTexts = (state) => state.newsTexts;\nexport const isNewsTextActive = (state) => state.newsTexts.length > 0;\n","export function setNewsTexts(state, payload) {\n state.newsTexts = payload;\n}\n\nexport function clearNewsTexts(state) {\n state.newsTexts = [];\n}\n","class NewsText {\n constructor(params) {\n this.id = params.id;\n this.text = params.text;\n this.url = params.url;\n this.link = params.hyperlinkSubstring;\n this.startDate = params.startDate;\n this.endDate = params.endDate;\n this.language = params.language;\n return this;\n }\n}\nexport { NewsText as default };\n","import { axiosInstance } from 'boot/axios';\nimport NewsText from 'src/models/newsText.js';\n\nexport function getNewsTexts({ commit }) {\n return axiosInstance.get('News').then((response) => {\n commit(\n 'setNewsTexts',\n response.data.map((newsText) => new NewsText(newsText)),\n );\n });\n}\n\nexport function getNewsTextsBeforeAuthorization({ commit }) {\n return axiosInstance.get('News/BeforeAuthorization').then((response) => {\n commit(\n 'setNewsTexts',\n response.data.map((newsText) => new NewsText(newsText)),\n );\n });\n}\n\nexport function removeNewsTextById({ getters, commit }, id) {\n commit(\n 'setNewsTexts',\n getters.newsTexts.filter((item) => item.id !== id),\n );\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state,\n};\n","export default function () {\n return {\n activePolicyNumbers: undefined,\n excessTotal: undefined,\n excessRemaining: undefined,\n loadingPolicies: [],\n };\n}\n","export const activePolicyNumbers = (state) => state.activePolicyNumbers;\n\nexport const excessTotal = (state) => state.excessTotal;\n\nexport const excessRemaining = (state) => state.excessRemaining;\nexport const loadingPolicies = (state) => state.loadingPolicies;\n","export function setActivePolicyNumbers(state, payload) {\n state.activePolicyNumbers = payload;\n}\n\nexport function clearActivePolicyNumbers(state) {\n state.activePolicyNumbers = undefined;\n}\n\nexport function setExcessTotal(state, payload) {\n state.excessTotal = payload;\n}\n\nexport function clearExcessTotal(state) {\n state.excessTotal = undefined;\n}\n\nexport function setExcessRemaining(state, payload) {\n state.excessRemaining = payload;\n}\n\nexport function clearExcessRemaining(state) {\n state.excessRemaining = undefined;\n}\n\nexport function clearPolicyMutations(state) {\n state.activePolicyNumbers = undefined;\n state.excessTotal = undefined;\n state.excessRemaining = undefined;\n}\nexport function addLoadingPolicy(state, payload) {\n state.loadingPolicies.push(payload);\n}\nexport function removeLoadingPolicy(state, payload) {\n state.loadingPolicies = state.loadingPolicies.filter((policy) => policy !== payload);\n}\n","import { axiosInstance } from 'boot/axios';\nimport isEmpty from 'lodash/isEmpty';\n\nexport function getActivePolicyNumbers({ commit }, payload) {\n var query = 'Policy/GetActivePolicyNumber';\n if (payload) {\n const customerNumber = payload?.customerNumber;\n if (customerNumber) query = query.concat(`?customerNumber=${customerNumber}`);\n }\n return axiosInstance.get(query).then((response) => {\n commit('setActivePolicyNumbers', response.data);\n });\n}\n\nexport function getExcess({ commit }, payload) {\n var query = 'Policy/GetExcess';\n if (payload) {\n const customerNumber = payload?.customerNumber;\n const year = payload?.year;\n if (customerNumber && year) query = query.concat(`?customerNumber=${customerNumber}&year=${year}`);\n }\n return axiosInstance.get(query).then((response) => {\n commit('setExcessTotal', response.data.amountTotal);\n commit('setExcessRemaining', response.data.amountRemaining);\n });\n}\n\nexport function getPolicyInfoForYear({ commit }, payload) {\n const policyNumber = payload.policyNumber;\n const customerNumber = payload.customerNumber;\n const year = payload.year;\n\n commit('addLoadingPolicy', policyNumber);\n\n axiosInstance\n .get(`/Policy/GetPolicyInfoForYear?customerNumber=${customerNumber}&year=${year}&policyNumber=${policyNumber}`)\n\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'agreement/addPolicyToAgreementDetails',\n {\n policyNumber: policyNumber,\n policy: response.data,\n },\n {\n root: true,\n },\n );\n commit('removeLoadingPolicy', policyNumber);\n }\n });\n}\n\nexport function getFinancialSummary({ commit }, payload) {\n const customerNumber = payload.customerNumber;\n const year = payload.year;\n\n axiosInstance\n .get(`/Policy/GetFinancialSummary?customerNumber=${customerNumber}&year=${year}`)\n\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'customer/addFinancialSummaryToCustomer',\n {\n customerNumber: customerNumber,\n financialSummary: response.data,\n },\n {\n root: true,\n },\n );\n }\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state,\n};\n","export default function () {\n return {\n messages: [],\n isLoadingMessages: false,\n\n genericDocuments: [],\n isLoadingGenericDocuments: false,\n\n unreadDocuments: undefined,\n unreadDocumentsLast6Months: undefined,\n hasUnreadDocumentsLast6Months: false,\n };\n}\n","export const messages = (state) => state.messages;\nexport const isLoadingMessages = (state) => state.isLoadingMessages;\n\nexport const genericDocuments = (state) => state.genericDocuments;\nexport const isLoadingGenericDocuments = (state) => state.isLoadingGenericDocuments;\n\nexport const unreadDocuments = (state) => state.unreadDocuments;\nexport const unreadDocumentsLast6Months = (state) => state.unreadDocumentsLast6Months;\nexport const hasUnreadDocumentsLast6Months = (state) => state.hasUnreadDocumentsLast6Months;\n","import { addMonths } from 'date-fns';\n\nexport function setMessages(state, payload) {\n state.messages = payload;\n}\n\nexport function clearMessages(state) {\n state.messages = undefined;\n}\n\nexport function setGenericDocuments(state, payload) {\n state.genericDocuments = payload;\n}\n\nexport function clearGenericDocuments(state) {\n state.genericDocuments = [];\n}\n\nexport function setMessageToRead(state, payload) {\n state.messages.forEach((message) => {\n if (message.documentID === payload && message.hasBeenRead === false) {\n message.hasBeenRead = true;\n state.unreadDocuments--;\n\n if (message.publicationDate >= addMonths(new Date(), -6)) {\n state.unreadDocumentsLast6Months--;\n }\n }\n });\n}\n\nexport function setIsLoadingMessages(state, payload) {\n state.isLoadingMessages = payload;\n}\n\nexport function clearIsLoadingMessages(state) {\n state.isLoadingMessages = false;\n}\n\nexport function setIsLoadingGenericDocuments(state, payload) {\n state.isLoadingGenericDocuments = payload;\n}\n\nexport function clearIsLoadingGenericDocuments(state) {\n state.isLoadingGenericDocuments = false;\n}\n\nexport function setUnreadDocuments(state, payload) {\n state.unreadDocuments = payload;\n}\n\nexport function clearUnreadDocuments(state) {\n state.unreadDocuments = undefined;\n state.unreadDocumentsLast6Months = undefined;\n}\n\nexport function setUnreadDocumentsLast6Months(state, payload) {\n state.unreadDocumentsLast6Months = payload;\n state.hasUnreadDocumentsLast6Months = state.hasUnreadDocumentsLast6Months || payload > 0;\n}\n","class Gender {\n constructor(Gender) {\n this.Gender = Gender;\n }\n\n isMale() {\n return this.Gender === 'M';\n }\n\n isFemale() {\n return this.Gender === 'F';\n }\n}\nexport { Gender as default };\n","import i18n from 'src/i18n/index.js';\nimport Gender from 'src/models/gender.js';\n\nclass Message {\n constructor(data) {\n if (!data) return undefined;\n\n this.createdAt = data.createdAt;\n\n this.customerInitials = data.customerInitials;\n this.customerLastName = data.customerLastName;\n this.customerBirthDate = data.customerBirthDate;\n this.customerNumber = parseInt(data.customerNumber);\n this.customerGender = new Gender(data.customerGender);\n this.fullName = `${this.customerInitials} ${this.customerLastName}`;\n this.fullNameWithSalutation = `${i18n.global.t(`gender.salutation-${data.customerGender.toLowerCase()}`)}\n ${this.customerInitials} ${this.customerLastName}`;\n this.fullNameWithShortHandSalutation = `${i18n.global.t(`gender.short-hand-salutation-${data.customerGender.toLowerCase()}`)}\n ${this.customerInitials} ${this.customerLastName}`;\n\n this.docType = data.docType;\n this.docTypeID = data.docTypeID;\n\n this.documentCluster = data.documentCluster;\n this.documentID = data.documentID;\n this.documentName = data.documentName;\n this.extension = data.extension;\n this.hasBeenRead = data.hasBeenRead;\n this.label = data.label;\n this.name = data.name;\n this.nameObject = this.getNameObject(data.name);\n this.policyNumber = data.policyNumber;\n this.productType = data.productType;\n this.publicationDate = data.publicationDate;\n\n this.contractCode = data.contractCode;\n this.guidName = data.guidName;\n\n return this;\n }\n\n getNameObject(name) {\n const prefixes = [\n 'Cover overview',\n 'Coverage overview',\n 'Coverage Overview',\n 'Dekkingoverzicht',\n 'Dekkingsoverzicht',\n 'Policy conditions',\n 'Polisvoorwaarden',\n 'Terms and conditions',\n 'Vergoedingenoverzicht',\n 'Voorwaarden',\n ];\n let prefix = '';\n let packet = '';\n\n prefixes.forEach((p) => {\n if (name.includes(p)) {\n prefix = p;\n packet = name.replace(p, '').replace('.pdf', '').trim();\n }\n });\n\n return {\n prefix: prefix,\n packet: packet,\n };\n }\n}\nexport { Message as default };\n","import { axiosInstance } from 'boot/axios';\nimport Message from 'src/models/message.js';\nimport { addMonths } from 'date-fns';\nimport { formatDate } from 'src/utils/format';\n\nexport function getMessages({ commit }) {\n commit('setIsLoadingMessages', true);\n return axiosInstance\n .get('Document/GetDocumentList')\n .then((response) => {\n commit(\n 'setMessages',\n response.data.map((message) => new Message(message)),\n );\n })\n .finally(() => commit('clearIsLoadingMessages'));\n}\n\nexport function getGenericDocuments({ commit }, payload) {\n commit('setIsLoadingGenericDocuments', true);\n return axiosInstance\n .get(`Document/GetGenericDocumentList?year=${payload}`)\n .then((response) => {\n if (response.status === 204) {\n commit('clearGenericDocuments');\n } else {\n commit(\n 'setGenericDocuments',\n response.data.map((message) => new Message(message)),\n );\n }\n })\n .finally(() => commit('clearIsLoadingGenericDocuments'));\n}\n\nexport function getUnreadDocumentCount({ commit }) {\n return axiosInstance.get('Document/GetUnreadDocumentCount').then((response) => {\n commit('setUnreadDocuments', response.data);\n });\n}\n\nexport function getUnreadDocumentLast6MonthsCount({ commit }) {\n const sixMonthsAgo = formatDate(addMonths(new Date(), -6), 'yyyy-MM-dd');\n\n return axiosInstance.get(`Document/GetUnreadDocumentCount?dateOnly=${sixMonthsAgo}`).then((response) => {\n commit('setUnreadDocumentsLast6Months', response.data);\n });\n}\n\nexport function setMessageToRead({ commit }, payload) {\n commit('setMessageToRead', payload);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state,\n};\n","export default function () {\n return {\n config: {\n APP: {\n RELEASE_TAG: process.env.RELEASE_TAG,\n },\n CACHCONTROLGUID: '',\n IDIN: {\n REDIRECT_URI: '',\n BASE_URL: '',\n CLIENT_ID: '',\n },\n API: {\n BASE_URL: '',\n CONTENT_BASE_URL: '',\n },\n DEFAULT_GTM_CODE: '',\n DEFAULT_GA_CODE: '',\n COLLECTIVITY_INFORMATION: [],\n ENFORCE_HTTPS: false,\n ENVIRONMENT: '',\n FRONT_END_URL: '',\n APPLICATION_INSIGHTS: {\n INSTRUMENTATION_KEY: '',\n CONNECTION_STRING: '',\n },\n },\n };\n}\n","export const config = (state) => state.config;\n\nexport const currentCollectivity = (state) => {\n const existingCollectivities = state.config.COLLECTIVITY_INFORMATION;\n return existingCollectivities.find((x) => window.location.origin.includes(x.urlPart));\n};\n","export function setConfig(state, payload) {\n state.config.API.BASE_URL = payload.Api.BaseUrl;\n state.config.API.CONTENT_BASE_URL = payload.Api.ContentBaseUrl;\n\n state.config.CACHCONTROLGUID = payload.CachControlGuid;\n\n state.config.DEFAULT_GTM_CODE = payload.DefaultGTMCode;\n state.config.DEFAULT_GA_CODE = payload.DefaultGACode;\n\n state.config.IDIN.REDIRECT_URI = payload.Idin.RedirectUri;\n state.config.IDIN.BASE_URL = payload.Idin.BaseUrl;\n state.config.IDIN.CLIENT_ID = payload.Idin.ClientId;\n state.config.IDIN.NEW_FLOW = payload.Idin.NewFlow;\n state.config.COLLECTIVITY_INFORMATION = payload.CollectivityInformation;\n state.config.ENFORCE_HTTPS = payload.EnforceHTTPS;\n state.config.ENVIRONMENT = payload.Environment;\n state.config.FRONT_END_URL = payload.FrontEndUrl;\n state.config.APPLICATION_INSIGHTS.INSTRUMENTATION_KEY = payload.ApplicationInsights.InstrumentationKey;\n state.config.APPLICATION_INSIGHTS.CONNECTION_STRING = payload.ApplicationInsights.ConnectionString;\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n};\n","export default function () {\n return {\n collectivity: undefined,\n };\n}\n","import { isWithinInterval } from 'date-fns';\n\nexport const openingHoursOfWeek = (state) => (state.collectivity ? state.collectivity.openingHoursOfWeek : false);\nexport const openingHoursToday = (state, getters) => {\n return getters.openingHoursOfWeek\n ? getters.openingHoursOfWeek.filter((openingsHoursOfDay) => openingsHoursOfDay.dayOfWeek === new Date().getDay())[0]\n : false;\n};\nexport const isContactCenterOpen = (state, getters) => {\n return getters.openingHoursToday && getters.openingHoursToday.startTime\n ? isWithinInterval(new Date(), {\n start: new Date(new Date().toISOString().split('T')[0] + 'T' + getters.openingHoursToday.startTime + ':00'),\n end: new Date(new Date().toISOString().split('T')[0] + 'T' + getters.openingHoursToday.endTime + ':00'),\n })\n : false;\n};\n\nexport const phoneNumber = (state) => (state.collectivity ? state.collectivity.phoneNumber : undefined);\nexport const isDefaultHours = (state) => (state.collectivity ? state.collectivity.isDefaultHours : true);\nexport const nextAvailableDate = (state) =>\n state.collectivity ? state.collectivity.nextAvailableDate.availableDate : false;\nexport const nextAvailableDateStartTime = (state) =>\n state.collectivity ? state.collectivity.nextAvailableDate.openingHours.startTime : false;\n","class Collectivity {\n constructor(params) {\n this.phoneNumber = params.phoneNumber;\n this.isDefaultHours = params.isDefaultHours;\n this.openingHoursOfWeek = params.openingHoursOfWeek;\n this.nextAvailableDate = params.nextAvailableDate;\n return this;\n }\n}\nexport { Collectivity as default };\n","import Collectivity from 'src/models/collectivity.js';\n\nexport function setCollectivity(state, payload) {\n state.collectivity = new Collectivity(payload);\n}\n\nexport function clearCollectivity(state) {\n state.collectivity = undefined;\n}\n","import { axiosInstance } from 'boot/axios';\n\nexport function getCollectivity({ commit }) {\n return axiosInstance.get('Collectivity').then((response) => {\n if (response.status === 200) {\n commit('setCollectivity', response.data);\n }\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n downloadTypes: [],\n downloadErrors: [],\n isDownloadLoading: {\n LOAD_ALL: false,\n LOAD_TYPES: false,\n DOWNLOAD: false,\n },\n previewURL: undefined,\n };\n}\n","export const isDownloadLoading = (state) => Object.values(state.isDownloadLoading).some((isLoading) => isLoading);\n\nexport const previewURL = (state) => state.previewURL;\n","export function setIsLoading(state, payload) {\n state.isDownloadLoading[payload.type] = payload.value;\n}\n","import { axiosInstance, CancelToken } from 'boot/axios';\nimport Notify from 'src/constants/notify';\nimport i18n from 'src/i18n/index.js';\n\nexport function startDownload({ commit }, payload) {\n const cancel = [];\n\n const endpoint = payload.endpoint;\n const queryParams = payload.queryParams;\n\n commit('setIsLoading', {\n type: 'DOWNLOAD',\n value: true,\n });\n\n return axiosInstance\n .get(endpoint, {\n params: queryParams,\n responseType: 'arraybuffer',\n\n cancelToken: new CancelToken(function executor(c) {\n cancel.push(c);\n }),\n })\n .then((response) => {\n if (response.status === 204) {\n Notify.create(\n {\n type: 'negative',\n position: 'bottom-right',\n message: i18n.global.t('documents.download.failed', {\n error: 204,\n }),\n },\n response,\n );\n } else {\n return new Uint8Array(response.data);\n }\n })\n .catch((error) => {\n let message;\n\n if (error.response) {\n /*\n * The request was made and the server responded with a\n * status code that falls out of the range of 2xx\n */\n message = i18n.global.t('documents.download.failed', {\n error: error.response.status,\n });\n } else if (error.request) {\n /*\n * The request was made but no response was received, `error.request`\n * is an instance of XMLHttpRequest in the browser\n */\n message = i18n.global.t('documents.download.failed', {\n error: 'Request failed',\n });\n } else {\n // Something happened in setting up the request and triggered an Error\n message = i18n.global.t('documents.download.failed', {\n error: error.download,\n });\n }\n\n Notify.create(\n {\n type: 'negative',\n message: message,\n position: 'bottom-right',\n },\n error.response,\n );\n throw error;\n })\n .finally(() => {\n commit('setIsLoading', {\n type: 'DOWNLOAD',\n value: false,\n });\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n user: undefined,\n permissions: [],\n label: undefined,\n };\n}\n","import { differenceInYears } from 'date-fns';\n\nexport const user = (state) => state.user;\n\nexport const isLoggedIn = (state) => state.user !== undefined;\n\nexport const isMainInsured = (state) => state.user.role.isMainInsured();\nexport const isPartner = (state) => state.user.role.isPartnerInsured();\nexport const isCoCustomer = (state) => state.user.role.isCoInsured();\n\nexport const fullName = (state) => `${state.user.initials} ${state.user.fullLastName}`;\n\nexport const permissions = (state) => state.permissions;\n\nexport const label = (state) => state.label;\n\nexport const isYoungerThan18 = (state) => differenceInYears(new Date(), state.user.birthDate) < 18;\n","export function setUser(state, payload) {\n state.user = payload;\n}\n\nexport function updateEmailAddress(state, payload) {\n state.user = state.user.updateEmailAddress(payload);\n}\n\nexport function clearUser(state) {\n state.user = undefined;\n}\n\nexport function setShouldUserVerifyEmail(state, payload) {\n state.user.shouldVerifyEmailAddress = payload;\n}\n\nexport function setPermissions(state, payload) {\n state.permissions = payload;\n}\n\nexport function clearPermissions(state) {\n state.permissions = [];\n}\n\nexport function setLabel(state, payload) {\n state.label = payload;\n}\n\nexport function clearLabel(state) {\n state.label = undefined;\n}\n","import CollectivityLabel from 'src/models/collectivityLabel.js';\n\nexport function setLabel({ commit, rootGetters }) {\n const config = rootGetters['config/config'];\n\n const existingCollectivities = config.COLLECTIVITY_INFORMATION;\n const existingCollectivity = existingCollectivities.find((x) => window.location.origin.includes(x.urlPart));\n\n if (existingCollectivity?.redirectUrl) {\n window.location.href = existingCollectivity.redirectUrl;\n commit('setLabel', new CollectivityLabel('aev'));\n return;\n }\n\n if (existingCollectivity) commit('setLabel', new CollectivityLabel(existingCollectivity.label));\n else commit('setLabel', new CollectivityLabel('aev'));\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n faqs: undefined,\n };\n}\n","export function faqs(state) {\n return state.faqs;\n}\n","export function clearFaqs(state) {\n state.faqs = undefined;\n}\nexport function setFaqs(state, payload) {\n state.faqs = payload;\n}\n","export function setFaqs({ commit }, payload) {\n commit('setFaqs', payload);\n}\n\nexport function clearFaqs({ commit }) {\n commit('clearFaqs');\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n financialSummaryByYearCustomer: {},\n isLoadingFinancialSummary: false,\n };\n}\n","export const financialSummaryByYearCustomer = (state) => state.financialSummaryByYearCustomer;\nexport const getIsLoadingFinancialSummary = (state) => state.isLoadingFinancialSummary;\n","export function addFinancialSummary(state, payload) {\n state.financialSummaryByYearCustomer[`${payload.year}${payload.customerNumber}`] = payload.financialSummary;\n}\n\nexport function setIsLoadingFinancialSummary(state, payload) {\n state.isLoadingFinancialSummary = payload;\n}\n","import { axiosInstance } from 'boot/axios';\nimport isEmpty from 'lodash/isEmpty';\n\nexport function getFinancialSummary({ commit, state }, payload) {\n if (state.financialSummaryByYearCustomer[`${payload.year}${payload.customerNumber}`]) return;\n\n const customerNumber = payload.customerNumber;\n const year = payload.year;\n\n commit('setIsLoadingFinancialSummary', true);\n\n axiosInstance\n .get(`/Policy/GetFinancialSummary?customerNumber=${customerNumber}&year=${year}`)\n\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit('addFinancialSummary', {\n customerNumber: customerNumber,\n year: year,\n financialSummary: response.data,\n });\n }\n })\n .finally(() => {\n commit('setIsLoadingFinancialSummary', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n offerYear: undefined,\n agreements: undefined,\n isLoadingAgreements: false,\n hasLoadedEditPossible: false,\n agreementDetails: undefined,\n hasKnownIban: undefined,\n hasIbanPayedByInsured: undefined,\n notShowAnyMore: false,\n agreementDetailsForOfferYear: undefined,\n };\n}\n","export const offerYear = (state) => state.offerYear;\n\nexport const agreements = (state) => state.agreements;\nexport const agreementDetails = (state) => state.agreementDetails;\nexport const agreementDetailsForOfferYear = (state) => state.agreementDetailsForOfferYear;\n\nexport const isLoadingAgreements = (state) => state.isLoadingAgreements;\nexport const hasLoadedEditPossible = (state) => state.hasLoadedEditPossible;\nexport const hasKnownIban = (state) => state.hasKnownIban;\nexport const hasIbanPayedByInsured = (state) => state.hasIbanPayedByInsured;\nexport const notShowAnyMore = (state) => state.notShowAnyMore;\n","export function setOfferYear(state, payload) {\n state.offerYear = payload;\n}\n\nexport function setHasKnownIban(state, payload) {\n state.hasKnownIban = payload;\n}\n\nexport function setHasIbanPayedByInsured(state, payload) {\n state.hasIbanPayedByInsured = payload;\n}\n\nexport function clearOfferYear(state) {\n state.offerYear = undefined;\n}\n\nexport function setAgreements(state, payload) {\n state.agreements = payload;\n}\n\nexport function clearAgreementDetails(state) {\n state.agreementDetails = undefined;\n}\nexport function clearAgreements(state) {\n state.agreements = undefined;\n}\n\nexport function setIsLoadingAgreements(state, payload) {\n state.isLoadingAgreements = payload;\n}\n\nexport function setNotShowAnymore(state) {\n state.notShowAnyMore = true;\n}\nexport function setAgreementDetails(state, payload) {\n state.agreementDetails = payload;\n}\n\nexport function setAgreementDetailsForOfferYear(state, payload) {\n state.agreementDetailsForOfferYear = payload;\n}\n\nexport function addPolicyToAgreementDetails(state, payload) {\n if (state.agreementDetails) {\n state.agreementDetails.forEach((agreementDetail) => {\n agreementDetail.agreementParticipants.forEach((agreementParticipant) => {\n if (agreementParticipant.policyNumber === payload.policyNumber) {\n agreementParticipant.customer = agreementParticipant.customer.addPolicy(payload.policy);\n }\n });\n });\n }\n}\n\nexport function addPoliciesToAgreementDetails(state, payload) {\n if (state.agreementDetails) {\n state.agreementDetails.forEach((agreementDetail) => {\n const activeAgreementDetail = payload.find((x) => x.agreementId === agreementDetail.agreementId);\n agreementDetail.agreementParticipants.forEach((agreementParticipant) => {\n const policyDetail = activeAgreementDetail.policyDetails.find(\n (x) => x.policyNumber === agreementParticipant.policyNumber,\n );\n if (policyDetail) {\n agreementParticipant.customer = agreementParticipant.customer.addPolicy(policyDetail);\n }\n });\n });\n }\n}\n\nexport function addPoliciesToAgreementDetailsForOfferYear(state, payload) {\n if (state.agreementDetailsForOfferYear) {\n state.agreementDetailsForOfferYear.forEach((agreementDetail) => {\n const activeAgreementDetail = payload.find((x) => x.agreementId === agreementDetail.agreementId);\n agreementDetail.agreementParticipants.forEach((agreementParticipant) => {\n const policyDetail = activeAgreementDetail.policyDetails.find(\n (x) => x.policyNumber === agreementParticipant.policyNumber,\n );\n if (policyDetail) {\n agreementParticipant.customer = agreementParticipant.customer.addPolicy(policyDetail);\n }\n });\n });\n }\n}\n\nexport function setPaymentDetails(state, payload) {\n state.agreements.forEach((agreement) => {\n if (agreement.agreementId === payload.id) {\n if (!agreement.paymentDetails) {\n agreement = agreement.addPaymentDetails(payload.details);\n }\n }\n });\n}\n\nexport function updateMedicalSelectionForAgreementParticipant(state, payload) {\n state.agreementDetails.forEach((agreementDetail) => {\n if (agreementDetail.agreementId === payload.agreementId) {\n agreementDetail.agreementParticipants.forEach((participant) => {\n if (participant.customer.customerNumber === payload.customerNumber) {\n payload.medicalSelection.policyNumber = payload.policyNumber;\n participant.customer.medicalSelection = payload.medicalSelection;\n\n if (payload.medicalSelection.hasCongenitalDentalDefect?.key) {\n participant.customer.medicalSelection.hasCongenitalDentalDefect =\n payload.medicalSelection.hasCongenitalDentalDefect?.key === 'yes';\n participant.customer.medicalSelection.orthodonticsWithinTwoYears =\n payload.medicalSelection.orthodonticsWithinTwoYears?.key === 'yes';\n participant.customer.medicalSelection.dentistLastTwoYears =\n payload.medicalSelection.dentistLastTwoYears?.key === 'yes';\n participant.customer.medicalSelection.extracted4OrMoreTeeth =\n payload.medicalSelection.extracted4OrMoreTeeth?.key === 'yes';\n participant.customer.medicalSelection.expectsToHaveOneOfFollowingTreatments =\n payload.medicalSelection.expectsToHaveOneOfFollowingTreatments\n .filter((x) => x.key !== 0)\n .map((x) => x.key);\n participant.customer.medicalSelection.doesNotExpectTreatment =\n payload.medicalSelection.expectsToHaveOneOfFollowingTreatments?.filter((x) => x.key !== 0).length === 0;\n }\n }\n });\n }\n });\n}\n\nexport function updateEditPolicyDenialReasons(state, payload) {\n state.agreementDetails.forEach((agreementDetail) => {\n payload.contractMutabilities.forEach((contract) => {\n if (agreementDetail.contractCode === contract.contractCode) {\n agreementDetail = agreementDetail.updateEditPolicyDenialReason(\n payload.currentUser,\n contract.isMutable,\n payload.policyYear,\n );\n }\n });\n });\n}\n\nexport function setHasLoadedEditPossible(state, payload) {\n state.hasLoadedEditPossible = payload;\n}\n","import i18n from 'src/i18n/index.js';\n\nclass PaymentTerm {\n constructor(paymentTerm, discounts, isMutable) {\n this.paymentTerm = paymentTerm;\n this.isMonthly = paymentTerm === 1;\n this.isQuarterly = paymentTerm === 3;\n this.isHalfYearly = paymentTerm === 6;\n\n this.isYearly = paymentTerm === 12;\n this.translation = i18n.global.t(`paymentTerm.${paymentTerm}`);\n this.termDiscounts = discounts ? new PaymentTermDiscounts(discounts) : undefined;\n this.isMutable = isMutable;\n }\n\n getDiscount(termInMonths) {\n if (!this.termDiscounts) return undefined;\n if (termInMonths === 1) return this.termDiscounts.monthly;\n if (termInMonths === 3) return this.termDiscounts.quarterly;\n if (termInMonths === 6) return this.termDiscounts.halfYearly;\n if (termInMonths === 12) return this.termDiscounts.yearly;\n }\n}\n\nexport class PaymentTermDiscounts {\n constructor(discounts) {\n this.yearly = discounts.yearly;\n this.halfYearly = discounts.halfYearly;\n this.quarterly = discounts.quarterly;\n this.monthly = discounts.monthly;\n }\n}\n\nexport { PaymentTerm as default };\n","import i18n from 'src/i18n/index.js';\nimport { formatCurrency } from 'src/utils/format';\nimport PaymentTerm from 'src/models/paymentTerm.js';\n\nclass PaymentDetails {\n constructor(params) {\n this.excessLimit = params.excessLimit;\n\n this.ibanReceivedByInsured = params.ibanReceivedByInsured;\n this.hasIbanReceivedByInsured = !!params.ibanReceivedByInsured;\n\n this.ibanPayedByInsured = params.ibanPayedByInsured ? params.ibanPayedByInsured : '';\n this.ibanExcess = params.ibanExcess;\n\n this.paymentMethod = new PaymentMethod(params.paymentMethod, 'premium');\n this.paymentMethodExcess = new PaymentMethod(params.paymentMethodExcess, 'excess', this.excessLimit);\n this.paymentTerm = new PaymentTerm(params.paymentTerm, params.paymentTermDiscounts, params.paymentTermIsMutable);\n\n this.hasMandatoryDirectDebit = params.hasMandatoryDirectDebit;\n this.hasAgreementEnded = params.hasAgreementEnded;\n\n return this;\n }\n}\n\nexport class PaymentMethod {\n constructor(params, paymentType, excessLimit = 0) {\n this.method = params;\n this.isiDeal = params === 'iDeal';\n this.isDirectDebit = params === 'DirectDebit';\n this.isMail = params === 'Mail';\n this.isViaEmployer = params === 'BOR';\n this.isViaIntermediary = params === 'TPS';\n this.isPaidByCustomer = !this.isViaEmployer && !this.isViaIntermediary;\n\n if (!paymentType) return this;\n\n if (paymentType === 'premium') {\n this.path = `payment-details.${paymentType}-${params}`;\n } else {\n this.paymentTypeLabelPath = `payment-details.${paymentType}-${params}`;\n this.excessLimitLabel = i18n.global.t('payment-details.excess-limit', {\n excessLimit: formatCurrency(excessLimit),\n });\n }\n return this;\n }\n}\n\nexport { PaymentDetails as default };\n","import i18n from 'src/i18n/index.js';\n\nclass TypeOfProduct {\n constructor(productType) {\n this.productType = productType;\n this.isBasic = productType === 'MB';\n this.isAdditional = this.productType === 'AP';\n this.isExtraAdditional = ['XA', 'AE', 'KL', 'ER'].some((additionalType) => additionalType === this.productType);\n this.isDental = this.productType === 'TA';\n this.isExcess = this.productType === 'OW';\n }\n\n getTranslation() {\n if (this.isBasic) return i18n.global.t('productType.basic');\n if (this.isExtraAdditional) return i18n.global.t('productType.extra-additional');\n if (this.isAdditional) return i18n.global.t('productType.additional');\n if (this.isDental) return i18n.global.t('productType.dental');\n if (this.isExcess) return i18n.global.t('productType.excess');\n return undefined;\n }\n\n getTranslationWithYour() {\n if (this.isBasic) return i18n.global.t('productType.your-basic');\n if (this.isExtraAdditional) return i18n.global.t('productType.your-extra-additional');\n if (this.isAdditional) return i18n.global.t('productType.your-additional');\n if (this.isDental) return i18n.global.t('productType.your-dental');\n if (this.isExcess) return i18n.global.t('productType.your-excess');\n return undefined;\n }\n\n getTranslationWithChoose() {\n if (this.isBasic) return i18n.global.t('productType.choose-basic');\n if (this.isExtraAdditional) return i18n.global.t('productType.choose-extra-additional');\n if (this.isAdditional) return i18n.global.t('productType.choose-additional');\n if (this.isDental) return i18n.global.t('productType.choose-dental');\n if (this.isExcess) return i18n.global.t('productType.choose-excess');\n return undefined;\n }\n\n getIcon() {\n if (this.isBasic) return 'img:statics/icons/icon-care.svg';\n if (this.isExtraAdditional) return 'img:statics/icons/icon-heart.svg';\n if (this.isAdditional) return 'img:statics/icons/icon-heart.svg';\n if (this.isDental) return 'img:statics/icons/icon-tooth.svg';\n if (this.isExcess) return 'fas fa-euro-sign';\n return undefined;\n }\n}\n\nexport { TypeOfProduct as default };\n","import TypeOfProduct from './typeOfProduct';\n\nclass Product {\n constructor(data) {\n if (!data) return undefined;\n this.code = data.code;\n this.name = data.name;\n this.typeOfProduct = new TypeOfProduct(data.typeOfProduct);\n this.collectivityDiscountAmount = data.collectivityDiscountAmount;\n this.nettoPremium = data.nettoPremium;\n }\n}\n\nexport { Product as default };\n","import Product from 'src/models/product';\nimport PaymentTerm from 'src/models/paymentTerm';\n\nclass Policy {\n constructor(data) {\n if (!data) return undefined;\n\n this.subContractName = data.subContractName;\n\n this.startDate = new Date(data.startDate);\n this.endDate = data.endDate ? new Date(data.endDate) : data.endDate;\n\n this.paymentTerm = new PaymentTerm(data.paymentTerm);\n\n this.discountAmountPaymentTerm = data.discountAmountPaymentTerm;\n this.discountPercentagePaymentTerm = data.discountPercentagePaymentTerm;\n this.totalNettoPremiumMonth = data.totalNettoPremiumMonth;\n this.totalNettoPremiumPaymentTerm = data.totalNettoPremiumPaymentTerm;\n this.totalGrossPremium = data.totalGrossPremium;\n this.totalDiscountAmount = data.totalDiscountAmount;\n this.totalCollectivityDiscountAmount = data.totalCollectivityDiscountAmount;\n this.totalAdditionalDiscountAmount = data.totalAdditionalDiscountAmount;\n this.excessDiscountAmount = data.excessDiscountAmount;\n this.excessAmount = data.excessAmount;\n\n this.products = data.products.map((product) => new Product(product));\n\n return this;\n }\n}\nexport { Policy as default };\n","class FinancialSummary {\n constructor(params) {\n this.excessAmountTotal = params.excessAmountTotal;\n this.excessAmountConsumed = params.excessAmountConsumed;\n this.excessAmountRemaining = params.excessAmountRemaining;\n this.excessPercentageConsumed = params.excessPercentageConsumed;\n\n this.gvsAmountTotal = params.gvsAmountTotal;\n this.gvsAmountConsumed = params.gvsAmountConsumed;\n this.gvsAmountRemaining = params.gvsAmountRemaining;\n this.gvsPercentageConsumed = params.gvsPercentageConsumed;\n\n this.dentalAmountTotal = params.dentalAmountTotal;\n this.dentalAmountConsumed = params.dentalAmountConsumed;\n this.dentalAmountRemaining = params.dentalAmountRemaining;\n this.dentalPercentageConsumed = params.dentalPercentageConsumed;\n }\n}\nexport { FinancialSummary as default };\n","import ContactInfo from 'src/models/contactInfo.js';\nimport Address from 'src/models/address.js';\nimport Role from 'src/models/role.js';\nimport Gender from 'src/models/gender.js';\nimport Policy from 'src/models/policy.js';\nimport FinancialSummary from 'src/models/financialSummary.js';\nimport MedicalSelection from 'src/models/medicalSelection.js';\nimport { isDateStringOlderThanNYears } from 'src/utils/helpers.js';\nimport i18n from 'src/i18n/index.js';\nimport { store } from 'src/store/index.js';\nimport { formatDateWithoutTime } from 'src/utils/format';\n\nclass Customer {\n constructor(params) {\n if (!params) return undefined;\n\n this.initials = params.initials;\n this.prefix = `${params.prefix ? params.prefix : ''} `;\n this.firstName = params.firstName;\n this.lastName = params.lastName;\n this.prefixBirthName = `${params.prefixBirthName ? params.prefixBirthName : ''} `;\n this.birthName = `${params.birthName ? params.birthName : ''}`;\n\n this.fullLastName = `${this.prefix}${this.lastName}`;\n this.fullBirthName = `${this.prefixBirthName ? this.prefixBirthName : ''}${this.birthName}`;\n\n this.fullName = `${this.initials} ${this.fullLastName} ${params.birthName ? '-' : ''} ${this.fullBirthName}`;\n\n this.fullNameWithSalutation = `${i18n.global.t(`gender.salutation-${params.gender.toLowerCase()}`)} ${this.fullName}`;\n this.fullNameWithShortHandSalutation =\n `${i18n.global.t(`gender.short-hand-salutation-${params.gender.toLowerCase()}`)} ${this.fullName}`.trim();\n\n this.birthDate = params.birthDate;\n\n this.isAdult = isDateStringOlderThanNYears(params.birthDate, 18);\n this.is16AndOlder = isDateStringOlderThanNYears(params.birthDate, 16);\n this.customerNumber = parseInt(params.customerNumber);\n this.gender = new Gender(params.gender);\n this.role = new Role(params.role);\n\n this.isCustomerUser = store.getters['user/user'].customerNumber === this.customerNumber;\n this.address = undefined;\n this.policies = [];\n this.contactInfo = undefined;\n this.financialSummary = undefined;\n\n if (params.policies) {\n const dates = params.policies.map((x) => new Date(x.startDate));\n this.startDate = formatDateWithoutTime(new Date(Math.max.apply(null, dates)), 'yyyy-MM-dd');\n }\n\n this.medicalSelection = params.medicalSelection ? new MedicalSelection(params.medicalSelection) : undefined;\n return this;\n }\n\n addAddress(address) {\n this.address = new Address(address);\n return this;\n }\n\n addContactInfo(contactInfo) {\n this.contactInfo = new ContactInfo(contactInfo);\n return this;\n }\n\n addPolicies(policies) {\n this.policies = policies.map((policy) => new Policy(policy));\n return this;\n }\n\n addPolicy(policy) {\n this.policies.push(new Policy(policy));\n return this;\n }\n\n addFinancialSummary(financialSummary) {\n this.financialSummary = new FinancialSummary(financialSummary);\n\n return this;\n }\n}\nexport { Customer as default };\n","import Customer from 'src/models/customer.js';\n\nclass PolicyHolder {\n constructor(params) {\n this.customer = new Customer(params.customer);\n this.policies = params.policies;\n\n return this;\n }\n}\nexport { PolicyHolder as default };\n","import PaymentDetails from 'src/models/paymentDetails.js';\nimport PolicyHolder from 'src/models/policyHolder.js';\nimport i18n from 'src/i18n/index.js';\n\nclass Agreement {\n constructor(params) {\n this.agreementId = params.agreementId;\n this.agreementIdNumber = params.agreementIdNumber;\n this.collectivity = params.collectivity;\n this.contractCode = params.contractCode;\n this.hasBasicInsurance = params.hasBasicInsurance;\n this.policyHolders = params.policyHolders.map((holder) => new PolicyHolder(holder));\n this.paymentDetails = undefined;\n\n this.label = `${i18n.global.t('agreement-section.label.collectivity')} ${params.collectivity} (${i18n.global.t('agreement-section.label.contractCode')} ${params.contractCode})`;\n this.caption = `${i18n.global.t('agreement-section.caption.agreementId')} ${params.agreementIdNumber}`;\n\n return this;\n }\n\n addPaymentDetails(params) {\n this.paymentDetails = new PaymentDetails(params);\n return this;\n }\n}\nexport { Agreement as default };\n","import Customer from './customer';\nimport PaymentTerm from 'src/models/paymentTerm.js';\nimport { getIsoDateAsLocalDate } from 'src/utils/helpers.js';\nimport { cloneDeep } from 'lodash';\nimport i18n from 'src/i18n/index.js';\n\nclass AgreementDetails {\n constructor(params) {\n this.agreementId = params.agreementId;\n this.agreementParticipants = params.agreementParticipants.map(\n (participant) => new AgreementParticipant(participant),\n );\n this.collectivity = params.collectivity;\n this.contractCode = params.contractCode;\n this.totalAmount = params.totalAmount;\n this.paymentTerm = new PaymentTerm(params.paymentTerm);\n this.isPremiumPaidByCustomer = params.isPremiumPaidByCustomer;\n this.hasAgreementEnded = params.hasAgreementEnded;\n this.startDate = getIsoDateAsLocalDate(params.startDate);\n this.endDate = params.endDate ? getIsoDateAsLocalDate(params.endDate) : null;\n\n this.label = `${i18n.global.t('agreement-section.label.collectivity')} ${params.collectivity} (${i18n.global.t('agreement-section.label.contractCode')} ${params.contractCode})`;\n this.caption = `${i18n.global.t('agreement-section.caption.agreementId')} ${params.agreementId}`;\n\n this.editPolicyDenialReason = null;\n\n this.newlyInsuredPersonsInProgress = params.newlyInsuredPersonsInProgress.map(\n (newlyInsuredPersonInProgress) => new NewlyInsuredPersonInProgress(newlyInsuredPersonInProgress),\n );\n this.policyDetails = params.policyDetails;\n\n return this;\n }\n\n mapToBackendModel() {\n const model = cloneDeep(this);\n model.paymentTerm = this.paymentTerm.paymentTerm;\n model.agreementParticipants.forEach((participant) => {\n participant.customer.gender = participant.customer.gender.Gender.toString();\n participant.customer.role = participant.customer.role.Role.toString();\n if (participant.endDate === false) participant.endDate = null;\n participant.customer.customerNumber = participant.customer.customerNumber.toString();\n });\n\n return model;\n }\n\n updateEditPolicyDenialReason(currentUser, isMutable) {\n if (!this.isCustomerMainInsuredOnAgreement(currentUser.customerNumber))\n this.editPolicyDenialReason = i18n.global.t('policy-overview.edit-policy-not-possible-not-main-insured');\n else if (currentUser.isDefaulter)\n this.editPolicyDenialReason = i18n.global.t('policy-overview.edit-policy-not-possible-payment-deficit');\n else if (this.hasAgreementEnded)\n this.editPolicyDenialReason = i18n.global.t('policy-overview.ended-policy-not-editable');\n else if (!isMutable) this.editPolicyDenialReason = i18n.global.t('policy-overview.edit-policy-not-yet-possible');\n else this.editPolicyDenialReason = null;\n return this;\n }\n\n isCustomerMainInsuredOnAgreement(customerNumber) {\n return this.agreementParticipants.some(\n (ap) => ap.customer.role.Role === 'H' && ap.customer.customerNumber === customerNumber,\n );\n }\n}\n\nexport class AgreementParticipant {\n constructor(params) {\n this.customer = new Customer(params.customer);\n this.policyNumber = params.policyNumber;\n this.startDate = getIsoDateAsLocalDate(params.startDate);\n this.endDate = params.endDate ? getIsoDateAsLocalDate(params.endDate) : false;\n this.productTypes = params.productTypes;\n return this;\n }\n}\n\nexport class NewlyInsuredPersonInProgress {\n constructor(params) {\n this.initials = params.initials;\n this.fullLastName = params.fullLastName;\n this.birthDate = getIsoDateAsLocalDate(params.birthDate);\n return this;\n }\n}\n\nexport { AgreementDetails as default };\n","import { axiosInstance } from 'boot/axios';\nimport { mapArrayForGetRequest, dataModificationRedirect } from 'src/utils/helpers.js';\nimport Agreement from 'src/models/agreement.js';\nimport AgreementDetails from 'src/models/agreementDetails.js';\nimport Notify from 'src/constants/notify';\n\nimport i18n from 'src/i18n/index.js';\n\nexport function getOfferYear({ commit }) {\n return axiosInstance.get('Agreement/GetYearForOfferedAgreement').then((response) => {\n if (response.status === 200) {\n commit('setOfferYear', response.data);\n }\n });\n}\n\nexport function clearOfferYear({ commit }) {\n commit('clearOfferYear');\n}\n\nexport function setNotShowAnymore({ commit }) {\n commit('setNotShowAnymore');\n}\nexport function getAgreements({ commit }) {\n commit('setIsLoadingAgreements', true);\n\n return axiosInstance\n .get('Agreement/GetMostRecentAgreements')\n .then((response) => {\n if (response.status === 200) {\n commit(\n 'setAgreements',\n response.data.map((agreement) => new Agreement(agreement)),\n );\n }\n })\n .finally(() => commit('setIsLoadingAgreements', false));\n}\n\nexport function getAgreementsByRoleAndFilter({ commit }, payload) {\n commit('setIsLoadingAgreements', true);\n const agreementFilters = mapArrayForGetRequest('activeFilters', payload.agreementFilters);\n return axiosInstance\n .get(`Agreement/GetAgreementsByRoleAndFilter?role=${payload.role}&${agreementFilters}`)\n .then((response) => {\n if (response.status === 200) {\n commit(\n 'setAgreements',\n response.data.map((agreement) => new Agreement(agreement)),\n );\n }\n })\n .finally(() => commit('setIsLoadingAgreements', false));\n}\n\nexport function clearAgreements({ commit }) {\n commit('clearAgreements');\n}\n\nexport function clearAgreementDetails({ commit }) {\n commit('clearAgreementDetails');\n}\n\nexport function getPaymentDetails({ commit }, payload) {\n return axiosInstance\n .get(`Agreement/GetPaymentDetails?agreementId=${payload.agreementId}&contractCode=${payload.contractCode}`)\n .then((response) => {\n if (response.status === 200) {\n commit('setPaymentDetails', {\n id: payload.agreementId,\n details: response.data,\n });\n }\n });\n}\n\nexport function getHasKnownIban({ commit }, payload) {\n const query = payload?.agreementId ? `?agreementId=${payload?.agreementId}` : '';\n return axiosInstance.get(`Agreement/HasKnownIban${query}`).then((response) => {\n if (response.status === 200) {\n commit('setHasKnownIban', response.data.hasKnownIban);\n commit('setHasIbanPayedByInsured', response.data.ibanPayedByInsured);\n }\n });\n}\n\nexport function updatePaymentDetails(_, payload) {\n return axiosInstance\n .post('Agreement/UpdatePaymentDetails', payload)\n .then(() => {\n Notify.create({\n progress: true,\n icon: 'done',\n color: 'positive',\n message: i18n.global.t('edit-payment-details.valid'),\n });\n dataModificationRedirect('payment-details', this.$router);\n })\n .catch((error) => {\n Notify.create(\n {\n color: 'negative',\n message: i18n.global.t('edit-payment-details.error-saving'),\n },\n error.response,\n );\n });\n}\n\nexport function updateIban(_, payload) {\n return axiosInstance.post('Agreement/UpdateIban', payload).catch((error) => {\n Notify.create(\n {\n color: 'negative',\n message: i18n.global.t('edit-payment-details.error-saving'),\n },\n error.response,\n );\n });\n}\n\nexport function getAgreementDetailsForYear({ commit }, payload) {\n commit('setIsLoadingAgreements', true);\n\n return axiosInstance\n .get(`Agreement/getAgreementDetailsForYear?year=${payload}`)\n .then((response) => {\n if (response.status === 200) {\n commit(\n 'setAgreementDetails',\n response.data.map((agreementDetail) => new AgreementDetails(agreementDetail)),\n );\n commit('addPoliciesToAgreementDetails', response.data);\n }\n })\n .finally(() => {\n commit('setIsLoadingAgreements', false);\n });\n}\n\nexport function getAgreementDetailsForOfferYear({ commit }, payload) {\n commit('setIsLoadingAgreements', true);\n\n return axiosInstance\n .get(`Agreement/getAgreementDetailsForYear?year=${payload}`)\n .then((response) => {\n if (response.status === 200) {\n commit(\n 'setAgreementDetailsForOfferYear',\n response.data.map((agreementDetail) => new AgreementDetails(agreementDetail)),\n );\n commit('addPoliciesToAgreementDetailsForOfferYear', response.data);\n }\n })\n .finally(() => {\n commit('setIsLoadingAgreements', false);\n });\n}\n\nexport function updateMedicalSelectionForAgreementParticipant({ commit }, payload) {\n commit('updateMedicalSelectionForAgreementParticipant', payload);\n}\n\nexport function updateEditPolicyDenialReason({ commit, rootGetters }, payload) {\n commit('setHasLoadedEditPossible', false);\n\n return axiosInstance\n .post('Agreement/AgreementMutable', payload)\n .then((response) => {\n if (response.status === 200) {\n commit('updateEditPolicyDenialReasons', {\n currentUser: rootGetters['user/user'],\n contractMutabilities: response.data,\n policyYear: payload.policyYear,\n });\n }\n })\n .finally(() => commit('setHasLoadedEditPossible', true));\n}\n\nexport function clearHasLoadedEditPossible({ commit }) {\n commit('setHasLoadedEditPossible', false);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n customers: [],\n customerUserDetails: undefined,\n isLoadingCustomers: false,\n };\n}\n","import { isEmpty } from 'lodash';\nexport const customers = (state) => state.customers;\nexport const hasCustomers = (state) => !isEmpty(state.customers);\nexport const isUserCustomer = (state) =>\n !isEmpty(state.customers) ? state.customers.some((customer) => customer.isCustomerUser) : false;\nexport const customerUser = (state) => {\n if (state.customerUserDetails) return state.customerUserDetails;\n return !isEmpty(state.customers) && state.customers.some((customer) => customer.isCustomerUser)\n ? state.customers.filter((customer) => customer.isCustomerUser)[0]\n : undefined;\n};\nexport const isLoadingCustomers = (state) => state.isLoadingCustomers;\n","export function setCustomers(state, payload) {\n state.customers = payload;\n}\n\nexport function addCustomerDetails(state, payload) {\n payload.customer = payload.customer.addAddress(payload.customerDetails.address);\n payload.customer = payload.customer.addContactInfo(payload.customerDetails);\n state.customerUserDetails = payload.customer;\n}\n\nexport function clearCustomers(state) {\n state.customers = [];\n}\nexport function clearCustomerUserDetails(state) {\n state.customerUserDetails = undefined;\n}\n\nexport function setIsLoadingCustomers(state, payload) {\n state.isLoadingCustomers = payload;\n}\n\nexport function addPoliciesToCustomer(state, payload) {\n if (state.customers) {\n state.customers.forEach((customer) => {\n if (customer.customerNumber === payload.customerNumber) {\n customer = customer.addPolicies(payload.policies);\n }\n });\n }\n}\n\nexport function addFinancialSummaryToCustomer(state, payload) {\n if (state.customers) {\n state.customers.forEach((customer) => {\n if (customer.customerNumber === payload.customerNumber) {\n customer = customer.addFinancialSummary(payload.financialSummary);\n }\n });\n }\n}\n","import { axiosInstance } from 'boot/axios';\nimport Notify from 'src/constants/notify';\nimport { dataModificationRedirect } from 'src/utils/helpers.js';\nimport Customer from 'src/models/customer.js';\nimport isEmpty from 'lodash/isEmpty';\nimport i18n from 'src/i18n/index.js';\nimport { toRaw } from 'vue';\n\nexport function getAllCustomersWithPolicyForYear({ commit }, payload) {\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get(`Customer/GetAllCustomersWithPolicyForYear?year=${payload.year}&checkForOffer=${payload.checkForOffer}`)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setCustomers',\n response.data.map((customer) => new Customer(customer)),\n );\n }\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n\nexport function getAllCustomersWithActiveInsuranceCard({ commit }) {\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get('Customer/getAllCustomersWithActiveInsuranceCard')\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setCustomers',\n response.data.map((customer) => new Customer(customer)),\n );\n }\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n\nexport function getAllCustomersWithPolicy({ commit }) {\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get('Customer/GetAllCustomersWithPolicy')\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setCustomers',\n response.data.map((customer) => new Customer(customer)),\n );\n }\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n\nexport function getAllCustomersWithPolicyInPast({ commit }) {\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get('Customer/GetAllCustomersWithPolicyInPast')\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setCustomers',\n response.data.map((customer) => new Customer(customer)),\n );\n }\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n\nexport function getCustomerDetails({ commit, rootState }, customerNumber) {\n if (!rootState.user.permissions.mayReadPersonalDetails) return;\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get(`Customer/GetCustomerDetails/?customerNumber=${customerNumber}`)\n .then((response) => {\n const customer = new Customer(response.data.customer);\n commit('addCustomerDetails', {\n customer: customer,\n customerDetails: response.data,\n });\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n\nexport function clearCustomers({ commit }) {\n commit('clearCustomers');\n}\nexport function clearCustomerUserDetails({ commit }) {\n commit('clearCustomerUserDetails');\n}\n\nexport function updateCustomer(_, payload) {\n return axiosInstance\n .post('Customer/UpdateCustomer', toRaw(payload))\n .then(() => {\n Notify.create({\n progress: true,\n icon: 'done',\n color: 'positive',\n message: i18n.global.t('edit-personal-info.valid'),\n });\n dataModificationRedirect('personal-info', this.$router);\n })\n .catch((error) => {\n Notify.create(\n {\n color: 'negative',\n message: i18n.global.t('edit-personal-info.error-saving'),\n },\n error.response,\n );\n });\n}\n\nexport function getAllCustomersWithActivePolicy({ commit }) {\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get('Customer/GetAllCustomersWithActivePolicy')\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setCustomers',\n response.data.map((customer) => new Customer(customer)),\n );\n }\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n requestHealthCard: undefined,\n showRequestAcceptedDialog: false,\n showRequestPartiallyAcceptedDialog: false,\n showRequestDeniedDialog: false,\n digitalInsuranceCardInformation: undefined,\n };\n}\n","export const requestHealthCard = (state) => state.requestHealthCard;\nexport const showRequestAcceptedDialog = (state) => state.showRequestAcceptedDialog;\nexport const showRequestPartiallyAcceptedDialog = (state) => state.showRequestPartiallyAcceptedDialog;\nexport const showRequestDeniedDialog = (state) => state.showRequestDeniedDialog;\nexport const digitalInsuranceCardInformation = (state) => state.digitalInsuranceCardInformation;\n","export function setRequestHealthCard(state, payload) {\n state.requestHealthCard = payload;\n}\n\nexport function clearRequestHealthCard(state) {\n state.requestHealthCard = undefined;\n}\n\nexport function setDigitalInsuranceCardInformation(state, payload) {\n state.digitalInsuranceCardInformation = payload;\n}\n\nexport function clearDigitalInsuranceCardInformation(state) {\n state.digitalInsuranceCardInformation = undefined;\n}\n\nexport function setShowRequestAcceptedDialog(state, payload) {\n state.showRequestAcceptedDialog = payload;\n}\n\nexport function clearShowRequestAcceptedDialog(state) {\n state.showRequestAcceptedDialog = false;\n}\n\nexport function setShowRequestPartiallyAcceptedDialog(state, payload) {\n state.showRequestPartiallyAcceptedDialog = payload;\n}\n\nexport function clearShowRequestPartiallyAcceptedDialog(state) {\n state.showRequestPartiallyAcceptedDialog = false;\n}\n\nexport function setShowRequestDeniedDialog(state, payload) {\n state.showRequestDeniedDialog = payload;\n}\n\nexport function clearShowRequestDeniedDialog(state) {\n state.showRequestDeniedDialog = false;\n}\n","class RequestHealthCard {\n constructor(data) {\n if (!data) return undefined;\n\n this.isSuccessful = data.isSuccessful;\n this.acceptedAgreementNumbers = data.acceptedAgreementNumbers;\n this.deniedAgreementNumbers = data.deniedAgreementNumbers;\n }\n}\n\nexport { RequestHealthCard as default };\n","class DigitalInsuranceCardInformation {\n constructor(params) {\n this.customerNumber = params.customerNumber;\n this.uzoviCode = params.uzoviCode;\n this.uzoviDescription = params.uzoviDescription;\n this.hasEHIC = params.hasEHIC;\n this.ehic = params.ehic;\n this.insuranceCard = params.insuranceCard;\n }\n}\nexport { DigitalInsuranceCardInformation as default };\n","import { axiosInstance } from 'boot/axios';\nimport RequestHealthCard from 'src/models/requestHealthCard.js';\nimport DigitalInsuranceCardInformation from 'src/models/digitalInsuranceCardInformation.js';\n\nexport function applyForInsuranceCard({ commit }, customerNumbers) {\n return axiosInstance.post('InsuranceCard', customerNumbers).then((response) => {\n commit('setRequestHealthCard', new RequestHealthCard(response.data));\n });\n}\n\nexport function getDigitalInsuranceCardInformation({ commit, rootState }, payload) {\n if (!rootState.user.permissions.mayCreateEHIC) return;\n return axiosInstance.post('InsuranceCard/GetDigitalInsuranceCardInformation', payload).then((response) => {\n const results = response.data.map((x) => new DigitalInsuranceCardInformation(x));\n commit('setDigitalInsuranceCardInformation', results);\n });\n}\n\nexport function setShowRequestAcceptedDialog({ commit }, payload) {\n commit('setShowRequestAcceptedDialog', payload);\n}\n\nexport function setShowRequestPartiallyAcceptedDialog({ commit }, payload) {\n commit('setShowRequestPartiallyAcceptedDialog', payload);\n}\n\nexport function setShowRequestDeniedDialog({ commit }, payload) {\n commit('setShowRequestDeniedDialog', payload);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state,\n};\n","export default function () {\n return {\n declarationsPreview: [],\n declarations: [],\n isLoadingDeclarationsPreview: false,\n isLoadingDeclarations: false,\n declarationForm: undefined,\n attachmentReadability: undefined,\n customers: [],\n isLoadingCustomers: false,\n isSavingDeclarations: false,\n };\n}\n","import { isEmpty } from 'lodash';\nexport const declarationsPreview = (state) => state.declarationsPreview;\nexport const declarations = (state) => state.declarations;\nexport const hasDeclarations = (state) => !isEmpty(state.declarations);\nexport const isLoadingDeclarationsPreview = (state) => state.isLoadingDeclarationsPreview;\nexport const isLoadingDeclarations = (state) => state.isLoadingDeclarations;\nexport const declarationForm = (state) => state.declarationForm;\nexport const attachmentReadability = (state) => state.attachmentReadability;\nexport const customers = (state) => state.customers;\nexport const hasCustomers = (state) => !isEmpty(state.customers);\nexport const isUserCustomer = (state) =>\n !isEmpty(state.customers) && state.customers.some((customer) => customer.isCustomerUser);\nexport const isLoadingCustomers = (state) => state.isLoadingCustomers;\nexport const isSavingDeclarations = (state) => state.isSavingDeclarations;\n","export function setDeclarationsPreview(state, payload) {\n state.declarationsPreview = payload;\n}\n\nexport function setDeclarations(state, payload) {\n state.declarations = payload;\n}\n\nexport function setAttachmentReadability(state, payload) {\n state.attachmentReadability = payload;\n}\nexport function clearAttachmentReadability(state) {\n state.attachmentReadability = undefined;\n}\n\nexport function clearDeclarations(state) {\n state.declarations = undefined;\n}\n\nexport function clearDeclarationForm(state) {\n state.declarationForm = undefined;\n}\n\nexport function setIsLoadingDeclarationsPreview(state, payload) {\n state.isLoadingDeclarationsPreview = payload;\n}\n\nexport function setIsLoadingDeclarations(state, payload) {\n state.isLoadingDeclarations = payload;\n}\n\nexport function setIsSavingDeclarations(state, payload) {\n state.isSavingDeclarations = payload;\n}\n\nexport function setDeclarationForm(state, payload) {\n state.declarationForm = new FormData();\n state.declarationForm.set('customerSelected', payload.customerSelected);\n state.declarationForm.set('typeOfDeclaration', payload.typeOfDeclaration);\n state.declarationForm.set('couldThirdPartyBeLiable', payload.couldThirdPartyBeLiable);\n state.declarationForm.set('dateOfAccident', payload.couldThirdPartyBeLiable ? payload.dateOfAccident : '');\n state.declarationForm.set('accidentLocation', payload.accidentLocation);\n state.declarationForm.set('accidentDescription', payload.accidentDescription);\n state.declarationForm.set('counterPartyName', payload.counterPartyName);\n state.declarationForm.set('counterPartyPostalCode', payload.counterPartyPostalCode);\n state.declarationForm.set('counterPartyAddress', payload.counterPartyAddress);\n state.declarationForm.set('isTrafficAccident', payload.isTrafficAccident);\n state.declarationForm.set('hasTravelInsurance', payload.hasTravelInsurance);\n state.declarationForm.set('travelInsuranceInsurer', payload.travelInsuranceInsurer);\n state.declarationForm.set('travelInsurancePolicyNumber', payload.travelInsurancePolicyNumber);\n state.declarationForm.set('reasonMedicalCosts', payload.reasonMedicalCosts);\n\n if (payload.files && payload.files.length > 0) {\n payload.files.forEach((file) => state.declarationForm.append('files', file));\n }\n}\n\nexport function setCustomers(state, payload) {\n state.customers = payload;\n}\n\nexport function setIsLoadingCustomers(state, payload) {\n state.isLoadingCustomers = payload;\n}\n\nexport function clearCustomers(state) {\n state.customers = [];\n}\n","import i18n from 'src/i18n/index.js';\nimport { uid } from 'quasar';\n\nclass Declaration {\n constructor(params) {\n this.uid = uid();\n this.receivedDate = params.receivedDate;\n this.treatmentDate = new Date(params.treatmentDate);\n this.lastTreatmentDate = params.lastTreatmentDate;\n this.submittedBy = new SubmittedBy(params.submittedBy);\n this.declarationId = params.declarationId;\n this.recordId = params.recordId;\n this.invoiceId = params.invoiceId;\n this.receiverOfReimbursement = new ReceiverOfReimbursement(params.receiverOfReimbursement);\n\n this.careProvider = params.careProvider;\n this.declarationAmount = params.declarationAmount;\n this.compensatedAmount = params.compensatedAmount;\n this.uncompensatedAmount = params.uncompensatedAmount;\n this.excessAmount = params.excessAmount;\n\n this.contributionAmount = params.contributionAmount;\n this.statusKey = params.status;\n this.status = i18n.global.t(`healthcare-costs.status.${params.status}`);\n this.hasReadRights = params.hasReadRights;\n this.careType = params.careType;\n this.year = params.year;\n this.customerNumber = params.customerNumber;\n this.fullName = params.fullName;\n }\n}\n\nclass ReceiverOfReimbursement {\n constructor(params) {\n this.isCustomerReceiver = params === 'D';\n this.isCareProviderReceiver = params === 'M';\n this.label = i18n.global.t(`declaration.receiver-of-reimbursement.${params}`);\n }\n}\nclass SubmittedBy {\n constructor(params) {\n this.isSubmittedByCareProvider = params === 'Z';\n this.isSubmittedByCustomer = params === 'V';\n this.label = i18n.global.t(`declaration.submitted-by.${params}`);\n }\n}\n\nexport { Declaration as default };\n","import i18n from 'src/i18n/index.js';\nimport { uid } from 'quasar';\n\nclass DeclarationDetails {\n constructor(params) {\n this.uid = uid();\n this.receivedDate = new Date(params.receivedDate);\n this.treatmentDate = new Date(params.treatmentDate);\n this.lastTreatmentDate = params.lastTreatmentDate;\n this.submittedBy = new SubmittedBy(params.submittedBy);\n this.declarationId = params.declarationId;\n this.recordId = params.recordId;\n this.invoiceId = params.invoiceId;\n this.receiverOfReimbursement = new ReceiverOfReimbursement(params.receiverOfReimbursement);\n this.careType = params.careType;\n this.careProvider = params.careProvider;\n this.declarationAmount = params.declarationAmount;\n this.compensatedAmount = params.compensatedAmount;\n this.uncompensatedAmount = params.uncompensatedAmount;\n this.excessAmount = params.excessAmount;\n\n this.contributionAmount = params.contributionAmount;\n this.status = i18n.global.t(`healthcare-costs.status.${params.status}`);\n this.bills = params.bills?.map((bill) => new DeclarationBill(bill, params.declarationId));\n this.payOutAmount = params.bills.reduce((previousVal, currentVal) => previousVal + currentVal.payOutAmount, 0);\n this.collectionRiskAmount = params.collectionRiskAmount;\n this.relation = new Relation(params.relation);\n }\n}\n\nclass ReceiverOfReimbursement {\n constructor(params) {\n this.isCustomerReceiver = params === 'D';\n this.isCareProviderReceiver = params === 'M';\n this.label = i18n.global.t(`declaration.receiver-of-reimbursement.${params}`);\n }\n}\nclass SubmittedBy {\n constructor(params) {\n this.isSubmittedByCareProvider = params === 'Z';\n this.isSubmittedByCustomer = params === 'V';\n this.label = i18n.global.t(`declaration.submitted-by.${params}`);\n }\n}\n\nclass DeclarationBill {\n constructor(params, declarationId) {\n for (const [key, value] of Object.entries(params)) {\n this[key] = value;\n }\n\n this.treatmentDate = new Date(params.treatmentDate);\n this.declarationId = declarationId;\n this.declarationFullNumber = this.declarationId + '-' + this.declarationNumber + '-' + this.declarationLineNumber;\n this.bills = params.activities?.map((activity) => new DeclarationBillActivity(activity));\n }\n}\n\nclass DeclarationBillActivity {\n constructor(params) {\n this.date = new Date(params.date);\n this.description = params.description;\n }\n}\n\nclass Relation {\n constructor(params) {\n this.prefix = params.prefix;\n this.lastName = params.lastName;\n this.dateOfBirth = new Date(params.dateOfBirth);\n }\n}\n\nexport { DeclarationDetails as default };\n","import { axiosInstance } from 'boot/axios';\nimport Declaration from 'src/models/declaration.js';\nimport AttachmentReadability from 'src/models/attachmentReadability.js';\nimport isEmpty from 'lodash/isEmpty';\nimport Customer from 'src/models/customer';\nimport DeclarationDetails from 'src/models/declarationDetails';\nimport { formatDateWithoutTime } from 'src/utils/format';\n\nconst DATE_FORMAT = 'yyyy-MM-dd';\n\nexport function getDeclarationsPreview({ commit, rootState }) {\n if (!rootState.user.permissions.mayReadDeclaration) return;\n commit('setIsLoadingDeclarationsPreview', true);\n return axiosInstance\n .get('Declaration/GetDeclarationsPreview')\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setDeclarationsPreview',\n response.data.map((declaration) => new Declaration(declaration)),\n );\n }\n })\n .finally(() => commit('setIsLoadingDeclarationsPreview', false));\n}\nexport function getDeclarations({ commit }, payload) {\n commit('setIsLoadingDeclarations', true);\n return axiosInstance\n .get(`Declaration/GetDeclarations?customerNumber=${payload.customerNumber}&year=${payload.year}`)\n .then((response) => {\n commit(\n 'setDeclarations',\n response.data.map((declaration) => new Declaration(declaration)),\n );\n })\n .finally(() => commit('setIsLoadingDeclarations', false));\n}\nexport function getDeclarationDetails(_, payload) {\n const recordIdParam = payload.recordId ? `&recordId=${payload.recordId}` : '';\n return axiosInstance.get(`Declaration?declarationId=${payload.declarationId}${recordIdParam}`).then((response) => {\n return new DeclarationDetails(response.data);\n });\n}\n\nexport function getAllDeclarations({ commit, state }) {\n if (state.declarations?.length > 0) return;\n commit('setIsLoadingDeclarations', true);\n return axiosInstance\n .get(`Declaration/ReadAll`)\n .then((response) => {\n commit(\n 'setDeclarations',\n response.data.map((declaration) => new Declaration(declaration)),\n );\n })\n .finally(() => commit('setIsLoadingDeclarations', false));\n}\n\nexport function clearDeclarations({ commit }) {\n commit('clearDeclarations');\n}\n\nexport function clearAttachmentReadability({ commit }) {\n commit('clearAttachmentReadability');\n}\nexport function setDeclarationForm({ commit }, payload) {\n commit('setDeclarationForm', payload);\n}\n\nexport function saveDeclarationForm({ commit }, payload) {\n commit('setIsSavingDeclarations', true);\n const isTransportCosts = payload.healthcareCostValue.key === 'travel-costs';\n const isAbroad = !isTransportCosts ? payload.costLocationValue.key === 'abroad' : null;\n\n const formData = new FormData();\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomer.customerNumber);\n formData.set('IsTransportCosts', isTransportCosts);\n\n if (isAbroad != null) {\n formData.set('IsAbroad', isAbroad);\n }\n\n if (isAbroad) {\n formData.set('Abroad.CountryCode', payload.country.key);\n formData.set('Abroad.CostsFrom', formatDateWithoutTime(payload.fromDate, DATE_FORMAT));\n formData.set('Abroad.CostsTo', formatDateWithoutTime(payload.toDate, DATE_FORMAT));\n formData.set('Abroad.CurrencyCode', payload.costCurrency.cc);\n formData.set('Abroad.Cost', payload.cost);\n formData.set('Abroad.Description', payload.moreTreatmentInfoValue);\n formData.set('Abroad.HadPreDeterminedCondition', payload.knownValue.key === 'yes');\n\n const hasTravelInsurance = payload.travelInsurance.hasInsurance.key === 'yes';\n formData.set('Abroad.HadMedicalTravelInsurance', hasTravelInsurance);\n if (hasTravelInsurance) {\n formData.set('Abroad.InsuranceCompany', payload.travelInsurance.insurerName);\n formData.set('Abroad.PolicyNumber', payload.travelInsurance.policyNumber);\n }\n\n formData.set('Abroad.WasThirdPartyInvolved', payload.involvedOthers.key === 'yes');\n } else if (isTransportCosts) {\n formData.set('Transport.TreatmentType', payload.treatmentType.key);\n formData.set('Transport.TransportType', payload.travelType.key);\n setFormAddress(formData, 'Transport.FromAddress', payload.addresses.from);\n setFormAddress(formData, 'Transport.ToAddress', payload.addresses.to);\n\n for (var i = 0; i < payload.trips.length; i++) {\n formData.set(`Transport.Rides[${i}].Date`, formatDateWithoutTime(payload.trips[i].date, DATE_FORMAT));\n formData.set(`Transport.Rides[${i}].IsSingleTrip`, payload.trips[i].isOneWay);\n if (payload.trips[i].additionalCost.type) {\n formData.set(`Transport.Rides[${i}].ExtraCostType`, payload.trips[i].additionalCost.type);\n }\n if (payload.trips[i].additionalCost.amount) {\n formData.set(`Transport.Rides[${i}].ExtraCost`, payload.trips[i].additionalCost.amount);\n }\n }\n }\n\n if (payload.documents && payload.documents.length > 0) {\n payload.documents.forEach((file) => formData.append('files', file.file));\n }\n\n return axiosInstance.post('Declaration', formData).finally(() => commit('setIsSavingDeclarations', false));\n}\n\nexport function validateAttachmentsReadability({ commit }, payload) {\n const formData = new FormData();\n\n if (payload.files && payload.files.length > 0) {\n payload.files.forEach((file) => formData.append('files', file));\n }\n return axiosInstance.post('Declaration/ValidateAttachmentsReadability', formData).then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setAttachmentReadability',\n response.data.map((attachmentReadability) => new AttachmentReadability(attachmentReadability)),\n );\n }\n });\n}\n\nexport function clearDeclarationForm({ commit }) {\n commit('clearDeclarationForm');\n}\n\nexport function getAllCustomersWithPolicyForYear({ commit }, payload) {\n commit('setIsLoadingCustomers', true);\n return axiosInstance\n .get(`Customer/GetAllCustomersWithPolicyForYear?year=${payload.year}&checkForOffer=${payload.checkForOffer}`)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setCustomers',\n response.data.map((customer) => new Customer(customer)),\n );\n }\n })\n .finally(() => commit('setIsLoadingCustomers', false));\n}\n\nexport function clearCustomers({ commit }) {\n commit('clearCustomers');\n}\n\nfunction setFormAddress(formData, startNameAddress, address) {\n if (address.name) {\n formData.set(startNameAddress + '.DestinationName', address.name);\n }\n formData.set(startNameAddress + '.CountryCode', address.country.key);\n formData.set(startNameAddress + '.ZipCode', address.postalCode);\n formData.set(startNameAddress + '.HouseNumber', address.houseNumber);\n if (address.addition) {\n formData.set(startNameAddress + '.HouseNumberAddition', address.addition);\n }\n formData.set(startNameAddress + '.Street', address.street);\n formData.set(startNameAddress + '.Location', address.city);\n formData.set(startNameAddress + '.IsHome', address.homeAddress);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n invoices: [],\n isLoadingInvoices: false,\n paymentArrangements: [],\n isLoadingPaymentArrangements: false,\n invoiceAttachmentIdsFetched: [],\n isLoadingAttachments: false,\n };\n}\n","import invoiceStatus from 'src/constants/enums/invoiceStatus';\n\nexport const invoices = (state) => state.invoices;\nexport const outstandingInvoices = (state) => state.invoices.filter((item) => item.remaining > 0);\nexport const paidInvoices = (state) => state.invoices.filter((item) => !outstandingInvoices(state).includes(item));\nexport const payableInvoices = (state, getters) =>\n getters.outstandingInvoices.filter((item) => item.statusId !== invoiceStatus.AutomatischeIncasso);\nexport const paymentArrangementInvoices = (state) =>\n state.invoices.filter((item) => item.statusId === invoiceStatus.Betalingsregeling);\nexport const isLoadingInvoices = (state) => state.isLoadingInvoices;\nexport const paymentArrangements = (state) => state.paymentArrangements;\nexport const isLoadingAttachments = (state) => state.isLoadingAttachments;\n","export function setInvoices(state, payload) {\n state.invoices = payload;\n}\n\nexport function setIsLoadingInvoices(state, payload) {\n state.isLoadingInvoices = payload;\n}\n\nexport function setPaymentArrangements(state, payload) {\n state.paymentArrangements = payload;\n}\n\nexport function setIsLoadingPaymentArrangements(state, payload) {\n state.isLoadingPaymentArrangements = payload;\n}\n\nexport function addAttachmentToInvoice(state, payload) {\n state.invoices.find((x) => x.invoiceNumber === payload.invoiceNumber).attachments.unshift(...payload.attachments);\n state.invoiceAttachmentIdsFetched.push(payload.invoiceNumber);\n}\n\nexport function setIsLoadingAttachments(state, payload) {\n state.isLoadingAttachments = payload;\n}\n","class PaymentArrangement {\n constructor(params) {\n this.statusId = params.status.id;\n }\n}\n\nexport { PaymentArrangement as default };\n","import { axiosInstance } from 'boot/axios';\nimport isEmpty from 'lodash/isEmpty';\nimport Invoice from 'src/models/invoice.js';\nimport PaymentArrangement from 'src/models/paymentArrangement';\n\nexport function getInvoices({ commit, state, rootState }) {\n if (!rootState.user.permissions.mayReadInvoice) return;\n if (state.invoices?.length > 0) return;\n commit('setIsLoadingInvoices', true);\n return axiosInstance\n .get(`Debitan/Invoices`)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setInvoices',\n response.data\n .map((invoice) => new Invoice(invoice))\n .filter((invoice) => invoice.invoiceDate.getFullYear() >= new Date().getFullYear() - 2)\n .sort(function (a, b) {\n return a.invoiceDate - b.invoiceDate;\n }),\n );\n }\n })\n .finally(() => commit('setIsLoadingInvoices', false));\n}\n\nexport function getPaymentArrangements({ commit, state }) {\n if (state.paymentArrangements?.length > 0) return;\n commit('setIsLoadingPaymentArrangements', true);\n return axiosInstance\n .get(`Debitan/PaymentArrangements`)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit(\n 'setPaymentArrangements',\n response.data.map((arrangement) => new PaymentArrangement(arrangement)),\n );\n }\n })\n .finally(() => commit('setIsLoadingPaymentArrangements', false));\n}\n\nexport function postPaymentArrangement({ commit }, payload) {\n return axiosInstance.post('Debitan/PaymentArrangements', payload).finally(() => commit('setPaymentArrangements', []));\n}\n\nexport function getInvoiceAttachments({ commit, state }, payload) {\n if (state.invoiceAttachmentIdsFetched.includes(payload)) return;\n commit('setIsLoadingAttachments', true);\n\n return axiosInstance\n .get(`Debitan/Invoices/${payload}/Attachments`)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit('addAttachmentToInvoice', { invoiceNumber: payload, attachments: response.data });\n }\n })\n .finally(() => commit('setIsLoadingAttachments', false));\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n isSavingContactForm: false,\n };\n}\n","export const isSavingContactForm = (state) => state.isSavingContactForm;\n","export function setIsSavingContactForm(state, payload) {\n state.isSavingContactForm = payload;\n}\n","import { axiosInstance } from 'boot/axios';\n\nexport function postContactForm({ commit }, payload) {\n var contactForm = new FormData();\n\n contactForm.set('CustomerNumber', payload.selectedCustomerNumber);\n contactForm.set('Subject', payload.selectedSubjectKey);\n contactForm.set('Question', payload.question);\n\n if (payload.extraData && payload.extraData.length > 0) {\n let i = 0;\n\n payload.extraData.forEach((extra) => {\n contactForm.set(`ExtraData[${i}].Key`, extra.key);\n contactForm.set(`ExtraData[${i}].Value`, extra.value);\n i++;\n });\n }\n\n if (payload.files && payload.files.length > 0) {\n payload.files.forEach((file) => contactForm.append('Files', file.file));\n }\n\n commit('setIsSavingContactForm', true);\n\n return axiosInstance.post('ContactForm', contactForm).finally(() => {\n commit('setIsSavingContactForm', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n contracts: undefined,\n originalContracts: undefined,\n beforeChangeContracts: undefined,\n responseData: undefined,\n medicalSelectionResponse: undefined,\n isLoadingValidateContract: false,\n isLoadingContracts: false,\n isSavingContracts: false,\n isSavingContractsSuccesfull: false,\n unselectedRequiredPackages: [],\n showUnselectedRequiredPackages: false,\n requestedContractsAreForNewlyInsuredPersons: false,\n };\n}\n","import { isEmpty } from 'lodash';\nexport const contracts = (state) => state.contracts;\nexport const originalContracts = (state) => state.originalContracts;\nexport const beforeChangeContracts = (state) => state.beforeChangeContracts;\nexport const responseData = (state) => state.responseData;\nexport const medicalSelectionResponse = (state) => state.medicalSelectionResponse;\n\nexport const hasContracts = (state) => !isEmpty(state.contracts);\nexport const isLoadingContracts = (state) => state.isLoadingContracts;\nexport const isLoadingValidateContract = (state) => state.isLoadingValidateContract;\nexport const isSavingContracts = (state) => state.isSavingContracts;\nexport const isSavingContractsSuccesfull = (state) => state.isSavingContractsSuccesfull;\nexport const unselectedRequiredPackages = (state) => state.unselectedRequiredPackages;\nexport const showUnselectedRequiredPackages = (state) => state.showUnselectedRequiredPackages;\n\nexport const requestedContractsAreForNewlyInsuredPersons = (state) => state.requestedContractsAreForNewlyInsuredPersons;\n\nexport const getAllCards = (state) => {\n let result = [];\n if (state.contracts) {\n console.log(state.contracts);\n result = getCardByCardGroup(state.contracts.allCards);\n }\n\n return result;\n};\n\nfunction getCardByCardGroup(cards) {\n const docs = [];\n cards.forEach((card) => {\n if (card.productComponentCode && !docs.map((doc) => doc.code).includes(Number(card.productComponentCode))) {\n docs.push({\n code: Number(card.productComponentCode),\n productType: card.packageTypeForWebApplications.productType,\n productName: card.title,\n });\n }\n });\n\n return docs;\n}\n","export function setContracts(state, payload) {\n state.contracts = payload;\n}\nexport function setOriginalContracts(state, payload) {\n state.originalContracts = payload;\n}\n\nexport function updateContractCards(state, payload) {\n state.contracts = state.contracts.updateCards(payload);\n}\n\nexport function updateNewlyInsuredPersons(state, payload) {\n state.contracts = state.contracts.updateNewlyInsuredPersons(payload);\n}\n\nexport function setContractsForNewlyInsured(state, payload) {\n state.requestedContractsAreForNewlyInsuredPersons = payload;\n}\n\nexport function updateCardSelectionStatus(state, payload) {\n const { typeOfProduct, customerNumber, card } = payload;\n\n state.contracts = state.contracts.updateCardSelectionStatus(typeOfProduct, customerNumber, card);\n}\n\nexport function updateBeforeChangeContracts(state, payload) {\n state.beforeChangeContracts = payload;\n}\n\nexport function resolvePackageSelectionConflict(state) {\n state.contracts = state.contracts.resolvePackageSelectionConflict();\n}\n\nexport function updateChosenMedicalSelectionCard(state, payload) {\n const { customerNumber, productComponentCode } = payload;\n\n state.contracts = state.contracts.updateChosenMedicalSelectionCard(customerNumber, productComponentCode);\n}\n\nexport function updatePaymentTerm(state, paymentTerm) {\n state.contracts = state.contracts.updatePaymentTerm(paymentTerm);\n}\n\nexport function setResponseData(state, payload) {\n state.responseData = payload;\n}\n\nexport function setMedicalSelectionResponse(state, payload) {\n state.medicalSelectionResponse = payload;\n}\n\nexport function clearContracts(state) {\n state.contracts = undefined;\n}\nexport function setIsLoadingContracts(state, payload) {\n state.isLoadingContracts = payload;\n}\n\nexport function setIsLoadingValidateContract(state, payload) {\n state.isLoadingValidateContract = payload;\n}\n\nexport function setIsSavingContractsSuccesfull(state, payload) {\n state.isSavingContractsSuccesfull = payload;\n}\nexport function setIsSavingContracts(state, payload) {\n state.isSavingContracts = payload;\n}\nexport function setUnselectedRequiredPackages(state, payload) {\n state.unselectedRequiredPackages = payload;\n}\nexport function setShowUnselectedRequiredPackages(state, payload) {\n state.showUnselectedRequiredPackages = payload;\n}\n","import Customer from 'src/models/customer.js';\nimport TypeOfProduct from './typeOfProduct';\nimport { isDateStringOlderThanNYears } from 'src/utils/helpers.js';\nimport { formatCurrency } from 'src/utils/format';\nimport { isEmpty, sum } from 'lodash';\nimport PaymentTerm from 'src/models/paymentTerm.js';\nimport i18n from 'src/i18n/index.js';\n\nclass ContractCard {\n constructor(params, payload) {\n this.customers = params.customers.map((customer) => new Customer(customer));\n this.customerMedicalSelectionDetails = [];\n this.packageSelectionConflict = false;\n\n this.basicCardGroup = new CardGroup(\n params.basicCardGroup,\n this.customers,\n params.basicCardGroup.maximumSelectableAmount,\n i18n.global.t('productType.edit-policy.basic'),\n );\n\n this.extraAdditionalCardGroup = new CardGroup(\n params.extraAdditionalCardGroup,\n this.customers,\n params.extraAdditionalCardGroup.maximumSelectableAmount,\n i18n.global.t('productType.edit-policy.extraAdditional'),\n );\n\n this.additionalCardGroup = new CardGroup(\n params.additionalCardGroup,\n this.customers,\n params.additionalCardGroup.maximumSelectableAmount,\n i18n.global.t('productType.edit-policy.additional'),\n );\n\n this.dentalCardGroup = new CardGroup(\n params.dentalCardGroup,\n this.customers,\n params.dentalCardGroup.maximumSelectableAmount,\n i18n.global.t('productType.edit-policy.dental'),\n );\n\n this.excessCardGroup = new CardGroup(\n params.excessCardGroup,\n this.customers,\n params.excessCardGroup.maximumSelectableAmount,\n i18n.global.t('productType.edit-policy.excess'),\n );\n\n this.allCards = [\n ...this.basicCardGroup.cards,\n ...this.extraAdditionalCardGroup.cards,\n ...this.additionalCardGroup.cards,\n ...this.dentalCardGroup.cards,\n ...this.excessCardGroup.cards,\n ];\n\n this.paymentTerm = new PaymentTerm(params.paymentTerm);\n this.validateCard = new ValidateCard(\n {\n ...payload,\n ...{\n selectedPaymentTerm: this.paymentTerm.paymentTerm,\n },\n },\n payload.agreementId,\n this.allCards,\n );\n this.startDate = payload.startDate;\n this.totalNettoPremium = new TotalNettoPremium(params.totalNettoPremium, this.customers, this.startDate);\n }\n\n updatePaymentTerm(paymentTerm) {\n this.validateCard.selectedPaymentTerm = paymentTerm;\n this.paymentTerm = new PaymentTerm(paymentTerm);\n return this;\n }\n\n updateCards(params) {\n this.customerMedicalSelectionDetails = params.editPolicyDeniedByMedicalSelectionPerCustomer.map(\n (detail) => new CustomerMedicalSelectionDetails(detail),\n );\n\n this.basicCardGroup = new CardGroup(\n params.basicCardGroup,\n this.customers,\n this.basicCardGroup.maximumSelectableAmount,\n this.basicCardGroup.paragraph,\n );\n\n this.extraAdditionalCardGroup = new CardGroup(\n params.extraAdditionalCardGroup,\n this.customers,\n this.extraAdditionalCardGroup.maximumSelectableAmount,\n this.extraAdditionalCardGroup.paragraph,\n );\n\n this.additionalCardGroup = new CardGroup(\n params.additionalCardGroup,\n this.customers,\n this.additionalCardGroup.maximumSelectableAmount,\n this.additionalCardGroup.paragraph,\n );\n\n this.dentalCardGroup = new CardGroup(\n params.dentalCardGroup,\n this.customers,\n this.dentalCardGroup.maximumSelectableAmount,\n this.dentalCardGroup.paragraph,\n );\n\n this.excessCardGroup = new CardGroup(\n params.excessCardGroup,\n this.customers,\n this.excessCardGroup.maximumSelectableAmount,\n this.excessCardGroup.paragraph,\n );\n\n this.allCards = [\n ...this.basicCardGroup.cards,\n ...this.extraAdditionalCardGroup.cards,\n ...this.additionalCardGroup.cards,\n ...this.dentalCardGroup.cards,\n ...this.excessCardGroup.cards,\n ];\n this.totalNettoPremium = new TotalNettoPremium(params.totalNettoPremium, this.customers, this.startDate);\n\n this.validateCard.chosenInsurances = this.validateCard.deconstructCards(this.allCards);\n\n this.packageSelectionConflict = params.clearChosenInsurances;\n return this;\n }\n\n updateNewlyInsuredPersons(newlyInsuredPersons) {\n this.validateCard.newlyInsuredPersons = newlyInsuredPersons;\n return this;\n }\n\n updateCardSelectionStatus(typeOfProduct, customerNumber, card) {\n if (typeOfProduct.isBasic) this.updateSelectionStatus(this.basicCardGroup, customerNumber, card);\n else if (typeOfProduct.isExtraAdditional)\n this.updateSelectionStatus(this.extraAdditionalCardGroup, customerNumber, card);\n else if (typeOfProduct.isAdditional) this.updateSelectionStatus(this.additionalCardGroup, customerNumber, card);\n else if (typeOfProduct.isDental) this.updateSelectionStatus(this.dentalCardGroup, customerNumber, card);\n else if (typeOfProduct.isExcess) this.updateSelectionStatus(this.excessCardGroup, customerNumber, card);\n this.allCards = [\n ...this.basicCardGroup.cards,\n ...this.extraAdditionalCardGroup.cards,\n ...this.additionalCardGroup.cards,\n ...this.dentalCardGroup.cards,\n ...this.excessCardGroup.cards,\n ];\n\n this.validateCard.chosenInsurances = this.validateCard.deconstructCards(this.allCards);\n\n return this;\n }\n\n updateChosenMedicalSelectionCard(customerNumber, productComponentCode) {\n this.setPersonUnselectedInCardgroupCards(this.dentalCardGroup, customerNumber);\n this.dentalCardGroup.cards.forEach((card) => {\n if (card.productComponentCode === productComponentCode) {\n card.insuredPersons.forEach((person) => {\n if (person.customerNumber === customerNumber) {\n person.isSelected = true;\n }\n });\n }\n card.isSelected = card.insuredPersons.some((person) => person.isSelected);\n });\n this.allCards = [\n ...this.basicCardGroup.cards,\n ...this.extraAdditionalCardGroup.cards,\n ...this.additionalCardGroup.cards,\n ...this.dentalCardGroup.cards,\n ...this.excessCardGroup.cards,\n ];\n this.validateCard.chosenInsurances = this.validateCard.deconstructCards(this.allCards);\n return this;\n }\n\n updateSelectionStatus(cardGroup, customerNumber, card) {\n card.insuredPersons.forEach((person) => {\n if (person.customerNumber === customerNumber) {\n if (card.productComponentCode === null) {\n this.setPersonUnselectedInCardgroupCards(cardGroup, customerNumber);\n } else {\n this.deselectNoInsuranceCard(cardGroup, customerNumber);\n }\n person.isSelected = !person.isSelected;\n }\n });\n if (cardGroup.maximumSelectableAmount === 1) {\n this.deselectFirstSelectedCardForCustomer(\n cardGroup.cards,\n customerNumber,\n card.productComponentCode,\n card.packageSetNumber,\n card.packageTypeForWebApplications.productType,\n );\n }\n card.isSelected = card.insuredPersons.some((person) => person.isSelected);\n }\n\n setPersonUnselectedInCardgroupCards(cardGroup, customerNumber) {\n cardGroup.cards.forEach((card) => {\n card.insuredPersons.forEach((person) => {\n if (person.customerNumber === customerNumber) {\n person.isSelected = false;\n }\n });\n });\n }\n\n deselectNoInsuranceCard(cardGroup, customerNumber) {\n cardGroup.cards.forEach((card) => {\n card.insuredPersons.forEach((person) => {\n if (person.customerNumber === customerNumber && card.productComponentCode === null) {\n person.isSelected = false;\n }\n });\n });\n }\n\n deselectFirstSelectedCardForCustomer(cards, customerNumber, selectedComponentCode, packageSetNumber, productType) {\n let hasDeselected = false;\n cards.forEach((card) => {\n card.insuredPersons.forEach((person) => {\n if (\n !hasDeselected &&\n card.productComponentCode !== selectedComponentCode &&\n card.packageSetNumber === packageSetNumber &&\n card.packageTypeForWebApplications.productType === productType &&\n person.customerNumber === customerNumber &&\n person.isSelected\n ) {\n person.isSelected = false;\n hasDeselected = true;\n }\n });\n });\n }\n\n resolvePackageSelectionConflict() {\n this.packageSelectionConflict = false;\n return this;\n }\n}\n\nclass CardGroup {\n constructor(group, customers, maximumSelectableAmount, standardParagraph, filterExpression = () => true) {\n const tempCards = group.cards.filter(filterExpression);\n this.cards = tempCards.map((card) => new Card(card, customers));\n this.maximumSelectableAmount = maximumSelectableAmount;\n this.paragraph = group.customLabel ? group.customLabel : standardParagraph;\n }\n}\n\nclass Card {\n constructor(params, customers) {\n this.title = params.title;\n this.productComponentCode = params.productComponentCode;\n this.documentInsurancePolicy = params.documentInsurancePolicy\n ? new DownloadDocument(params.documentInsurancePolicy)\n : params.documentInsurancePolicy;\n this.documentConditionsPolicy = params.documentInsurancePolicy\n ? new DownloadDocument(params.documentConditionsPolicy)\n : params.documentInsurancePolicy;\n this.packageSetNumber = params.packageSetNumber;\n this.packageTypeForWebApplications = new TypeOfProduct(params.packageTypeForWebApplications);\n this.insuranceCardLink = params.insuranceCardLink;\n this.ownRiskAmount = params.ownRiskAmount;\n this.ownRiskDiscount = params.ownRiskDiscount;\n this.hasMedicalSelection = params.hasMedicalSelection;\n this.isSelected = params.isSelected;\n this.isDisabled = params.isDisabled;\n this.insuranceCardLink = params.insuranceCardLink;\n this.insuredPersons = params.insuredPersons.map((insuredPerson) => {\n const customer = customers.find(\n (customer) => parseInt(customer.customerNumber) === parseInt(insuredPerson.customerNumber),\n );\n return {\n ...new InsuredPerson(insuredPerson),\n ...customer,\n };\n });\n }\n}\n\nclass InsuredPerson {\n constructor(params) {\n this.customerNumber = params.customerNumber;\n this.netPremiumWithDiscount = params.netPremiumWithDiscount;\n this.ownRiskDiscount = params.ownRiskDiscount;\n this.isDisabled = params.isDisabled;\n this.isSelected = params.isSelected;\n }\n}\n\nclass DownloadDocument {\n constructor(params) {\n this.id = params.id;\n this.guidFileName = params.guidFileName;\n this.code = params.code;\n this.displayName = params.displayName;\n this.language = params.language;\n this.fileName = params.fileName;\n }\n}\n\nclass ValidateCard {\n constructor(params, agreementId, allCards) {\n this.contractCode = params.contractCode;\n this.language = params.language;\n this.startDate = params.startDate;\n this.selectedPaymentTerm = params.selectedPaymentTerm;\n this.agreementId = agreementId;\n\n this.chosenInsurances = allCards ? this.deconstructCards(allCards) : params.chosenInsurances;\n }\n\n deconstructCards(cards) {\n var output = [];\n for (var i = 0; i < cards.length; i++) {\n const insuredPersons = cards[i].insuredPersons\n .filter((person) => person.isSelected === true)\n .map(({ initials, customerNumber, birthDate, role }) => ({\n initials: initials,\n customerNumber: customerNumber.toString(),\n dateOfBirth: birthDate,\n role: role.Role,\n }));\n\n if (!isEmpty(insuredPersons)) {\n output.push({\n packageSetNumber: cards[i].packageSetNumber,\n contractCode: this.contractCode,\n packageTypeForWebApplications: cards[i].packageTypeForWebApplications.productType,\n productComponentCode: cards[i].productComponentCode,\n ownRiskAmount: cards[i].ownRiskAmount,\n ownRiskDiscount: cards[i].ownRiskDiscount,\n insuredPersons: insuredPersons,\n });\n }\n }\n\n return output;\n }\n}\nclass TotalNettoPremium {\n constructor(params, customers, startDate) {\n this.customerOverviews = params.customerOverview.map(\n (overview) => new CustomerOverview(overview, customers, startDate),\n );\n this.totalNettoAmountMonth = params.totalNettoAmountMonth;\n this.totalNettoDiscountAmount = params.totalNettoDiscountAmount;\n this.paymentTermDiscountAmount = params.paymentTermDiscountAmount;\n this.paymentTermDiscountPercentage = params.paymentTermDiscountPercentage;\n this.totalNettoAmountPaymentTerm = params.totalNettoAmountPaymentTerm;\n\n this.totalDiscountAmount = sum(params.customerOverview.map((overview) => overview.totalDiscountAmount));\n this.totalAdditionalDiscountAmount = sum(\n params.customerOverview.map((overview) => overview.totalAdditionalDiscountAmount),\n );\n this.totalCollectivityDiscountAmount = sum(\n params.customerOverview.map((overview) => overview.totalCollectivityDiscountAmount),\n );\n this.excessDiscountAmount = sum(params.customerOverview.map((overview) => overview.excessDiscountAmount));\n }\n}\n\nclass CustomerOverview {\n constructor(params, customers, startDate) {\n this.customerNumber = params.customerNumber;\n this.customer = customers.find((customer) => parseInt(customer.customerNumber) === parseInt(this.customerNumber));\n\n this.excessAmount = params.excessAmount;\n this.excessDiscountAmount = params.excessDiscountAmount;\n this.totalDiscountAmount = params.totalDiscountAmount;\n this.totalNettoAmountMonth = params.totalNettoAmountMonth;\n\n const hasBasicInsurance = params.productPremiums.some((pp) => pp.packageTypeForWebApplications === 'MB');\n const hasOwnRisc = params.productPremiums.some((pp) => pp.packageTypeForWebApplications === 'OW');\n\n if (isDateStringOlderThanNYears(this.customer.birthDate, 18, startDate) && hasBasicInsurance && !hasOwnRisc)\n params = this.addOwnRisc(params);\n this.productPremiums = params.productPremiums.map((productPremium) => new ProductPremium(productPremium));\n\n this.paymentTermDiscountAmount = params.paymentTermDiscountAmount;\n this.paymentTermDiscountPercentage = params.paymentTermDiscountPercentage;\n this.totalNettoAmountPaymentTerm = params.totalNettoAmountPaymentTerm;\n this.totalAdditionalDiscountAmount = params.totalAdditionalDiscountAmount;\n this.totalCollectivityDiscountAmount = params.totalCollectivityDiscountAmount;\n }\n\n addOwnRisc(params) {\n params.productPremiums.splice(1, 0, {\n nettoPremium: params.excessDiscountAmount === 0 ? params.excessDiscountAmount : params.excessDiscountAmount * -1,\n title: i18n.global.t('productType.excess') + ` ${formatCurrency(params.excessAmount + 385)}`,\n packageTypeForWebApplications: 'OW',\n });\n return params;\n }\n}\n\nclass ProductPremium {\n constructor(params) {\n this.productComponentCode = params.productComponentCode;\n this.title = params.title;\n this.packageTypeForWebApplications = params.packageTypeForWebApplications;\n this.nettoPremium = params.nettoPremium;\n this.collectivityDiscountAmount = params.collectivityDiscountAmount;\n }\n}\n\nclass CustomerMedicalSelectionDetails {\n constructor(params) {\n this.customerNumber = params.customerNumber;\n this.hasDeniedMedicalSelection = params.hasDeniedMedicalSelection;\n this.medicalSelectionDateIsToday = params.medicalSelectionDateIsToday;\n }\n}\n\nexport { ContractCard as default };\nexport { Card };\n","import Customer from 'src/models/customer.js';\n\nclass CustomerMedicalSelectionAcceptanceDetails {\n constructor(params) {\n this.customer = new Customer(params.customer);\n this.packageName = params.packageName;\n this.isApproved = params.isApproved;\n }\n}\nexport { CustomerMedicalSelectionAcceptanceDetails as default };\n","import ContractCard from 'src/models/contractCard.js';\nimport CustomerMedicalSelectionAcceptanceDetails from 'src/models/customerMedicalSelectionAcceptanceDetails.js';\nimport TypeOfProduct from 'src/models/typeOfProduct.js';\n\nimport { axiosInstance } from 'boot/axios';\nimport { isEmpty, cloneDeep } from 'lodash';\n\nexport function getContracts({ commit }, payload) {\n commit('setIsLoadingContracts', true);\n commit('setContractsForNewlyInsured', false);\n\n return axiosInstance\n .post('Contract/GetContractCardsForActivePolicies', payload)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit('setContracts', new ContractCard(response.data, payload));\n commit('setOriginalContracts', new ContractCard(response.data, payload));\n commit('setUnselectedRequiredPackages', []);\n }\n })\n .finally(() => commit('setIsLoadingContracts', false));\n}\nexport function getContractsNewlyInsured({ commit }, payload) {\n commit('setIsLoadingContracts', true);\n commit('setContractsForNewlyInsured', true);\n\n return axiosInstance\n .post('Contract/GetContractCardsForNewlyInsuredPersons', payload)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit('setContracts', new ContractCard(response.data, payload));\n commit('setOriginalContracts', new ContractCard(response.data, payload));\n commit('setUnselectedRequiredPackages', []);\n }\n })\n .finally(() => commit('setIsLoadingContracts', false));\n}\n\nexport function validateContract({ commit, getters }) {\n commit('setIsLoadingValidateContract', true);\n\n return axiosInstance\n .post('Contract/validate', getters.contracts.validateCard)\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit('updateContractCards', response.data);\n commit(\n 'setUnselectedRequiredPackages',\n response.data.unselectedRequiredPackageTypes.map((type) => new TypeOfProduct(type)),\n );\n }\n })\n .finally(() => commit('setIsLoadingValidateContract', false));\n}\nexport function updateCardSelectionStatus({ commit }, payload) {\n commit('updateCardSelectionStatus', payload);\n}\nexport function resolvePackageSelectionConflict({ commit }) {\n commit('resolvePackageSelectionConflict');\n}\nexport function revertLastChange({ commit, getters }) {\n commit('setContracts', cloneDeep(getters.beforeChangeContracts));\n}\nexport function updateBeforeChangeContracts({ commit, getters }) {\n commit('updateBeforeChangeContracts', cloneDeep(getters.contracts));\n}\nexport function updateChosenMedicalSelectionCard({ commit }, payload) {\n commit('updateChosenMedicalSelectionCard', payload);\n}\n\nexport function clearContracts({ commit }) {\n commit('clearContracts');\n}\n\nexport function resetContracts({ commit, getters }) {\n commit('setContracts', cloneDeep(getters.originalContracts));\n}\n\nexport function updatePaymentTerm({ commit }, payload) {\n commit('updatePaymentTerm', payload);\n}\n\nexport function saveMedicalSelections({ commit, getters }, payload) {\n commit('setIsLoadingValidateContract', true);\n\n return axiosInstance\n .post('Contract/ValidateAndSaveMedicalSelection', {\n agreementDetails: payload.agreementDetails,\n newlyInsuredPersons: payload.newlyInsuredPersons,\n requestedContract: getters.contracts.validateCard,\n })\n .then((response) => {\n const responsData = [];\n if (!isEmpty(response.data)) {\n response.data.forEach((details) => {\n responsData.push(new CustomerMedicalSelectionAcceptanceDetails(details));\n });\n commit('setMedicalSelectionResponse', {\n customerMedicalSelectionDetails: responsData,\n });\n }\n })\n .finally(() => commit('setIsLoadingValidateContract', false));\n}\n\nexport function saveNewContracts({ dispatch, getters }, payload) {\n const newPayload = {\n agreementId: payload.agreementId,\n validateCard: cloneDeep(getters.contracts.validateCard),\n };\n\n newPayload.validateCard.paymentInformation = {\n paymentTerm: payload.paymentTerm,\n paymentMethod: payload.paymentMethod,\n iban: payload.bankAccountNumber,\n };\n\n newPayload.validateCard.PersonalInformation = {\n phoneNumber: payload.phoneNumber,\n email: payload.email,\n language: payload.language,\n digitalNewsletterActive: payload.digitalNewsletterActive,\n announcementEmailActive: payload.announcementEmailActive,\n };\n\n return dispatch('saveContracts', newPayload);\n}\n\nexport function saveContracts({ commit, getters }, payload) {\n commit('setIsSavingContracts', true);\n\n const validateCard = payload.validateCard ? payload.validateCard : getters.contracts.validateCard;\n\n return axiosInstance\n .post(`Contract/SaveContractCards?agreementNumber=${payload.agreementId}`, validateCard)\n .then((response) => {\n const isSuccesfull = response.status === 200;\n commit('setIsSavingContractsSuccesfull', isSuccesfull);\n\n return response;\n })\n .catch((error) => {\n if (error.response.data.packageTypes)\n commit(\n 'setUnselectedRequiredPackages',\n error.response.data.packageTypes.map((type) => new TypeOfProduct(type)),\n );\n commit('setShowUnselectedRequiredPackages', true);\n })\n .finally(() => {\n commit('setIsSavingContracts', false);\n });\n}\n\nexport function setIsSavingContractsSuccesfull({ commit }, payload) {\n commit('setIsSavingContractsSuccesfull', payload);\n}\n\nexport function updateNewlyInsuredPersons({ commit }, payload) {\n commit('updateNewlyInsuredPersons', payload);\n}\n\nexport function setShowUnselectedRequiredPackages({ commit }, payload) {\n commit('setShowUnselectedRequiredPackages', payload);\n}\nexport function saveContractsNewlyInsuredPersons({ commit, getters }, payload) {\n commit('setIsSavingContracts', true);\n\n return axiosInstance\n .post(\n `Contract/SaveContractCardsForNewlyInsuredPersons?agreementNumber=${payload.agreementId}`,\n getters.contracts.validateCard,\n )\n .then((response) => {\n const isSuccesfull = response.status === 200;\n commit('setIsSavingContractsSuccesfull', isSuccesfull);\n })\n .catch((error) => {\n if (error.response.data.packageTypes)\n commit(\n 'setUnselectedRequiredPackages',\n error.response.data.packageTypes.map((type) => new TypeOfProduct(type)),\n );\n commit('setShowUnselectedRequiredPackages', true);\n })\n .finally(() => {\n commit('setIsSavingContracts', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n notificationRequestUrls: [],\n };\n}\n","export const notificationRequestUrls = (state) => state.notificationRequestUrls;\n","export function addNotificationRequestUrl(state, payload) {\n state.notificationRequestUrls.push(payload);\n}\n\nexport function clearNotificationRequestUrl(state, payload) {\n state.notificationRequestUrls = state.notificationRequestUrls.filter((url) => url !== payload);\n}\n","import { Notify as QuasarNotify } from 'quasar';\n\nexport function createNotification({ commit }, payload) {\n const error = payload.error;\n const requestUrl = error && error.config && error.config.url ? error.config.url : undefined;\n if (requestUrl !== undefined) commit('addNotificationRequestUrl', requestUrl);\n QuasarNotify.create(payload.notification);\n}\n\nexport function clearNotificationRequestUrl({ commit }, payload) {\n commit('clearNotificationRequestUrl', payload);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n startDate: undefined,\n isLoadingCancelationServiceDate: undefined,\n isCancelationServiceActive: undefined,\n newlyInsuredPersons: {},\n shouldResetSelectedAgreementId: true,\n selectedAgreementId: null,\n shouldRefreshContracts: true,\n isBornRecently: undefined,\n };\n}\n","export const isCancelationServiceActive = (state) => state.isCancelationServiceActive;\nexport const isLoadingCancelationServiceDate = (state) => state.isLoadingCancelationServiceDate;\nexport const newlyInsuredPersons = (state) => state.newlyInsuredPersons;\nexport const addInsuredStartDate = (state) => state.startDate?.value;\nexport const addInsuredStartDateOption = (state) => state.startDate;\nexport const currentlySelectedAgreementId = (state) => state.selectedAgreementId;\nexport const shouldResetSelectedAgreementId = (state) => state.shouldResetSelectedAgreementId;\nexport const shouldRefreshContracts = (state) => state.shouldRefreshContracts;\n\nexport const hasPartnerInAddInsuredForms = (state) =>\n Object.values(state.newlyInsuredPersons).some((x) => x.role === 'P');\nexport const canPickStartDate = function (state) {\n const forms = Object.values(state.newlyInsuredPersons);\n return forms.length > 1 || (forms.length === 1 && !forms[0].isBornRecently);\n};\n","import { cloneDeep } from 'lodash';\n\nexport function setIsLoadingCancelationServiceDate(state, payload) {\n state.isLoadingCancelationServiceDate = payload;\n}\nexport function setIsCancelationServiceActive(state, payload) {\n state.isCancelationServiceActive = payload;\n}\nexport function setStartDate(state, payload) {\n state.shouldRefreshContracts = true;\n state.startDate = payload;\n}\nexport function setSelectedAgreementId(state, payload) {\n state.selectedAgreementId = payload;\n}\nexport function setShouldResetSelectedAgreementId(state, payload) {\n state.shouldResetSelectedAgreementId = payload;\n}\n\nexport function clearNewInsuredPerson(state) {\n state.shouldRefreshContracts = true;\n state.newlyInsuredPersons = {};\n state.isLoadingCancelationServiceDate = undefined;\n state.isCancelationServiceActive = undefined;\n state.shouldResetSelectedAgreementId = undefined;\n state.startDate = undefined;\n}\n\nexport function addNewInsuredPerson(state, payload) {\n state.shouldRefreshContracts = true;\n state.newlyInsuredPersons[payload.guid] = payload.form;\n}\nexport function removeNewInsuredPerson(state, payload) {\n state.shouldRefreshContracts = true;\n const clone = cloneDeep(state.newlyInsuredPersons);\n delete clone[payload];\n state.newlyInsuredPersons = clone;\n}\n\nexport function setShouldRefreshContracts(state, payload) {\n state.shouldRefreshContracts = payload;\n}\n\nexport function setFormProperty(state, payload) {\n state.shouldRefreshContracts = true;\n const clone = cloneDeep(state.newlyInsuredPersons);\n const updatedForm = Object.assign(clone[payload.guid], payload.field);\n state.newlyInsuredPersons[payload.guid] = updatedForm;\n}\n\nexport function updateMedicalSelectionForNewlyInsuredPerson(state, payload) {\n state.newlyInsuredPersons[payload.key].medicalSelection = payload.medicalSelection;\n}\nexport function setCoInsuredOnForms(state) {\n const clone = cloneDeep(state.newlyInsuredPersons);\n\n const keys = Object.keys(clone);\n keys.forEach((key) => {\n if (clone[key].role !== 'P') {\n clone[key].role = 'M';\n }\n });\n state.newlyInsuredPersons = clone;\n}\nexport function setStartDateOfNewBorn(state, payload) {\n state.startDate = payload;\n}\n","import { axiosInstance } from 'boot/axios';\nimport { compensateTimeZoneOffsetForBackend } from 'src/utils/helpers.js';\n\nexport async function getCancelationServiceDate({ commit }, payload) {\n commit('setIsLoadingCancelationServiceDate', true);\n\n return axiosInstance\n .get(`CancellationServicePeriod/ValidateDate?date=${payload.toISOString()}`)\n .then((response) => {\n commit('setIsCancelationServiceActive', response.data);\n })\n .finally(() => {\n commit('setIsLoadingCancelationServiceDate', false);\n });\n}\n\nexport function addNewInsuredPerson({ commit }, payload) {\n commit('addNewInsuredPerson', payload);\n}\nexport function removeNewInsuredPerson({ commit }, payload) {\n commit('removeNewInsuredPerson', payload);\n}\nexport function updateNewInsuredPerson({ commit }, payload) {\n commit('setNewInsuredPerson', payload);\n}\n\nexport function updateFormProperty({ commit }, payload) {\n commit('setFormProperty', payload);\n}\n\nexport function setShouldRefreshContracts({ commit }, payload) {\n commit('setShouldRefreshContracts', payload);\n}\n\nexport async function updateStartDate({ commit, dispatch }, payload) {\n await dispatch('getCancelationServiceDate', compensateTimeZoneOffsetForBackend(new Date()));\n commit('setStartDate', payload);\n}\n\nexport function clearNewInsuredPerson({ commit }) {\n commit('clearNewInsuredPerson');\n}\nexport function setIsLoadingCancelationServiceDate({ commit }, payload) {\n commit('setIsLoadingCancelationServiceDate', payload);\n}\nexport function setIsCancelationServiceActive({ commit }, payload) {\n commit('setIsCancelationServiceActive', payload);\n}\nexport function updateSelectedAgreementId({ commit }, payload) {\n commit('setSelectedAgreementId', payload);\n}\nexport function updateShouldResetSelectedAgreementId({ commit }, payload) {\n commit('setShouldResetSelectedAgreementId', payload);\n}\nexport function updateMedicalSelectionForNewlyInsuredPerson({ commit }, payload) {\n commit('updateMedicalSelectionForNewlyInsuredPerson', payload);\n}\nexport function setCoInsuredOnForms({ commit }) {\n commit('setCoInsuredOnForms');\n}\nexport function updateIsBornRecently({ commit }, payload) {\n commit('updateIsBornRecently', payload);\n}\nexport function setStartDateOfNewBorn({ commit }, payload) {\n commit('setStartDateOfNewBorn', payload);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n memberOffers: null,\n isLoading: false,\n };\n}\n","export const memberOffers = (state) => state.memberOffers;\nexport const isLoading = (state) => state.isLoading;\n","export function setMemberOffers(state, payload) {\n state.memberOffers = payload;\n}\n\nexport function setLoading(state, payload) {\n state.isLoading = payload;\n}\n","import { axiosInstance } from 'boot/axios';\n\nexport function getMemberOffers({ commit }, collectivityLabel) {\n commit('setLoading', true);\n return axiosInstance.get(`MemberOffer/${collectivityLabel}`).then((response) => {\n if (response.status === 200) {\n commit('setMemberOffers', response.data);\n }\n commit('setLoading', false);\n });\n}\n\nexport function postTip(_, payload) {\n return axiosInstance.post('MemberOffer/Tip', payload);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n items: [],\n isLoading: false,\n activeSubMenuName: null,\n };\n}\n","import isUndefined from 'lodash/isUndefined';\nimport routes from 'src/router/routes';\n\nexport function getMatchingRoute(routeName) {\n return routes[0].children.filter((route) => route.name === routeName)[0];\n}\n\nexport function isAuthorizedForRoute(route) {\n return (\n isUndefined(route) || isUndefined(route.meta.isAuthorized) || (route.meta.isAuthorized && route.meta.isAuthorized())\n );\n}\n","export default class MenuItem {\n type = 'menu-item';\n\n constructor(params) {\n this.name = params.name;\n this.displayName = params.displayName;\n this.excludedLabels = params.excludedLabels;\n this.routeName = params.routeName;\n this.query = params.query;\n return this;\n }\n}\n","import MenuItem from './menuItem';\n\nexport default class MenuItemGroup {\n type = 'menu-item-group';\n\n constructor(params) {\n this.name = params.name;\n this.displayName = params.displayName;\n this.excludedLabels = params.excludedLabels;\n this.menuItemsPrimary = params.menuItemsPrimary.map((item) => new MenuItem(item));\n this.menuItemsSecondary = params.menuItemsSecondary?.map((item) => new MenuItem(item));\n this.tile = params.tile;\n return this;\n }\n}\n","import { cloneDeep } from 'lodash';\nimport { getMatchingRoute, isAuthorizedForRoute } from 'src/utils/routeHelper';\nimport MenuItem from 'src/models/menu/menuItem';\nimport MenuItemGroup from 'src/models/menu/menuItemGroup';\n\nexport const getItems = (state) => {\n const items = cloneDeep(state.items);\n\n items.forEach((element) => {\n if (element instanceof MenuItemGroup) {\n element.menuItemsPrimary = element.menuItemsPrimary.filter((x) => {\n const route = getMatchingRoute(x.routeName);\n return isAuthorizedForRoute(route);\n });\n\n if (element.menuItemsSecondary) {\n element.menuItemsSecondary = element.menuItemsSecondary.filter((x) => {\n const route = getMatchingRoute(x.routeName);\n return isAuthorizedForRoute(route);\n });\n }\n }\n });\n\n return items.filter((element) => {\n if (element instanceof MenuItemGroup) {\n return (\n element.menuItemsPrimary.length > 0 || (element.menuItemsSecondary && element.menuItemsSecondary.length > 0)\n );\n }\n\n if (element instanceof MenuItem) {\n const route = getMatchingRoute(element.routeName);\n return isAuthorizedForRoute(route);\n }\n });\n};\nexport const getIsLoading = (state) => state.isLoading;\nexport const getActiveSubMenuName = (state) => state.activeSubMenuName;\n","export function setItems(state, payload) {\n state.items = payload;\n}\n\nexport function setIsLoading(state, payload) {\n state.isLoading = payload;\n}\n\nexport function setActiveSubMenuName(state, payload) {\n state.activeSubMenuName = payload;\n}\n","import isEmpty from 'lodash/isEmpty';\nimport MenuItem from 'src/models/menu/menuItem';\nimport MenuItemGroup from 'src/models/menu/menuItemGroup';\nimport { contentAxiosInstance } from 'src/boot/axios';\n\nexport function fetchItems({ commit, state }) {\n if (!isEmpty(state.items)) return;\n commit('setIsLoading', true);\n\n contentAxiosInstance\n .get('/frontend-content/menu/menu.json')\n .then((response) => {\n if (!isEmpty(response.data.menu)) {\n commit(\n 'setItems',\n response.data.menu.map((item) => {\n switch (item.type) {\n case 'menu-item':\n return new MenuItem(item);\n case 'menu-item-group':\n return new MenuItemGroup(item);\n default:\n throw new Error('Unkown menu item type');\n }\n }),\n );\n }\n })\n .finally(commit('setIsLoading', false));\n}\n\nexport function updateActiveSubMenuName({ commit }, payload) {\n commit('setActiveSubMenuName', null);\n\n // Make sure rerendering / animation(s) occurs\n setTimeout(() => {\n commit('setActiveSubMenuName', payload);\n }, 100);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n items: null,\n isLoading: false,\n };\n}\n","export const items = (state) => state.items;\nexport const isLoading = (state) => state.isLoading;\n","export function setItems(state, payload) {\n state.items = payload;\n}\n\nexport function setLoading(state, payload) {\n state.isLoading = payload;\n}\n","import { differenceInYears } from 'date-fns';\nimport { store } from 'src/store';\n\n/**\n * @description Calculate the position and priority of the tile of type 'own-risk'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileOwnRiskPositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'messages'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileMessagesPositionPriorityAndVisibility(tileObject) {\n const hasUnreadDocumentsLast6Months = store.getters['document/hasUnreadDocumentsLast6Months'];\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres && hasUnreadDocumentsLast6Months,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres && hasUnreadDocumentsLast6Months,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'open-invoices'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileOpenInvoicesPositionPriorityAndVisibility(tileObject) {\n const payableInvoices = store.getters['invoice/payableInvoices'];\n const isLoading = store.getters['invoice/isLoadingInvoices'];\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n const mayReadInvoice = store.getters['user/permissions'].mayReadInvoice;\n return {\n desktop: {\n visible: mayReadInvoice && visibilityBasedOnVisibilityParametres && payableInvoices.length > 0 && !isLoading,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: mayReadInvoice && visibilityBasedOnVisibilityParametres && payableInvoices.length > 0 && !isLoading,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'payment-arrangement'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTilePaymentArrangementPositionPriorityAndVisibility(tileObject) {\n const invoices = store.getters['invoice/paymentArrangementInvoices'];\n const isLoading = store.getters['invoice/isLoadingInvoices'];\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n const mayReadInvoice = store.getters['user/permissions'].mayReadInvoice;\n return {\n desktop: {\n visible: mayReadInvoice && visibilityBasedOnVisibilityParametres && invoices.length > 0 && !isLoading,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: mayReadInvoice && visibilityBasedOnVisibilityParametres && invoices.length > 0 && !isLoading,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'good-news'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileGoodNewsPositionPriorityAndVisibility(tileObject) {\n const payableInvoices = store.getters['invoice/payableInvoices'];\n const paymentArrangementInvoices = store.getters['invoice/paymentArrangementInvoices'];\n const count = payableInvoices.length + paymentArrangementInvoices.length;\n const isLoading = store.getters['invoice/isLoadingInvoices'];\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n const mayReadInvoice = store.getters['user/permissions'].mayReadInvoice;\n return {\n desktop: {\n visible: mayReadInvoice && visibilityBasedOnVisibilityParametres && count === 0 && !isLoading,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: mayReadInvoice && visibilityBasedOnVisibilityParametres && count === 0 && !isLoading,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'ehic'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileEhicPositionPriorityAndVisibility(tileObject) {\n const customerUser = store.getters['customer/customerUser'];\n const cards = store.getters['insuranceCard/digitalInsuranceCardInformation'];\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres && cards?.length > 0 && customerUser,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres && cards?.length > 0 && customerUser,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'declaration'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileDeclarationPositionPriorityAndVisibility(tileObject) {\n const processedStatus = 'Afgehandeld';\n const declarations = store.getters['declaration/declarationsPreview'];\n\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n const visible =\n visibilityBasedOnVisibilityParametres &&\n declarations?.length !== 0 &&\n declarations.find((item) => processedStatus === item.status);\n return {\n desktop: {\n visible,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'insurance-right'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileInsuranceRightPositionPriorityAndVisibility(tileObject) {\n const insuranceRight = store.getters['insuranceRight/insuranceRight'];\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n const visible = visibilityBasedOnVisibilityParametres && insuranceRight?.isCheckRequired;\n return {\n desktop: {\n visible,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'tile-info-title'\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileInfoTitlePositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'arrange-immediately'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileArrangeImmediatelyPositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'tile-info-title-and-paragraph'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileInfoTitleAndParagraphPositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'your-insurance'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileYourInsurancePositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'fysio-self-check'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileFysioSelfCheckPositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'healthcare-contracts'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateTileHealthcareContractsPositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Calculate the position and priority of the tile of type 'tile-info-title-and-paragraph'.\n * @param {Object} tileObject\n * @returns {Object}\n */\nexport function calculateRequestPolicyPositionPriorityAndVisibility(tileObject) {\n const visibilityBasedOnVisibilityParametres = calculateVisibility(tileObject);\n return {\n desktop: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.desktop.position,\n priority: tileObject.priorityAndPosition.desktop.priority,\n },\n mobile: {\n visible: visibilityBasedOnVisibilityParametres,\n position: tileObject.priorityAndPosition.mobile.position,\n priority: tileObject.priorityAndPosition.mobile.priority,\n },\n };\n}\n\n/**\n * @description Shared logic to determine visibility based on the tileObject.visibilityParametres.\n * @param {Object} tileObject\n * @returns {boolean}\n */\nfunction calculateVisibility(tileObject) {\n const visibilityParametres = tileObject.visibilityParametres;\n if (!visibilityParametres) return true;\n\n return (\n calculateVisibilityStartDate(visibilityParametres.startDate) &&\n calculateVisibilityEndDate(visibilityParametres.endDate) &&\n calculateVisibilityExcludedTypeInsured(visibilityParametres.excludedTypeInsured) &&\n calculateVisibilityExlusiveCollectivities(visibilityParametres.exlusiveCollectivities) &&\n calculateVisibilityExclusiveLabels(visibilityParametres.exclusiveLabels) &&\n calculateVisibilityRequiresActivePolicy(visibilityParametres.requiresActivePolicy) &&\n calculateVisibilityExcludedProducts(visibilityParametres.excludedProducts) &&\n calculateVisibilityRequiresProducts(visibilityParametres.requiresProducts) &&\n calculateVisibilityUserIsNotDefaulter(visibilityParametres.checkUserIsDefaulter) &&\n calculateVisibilityRequiresAdult(visibilityParametres.requiresAdult) &&\n calculateVisibilityOfferYear(visibilityParametres.requiresOfferYear)\n );\n}\n\n/**\n * @description Shared logic to determine visibility based on the startDate.\n * @param {String} startDateString\n * @returns {boolean}\n */\nfunction calculateVisibilityStartDate(startDateString) {\n if (!startDateString) return true;\n // Set the hours to 0 to compare only the date\n const startDate = new Date(startDateString).setHours(0, 0, 0, 0);\n return startDate <= new Date().setHours(0, 0, 0, 0);\n}\n\n/**\n * @description Shared logic to determine visibility based on the endDate.\n * @param {String} endDateString\n * @returns {boolean}\n */\nfunction calculateVisibilityEndDate(endDateString) {\n if (!endDateString) return true;\n // Set the hours to 0 to compare only the date\n const endDate = new Date(endDateString).setHours(0, 0, 0, 0);\n return endDate > new Date().setHours(0, 0, 0, 0);\n}\n\n/**\n * @description Shared logic to determine visibility based on the excludedTypeInsured.\n * @param {Array} excludedTypeInsured\n * @returns {boolean}\n */\nfunction calculateVisibilityExcludedTypeInsured(excludedTypeInsured) {\n if (!excludedTypeInsured || excludedTypeInsured.length === 0) return true;\n const typeInsured = store.getters['user/user'].role.Role;\n return !excludedTypeInsured.includes(typeInsured);\n}\n\n/**\n * @description Shared logic to determine visibility based on the exlusiveCollectivities.\n * @param {Array} exlusiveCollectivities\n * @returns {boolean}\n */\nfunction calculateVisibilityExlusiveCollectivities(exlusiveCollectivities) {\n if (!exlusiveCollectivities || exlusiveCollectivities.length === 0) return true;\n const agreementDetails = store.getters['agreement/agreementDetails'];\n const contractCodes = agreementDetails?.map((agreement) => agreement.contractCode);\n return exlusiveCollectivities.some((collectivity) => contractCodes?.includes(collectivity));\n}\n\nfunction calculateVisibilityExclusiveLabels(exclusiveLabels) {\n if (!exclusiveLabels || exclusiveLabels.length === 0) return true;\n const labels = store.getters['user/user'].collectivityLabel.collectivityLabel;\n return exclusiveLabels.some((label) => labels.includes(label));\n}\n\n/**\n * @description Shared logic to determine visibility based on the requiresActivePolicy.\n * @param {boolean} requiresActivePolicy\n * @returns {boolean}\n */\nfunction calculateVisibilityRequiresActivePolicy(requiresActivePolicy) {\n if (!requiresActivePolicy) return true;\n const agreementDetails = store.getters['agreement/agreementDetails'];\n return agreementDetails?.some((agreement) => !agreement.hasAgreementEnded);\n}\n\n/**\n * @description Shared logic to determine visibility based on the checkUserIsDefaulter.\n * @param {*} checkUserIsDefaulter\n * @returns\n */\nfunction calculateVisibilityUserIsNotDefaulter(checkUserIsDefaulter) {\n if (!checkUserIsDefaulter) return true;\n const user = store.getters['user/user'];\n return !user.isDefaulter;\n}\n\n/**\n * @description Shared logic to determine visibility based on the requiresProducts.\n * @param {*} requiresProducts\n * @returns\n */\nfunction calculateVisibilityRequiresProducts(requiresProducts) {\n if (!requiresProducts || requiresProducts.length === 0) return true;\n\n return getProductsByUser()?.some((x) => requiresProducts.some((y) => y === x.typeOfProduct));\n}\n\nfunction calculateVisibilityRequiresAdult(requiresAdult) {\n if (!requiresAdult) return true;\n const user = store.getters['user/user'];\n const now = new Date();\n return differenceInYears(now, new Date(user.birthDate)) >= 18;\n}\n\nfunction calculateVisibilityExcludedProducts(excludedProducts) {\n if (!excludedProducts || excludedProducts.length === 0) return true;\n\n return getProductsByUser().filter((x) => excludedProducts.includes(x.typeOfProduct))?.length === 0;\n}\n\nfunction calculateVisibilityOfferYear(requiresOfferYear) {\n if (!requiresOfferYear || requiresOfferYear === 0) return true;\n const offerYear = store.getters['agreement/offerYear'];\n if (!offerYear || offerYear === 0 || offerYear !== requiresOfferYear) return false;\n return true;\n}\n\nfunction getProductsByUser() {\n const user = store.getters['user/user'];\n let agreementDetails = store.getters['agreement/agreementDetailsForOfferYear'];\n if (!agreementDetails) {\n agreementDetails = store.getters['agreement/agreementDetails'];\n }\n if (!agreementDetails || agreementDetails.length === 0) return [];\n const policyNumber = agreementDetails[0].agreementParticipants.find(\n (x) => x.customer.customerNumber === user.customerNumber,\n )?.policyNumber;\n return agreementDetails\n ?.filter((x) => !x.hasAgreementEnded)\n .flatMap((x) => x.policyDetails)\n .find((x) => x.policyNumber === policyNumber).products;\n}\n","import {\n calculateTileOwnRiskPositionPriorityAndVisibility,\n calculateTileMessagesPositionPriorityAndVisibility,\n calculateTileInfoTitlePositionPriorityAndVisibility,\n calculateTileArrangeImmediatelyPositionPriorityAndVisibility,\n calculateTileInfoTitleAndParagraphPositionPriorityAndVisibility,\n calculateTileOpenInvoicesPositionPriorityAndVisibility,\n calculateTilePaymentArrangementPositionPriorityAndVisibility,\n calculateTileGoodNewsPositionPriorityAndVisibility,\n calculateTileEhicPositionPriorityAndVisibility,\n calculateTileDeclarationPositionPriorityAndVisibility,\n calculateTileInsuranceRightPositionPriorityAndVisibility,\n calculateRequestPolicyPositionPriorityAndVisibility,\n calculateTileYourInsurancePositionPriorityAndVisibility,\n calculateTileFysioSelfCheckPositionPriorityAndVisibility,\n calculateTileHealthcareContractsPositionPriorityAndVisibility,\n} from 'src/utils/tile';\nimport { contentAxiosInstance } from 'src/boot/axios';\n\n/**\n * @description Get items\n * @returns {void}\n */\nexport function getItems({ commit, dispatch }) {\n if (this.state.items?.length > 0) return;\n commit('setLoading', true);\n\n contentAxiosInstance.get('/frontend-content/tiles/tiles.json').then((response) => {\n commit('setItems', response.data);\n commit('setLoading', false);\n dispatch('calculatePositionPriorityAndVisibilityForTiles');\n });\n}\n\nexport function calculatePositionPriorityAndVisibilityForTiles({ commit, state }) {\n const items = state.items;\n if (!items) return;\n const _updatedItems = items.map((item) => {\n let positionPriorityAndVisibility = {};\n switch (item.type) {\n case 'own-risk':\n positionPriorityAndVisibility = calculateTileOwnRiskPositionPriorityAndVisibility(item);\n break;\n case 'messages':\n positionPriorityAndVisibility = calculateTileMessagesPositionPriorityAndVisibility(item);\n break;\n case 'open-invoices':\n positionPriorityAndVisibility = calculateTileOpenInvoicesPositionPriorityAndVisibility(item);\n break;\n case 'good-news':\n positionPriorityAndVisibility = calculateTileGoodNewsPositionPriorityAndVisibility(item);\n break;\n case 'payment-arrangement':\n positionPriorityAndVisibility = calculateTilePaymentArrangementPositionPriorityAndVisibility(item);\n break;\n case 'ehic':\n positionPriorityAndVisibility = calculateTileEhicPositionPriorityAndVisibility(item);\n break;\n case 'declaration':\n positionPriorityAndVisibility = calculateTileDeclarationPositionPriorityAndVisibility(item);\n break;\n case 'insurance-right':\n positionPriorityAndVisibility = calculateTileInsuranceRightPositionPriorityAndVisibility(item);\n break;\n case 'tile-info-title':\n positionPriorityAndVisibility = calculateTileInfoTitlePositionPriorityAndVisibility(item);\n break;\n case 'arrange-immediately':\n positionPriorityAndVisibility = calculateTileArrangeImmediatelyPositionPriorityAndVisibility(item);\n break;\n case 'tile-info-title-and-paragraph':\n positionPriorityAndVisibility = calculateTileInfoTitleAndParagraphPositionPriorityAndVisibility(item);\n break;\n case 'request-policy':\n positionPriorityAndVisibility = calculateRequestPolicyPositionPriorityAndVisibility(item);\n break;\n case 'your-insurance':\n positionPriorityAndVisibility = calculateTileYourInsurancePositionPriorityAndVisibility(item);\n break;\n case 'fysio-self-check':\n positionPriorityAndVisibility = calculateTileFysioSelfCheckPositionPriorityAndVisibility(item);\n break;\n case 'healthcare-contracts':\n positionPriorityAndVisibility = calculateTileHealthcareContractsPositionPriorityAndVisibility(item);\n break;\n default:\n break;\n }\n return {\n ...item,\n calculatedValues: positionPriorityAndVisibility,\n };\n });\n commit('setItems', _updatedItems);\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n insuranceRight: null,\n isLoadingInsuranceRight: false,\n isSavingInsuranceRight: false,\n };\n}\n","export const insuranceRight = (state) => state.insuranceRight;\nexport const isLoadingInsuranceRight = (state) => state.isLoadingInsuranceRight;\nexport const isSavingInsuranceRight = (state) => state.isSavingInsuranceRight;\n","export function setIsLoadingInsuranceRight(state, payload) {\n state.isLoadingInvoices = payload;\n}\n\nexport function setInsuranceRight(state, payload) {\n state.insuranceRight = payload;\n}\n\nexport function setIsSavingInsuranceRight(state, payload) {\n state.isSavingInsuranceRight = payload;\n}\n","class InsurancePermission {\n constructor(params) {\n this.isCheckRequired = params.isCheckRequired;\n }\n}\n\nexport { InsurancePermission as default };\n","import { axiosInstance } from 'boot/axios';\nimport isEmpty from 'lodash/isEmpty';\nimport InsurancePermission from 'src/models/insurancePermission';\n\nexport function getInsuranceRight({ commit, state, rootState }, forced) {\n if (!rootState.user.permissions.mayReadInsuranceRight) return;\n if (state.insuranceRight !== null && !forced) return;\n commit('setIsLoadingInsuranceRight', true);\n axiosInstance\n .get('InsuranceRight')\n .then((response) => {\n if (!isEmpty(response.data)) {\n commit('setInsuranceRight', new InsurancePermission(response.data));\n }\n })\n .finally(() => commit('setIsLoadingInsuranceRight', false));\n}\n\nexport function requestInsuranceRight({ commit }, payload) {\n commit('setIsSavingInsuranceRight', true);\n\n const hasDutchIncome = payload.dutchWork?.key === 'yes';\n const hasBenefit = payload.benefit?.key === 'yes';\n const hasOtherIncome = payload.incomeOtherCountry?.key === 'yes' || payload.incomeOtherCountryExtra?.key === 'yes';\n const isSelfEmployed = payload.selfEmployed?.key === 'yes';\n\n const formData = new FormData();\n if (payload.dutchWork) {\n formData.set('HasDutchIncome', hasDutchIncome);\n }\n if (payload.benefit) {\n formData.set('HasBenefit', hasBenefit);\n }\n if (payload.incomeOtherCountry || payload.incomeOtherCountryExtra) {\n formData.set('HasOtherIncome', hasOtherIncome);\n }\n if (payload.selfEmployed) {\n formData.set('IsSelfEmployed', isSelfEmployed);\n }\n !hasDutchIncome &&\n !hasBenefit &&\n !hasOtherIncome &&\n !isSelfEmployed &&\n formData.set('LastDutchIncome', payload.lastDutchIncome?.key);\n payload.documents.forEach((file) => formData.append('files', file.file));\n\n return axiosInstance.post('InsuranceRight', formData).finally(() => {\n commit('setIsSavingInsuranceRight', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n isSavingCareMediation: false,\n };\n}\n","export const isSavingCareMediation = (state) => state.isSavingCareMediation;\n","export function setIsSavingCareMediation(state, payload) {\n state.isSavingCareMediation = payload;\n}\n","import { axiosInstance } from 'src/boot/axios';\nimport { formatDateWithoutTime } from 'src/utils/format';\n\nconst DATE_FORMAT = 'yyyy-MM-dd';\n\nexport function saveGeneralPractitionerRequest({ commit }, payload) {\n const formData = new FormData();\n\n payload.selectedCustomerNumbers.forEach((x) => {\n formData.append('CurrentSelectedCustomerNumbers', x);\n });\n formData.set('Reason', payload.reason.key);\n formData.set('CurrentGeneralPractitioner.Name', payload.currentGp.name);\n formData.set('CurrentGeneralPractitioner.City', payload.currentGp.city);\n formData.set('NewCustomerAddressKnown', payload.address.isKnown.key === 'yes');\n if (payload.address.isKnown.key === 'no') {\n formData.set('NewCustomerPostalCode', payload.address.postalCode);\n }\n\n commit('setIsSavingCareMediation', true);\n\n return axiosInstance.post('CareMediation/GeneralPractitioner', formData).finally(() => {\n commit('setIsSavingCareMediation', false);\n });\n}\n\nexport function saveMaternityCareRequest({ commit }, payload) {\n const formData = new FormData();\n\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('AlreadyContacted', payload.alreadyContacted.key === 'yes');\n formData.set('IsSignedUp', payload.alreadySignedUp.isSignedUp.key === 'yes');\n if (payload.alreadySignedUp.isSignedUp.key === 'yes') {\n formData.set('Reason', payload.alreadySignedUp.reason);\n }\n formData.set('DueDate', formatDateWithoutTime(payload.when, DATE_FORMAT));\n if (payload.alreadySignedUp.isSignedUp.key === 'no') {\n formData.set('Confirmation', payload.alreadySignedUp.confirmation?.key === 'yes');\n }\n\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n commit('setIsSavingCareMediation', true);\n\n return axiosInstance.post('CareMediation/MaternityCare', formData).finally(() => {\n commit('setIsSavingCareMediation', false);\n });\n}\n\nexport function saveDistrictCareRequest({ commit }, payload) {\n const formData = new FormData();\n\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('Topic', payload.topic.key);\n formData.set('Indication', payload.indication.key);\n formData.set('Type', payload.type.key);\n formData.set('AmountOfCareKnown', payload.time.known.key === 'yes');\n if (payload.type.key !== 2 && payload.time.known.key === 'yes') {\n formData.set('NursingTime.Hours', payload.type.key !== 2 ? (payload.time.nursing.hours ?? 0) : 0);\n formData.set('NursingTime.Minutes', payload.type.key !== 2 ? (payload.time.nursing.minutes ?? 0) : 0);\n }\n if (payload.type.key !== 1 && payload.time.known.key === 'yes') {\n formData.set('PersonalCareTime.Hours', payload.type.key !== 1 ? (payload.time.personalCare.hours ?? 0) : 0);\n formData.set('PersonalCareTime.Minutes', payload.type.key !== 1 ? (payload.time.personalCare.minutes ?? 0) : 0);\n }\n\n formData.set('AlreadySignedUp', payload.alreadySignedUp.isSignedUp.key === 'yes');\n\n if (payload.alreadySignedUp.isSignedUp.key === 'yes') {\n formData.set('DistrictCare.City', payload.alreadySignedUp.city);\n formData.set('DistrictCare.Name', payload.alreadySignedUp.name);\n formData.set('HealthcareMediationInformation', payload.healthcareMediationInformation);\n }\n\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n commit('setIsSavingCareMediation', true);\n\n return axiosInstance.post('CareMediation/DistrictCare', formData).finally(() => {\n commit('setIsSavingCareMediation', false);\n });\n}\n\nexport function saveMentalHealthCareRequest({ commit }, payload) {\n const formData = new FormData();\n\n formData.set('Reference', payload.reference.key);\n if (payload.reference.name === 'other') {\n formData.set('OtherReferenceText', payload.referenceFreeText);\n }\n formData.set('DiagnoseTreatment', payload.isDiagnosis.key);\n formData.set('Stay', payload.stay.key === 'yes');\n formData.set('MentalHealthCareTopic', payload.topic.key);\n if (payload.topic.name === 'other') {\n formData.set('OtherTopicText', payload.topicFreeText);\n }\n formData.set('TreatmentFormKnown', payload.treatmentFormKnown.key === 'yes');\n if (payload.treatmentFormKnown.key === 'yes') {\n formData.set('TreatmentForm', payload.treatmentForm.key ?? 0);\n }\n if (payload.treatmentFormKnown.key === 'yes' && payload.treatmentForm.name === 'other') {\n formData.set('OtherTreatmentFormText', payload.treatmentFormFreeText);\n }\n formData.set('OnWaitingList', payload.waitingList.onWaitingList.key === 'yes');\n if (payload.waitingList.onWaitingList.key === 'yes') {\n formData.set('HealthCareInstance.Name', payload.waitingList.name);\n formData.set('HealthCareInstance.City', payload.waitingList.city);\n formData.set('WaitingTimeKnown', payload.waitingList.waitingTimeKnown?.key === 'yes');\n }\n\n if (payload.waitingList.onWaitingList.key === 'yes' && payload.waitingList.waitingTimeKnown?.key === 'yes') {\n formData.set('WaitingTime', `${payload.waitingList.time.amount} ${payload.waitingList.time.indication.value}`);\n }\n formData.set('Distance', payload.distance.key);\n formData.set('SickLeave.IsSickLeave', payload.sickLeave.isSickLeave.key === 'yes');\n if (payload.sickLeave.isSickLeave.key === 'yes') {\n formData.set(\n 'SickLeave.SickDate',\n payload.sickLeave.date ? formatDateWithoutTime(payload.sickLeave.date, DATE_FORMAT) : null,\n );\n }\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n commit('setIsSavingCareMediation', true);\n\n return axiosInstance.post('CareMediation/MentalHealthCare', formData).finally(() => {\n commit('setIsSavingCareMediation', false);\n });\n}\n\nexport function saveMedicalSpecialistRequest({ commit }, payload) {\n const formData = new FormData();\n\n formData.set('SelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('CareType', payload.type.key);\n if (payload.type.name === 'neuroscience') {\n formData.set('AdditionalInfoNeuroscienceText', payload.additionalInfoNeuroscience);\n }\n formData.set('Topic', payload.partData.part.key);\n if (payload.partData.part.name === 'second-opinion') {\n formData.set('SpecialistConsulted', payload.partData.specialistConsulted?.key === 'yes');\n }\n if (payload.partData.part.name === 'research') {\n formData.set('Research', payload.partData.researchType?.key ?? 0);\n }\n if (payload.partData.part.name === 'surgery') {\n formData.set('OperationTopicText', payload.partData.surgeryDescription);\n }\n if (payload.partData.part.name === 'research' && payload.partData.researchType?.name === 'other') {\n formData.set('OtherResearchText', payload.partData.researchTypeFreeForm);\n }\n if (payload.partData.part.name === 'research' && payload.partData.researchType?.name === 'mri') {\n formData.set('MriOptions', payload.partData.requestor?.key ?? 0);\n }\n if (payload.partData.part.name === 'research' && payload.partData.researchType?.name === 'scopy') {\n formData.set('ScopyResearchText', payload.partData.scopy);\n }\n formData.set('MediationType', payload.mediationData.mediationType.key);\n if (payload.mediationData.mediationType.name === 'waiting-list') {\n formData.set('AlreadyOnWaitingList', payload.mediationData.alreadySignedUp?.key === 'yes');\n }\n if (payload.mediationData.alreadySignedUp?.key === 'yes') {\n formData.set('HealthCareInstance.Name', payload.mediationData.business.name);\n formData.set('HealthCareInstance.City', payload.mediationData.business.city);\n formData.set('PractitionerName', payload.mediationData.practitioner);\n formData.set('WaitingTime', `${payload.mediationData.time.amount} ${payload.mediationData.time.indication.value}`);\n }\n formData.set('Distance', payload.distance.key);\n formData.set('SickLeave.IsSickLeave', payload.sickLeave.isSickLeave.key === 'yes');\n if (payload.sickLeave.isSickLeave.key === 'yes') {\n formData.set('SickLeave.SickDate', payload.sickLeave.date ? payload.sickLeave.date : null);\n }\n\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n if (payload.selectAdditionalInfo?.isSelectAdditionalInfo?.key === 'yes') {\n payload.selectAdditionalInfo?.selectAdditionalInformation?.forEach((x) => {\n formData.append('AdditionalOptions', x.key);\n });\n }\n\n commit('setIsSavingCareMediation', true);\n\n return axiosInstance.post('CareMediation/MedicalSpecialist', formData).finally(() => {\n commit('setIsSavingCareMediation', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n isSavingTreatmentAbroad: false,\n };\n}\n","export const isSavingTreatmentAbroad = (state) => state.isSavingTreatmentAbroad;\n","export function setIsSavingTreatmentAbroad(state, payload) {\n state.isSavingTreatmentAbroad = payload;\n}\n","import { axiosInstance } from 'src/boot/axios';\n\nexport function saveMedicalTreatment({ commit }, payload) {\n const formData = new FormData();\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('Indication', payload.indication);\n formData.set('TreatmentDone', payload.treatmentDone);\n formData.set('HasMedication', payload.medication.hasMedication?.key === 'yes');\n if (payload.medication.hasMedication?.key === 'yes') {\n formData.set('WhichMedication', payload.medication.whichMedication);\n }\n formData.set('Necessary', payload.necessary);\n formData.set('Reference', payload.reference?.key === 'yes');\n formData.set('TreatmentDateKnown', payload.dateKnown?.key === 'yes');\n if (payload.dateKnown?.key === 'yes') {\n formData.set('TreatmentDate', payload.date);\n }\n formData.set('InstanceAbroad.InstanceName', payload.instanceAbroad.instanceName);\n formData.set('InstanceAbroad.Address.Street', payload.instanceAbroad.street);\n formData.set('InstanceAbroad.Address.PostalCode', payload.instanceAbroad.postalCode);\n formData.set('InstanceAbroad.Address.HouseNumber', payload.instanceAbroad.houseNumber);\n formData.set('InstanceAbroad.Address.City', payload.instanceAbroad.city);\n formData.set('InstanceAbroad.Address.CountryCode', payload.instanceAbroad.country.key);\n formData.set(\n 'InstanceAbroad.PhoneNumber',\n payload.instanceAbroad.phoneNumber.prefix.value + payload.instanceAbroad.phoneNumber.number,\n );\n formData.set('InstanceAbroad.Email', payload.instanceAbroad.email);\n\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n payload.documents.forEach((file) => formData.append('Files', file.file));\n\n commit('setIsSavingTreatmentAbroad', true);\n\n return axiosInstance.post('TreatmentAbroad/MedicalTreatment', formData).finally(() => {\n commit('setIsSavingTreatmentAbroad', false);\n });\n}\n\nexport function saveFertilityTreatment({ commit }, payload) {\n const formData = new FormData();\n\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('TreatmentDate', payload.treatmentDate);\n formData.set('Reference', payload.reference?.key === 'yes');\n formData.set('InstanceAbroad.InstanceName', payload.instanceAbroad.instanceName);\n formData.set('InstanceAbroad.PractitionerName', payload.instanceAbroad.practitionerName);\n formData.set('InstanceAbroad.Address.Street', payload.instanceAbroad.street);\n formData.set('InstanceAbroad.Address.PostalCode', payload.instanceAbroad.postalCode);\n formData.set('InstanceAbroad.Address.HouseNumber', payload.instanceAbroad.houseNumber);\n formData.set('InstanceAbroad.Address.City', payload.instanceAbroad.city);\n formData.set('InstanceAbroad.Address.CountryCode', payload.instanceAbroad.country.key);\n formData.set(\n 'InstanceAbroad.PhoneNumber',\n payload.instanceAbroad.phoneNumber.prefix.value + payload.instanceAbroad.phoneNumber.number,\n );\n formData.set('InstanceAbroad.Email', payload.instanceAbroad.email);\n formData.set('Necessary', payload.necessary);\n formData.set('TreatmentType', payload.treatmentType?.key);\n if (payload.treatmentType?.name === 'ivf-icsi') {\n payload.ivfIcsiTreatments.forEach((treatment) => formData.append('IvfIcsiTreatmentType', treatment.key));\n }\n formData.set('PartiallyNetherlands', payload.partiallyNetherlands?.key === 'yes');\n if (payload.partiallyNetherlands?.key === 'yes') {\n formData.set('InstanceNetherlands.InstanceName', payload.instanceNetherlands.instanceName);\n formData.set('InstanceNetherlands.PractitionerName', payload.instanceNetherlands.practitionerName);\n formData.set('InstanceNetherlands.Address.Street', payload.instanceNetherlands.street);\n formData.set('InstanceNetherlands.Address.PostalCode', payload.instanceNetherlands.postalCode);\n formData.set('InstanceNetherlands.Address.HouseNumber', payload.instanceNetherlands.houseNumber ?? 0);\n formData.set('InstanceNetherlands.Address.City', payload.instanceNetherlands.city);\n formData.set('InstanceNetherlands.Address.CountryCode', 'NL');\n formData.set(\n 'InstanceNetherlands.PhoneNumber',\n payload.instanceAbroad.phoneNumber.prefix.value + payload.instanceAbroad.phoneNumber.number,\n );\n formData.set('InstanceNetherlands.Email', payload.instanceNetherlands.email);\n }\n payload.documents.forEach((file) => formData.append('Files', file.file));\n\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n commit('setIsSavingTreatmentAbroad', true);\n\n return axiosInstance.post('TreatmentAbroad/FertilityTreatment', formData).finally(() => {\n commit('setIsSavingTreatmentAbroad', false);\n });\n}\n\nexport function saveNursingAndCare({ commit }, payload) {\n const formData = new FormData();\n\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('Indication', payload.indication?.key === 'yes');\n formData.set('NursingTime.Hours', payload.time.nursing.hours ?? 0);\n formData.set('NursingTime.Minutes', payload.time.nursing.minutes ?? 0);\n formData.set('PersonalCareTime.Hours', payload.time.personalCare.hours ?? 0);\n formData.set('PersonalCareTime.Minutes', payload.time.personalCare.minutes ?? 0);\n formData.set('StartDate', payload.duration.from);\n formData.set('EndDate', payload.duration.to);\n\n formData.set('DutchNurseKnown', payload.dutchNurse.known?.key === 'yes');\n if (payload.dutchNurse.known?.key === 'yes') {\n formData.set('DutchNurse.Name', payload.dutchNurse.details.name);\n formData.set(\n 'DutchNurse.PhoneNumber',\n payload.dutchNurse.details.phoneNumber?.prefix?.value + payload.dutchNurse.details.phoneNumber?.number,\n );\n formData.set('DutchNurse.BigNumber', `${payload.dutchNurse.details.bigNumber}`);\n formData.set('DutchNurse.Level', payload.dutchNurse.details.level);\n formData.set('DutchNurse.CareInstanceName', payload.dutchNurse.details.careInstanceName);\n formData.set('DutchNurse.AgbCode', `${payload.dutchNurse.details.agbCode}`);\n }\n\n formData.set('InstanceAbroad.InstanceName', payload.instanceAbroad.instanceName);\n formData.set('InstanceAbroad.Address.Street', payload.instanceAbroad.street);\n formData.set('InstanceAbroad.Address.PostalCode', payload.instanceAbroad.postalCode);\n formData.set('InstanceAbroad.Address.HouseNumber', payload.instanceAbroad.houseNumber);\n formData.set('InstanceAbroad.Address.City', payload.instanceAbroad.city);\n formData.set('InstanceAbroad.Address.CountryCode', payload.instanceAbroad.country.key);\n formData.set(\n 'InstanceAbroad.PhoneNumber',\n payload.instanceAbroad.phoneNumber.prefix.value + payload.instanceAbroad.phoneNumber.number,\n );\n formData.set('InstanceAbroad.Email', payload.instanceAbroad.email);\n\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n payload.documents.forEach((file) => formData.append('Files', file.file));\n\n commit('setIsSavingTreatmentAbroad', true);\n\n return axiosInstance.post('TreatmentAbroad/NursingAndCare', formData).finally(() => {\n commit('setIsSavingTreatmentAbroad', false);\n });\n}\n\nexport function saveMentalHealth({ commit }, payload) {\n const formData = new FormData();\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('Reference', payload.reference?.key === 'yes');\n formData.set('DoctorAbroad.PractitionerName', payload.doctorAbroad.name);\n formData.set('DoctorAbroad.Profession', payload.doctorAbroad.profession);\n formData.set('DoctorAbroad.Address.Street', payload.doctorAbroad.street);\n formData.set('DoctorAbroad.Address.PostalCode', payload.doctorAbroad.postalCode);\n formData.set('DoctorAbroad.Address.HouseNumber', payload.doctorAbroad.houseNumber);\n formData.set('DoctorAbroad.Address.City', payload.doctorAbroad.city);\n formData.set('DoctorAbroad.Address.CountryCode', 'NL');\n formData.set(\n 'DoctorAbroad.PhoneNumber',\n payload.doctorAbroad.phoneNumber.prefix.value + payload.doctorAbroad.phoneNumber.number,\n );\n\n formData.set('InstanceAbroad.InstanceName', payload.instanceAbroad.instanceName);\n formData.set('InstanceAbroad.PractitionerName', payload.instanceAbroad.practitionerName);\n formData.set('InstanceAbroad.Address.Street', payload.instanceAbroad.street);\n formData.set('InstanceAbroad.Address.PostalCode', payload.instanceAbroad.postalCode);\n formData.set('InstanceAbroad.Address.HouseNumber', payload.instanceAbroad.houseNumber);\n formData.set('InstanceAbroad.Address.City', payload.instanceAbroad.city);\n formData.set('InstanceAbroad.Address.CountryCode', payload.instanceAbroad.country.key);\n formData.set(\n 'InstanceAbroad.PhoneNumber',\n payload.instanceAbroad.phoneNumber.prefix.value + payload.instanceAbroad.phoneNumber.number,\n );\n formData.set('InstanceAbroad.Email', payload.instanceAbroad.email);\n payload.documents.forEach((file) => formData.append('Files', file.file));\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n formData.set('Necessary', payload.necessary);\n\n commit('setIsSavingTreatmentAbroad', true);\n\n return axiosInstance.post('TreatmentAbroad/MentalHealth', formData).finally(() => {\n commit('setIsSavingTreatmentAbroad', false);\n });\n}\n\nexport function saveKidneyDialysis({ commit }, payload) {\n const formData = new FormData();\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n\n formData.set('InstanceAbroad.InstanceName', payload.treatmentInstance.instanceName);\n formData.set('InstanceAbroad.Address.Street', payload.treatmentInstance.street);\n formData.set('InstanceAbroad.Address.HouseNumber', payload.treatmentInstance.houseNumber);\n formData.set('InstanceAbroad.Address.PostalCode', payload.treatmentInstance.postalCode);\n formData.set('InstanceAbroad.Address.City', payload.treatmentInstance.city);\n formData.set('InstanceAbroad.Address.CountryCode', payload.treatmentInstance.country.key);\n formData.set(\n 'InstanceAbroad.PhoneNumber',\n payload.treatmentInstance.phoneNumber.prefix.value + payload.treatmentInstance.phoneNumber.number,\n );\n formData.set('InstanceAbroad.Email', payload.treatmentInstance.email);\n formData.set('StartDate', payload.duration.startDate);\n formData.set('EndDate', payload.duration.endDate);\n formData.set('NeedsTransport', payload.transport.necessary?.key === 'yes');\n\n if (payload.transport.necessary?.key === 'yes') {\n formData.set('Residence.Street', payload.transport.residence.street);\n formData.set('Residence.PostalCode', payload.transport.residence.postalCode);\n formData.set('Residence.HouseNumber', payload.transport.residence.houseNumber);\n formData.set('Residence.City', payload.transport.residence.city);\n formData.set('Residence.CountryCode', payload.transport.residence.country.key);\n }\n\n formData.set('NumberOfDialysis', payload.howOften);\n formData.set('Approval', payload.approval?.key === 'yes');\n formData.set('PriceMentioned', payload.price.mentioned?.key === 'yes');\n if (payload.price.mentioned?.key === 'yes') {\n formData.set('Amount', payload.price.amount);\n }\n if (payload.additionalInformation) {\n formData.set('AdditionalInformation', payload.additionalInformation);\n }\n\n commit('setIsSavingTreatmentAbroad', true);\n\n return axiosInstance.post('TreatmentAbroad/KidneyDialysis', formData).finally(() => {\n commit('setIsSavingTreatmentAbroad', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n setIsSavingSeatedPatientTransport: false,\n };\n}\n","export const isSavingSeatedPatientTransport = (state) => state.isSavingSeatedPatientTransport;\n","export function setIsSavingSeatedPatientTransport(state, payload) {\n state.isSavingTreatmentAbroad = payload;\n}\n","import { axiosInstance } from 'src/boot/axios';\n\nexport function saveSeatedPatientTransport({ commit }, payload) {\n const formData = new FormData();\n formData.set('CurrentSelectedCustomerNumber', payload.selectedCustomerNumber);\n formData.set('RequestType', payload.requestValue.key);\n formData.set('SituationType', payload.treatmentType.key);\n\n if (payload.treatmentType.name === 'wheelchair') {\n formData.set('WheelChairSituation.MaxAmountWalking', payload.wheelchair?.distanceMeters);\n formData.set('WheelChairSituation.LongTermDependent', payload.wheelchair?.longDurationDependence?.key === 'yes');\n if (payload.wheelchair?.longDurationDependence?.key === 'no') {\n formData.set('WheelChairSituation.NumberOfMonths', payload.wheelchair?.shortDurationDependenceMonths);\n }\n } else if (payload.treatmentType.name === 'visually-impaired') {\n formData.set('VisuallyImpairedSituation.SmallerAs20Degrees', payload.visuallyImpaired.fieldOfVision?.key === 'yes');\n formData.set('VisuallyImpairedSituation.LeftEye', payload.visuallyImpaired.visionLeft);\n formData.set('VisuallyImpairedSituation.RightEye', payload.visuallyImpaired.visionRight);\n } else if (payload.treatmentType.name === 'hardship-clause') {\n formData.set('HardshipSituation.Indication', payload.hardshipClause.medicalIndication);\n formData.set(\n 'HardshipSituation.MultipleInstances',\n payload.hardshipClause.multipleHealthcareInstitutes?.key === 'yes',\n );\n\n payload.hardshipClause.healthcareDestinations.forEach((element, index) => {\n formData.append(\n `HardshipSituation.CareInstances[${index}].Name`,\n payload.hardshipClause.healthcareDestinations[index].instanceName,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Address.PostalCode`,\n payload.hardshipClause.healthcareDestinations[index].postalCode,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Address.HouseNumber`,\n payload.hardshipClause.healthcareDestinations[index].houseNumber,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Address.City`,\n payload.hardshipClause.healthcareDestinations[index].city,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Address.Street`,\n payload.hardshipClause.healthcareDestinations[index].street,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Address.CountryCode`,\n payload.hardshipClause.healthcareDestinations[index].country.key,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Duration`,\n `${payload.hardshipClause.healthcareDestinations[index].treatmentDuration.amount + payload.hardshipClause.healthcareDestinations[index].treatmentDuration.indication?.value}`,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].Distance`,\n payload.hardshipClause.healthcareDestinations[index].distance,\n );\n formData.append(\n `HardshipSituation.CareInstances[${index}].AmountTransportNeeded`,\n payload.hardshipClause.healthcareDestinations[index].averageTransportNeeded,\n );\n });\n } else {\n formData.set('AllOtherSituation.Name', payload.otherQuestions.instanceName);\n formData.set('AllOtherSituation.CareInstance.PostalCode', payload.otherQuestions.postalCode);\n formData.set('AllOtherSituation.CareInstance.HouseNumber', payload.otherQuestions.houseNumber);\n formData.set('AllOtherSituation.CareInstance.City', payload.otherQuestions.city);\n formData.set('AllOtherSituation.CareInstance.Street', payload.otherQuestions.street);\n formData.set('AllOtherSituation.CareInstance.CountryCode', 'NL');\n }\n formData.set('StartDate', payload.expectedTreatmentPeriod.fromDate);\n formData.set('EndDate', payload.expectedTreatmentPeriod.toDate);\n formData.set('CanTravelPublicOrOwn', payload.travelPossibilities.ownTransport?.key === 'yes');\n if (payload.travelPossibilities.ownTransport?.key === 'no') {\n formData.set('CanOnlyTravelCab', payload.travelPossibilities.taxi?.key === 'yes');\n formData.set('OnlyTravelCabExplanation', payload.travelPossibilities.taxiExplanation);\n formData.set('NeedsEscort', payload.travelPossibilities.assistance?.key === 'yes');\n }\n if (payload.details) {\n formData.set('AdditionalInformation', payload.details);\n }\n\n payload.documents.forEach((element) => {\n formData.append('Files', element.file);\n });\n\n commit('setIsSavingSeatedPatientTransport', true);\n return axiosInstance.post('SeatedPatientTransport', formData).finally(() => {\n commit('setIsSavingSeatedPatientTransport', false);\n });\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default function () {\n return {\n agreementId: undefined,\n year: undefined,\n contractCode: undefined,\n productComponentCodesToIgnore: [],\n\n showDenialReason: false,\n denialReasonData: undefined,\n showMedicalSelectionOverlay: false,\n medicalSelectionOverlayData: undefined,\n showRejected: false,\n rejectedData: undefined,\n };\n}\n","import PackageType from 'src/constants/packageType';\nimport { isDateStringOlderThanNYears } from 'src/utils/helpers.js';\n\nexport const getDocumentsBasic = (state, _, rootState) => {\n return getDocumentsByCardGroup(state, rootState.contract.contracts.basicCardGroup);\n};\n\nexport const getDocumentsAdditional = (state, _, rootState) => {\n return getDocumentsByCardGroup(state, rootState.contract.contracts.additionalCardGroup);\n};\n\nexport const getDocumentsDental = (state, _, rootState) => {\n return getDocumentsByCardGroup(state, rootState.contract.contracts.dentalCardGroup);\n};\nexport const getDocumentsExtra = (state, _, rootState) => {\n return getDocumentsByCardGroup(state, rootState.contract.contracts.extraAdditionalCardGroup);\n};\n\nexport const getSpecificDocument = (state, _, rootState) => (productComponentId) => {\n return [\n getDocumentInfoByCard(\n state,\n rootState.contract.contracts.allCards.find((x) => x.productComponentCode === productComponentId),\n ),\n ];\n};\n\nexport const getParticipantsBasic = (state, _, rootState) => {\n return getParticipantsByProductType(state, rootState, rootState.contract.contracts.basicCardGroup);\n};\n\nexport const getParticipantsAdditional = (state, _, rootState) => {\n return getParticipantsByProductType(state, rootState, rootState.contract.contracts.additionalCardGroup);\n};\nexport const getParticipantsEmployers = (state, _, rootState) => {\n return getParticipantsByProductType(state, rootState, rootState.contract.contracts.extraAdditionalCardGroup);\n};\nexport const getParticipantsDentist = (state, _, rootState) => {\n return getParticipantsByProductType(state, rootState, rootState.contract.contracts.dentalCardGroup, true);\n};\n\nexport const getShowMedicalSelectionOverlay = (state) => {\n return state.showMedicalSelectionOverlay;\n};\n\nexport const getShowDenialReason = (state) => {\n return state.showDenialReason;\n};\n\nexport const getMedicalSelectionOverlayData = (state) => {\n return state.medicalSelectionOverlayData;\n};\n\nexport const getAgreementId = (state) => {\n return state.agreementId;\n};\n\nexport const getShowRejected = (state) => {\n return state.showRejected;\n};\n\nexport const getDenialReasonData = (state) => {\n return state.denialReasonData;\n};\n\nexport const getRejectedData = (state) => {\n return state.rejectedData;\n};\n\nfunction getDocumentsByCardGroup(state, cardGroup) {\n const docs = [];\n const cards = cardGroup.cards.filter(\n (x) => !state.productComponentCodesToIgnore.find((y) => y === x.productComponentCode),\n );\n cards.forEach((card) => {\n if (card.productComponentCode && !docs.map((doc) => doc.code).includes(Number(card.productComponentCode))) {\n docs.push(getDocumentInfoByCard(state, card));\n }\n });\n\n return docs;\n}\n\nfunction getDocumentInfoByCard(state, card) {\n return {\n code: Number(card.productComponentCode),\n contractCode: state.contractCode,\n year: state.year,\n title: card.title,\n insuranceCardLink: card.insuranceCardLink,\n };\n}\n\nfunction getParticipantsByProductType(state, rootState, cardGroup, ignoreUnder18 = false) {\n let cards = cardGroup.cards.filter(\n (x) => !state.productComponentCodesToIgnore.find((y) => y === x.productComponentCode),\n );\n\n cards = removeCardWithNoCostAndOnlyCardInSetNumberList(cards);\n\n const agreementDetails = rootState.agreement.agreementDetails.find(\n (detail) => detail.agreementId === state.agreementId,\n );\n const participants = [];\n\n agreementDetails.agreementParticipants.forEach((x) => {\n if (ignoreUnder18 && !isDateStringOlderThanNYears(x.customer.birthDate, 18)) {\n return;\n }\n const card = getCardByCustomer(cards, x.customer.customerNumber);\n\n let ownRiskOptions = [];\n if (card?.packageTypeForWebApplications?.productType === PackageType.BasicInsurance) {\n ownRiskOptions = getInsuranceOptions(rootState.contract.contracts.excessCardGroup.cards, x.customer);\n }\n const participant = {\n customer: {\n fullName: x.customer.fullName,\n birthDate: x.customer.birthDate,\n customerNumber: x.customer.customerNumber,\n role: x.customer.role.Role,\n },\n options: getInsuranceOptions(cards, x.customer),\n ownRiskOptions: ownRiskOptions,\n };\n\n participants.push(participant);\n });\n\n return participants;\n}\n\nfunction removeCardWithNoCostAndOnlyCardInSetNumberList(cards) {\n const pakketsetCount = cards.reduce((countMap, card) => {\n countMap[card.packageSetNumber] = (countMap[card.packageSetNumber] || 0) + 1;\n return countMap;\n }, {});\n\n return cards.filter((card) => {\n return (\n card.insuredPersons.some((y) => y.netPremiumWithDiscount != null) || pakketsetCount[card.packageSetNumber] > 1\n );\n });\n}\n\nfunction getCardByCustomer(cards, customerNumber) {\n return cards.find((card) =>\n card.insuredPersons.some((person) => Number(person.customerNumber) === customerNumber && person.isSelected),\n );\n}\n\nfunction getInsuranceOptions(cards, customer) {\n const insuranceOptions = [];\n\n cards.forEach((insuranceCard) => {\n const person = findPersonByCard(insuranceCard, customer.customerNumber);\n const option = {\n name: customer.customerNumber,\n key: insuranceCard.productComponentCode ?? 0,\n value: getProductNameByCard(insuranceCard),\n\n subtitle: `edit-policy.insurances.subtitle.${insuranceCard.productComponentCode}`,\n selected: person?.isSelected,\n amount: person?.netPremiumWithDiscount,\n ownRiskDiscount: person?.ownRiskDiscount,\n disabled: optionDisabled(person, insuranceCard.packageTypeForWebApplications.productType) !== undefined,\n disabledText: optionDisabled(person, insuranceCard.packageTypeForWebApplications.productType),\n showWarningIcon: insuranceCard.hasMedicalSelection,\n productType: insuranceCard.packageTypeForWebApplications.productType,\n showFreePresent: showFreePresent(insuranceCard.packageTypeForWebApplications.productType, insuranceCard),\n };\n\n if (option.amount !== undefined) {\n insuranceOptions.push(option);\n }\n });\n return insuranceOptions;\n}\n\nfunction showFreePresent(productType, insuranceCard) {\n return (\n productType === PackageType.ExtraAdditionalInsurance &&\n insuranceCard.insuredPersons.every((y) => y.netPremiumWithDiscount == 0)\n );\n}\n\nfunction findPersonByCard(card, customerNumber) {\n if (!card) return undefined;\n return card.insuredPersons.find((person) => Number(person.customerNumber) === customerNumber);\n}\n\nfunction getProductNameByCard(card) {\n return card.packageTypeForWebApplications?.productType === PackageType.BasicInsurance ||\n card.packageTypeForWebApplications?.productType === PackageType.OwnRisk\n ? `edit-policy.insurances.title.${card.productComponentCode}`\n : card.title\n ? card.title\n : 'edit-policy.labels.none';\n}\n\nfunction optionDisabled(person, productType) {\n if (productType === PackageType.BasicInsurance && person?.isDisabled) return 'edit-policy.tooltip.basic-disabled';\n if (person?.isDisabled) return 'edit-policy.tooltip.disabled';\n if (\n person?.isSelected &&\n person?.netPremiumWithDiscount === 0 &&\n productType === PackageType.ExtraAdditionalInsurance\n )\n return 'edit-policy.tooltip.free-disabled';\n return undefined;\n}\n","export function setYear(state, payload) {\n state.year = payload;\n}\n\nexport function setContractCode(state, payload) {\n state.contractCode = payload;\n}\n\nexport function setProductComponentCodesToIgnore(state, payload) {\n state.productComponentCodesToIgnore = payload;\n}\n\nexport function setAgreementId(state, payload) {\n state.agreementId = payload;\n}\n\nexport function setShowDenialReason(state, payload) {\n state.showDenialReason = payload;\n}\n\nexport function setDenialReasonData(state, payload) {\n state.denialReasonData = payload;\n}\n\nexport function setCurrentMedicalSelectionData(state, payload) {\n state.medicalSelectionOverlayData = payload;\n}\n\nexport function setShowMedicalSelectionOverlay(state, payload) {\n state.showMedicalSelectionOverlay = payload;\n}\n\nexport function setShowRejected(state, payload) {\n state.showRejected = payload;\n}\n\nexport function setRejectedData(state, payload) {\n state.rejectedData = payload;\n}\n","export function saveCurrentSurveyDataLocal({ commit }, payload) {\n commit('setAgreementId', payload.agreementId);\n commit('setYear', payload.year);\n commit('setContractCode', payload.contractCode);\n commit('setProductComponentCodesToIgnore', payload.componentCodesToIgnore);\n}\n\nexport async function validateCards({ dispatch, rootGetters }, payload) {\n let success = false;\n const newValue = payload;\n\n if (newValue?.disabled !== true) {\n const cards = rootGetters['contract/contracts'].allCards;\n\n const card = cards.find(\n (card) =>\n (card.productComponentCode === newValue?.key &&\n card.packageTypeForWebApplications.productType === newValue.productType) ||\n (card.productComponentCode == null && card.packageTypeForWebApplications.productType === newValue.productType),\n );\n\n if (card) {\n const payload = {\n customerNumber: newValue.name,\n card: card,\n typeOfProduct: card.packageTypeForWebApplications,\n };\n\n await dispatch('contract/updateCardSelectionStatus', payload, { root: true });\n await dispatch('contract/validateContract', null, { root: true });\n success = true;\n }\n }\n\n return success;\n}\n\nexport async function validateDentalInsurance({ commit, dispatch, getters, rootGetters }, payload) {\n var medicalSelectionDetails = rootGetters['contract/contracts'].customerMedicalSelectionDetails.filter(\n (x) => Number(x.customerNumber) === payload.newValue.name,\n );\n\n //No medical selection details then not needed to validate.\n if (medicalSelectionDetails.length > 0) {\n const customer = rootGetters['agreement/agreementDetails']\n .find((detail) => detail.agreementId === getters.getAgreementId)\n .agreementParticipants.find((x) => Number(x.customer.customerNumber) === payload.newValue.name);\n\n if (medicalSelectionDetails.some((x) => x.hasDeniedMedicalSelection)) {\n commit('setDenialReasonData', {\n fullName: customer.customer.fullName,\n birthDate: customer.customer.birthDate,\n });\n commit('setShowDenialReason', true);\n await dispatch('validateCards', payload.oldValue);\n } else if (!medicalSelectionDetails.some((x) => x.medicalSelectionDateIsToday)) {\n const data = {\n customer: {\n fullName: customer.customer.fullName,\n birthDate: customer.customer.birthDate,\n customerNumber: customer.customer.customerNumber,\n policyNumber: customer.policyNumber,\n },\n oldValue: payload.oldValue,\n newValue: payload.newValue,\n };\n\n commit('setCurrentMedicalSelectionData', data);\n commit('setShowMedicalSelectionOverlay', true);\n }\n }\n}\n\nexport async function closeDenialReason({ commit }) {\n commit('setShowDenialReason', false);\n commit('setDenialReasonData', undefined);\n}\n\nexport async function closeRejected({ commit }) {\n commit('setShowRejected', false);\n commit('setRejectedData', undefined);\n}\n\nexport async function cancelMedicalSelection({ commit, dispatch, getters }) {\n const data = getters.getMedicalSelectionOverlayData;\n\n commit('setShowMedicalSelectionOverlay', false);\n\n await dispatch('validateCards', data.oldValue);\n\n commit('setCurrentMedicalSelectionData', undefined);\n}\n\nexport async function validateMedicalSelection({ commit, dispatch, getters, rootGetters }, payload) {\n const customerNumber = getters.getMedicalSelectionOverlayData.customer.customerNumber;\n let success = false;\n await dispatch(\n 'agreement/updateMedicalSelectionForAgreementParticipant',\n {\n agreementId: getters.getAgreementId,\n customerNumber: customerNumber,\n policyNumber: getters.getMedicalSelectionOverlayData.customer.policyNumber,\n medicalSelection: payload.medicalSelection,\n },\n { root: true },\n );\n\n await dispatch(\n 'contract/saveMedicalSelections',\n {\n agreementDetails: rootGetters['agreement/agreementDetails']\n .find((detail) => detail.agreementId === getters.getAgreementId)\n .mapToBackendModel(),\n },\n { root: true },\n );\n\n if (\n !rootGetters['contract/medicalSelectionResponse']?.customerMedicalSelectionDetails?.find(\n (x) => x.customer.customerNumber === customerNumber,\n )?.isApproved\n ) {\n commit('setShowRejected', true);\n commit('setRejectedData', {\n fullName: getters.getMedicalSelectionOverlayData.customer.fullName,\n birthDate: getters.getMedicalSelectionOverlayData.customer.birthDate,\n packageName: getters.getMedicalSelectionOverlayData.newValue.value,\n });\n await dispatch('cancelMedicalSelection');\n } else {\n commit('setShowMedicalSelectionOverlay', false);\n commit('setCurrentMedicalSelectionData', undefined);\n success = true;\n }\n\n return success;\n}\n","import state from './state';\nimport * as getters from './getters';\nimport * as mutations from './mutations';\nimport * as actions from './actions';\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","import { createStore } from 'vuex';\n\nimport auth from './auth';\nimport createAccount from './createAccount';\nimport news from './news';\nimport policy from './policy';\nimport document from './document';\nimport config from './config';\n\nimport collectivity from './collectivity';\nimport download from './download';\nimport user from './user';\nimport faqs from './faqs';\nimport financialSummary from './financialSummary';\nimport agreement from './agreement';\nimport customer from './customer';\nimport insuranceCard from './insuranceCard';\nimport declaration from './declaration';\nimport invoice from './invoice';\nimport contactForm from './contactForm';\nimport contract from './contract';\nimport notification from './notification';\nimport addInsured from './addInsured';\nimport memberOffers from './memberOffers';\nimport menu from './menu';\nimport tile from './tile';\nimport insuranceRight from './insuranceRight';\nimport careMediation from './careMediation';\nimport treatmentAbroad from './treatmentAbroad';\nimport seatedPatientTransport from './seatedPatientTransport';\nimport requestEditPolicySurvey from './requestEditPolicySurvey';\n\n/*\n * If not building with SSR mode, you can\n * directly export the Store instantiation;\n *\n * The function below can be async too; either use\n * async/await or return a Promise which resolves\n * with the Store instance.\n */\nexport const store = createStore({\n modules: {\n auth,\n createAccount,\n news,\n policy,\n document,\n config,\n collectivity,\n download,\n user,\n faqs,\n financialSummary,\n agreement,\n customer,\n insuranceCard,\n declaration,\n invoice,\n contactForm,\n contract,\n notification,\n addInsured,\n memberOffers,\n menu,\n tile,\n insuranceRight,\n careMediation,\n treatmentAbroad,\n seatedPatientTransport,\n requestEditPolicySurvey,\n },\n\n // enable strict mode (adds overhead!)\n // for dev mode only\n strict: process.env.DEV,\n});\n\nexport default function (/* { ssrContext } */) {\n return store;\n}\n","import format from 'date-fns/format';\nimport parseISO from 'date-fns/parseISO';\n\nimport { nl } from 'date-fns/locale';\nimport i18n from 'src/i18n/index.js';\n\nconst CURRENCY_SEPARATOR = ' ';\n\nconst locales = {\n 'nl-NL': nl,\n 'en-US': undefined, // fallback is en-us\n};\nexport const formatDate = function (date, formatStr = 'PP') {\n if (typeof date === 'string') {\n date = parseISO(date);\n }\n\n return format(date, formatStr, {\n locale: locales[i18n.global.locale],\n }).replace('.', '');\n};\n\nexport const formatDateWithoutTime = function (date, formatStr = 'PP') {\n if (typeof date === 'string') {\n date = date.split('T')[0];\n date = parseISO(date);\n }\n\n return format(date, formatStr, {\n locale: locales[i18n.global.locale],\n }).replace('.', '');\n};\n\nexport function formatReverseDate(date) {\n if (!(date && date.length === 10)) return;\n if (date[4] === '/' && date[7] === '/') {\n return date.split('/').reverse().join('-');\n }\n if (date[2] === '-' && date[5] === '-') {\n return date.split('-').reverse().join('/');\n }\n return date;\n}\n\nexport function formatCurrency(currency, stripSymbol) {\n var value = i18n.global.n(currency, 'currency', 'nl-NL');\n if (stripSymbol) {\n value = value.split(CURRENCY_SEPARATOR)[1];\n }\n return value;\n}\n\nexport function formatCurrencyNoCents(currency, stripSymbol) {\n var value = i18n.global.n(currency, 'currencyNoCents', 'nl-NL');\n if (stripSymbol) {\n value = value.split(CURRENCY_SEPARATOR)[1];\n }\n return value;\n}\n\nexport function isInteger(str) {\n const num = Number(str);\n return Number.isFinite(num) && Number.isInteger(num);\n}\n\nexport function tryParseDate(dateStr, output) {\n if (isInteger(dateStr)) return false;\n const date = new Date(dateStr);\n var ret = !isNaN(date.getTime());\n if (ret) output.Date = date;\n return ret;\n}\n\nexport const formatIban = (iban) => `${iban.substring(0, 4)} ${iban.substring(4, 8)} ${iban.substring(8)}`;\n","import data from './holidays.json';\n\nexport function getHolidays() {\n return data;\n}\n","import { store } from 'src/store/index.js';\nimport i18n from 'src/i18n/index.js';\nimport { cloneDeep } from 'lodash';\nimport { toRaw } from 'vue';\nimport invoiceStatus from 'src/constants/enums/invoiceStatus';\nimport { getHolidays } from 'src/helpers/holidays';\n\nexport function isWeekendOrHoliday(date = new Date()) {\n const holidays = getHolidays();\n const holdaysOfYear = holidays.find((x) => x.year === date.getFullYear())?.holidays;\n\n return (\n isWeekend(date) ||\n (holdaysOfYear?.some((x) => dateToDateOnly(new Date(x.date)).getTime() === dateToDateOnly(date).getTime()) ?? false)\n );\n}\n\nexport function isWeekend(date = new Date()) {\n const day = date.getDay();\n return day === 0 || day === 6;\n}\n\nexport function dateToDateOnly(date) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n}\n\nexport function isDateStringOlderThanNYears(dateString, years, compareDate = new Date()) {\n const date = getIsoDateAsLocalDate(dateString);\n const day = date.getDate();\n const month = date.getMonth();\n const year = date.getFullYear();\n\n return new Date(year + years, month, day) <= compareDate;\n}\n\nexport function getIsoDateAsLocalDate(isoDateString) {\n var dateValues = isoDateString.split('T')[0].split('-');\n return new Date(dateValues[0], dateValues[1] - 1, dateValues[2]);\n}\nexport function convertToUtcDateFromString(dateString, format = 'dd/mm/yyyy') {\n let seperator = '/';\n if (format.includes('-')) seperator = '-';\n\n const indexer = format.split(seperator);\n const splittedBirthDate = dateString.split(seperator);\n\n const day = splittedBirthDate[indexer.indexOf('dd')];\n const month = splittedBirthDate[indexer.indexOf('mm')] - 1; // month starts at zero (0-11) in Date object\n const year = splittedBirthDate[indexer.indexOf('yyyy')];\n\n const utcDate = new Date(Date.UTC(year, month, day));\n return utcDate;\n}\n\nexport function convertToDateStringFromLocalDate(date) {\n const year = date.getFullYear();\n const month = date.getMonth();\n const day = date.getDate();\n const dateString = new Date(Date.UTC(year, month, day)).toISOString().split('T')[0].replace(/-/g, '/');\n return dateString;\n}\n\nexport function compensateTimeZoneOffsetForBackend(date) {\n return new Date(date.getTime() + date.getTimezoneOffset() * -1 * (60 * 1000));\n}\n\nexport function mapArrayForGetRequest(name, array) {\n if (!array) return '';\n return `${array.map((item, index) => `${name}[${index}]=${item}`).join('&')}`;\n}\n\nexport function dataModificationRedirect(routeName, router, useReplace = false) {\n store.dispatch('auth/clearStorage');\n\n setTimeout(() => {\n if (useReplace) {\n router.replace({\n name: routeName,\n });\n return;\n }\n router.push({\n name: routeName,\n });\n }, 1500);\n}\n\nexport function validateEmail(val) {\n return (\n // eslint-disable-next-line\n /^[a-zA-Z0-9_.+\\-!#\\/%]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$/.test(val) || val === ''\n );\n}\n\nexport function filterUsername(val) {\n return val.replace(/\\s/g, '');\n}\n\n/**\n * Filters out invalid chars for phone numbers\n * @param {string | undefined | null} val Phone number to be filtered\n * @returns {string} Phone number without invalid chars\n */\nexport function filterPhoneNumber(val) {\n if (val === null || val === undefined) return '';\n return toRaw(val).replace(/[^0-9+]/g, '');\n}\n\n/**\n * Validates international phone number\n * @param {string | undefined | null} val Phone number to be checked\n * @returns {boolean} Indactes if phone number is valid\n */\nexport function validatePhoneNumber(val) {\n const phoneNumber = filterPhoneNumber(val);\n const length = phoneNumber.length;\n if (phoneNumber.startsWith('+31')) return length === 12;\n return phoneNumber.startsWith('+') && length > 9 && length <= 15;\n}\n\nexport function getPhoneNumberMaxLength(phoneNumber) {\n const filteredLength = filterPhoneNumber(phoneNumber).length;\n const valueLength = phoneNumber.length;\n const difference = valueLength - filteredLength;\n let maxLength = 15;\n if (phoneNumber.startsWith('06')) maxLength = 10;\n else if (phoneNumber.startsWith('+31')) maxLength = 12;\n return maxLength + difference;\n}\n\nexport function passwordHasEightOrMoreCharacters(password) {\n return password.length >= 8;\n}\n\nexport function passwordContainsSpecialCharacter(password) {\n return password.split('').some((x) => '?!/:;@#%()_'.includes(x));\n}\n\nexport function passwordContainsDigit(password) {\n return /[0-9]/.test(password);\n}\n\nexport function passwordContainsLetter(password) {\n return /[a-zA-Z]/.test(password);\n}\n\nexport function passwordIsValid(password) {\n return (\n passwordHasEightOrMoreCharacters(password) &&\n passwordContainsSpecialCharacter(password) &&\n passwordContainsDigit(password) &&\n passwordContainsLetter(password)\n );\n}\n\nexport function parseJwt(token) {\n var base64Url = token.split('.')[1];\n var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');\n var jsonPayload = decodeURIComponent(\n atob(base64)\n .split('')\n .map(function (c) {\n return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);\n })\n .join(''),\n );\n\n return JSON.parse(jsonPayload);\n}\n\nexport function createGuid() {\n return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>\n (c ^ (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16),\n );\n}\n\nexport function verifySocialSecurityNumber(bsn) {\n if (!bsn || bsn.length < 8 || bsn.length > 9) {\n return false;\n }\n if (!bsn.match(/^\\d{8,9}$/)) {\n return false;\n }\n\n const newPersonsStoreValue = store.getters['addInsured/newlyInsuredPersons'];\n const newPersons = cloneDeep(Object.keys(newPersonsStoreValue).map((key) => newPersonsStoreValue[key]));\n var personsWithSameBsn = newPersons.filter((p) => p.socialSecurityNumber === bsn);\n\n if (personsWithSameBsn.length > 1) {\n return i18n.global.t('add-insured.errors.socialSecurityNumber-duplicate');\n }\n\n var j = bsn.length;\n var pos = 0;\n var result = 0;\n for (let i = j; i > 0; i--) {\n result += i !== 1 ? bsn.charAt(pos) * i : bsn.charAt(pos) * i * -1;\n pos++;\n }\n if (result === 0) {\n return false;\n }\n return result % 11 === 0;\n}\n\nexport function getDateOffsetByMonths(offset) {\n const date = new Date();\n date.setMonth(date.getMonth() + offset);\n return date;\n}\n\nexport function getInvoiceStatusColor(status) {\n switch (status) {\n case invoiceStatus.Herinnering:\n return '#ffa500';\n case invoiceStatus.Aanmaning:\n case invoiceStatus.Sommatie:\n return 'var(--color-error)';\n case invoiceStatus.Betaald:\n return 'var(--color-positive)';\n default:\n return 'var(--color-grey-900)';\n }\n}\n\nexport function getDeclarationStatusColor(status) {\n switch (status) {\n case 'In behandeling':\n return '#ffa500';\n case 'Afgehandeld':\n return 'var(--color-positive)';\n default:\n return 'var(--color-grey-900)';\n }\n}\n\nexport function truncateString(str, num) {\n if (str.length <= num) return str;\n return str.substring(0, num) + '...';\n}\n","\n\n\n","import { mapGetters } from 'vuex';\n\n// use icongenie cli to generate all images from a single png (requires node version >= 1.22.2 )\n// docs\n// https://quasar.dev/quasar-cli-vite/developing-pwa/app-icons-pwa\n\nexport default {\n computed: {\n ...mapGetters('user', ['label']),\n ...mapGetters('config', ['config']),\n },\n mounted() {\n this.metaInfo();\n },\n methods: {\n createMeta(name, content) {\n const meta = document.createElement('meta');\n meta.name = name;\n meta.content = content;\n\n document.head.appendChild(meta);\n },\n createLink(options = {}) {\n const filteredOptions = Object.fromEntries(Object.entries(options).filter(([, value]) => value));\n\n const link = document.createElement('link');\n Object.assign(link, filteredOptions);\n\n document.head.appendChild(link);\n },\n metaInfo() {\n const themeColor = '#027be3';\n const iconLabel = this.label?.collectivityLabel;\n if (!iconLabel) return;\n\n const manifestToRemove = document.querySelector('link[rel=\"manifest\"][href=\"manifest.json\"]');\n if (manifestToRemove) manifestToRemove.remove();\n\n const newManifest = document.createElement('link');\n newManifest.rel = 'manifest';\n newManifest.href = `${this.config.API.BASE_URL}/api/pwa/manifest?label=${iconLabel}`;\n\n document.head.appendChild(newManifest);\n\n const tags = {\n meta: [\n { name: 'theme-color', content: themeColor },\n { name: 'apple-mobile-web-app-capable', content: 'yes' },\n { name: 'apple-mobile-web-app-status-bar-style', content: 'default' },\n {\n name: 'msapplication-TileImage',\n content: `statics/whitelabel/icons/${iconLabel}/ms-icon-144x144.png`,\n },\n { name: 'msapplication-TileColor', content: '#000000' },\n { name: 'apple-mobile-web-app-title', content: 'MijnOmgeving' },\n ],\n\n link: [\n {\n rel: 'icon',\n type: 'image/png',\n sizes: '128x128',\n href: `statics/whitelabel/icons/${iconLabel}/favicon-128x128.png`,\n },\n {\n rel: 'icon',\n type: 'image/png',\n sizes: '96x96',\n href: `statics/whitelabel/icons/${iconLabel}/favicon-96x96.png`,\n },\n {\n rel: 'icon',\n type: 'image/png',\n sizes: '32x32',\n href: `statics/whitelabel/icons/${iconLabel}/favicon-32x32.png`,\n },\n {\n rel: 'icon',\n type: 'image/png',\n sizes: '16x16',\n href: `statics/whitelabel/icons/${iconLabel}/favicon-16x16.png`,\n },\n {\n rel: 'icon',\n type: 'image/ico',\n href: `statics/whitelabel/icons/${iconLabel}/favicon.ico`,\n },\n\n {\n rel: 'apple-touch-icon',\n sizes: '180x180',\n href: `statics/whitelabel/icons/${iconLabel}/apple-icon-180x180.png`,\n },\n {\n rel: 'apple-touch-icon',\n sizes: '167x167',\n href: `statics/whitelabel/icons/${iconLabel}/apple-icon-167x167.png`,\n },\n {\n rel: 'apple-touch-icon',\n sizes: '152x152',\n href: `statics/whitelabel/icons/${iconLabel}/apple-icon-152x152.png`,\n },\n {\n rel: 'apple-touch-icon',\n href: `statics/whitelabel/icons/${iconLabel}/apple-icon-120x120.png`,\n },\n\n {\n rel: 'mask-icon',\n href: `statics/whitelabel/icons/${iconLabel}/safari-pinned-tab.svg`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-828x1792.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-1125x2436.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-1242x2688.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-750x1334.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-1242x2208.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-640x1136.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-1536x2048.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-1668x2224.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-1668x2388.png`,\n },\n {\n rel: 'apple-touch-startup-image',\n media: '(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)',\n href: `statics/whitelabel/icons/${iconLabel}/apple-launch-2048x2732.png`,\n },\n ],\n };\n\n tags.meta.forEach((meta) => {\n this.createMeta(meta.name, meta.content);\n });\n\n tags.link.forEach((link) => {\n this.createLink({ rel: link.rel, type: link.type, media: link.media, sizes: link.sizes, href: link.href });\n });\n },\n },\n};\n","export default {\n Development: 'dev',\n Test: 'tst',\n Production: 'prd',\n};\n","import { mapGetters } from 'vuex';\nimport Environments from 'src/constants/environments.js';\n\nexport default {\n data() {\n return {\n userCentricsInjected: false,\n };\n },\n computed: {\n ...mapGetters('config', ['config', 'currentCollectivity']),\n },\n methods: {\n environment() {\n return this.config.ENVIRONMENT;\n },\n loadScriptUsercentrics() {\n if (!this.userCentricsInjected) {\n const script1 = document.createElement('script');\n\n script1.async = true;\n script1.id = 'usercentrics-cmp';\n script1.setAttribute('data-language', 'nl');\n script1.src = 'https://app.usercentrics.eu/browser-ui/latest/loader.js';\n script1.setAttribute('data-settings-id', this.currentCollectivity?.userCentricsId ?? 'nnF_SroB6ySAke');\n\n if (this.environment() !== Environments.Production) {\n script1.setAttribute('data-version', 'preview');\n script1.setAttribute('data-disable-tracking', '');\n }\n\n document.head.appendChild(script1);\n this.userCentricsInjected = true;\n\n this.subscribeOnUserCentricsEvent();\n }\n },\n subscribeOnUserCentricsEvent() {\n window.addEventListener('UC_SDK_EVENT', function (event) {\n if (event.detail.action === 'onInitialPageLoad') {\n const usercentricSection = document.getElementById('usercentrics-root');\n usercentricSection.classList.add('needsclick'); // To disable fastclick on usercentrics cookie banner\n }\n });\n },\n },\n mounted() {\n this.loadScriptUsercentrics();\n },\n};\n","import { mapGetters } from 'vuex';\nimport axios from 'axios';\n\nexport default {\n data() {\n return {\n googleTagManagerInjected: false,\n };\n },\n computed: {\n ...mapGetters('config', ['currentCollectivity']),\n },\n methods: {\n async addGoogleTagManager() {\n if (!this.googleTagManagerInjected) {\n const code = this.currentCollectivity?.GTMCode ?? this.config.DEFAULT_GTM_CODE;\n\n await this.addGoogleTagManagerScript(code);\n this.addGoogleTagManagerNoScript(code);\n\n this.googleTagManagerInjected = true;\n }\n },\n async addGoogleTagManagerScript(code) {\n const file = await axios.get('/statics/js/googleTagManagerScript.txt');\n\n const script = document.createElement('script');\n file.data = file.data.replace('$GTMCode', `'${code}'`);\n script.text = file.data;\n\n document.head.appendChild(script);\n },\n addGoogleTagManagerNoScript(code) {\n const noscript = document.createElement('noscript');\n const iframe = document.createElement('iframe');\n\n iframe.src = `https://www.googletagmanager.com/ns.html?id=${code}`;\n iframe.height = 0;\n iframe.width = 0;\n iframe.style = 'display:none;visibility:hidden';\n\n noscript.appendChild(iframe);\n\n document.body.appendChild(noscript);\n },\n },\n mounted() {\n this.addGoogleTagManager();\n },\n};\n","import { mapGetters } from 'vuex';\nimport { Notify } from 'quasar';\n\nexport default {\n computed: {\n ...mapGetters('user', ['label']),\n labelName() {\n return this.label ? this.label.translation : 'Aevitae';\n },\n },\n created() {\n document.addEventListener('swUpdated', this.showShouldRefreshNotification);\n },\n methods: {\n showShouldRefreshNotification() {\n Notify.create({\n type: 'warning',\n progress: true,\n message: this.$t('general.refresh-notification-message', { labelName: this.labelName }),\n position: 'top',\n multiline: true,\n actions: [\n {\n label: 'Ok',\n color: 'white',\n handler: () => {\n location.reload();\n },\n },\n ],\n timeout: 0,\n });\n },\n },\n};\n","import { render } from \"./App.vue?vue&type=template&id=90a59d12\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","// 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\tid: moduleId,\n\t\tloaded: false,\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// Flag the module as loaded\n\tmodule.loaded = true;\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 = (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, fn, priority] = deferred[i];\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((key) => (__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};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"js/\" + (chunkId === 996 ? \"chunk-common\" : chunkId) + \".\" + {\"4\":\"b568bc2c\",\"15\":\"d505758f\",\"26\":\"c13fd09e\",\"56\":\"1b9721aa\",\"82\":\"1acad6c6\",\"98\":\"7d73a775\",\"116\":\"2be1fbc3\",\"123\":\"d47470b8\",\"184\":\"f20db09b\",\"191\":\"6eb451d7\",\"269\":\"b7171520\",\"283\":\"8236da85\",\"285\":\"75f682ce\",\"298\":\"8cd286c3\",\"338\":\"6e4b5088\",\"340\":\"3ae5793b\",\"341\":\"d360c294\",\"375\":\"09a80006\",\"395\":\"dc9ebd8d\",\"402\":\"1f1eb21e\",\"454\":\"4028889b\",\"457\":\"10f962e7\",\"471\":\"290640cd\",\"476\":\"47054df0\",\"485\":\"97a9018f\",\"519\":\"0ae4c41c\",\"540\":\"fe433c13\",\"590\":\"8510c3a0\",\"674\":\"216e02b4\",\"684\":\"de895110\",\"701\":\"f72fee6b\",\"706\":\"9922d7ce\",\"743\":\"19b9b3e0\",\"771\":\"cdbe69a7\",\"773\":\"ffe1e328\",\"793\":\"17d6277b\",\"814\":\"b27e13f6\",\"830\":\"1bd9e841\",\"850\":\"c1daf23c\",\"864\":\"224cab19\",\"887\":\"1b10692f\",\"919\":\"7e6af26e\",\"922\":\"7d662a34\",\"960\":\"cf1a152d\",\"996\":\"6fed70cf\",\"997\":\"38914bf4\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"css/\" + (chunkId === 996 ? \"chunk-common\" : chunkId) + \".\" + {\"4\":\"f537a16f\",\"15\":\"8912cc20\",\"56\":\"c02c36c6\",\"82\":\"1d1a6876\",\"98\":\"e52068d0\",\"116\":\"8d51cbab\",\"123\":\"8828e91e\",\"184\":\"597ae474\",\"191\":\"cbdd6731\",\"269\":\"a949d352\",\"283\":\"579ee179\",\"298\":\"8d31e91b\",\"340\":\"201c33b6\",\"341\":\"7a49be5b\",\"402\":\"a93dc9e1\",\"454\":\"dcf773c8\",\"471\":\"0d1387fb\",\"476\":\"d8923d1a\",\"540\":\"d2081712\",\"590\":\"ada30ef3\",\"674\":\"013d913b\",\"684\":\"aa5cb93e\",\"701\":\"77bf03d8\",\"706\":\"799fa910\",\"743\":\"5d33a099\",\"771\":\"899bd238\",\"773\":\"867bc676\",\"850\":\"a4005726\",\"887\":\"bd57fc1c\",\"922\":\"f7414e44\",\"960\":\"6165cb13\",\"996\":\"a738e265\",\"997\":\"0e031c74\"}[chunkId] + \".css\";\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 = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"mijn-omgeving:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (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__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"4\":1,\"15\":1,\"56\":1,\"82\":1,\"98\":1,\"116\":1,\"123\":1,\"184\":1,\"191\":1,\"269\":1,\"283\":1,\"298\":1,\"340\":1,\"341\":1,\"402\":1,\"454\":1,\"471\":1,\"476\":1,\"540\":1,\"590\":1,\"674\":1,\"684\":1,\"701\":1,\"706\":1,\"743\":1,\"771\":1,\"773\":1,\"850\":1,\"887\":1,\"922\":1,\"960\":1,\"996\":1,\"997\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// 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__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\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((id) => (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 = globalThis[\"webpackChunkmijn_omgeving\"] = globalThis[\"webpackChunkmijn_omgeving\"] || [];\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, [121], () => (__webpack_require__(82158)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["createHistory","createWebHistory","Router","createRouter","scrollBehavior","left","top","routes","mode","process","base","history","beforeEach","to","from","next","window","location","href","startsWith","store","getters","ENFORCE_HTTPS","replace","meta","requiresAuth","dispatch","async","createAppFn","quasarUserOptions","app","RootComponent","use","Quasar","createStore","storeKey","router","markRaw","$router","config","lang","iconSet","plugins","LoadingBar","Notify","Cookies","register","ready","registered","cached","updatefound","updated","console","log","document","dispatchEvent","CustomEvent","offline","error","err","publicPath","start","bootFiles","hasRedirected","getRedirectUrl","url","resolve","Object","redirect","test","urlPath","origin","i","length","ssrContext","mount","createQuasarApp","createApp","then","method","mapFn","Promise","allSettled","map","result","status","value","default","reason","entry","boot","filter","App","AppInsightsPlugin","appInsightsConfig","instrumentationKey","APPLICATION_INSIGHTS","INSTRUMENTATION_KEY","connectionString","CONNECTION_STRING","disableAjaxTracking","enableAjaxErrorStatusText","enableRequestHeaderTracking","enableResponseHeaderTracking","enableAutoRouteTracking","enableUnhandledPromiseRejectionTracking","trackInitialPageView","trackAppErrors","axiosInstance","contentAxiosInstance","CancelToken","axios","create","response","get","headers","commit","data","baseURL","API","BASE_URL","APP","RELEASE_TAG","CONTENT_BASE_URL","interceptors","request","con","params","cacheRefreshParam","CACHCONTROLGUID","beforeMount","el","binding","clickOutsideEvent","event","target","parentNode","contains","addEventListener","unmounted","removeEventListener","directive","ClickOutside","globalProperties","$cmsStringParser","string","match","p1","labeltranslation","collectivityLabel","translation","warn","i18n","controller","AbortController","token","localExpirationTime","parsedToken","parseJwt","expirationDateTime","Date","exp","localExpirationDate","isNaN","parseInt","progress","type","message","global","t","setTimeout","push","name","abort","signal","undefined","loginToken","handleLoginToken","accessToken","handleAccessToken","showProgress","hasPriority","urls","requestUrl","includes","reject","defaults","common","Authorization","rememberMe","state","patternsToMatch","pattern","a","A","action","chr","toUpperCase","n","N","X","keepValueWithinMaxBinding","substring","filterValue","currentValue","stringCharIndex","currentPattern","addMaskValue","lastValue","calculateSelectionStart","currentSelectionStart","inputMask","startValue","selectionStart","selectionEnd","evt","Event","bubbles","cancelable","mask","routeGuard","requiresAuthentication","matched","some","record","isAuthorized","every","isUndefined","isAuthenticated","position","query","fullPath","label","NO","BE","DK","FI","FO","GL","NL","MK","SI","AT","BA","EE","KZ","LT","LU","CR","CH","HR","LI","LV","BG","BH","DE","GB","GE","IE","ME","RS","AE","GI","IL","AD","CZ","ES","MD","PK","RO","SA","SE","SK","VG","TN","PT","IS","TR","FR","GR","IT","MC","MR","SM","AL","AZ","CY","DO","GT","HU","LB","PL","BR","PS","KW","MU","MT","defineRule","translationKey","keys","values","key","iban","validationMessage","len","ibanLen","s","charAt","m","selectedFiles","allowedFileTypes","fileType","fileName","split","pop","toLocaleLowerCase","isInvalid","usedMB","maxMB","errorMessage","toString","date","min","max","messageKeyTooLongAgo","messageKeyFuture","minDate","maxDate","parsedDate","isValid","isEqual","isBefore","isAfter","minTranslationKey","maxTranslationKey","email","prefix","number","phoneNumberParsed","val","requiredLength","fileTypesToCheckForReadability","maxFileSize","formData","FormData","validFiles","x","size","isValidReadability","readabilities","forEach","file","append","post","isEmpty","readability","AttachmentReadability","validFile","find","readabilityScore","isUnreadable","isBarelyReadable","isLocked","amount","maxKey","requiredKey","minKey","nursingHours","nursingMinutes","personalCareHours","personalCareMinutes","selectedCareTypeId","VueTelInput","invoiceStatus","Openstaand","Herinnering","Aanmaning","Sommatie","Betalingsregeling","Incassobureau","Schuldhulptraject","Faillissement","Betaald","AutomatischeIncasso","notification","errorResponse","OwnRisk","BasicInsurance","ExtraAdditionalInsurance","AdditionalInsurance","DentalInsurance","messages","nlNL","enUS","numberFormats","currency","style","currencyNoCents","minimumFractionDigits","maximumFractionDigits","createI18n","locale","fallbackLocale","globalInjection","constructor","this","ReadabilityScore","score","isReadable","Invoice","description","invoiceNumber","statusId","id","invoiceDate","remaining","attachments","paymentType","invoicePaymentType","expirationDate","paymentDate","premiePeriod","MedicalSelection","policyNumber","orthodonticsWithinTwoYears","dentistLastTwoYears","hasCongenitalDentalDefect","congenitalDentalDefectMessage","extracted4OrMoreTeeth","numberOfMissingTeeth","expectsToHaveOneOfFollowingTreatments","doesNotExpectTreatment","acceptedTermsAndConditions","acceptanceDate","createEmpty","createEmptyNew","getDenialReasons","denialReasons","mainChildren","path","component","mayReadMemberOffer","mayReadInsurance","mayReadInvoice","mayCreatePaymentArrangement","mayUpdateInsurance","props","route","selectedYear","shouldResetSelection","mayReadMessages","mayCreateInsuredPerson","mayCreateEHIC","mayCompensationDocument","mayUpdatePersonalDetails","mayReadPersonalDetails","mayReadPaymentDetails","mayUpdatePaymentDetails","mayCreateContact","mayReadDeclaration","mayCreateDeclaration","mayReadContact","mayReadAccount","mayUpdateAccount","isCheckRequired","mayCreateInsuranceRight","mayCreateCareMediation","mayCreateTreatmentAbroad","authChildren","labelCode","canBeIntercepted","isRegister","sessionId","code","sessionState","session_state","errorDescription","error_description","render","h","resolveComponent","children","fromPage","flowType","verificationReceiver","isVerificationCodeNeeded","verificationInfo","hasEmailAddress","hasPhoneNumber","accountDetails","hasIdinFailed","idinFailureMessage","isLoggingOff","idinBankOptions","bankOptions","comesFromLoginPage","comesFromForgotPage","bankOptionsValue","setFromPage","payload","clearFromPage","setFlowType","clearFlowType","setIsLoggingOff","setVerificationReceiver","clearVerificationReceiver","setRememberMe","clearRememberMe","setHasPhoneNumber","clearHasPhoneNumber","setHasEmailAddress","clearHasEmailAddress","setIsVerificationCodeNeeded","setEmail","clearEmail","setAccountDetails","clearAccountDetails","setUsernameAlreadyExists","setHasIdinFailed","clearHasIdinFailed","setIdinFailureMessage","clearIdinFailureMessage","setIdinBankOptions","setBankOptions","Permissions","permissions","mayReadInsuranceRight","hasPermissionFor","mayReadPremium","mayReadExcess","mayReadPolicyDocument","mayUpdatePassword","mayLogin","mayCreateMemberOfferTip","isAdmin","permission","ContactInfo","phoneNumber","filterPhoneNumber","Address","streetName","street","streetNumber","houseNumber","streetNumberAddition","houseNumberAddition","postalCode","zipCode","city","countryName","country","Role","isMainInsured","isCoInsured","isPartnerInsured","CollectivityLabel","exists","toLowerCase","logo","User","customerNumber","CustomerNumber","accountId","AccountId","emailAddress","EmailAddress","firstName","FirstName","lastName","LastName","birthDate","BirthDate","Prefix","maidenName","MaidenName","prefixMaidenName","PrefixMaidenName","initials","Initials","gender","Gender","shouldResetPassword","ShouldResetPassword","shouldVerifyEmailAddress","ShouldVerifyEmailAddress","signedTermsOfAgreement","SignedTermsOfAgreement","isDefaulter","IsDefaulter","shouldShowDigitalPopup","ShouldShowDigitalPopUp","role","lastNameWithPrefix","maidenNameWithPrefix","fullLastName","fullNameWithSalutation","address","contactInfo","addAddress","addContactInfo","updateEmailAddress","AccountDetails","username","iDinActivationDate","iDinActive","loginActive","loginInfo","usernameAlreadyExists","digitalNewsletterActive","announcementEmailActive","paymentMethod","paymentMethodExcess","VerificationReceiver","Username","PhoneNumber","phoneNumberIsUnknown","PhoneNumberIsUnknown","emailAddressIsUnknown","EmailAddressIsUnknown","IsVerificationCodeNeeded","sendDate","SendDate","idinCookieName","getLoginErrorMessage","errorData","login","p","body","catch","verify","resend","getAccountDetails","resetUsername","utcDate","convertToUtcDateFromString","resetFlowErrorHandler","resetPassword","color","getVerification","parsedResponse","receiver","JSON","parse","updatePassword","_","password","Password","verifyLogin","verificationCode","root","verifyForgot","resetType","parseTokenSetUser","user","setToken","issuedAtTime","iat","expirationTime","timeDifference","getTime","set","expires","fetchUser","clearStorage","sessionStorage","clear","localStorage","removeItem","caches","names","delete","logout","remove","reload","getIdinSession","bankIssuer","iDINFlow","clientBaseUrl","clientCode","sessionLifetime","sameSite","secure","verifyIdin","Code","State","Error","ErrorDescription","callbackUrl","redirectionPage","finally","useReplace","dataModificationRedirect","IdinAuthenticate","cookieResult","IdinIdentificate","IdinLogError","catchIdinError","errorType","isolateIdinErrorType","errorString","slice","updatePhoneNumber","signTermsOfAgreement","updateAccountDetails","usernameExists","icon","updateContactDetails","updateDigitalPopUp","getEmailAddress","getIdinBankOptions","getBankOptions","declineDigitalPopup","namespaced","mutations","actions","receivedPhoneNumber","hasSuccessfullyCreatedAccount","setReceivedPhoneNumber","clearReceivedPhoneNumber","setSendDate","clearSendDate","setHasSuccessfullyCreatedAccount","setCustomerNumber","clearCustomerNumber","agreementId","sendActivationCode","validateActivationCode","sendVerificationCode","createAccount","newsTexts","isNewsTextActive","setNewsTexts","clearNewsTexts","NewsText","text","link","hyperlinkSubstring","startDate","endDate","language","getNewsTexts","newsText","getNewsTextsBeforeAuthorization","removeNewsTextById","item","activePolicyNumbers","excessTotal","excessRemaining","loadingPolicies","setActivePolicyNumbers","clearActivePolicyNumbers","setExcessTotal","clearExcessTotal","setExcessRemaining","clearExcessRemaining","clearPolicyMutations","addLoadingPolicy","removeLoadingPolicy","policy","getActivePolicyNumbers","concat","getExcess","year","amountTotal","amountRemaining","getPolicyInfoForYear","getFinancialSummary","financialSummary","isLoadingMessages","genericDocuments","isLoadingGenericDocuments","unreadDocuments","unreadDocumentsLast6Months","hasUnreadDocumentsLast6Months","setMessages","clearMessages","setGenericDocuments","clearGenericDocuments","setMessageToRead","documentID","hasBeenRead","publicationDate","addMonths","setIsLoadingMessages","clearIsLoadingMessages","setIsLoadingGenericDocuments","clearIsLoadingGenericDocuments","setUnreadDocuments","clearUnreadDocuments","setUnreadDocumentsLast6Months","isMale","isFemale","Message","createdAt","customerInitials","customerLastName","customerBirthDate","customerGender","fullName","fullNameWithShortHandSalutation","docType","docTypeID","documentCluster","documentName","extension","nameObject","getNameObject","productType","contractCode","guidName","prefixes","packet","trim","getMessages","getGenericDocuments","getUnreadDocumentCount","getUnreadDocumentLast6MonthsCount","sixMonthsAgo","formatDate","IDIN","REDIRECT_URI","CLIENT_ID","DEFAULT_GTM_CODE","DEFAULT_GA_CODE","COLLECTIVITY_INFORMATION","ENVIRONMENT","FRONT_END_URL","currentCollectivity","existingCollectivities","urlPart","setConfig","Api","BaseUrl","ContentBaseUrl","CachControlGuid","DefaultGTMCode","DefaultGACode","Idin","RedirectUri","ClientId","NEW_FLOW","NewFlow","CollectivityInformation","EnforceHTTPS","Environment","FrontEndUrl","ApplicationInsights","InstrumentationKey","ConnectionString","collectivity","openingHoursOfWeek","openingHoursToday","openingsHoursOfDay","dayOfWeek","getDay","isContactCenterOpen","startTime","isWithinInterval","toISOString","end","endTime","isDefaultHours","nextAvailableDate","availableDate","nextAvailableDateStartTime","openingHours","Collectivity","setCollectivity","clearCollectivity","getCollectivity","downloadTypes","downloadErrors","isDownloadLoading","LOAD_ALL","LOAD_TYPES","DOWNLOAD","previewURL","isLoading","setIsLoading","startDownload","cancel","endpoint","queryParams","responseType","cancelToken","c","Uint8Array","download","isLoggedIn","isPartner","isCoCustomer","isYoungerThan18","differenceInYears","setUser","clearUser","setShouldUserVerifyEmail","setPermissions","clearPermissions","setLabel","clearLabel","rootGetters","existingCollectivity","redirectUrl","faqs","clearFaqs","setFaqs","financialSummaryByYearCustomer","isLoadingFinancialSummary","getIsLoadingFinancialSummary","addFinancialSummary","setIsLoadingFinancialSummary","offerYear","agreements","isLoadingAgreements","hasLoadedEditPossible","agreementDetails","hasKnownIban","hasIbanPayedByInsured","notShowAnyMore","agreementDetailsForOfferYear","setOfferYear","setHasKnownIban","setHasIbanPayedByInsured","clearOfferYear","setAgreements","clearAgreementDetails","clearAgreements","setIsLoadingAgreements","setNotShowAnymore","setAgreementDetails","setAgreementDetailsForOfferYear","addPolicyToAgreementDetails","agreementDetail","agreementParticipants","agreementParticipant","customer","addPolicy","addPoliciesToAgreementDetails","activeAgreementDetail","policyDetail","policyDetails","addPoliciesToAgreementDetailsForOfferYear","setPaymentDetails","agreement","paymentDetails","addPaymentDetails","details","updateMedicalSelectionForAgreementParticipant","participant","medicalSelection","updateEditPolicyDenialReasons","contractMutabilities","contract","updateEditPolicyDenialReason","currentUser","isMutable","policyYear","setHasLoadedEditPossible","PaymentTerm","paymentTerm","discounts","isMonthly","isQuarterly","isHalfYearly","isYearly","termDiscounts","PaymentTermDiscounts","getDiscount","termInMonths","monthly","quarterly","halfYearly","yearly","PaymentDetails","excessLimit","ibanReceivedByInsured","hasIbanReceivedByInsured","ibanPayedByInsured","ibanExcess","PaymentMethod","paymentTermDiscounts","paymentTermIsMutable","hasMandatoryDirectDebit","hasAgreementEnded","isiDeal","isDirectDebit","isMail","isViaEmployer","isViaIntermediary","isPaidByCustomer","paymentTypeLabelPath","excessLimitLabel","formatCurrency","TypeOfProduct","isBasic","isAdditional","isExtraAdditional","additionalType","isDental","isExcess","getTranslation","getTranslationWithYour","getTranslationWithChoose","getIcon","Product","typeOfProduct","collectivityDiscountAmount","nettoPremium","Policy","subContractName","discountAmountPaymentTerm","discountPercentagePaymentTerm","totalNettoPremiumMonth","totalNettoPremiumPaymentTerm","totalGrossPremium","totalDiscountAmount","totalCollectivityDiscountAmount","totalAdditionalDiscountAmount","excessDiscountAmount","excessAmount","products","product","FinancialSummary","excessAmountTotal","excessAmountConsumed","excessAmountRemaining","excessPercentageConsumed","gvsAmountTotal","gvsAmountConsumed","gvsAmountRemaining","gvsPercentageConsumed","dentalAmountTotal","dentalAmountConsumed","dentalAmountRemaining","dentalPercentageConsumed","Customer","prefixBirthName","birthName","fullBirthName","isAdult","isDateStringOlderThanNYears","is16AndOlder","isCustomerUser","policies","dates","formatDateWithoutTime","Math","apply","addPolicies","PolicyHolder","Agreement","agreementIdNumber","hasBasicInsurance","policyHolders","holder","caption","AgreementDetails","AgreementParticipant","totalAmount","isPremiumPaidByCustomer","getIsoDateAsLocalDate","editPolicyDenialReason","newlyInsuredPersonsInProgress","newlyInsuredPersonInProgress","NewlyInsuredPersonInProgress","mapToBackendModel","model","cloneDeep","isCustomerMainInsuredOnAgreement","ap","productTypes","getOfferYear","getAgreements","getAgreementsByRoleAndFilter","agreementFilters","mapArrayForGetRequest","getPaymentDetails","getHasKnownIban","updatePaymentDetails","updateIban","getAgreementDetailsForYear","getAgreementDetailsForOfferYear","clearHasLoadedEditPossible","customers","customerUserDetails","isLoadingCustomers","hasCustomers","isUserCustomer","customerUser","setCustomers","addCustomerDetails","customerDetails","clearCustomers","clearCustomerUserDetails","setIsLoadingCustomers","addPoliciesToCustomer","addFinancialSummaryToCustomer","getAllCustomersWithPolicyForYear","checkForOffer","getAllCustomersWithActiveInsuranceCard","getAllCustomersWithPolicy","getAllCustomersWithPolicyInPast","getCustomerDetails","rootState","updateCustomer","toRaw","getAllCustomersWithActivePolicy","requestHealthCard","showRequestAcceptedDialog","showRequestPartiallyAcceptedDialog","showRequestDeniedDialog","digitalInsuranceCardInformation","setRequestHealthCard","clearRequestHealthCard","setDigitalInsuranceCardInformation","clearDigitalInsuranceCardInformation","setShowRequestAcceptedDialog","clearShowRequestAcceptedDialog","setShowRequestPartiallyAcceptedDialog","clearShowRequestPartiallyAcceptedDialog","setShowRequestDeniedDialog","clearShowRequestDeniedDialog","RequestHealthCard","isSuccessful","acceptedAgreementNumbers","deniedAgreementNumbers","DigitalInsuranceCardInformation","uzoviCode","uzoviDescription","hasEHIC","ehic","insuranceCard","applyForInsuranceCard","customerNumbers","getDigitalInsuranceCardInformation","results","declarationsPreview","declarations","isLoadingDeclarationsPreview","isLoadingDeclarations","declarationForm","attachmentReadability","isSavingDeclarations","hasDeclarations","setDeclarationsPreview","setDeclarations","setAttachmentReadability","clearAttachmentReadability","clearDeclarations","clearDeclarationForm","setIsLoadingDeclarationsPreview","setIsLoadingDeclarations","setIsSavingDeclarations","setDeclarationForm","customerSelected","typeOfDeclaration","couldThirdPartyBeLiable","dateOfAccident","accidentLocation","accidentDescription","counterPartyName","counterPartyPostalCode","counterPartyAddress","isTrafficAccident","hasTravelInsurance","travelInsuranceInsurer","travelInsurancePolicyNumber","reasonMedicalCosts","files","Declaration","uid","receivedDate","treatmentDate","lastTreatmentDate","submittedBy","SubmittedBy","declarationId","recordId","invoiceId","receiverOfReimbursement","ReceiverOfReimbursement","careProvider","declarationAmount","compensatedAmount","uncompensatedAmount","contributionAmount","statusKey","hasReadRights","careType","isCustomerReceiver","isCareProviderReceiver","isSubmittedByCareProvider","isSubmittedByCustomer","DeclarationDetails","bills","bill","DeclarationBill","payOutAmount","reduce","previousVal","currentVal","collectionRiskAmount","relation","Relation","entries","declarationFullNumber","declarationNumber","declarationLineNumber","activities","activity","DeclarationBillActivity","dateOfBirth","DATE_FORMAT","getDeclarationsPreview","declaration","getDeclarations","getDeclarationDetails","recordIdParam","getAllDeclarations","saveDeclarationForm","isTransportCosts","healthcareCostValue","isAbroad","costLocationValue","selectedCustomer","fromDate","toDate","costCurrency","cc","cost","moreTreatmentInfoValue","knownValue","travelInsurance","hasInsurance","insurerName","involvedOthers","treatmentType","travelType","setFormAddress","addresses","trips","isOneWay","additionalCost","documents","validateAttachmentsReadability","startNameAddress","addition","homeAddress","invoices","isLoadingInvoices","paymentArrangements","isLoadingPaymentArrangements","invoiceAttachmentIdsFetched","isLoadingAttachments","outstandingInvoices","paidInvoices","payableInvoices","paymentArrangementInvoices","setInvoices","setIsLoadingInvoices","setPaymentArrangements","setIsLoadingPaymentArrangements","addAttachmentToInvoice","unshift","setIsLoadingAttachments","PaymentArrangement","getInvoices","invoice","getFullYear","sort","b","getPaymentArrangements","arrangement","postPaymentArrangement","getInvoiceAttachments","isSavingContactForm","setIsSavingContactForm","postContactForm","contactForm","selectedCustomerNumber","selectedSubjectKey","question","extraData","extra","contracts","originalContracts","beforeChangeContracts","responseData","medicalSelectionResponse","isLoadingValidateContract","isLoadingContracts","isSavingContracts","isSavingContractsSuccesfull","unselectedRequiredPackages","showUnselectedRequiredPackages","requestedContractsAreForNewlyInsuredPersons","hasContracts","getAllCards","getCardByCardGroup","allCards","cards","docs","card","productComponentCode","doc","Number","packageTypeForWebApplications","productName","title","setContracts","setOriginalContracts","updateContractCards","updateCards","updateNewlyInsuredPersons","setContractsForNewlyInsured","updateCardSelectionStatus","updateBeforeChangeContracts","resolvePackageSelectionConflict","updateChosenMedicalSelectionCard","updatePaymentTerm","setResponseData","setMedicalSelectionResponse","clearContracts","setIsLoadingContracts","setIsLoadingValidateContract","setIsSavingContractsSuccesfull","setIsSavingContracts","setUnselectedRequiredPackages","setShowUnselectedRequiredPackages","ContractCard","customerMedicalSelectionDetails","packageSelectionConflict","basicCardGroup","CardGroup","maximumSelectableAmount","extraAdditionalCardGroup","additionalCardGroup","dentalCardGroup","excessCardGroup","validateCard","ValidateCard","selectedPaymentTerm","totalNettoPremium","TotalNettoPremium","editPolicyDeniedByMedicalSelectionPerCustomer","detail","CustomerMedicalSelectionDetails","paragraph","chosenInsurances","deconstructCards","clearChosenInsurances","newlyInsuredPersons","updateSelectionStatus","setPersonUnselectedInCardgroupCards","insuredPersons","person","isSelected","cardGroup","deselectNoInsuranceCard","deselectFirstSelectedCardForCustomer","packageSetNumber","selectedComponentCode","hasDeselected","group","standardParagraph","filterExpression","tempCards","Card","customLabel","documentInsurancePolicy","DownloadDocument","documentConditionsPolicy","insuranceCardLink","ownRiskAmount","ownRiskDiscount","hasMedicalSelection","isDisabled","insuredPerson","InsuredPerson","netPremiumWithDiscount","guidFileName","displayName","output","customerOverviews","customerOverview","overview","CustomerOverview","totalNettoAmountMonth","totalNettoDiscountAmount","paymentTermDiscountAmount","paymentTermDiscountPercentage","totalNettoAmountPaymentTerm","sum","productPremiums","pp","hasOwnRisc","addOwnRisc","productPremium","ProductPremium","splice","hasDeniedMedicalSelection","medicalSelectionDateIsToday","CustomerMedicalSelectionAcceptanceDetails","packageName","isApproved","getContracts","getContractsNewlyInsured","validateContract","unselectedRequiredPackageTypes","revertLastChange","resetContracts","saveMedicalSelections","requestedContract","responsData","saveNewContracts","newPayload","paymentInformation","bankAccountNumber","PersonalInformation","saveContracts","isSuccesfull","packageTypes","saveContractsNewlyInsuredPersons","notificationRequestUrls","addNotificationRequestUrl","clearNotificationRequestUrl","createNotification","QuasarNotify","isLoadingCancelationServiceDate","isCancelationServiceActive","shouldResetSelectedAgreementId","selectedAgreementId","shouldRefreshContracts","isBornRecently","addInsuredStartDate","addInsuredStartDateOption","currentlySelectedAgreementId","hasPartnerInAddInsuredForms","canPickStartDate","forms","setIsLoadingCancelationServiceDate","setIsCancelationServiceActive","setStartDate","setSelectedAgreementId","setShouldResetSelectedAgreementId","clearNewInsuredPerson","addNewInsuredPerson","guid","form","removeNewInsuredPerson","clone","setShouldRefreshContracts","setFormProperty","updatedForm","assign","field","updateMedicalSelectionForNewlyInsuredPerson","setCoInsuredOnForms","setStartDateOfNewBorn","getCancelationServiceDate","updateNewInsuredPerson","updateFormProperty","updateStartDate","compensateTimeZoneOffsetForBackend","updateSelectedAgreementId","updateShouldResetSelectedAgreementId","updateIsBornRecently","memberOffers","setMemberOffers","setLoading","getMemberOffers","postTip","items","activeSubMenuName","getMatchingRoute","routeName","isAuthorizedForRoute","MenuItem","_defineProperty","excludedLabels","MenuItemGroup","menuItemsPrimary","menuItemsSecondary","tile","getItems","element","getIsLoading","getActiveSubMenuName","setItems","setActiveSubMenuName","fetchItems","menu","updateActiveSubMenuName","calculateTileOwnRiskPositionPriorityAndVisibility","tileObject","visibilityBasedOnVisibilityParametres","calculateVisibility","desktop","visible","priorityAndPosition","priority","mobile","calculateTileMessagesPositionPriorityAndVisibility","calculateTileOpenInvoicesPositionPriorityAndVisibility","calculateTilePaymentArrangementPositionPriorityAndVisibility","calculateTileGoodNewsPositionPriorityAndVisibility","count","calculateTileEhicPositionPriorityAndVisibility","calculateTileDeclarationPositionPriorityAndVisibility","processedStatus","calculateTileInsuranceRightPositionPriorityAndVisibility","insuranceRight","calculateTileInfoTitlePositionPriorityAndVisibility","calculateTileArrangeImmediatelyPositionPriorityAndVisibility","calculateTileInfoTitleAndParagraphPositionPriorityAndVisibility","calculateTileYourInsurancePositionPriorityAndVisibility","calculateTileFysioSelfCheckPositionPriorityAndVisibility","calculateTileHealthcareContractsPositionPriorityAndVisibility","calculateRequestPolicyPositionPriorityAndVisibility","visibilityParametres","calculateVisibilityStartDate","calculateVisibilityEndDate","calculateVisibilityExcludedTypeInsured","excludedTypeInsured","calculateVisibilityExlusiveCollectivities","exlusiveCollectivities","calculateVisibilityExclusiveLabels","exclusiveLabels","calculateVisibilityRequiresActivePolicy","requiresActivePolicy","calculateVisibilityExcludedProducts","excludedProducts","calculateVisibilityRequiresProducts","requiresProducts","calculateVisibilityUserIsNotDefaulter","checkUserIsDefaulter","calculateVisibilityRequiresAdult","requiresAdult","calculateVisibilityOfferYear","requiresOfferYear","startDateString","setHours","endDateString","typeInsured","contractCodes","labels","getProductsByUser","y","now","flatMap","calculatePositionPriorityAndVisibilityForTiles","_updatedItems","positionPriorityAndVisibility","calculatedValues","isLoadingInsuranceRight","isSavingInsuranceRight","setIsLoadingInsuranceRight","setInsuranceRight","setIsSavingInsuranceRight","InsurancePermission","getInsuranceRight","forced","requestInsuranceRight","hasDutchIncome","dutchWork","hasBenefit","benefit","hasOtherIncome","incomeOtherCountry","incomeOtherCountryExtra","isSelfEmployed","selfEmployed","lastDutchIncome","isSavingCareMediation","setIsSavingCareMediation","saveGeneralPractitionerRequest","selectedCustomerNumbers","currentGp","isKnown","saveMaternityCareRequest","alreadyContacted","alreadySignedUp","isSignedUp","when","confirmation","additionalInformation","saveDistrictCareRequest","topic","indication","time","known","nursing","hours","minutes","personalCare","healthcareMediationInformation","saveMentalHealthCareRequest","reference","referenceFreeText","isDiagnosis","stay","topicFreeText","treatmentFormKnown","treatmentForm","treatmentFormFreeText","waitingList","onWaitingList","waitingTimeKnown","distance","sickLeave","isSickLeave","saveMedicalSpecialistRequest","additionalInfoNeuroscience","partData","part","specialistConsulted","researchType","surgeryDescription","researchTypeFreeForm","requestor","scopy","mediationData","mediationType","business","practitioner","selectAdditionalInfo","isSelectAdditionalInfo","selectAdditionalInformation","isSavingTreatmentAbroad","setIsSavingTreatmentAbroad","saveMedicalTreatment","treatmentDone","medication","hasMedication","whichMedication","necessary","dateKnown","instanceAbroad","instanceName","saveFertilityTreatment","practitionerName","ivfIcsiTreatments","treatment","partiallyNetherlands","instanceNetherlands","saveNursingAndCare","duration","dutchNurse","bigNumber","level","careInstanceName","agbCode","saveMentalHealth","doctorAbroad","profession","saveKidneyDialysis","treatmentInstance","transport","residence","howOften","approval","price","mentioned","setIsSavingSeatedPatientTransport","isSavingSeatedPatientTransport","saveSeatedPatientTransport","requestValue","wheelchair","distanceMeters","longDurationDependence","shortDurationDependenceMonths","visuallyImpaired","fieldOfVision","visionLeft","visionRight","hardshipClause","medicalIndication","multipleHealthcareInstitutes","healthcareDestinations","index","treatmentDuration","averageTransportNeeded","otherQuestions","expectedTreatmentPeriod","travelPossibilities","ownTransport","taxi","taxiExplanation","assistance","productComponentCodesToIgnore","showDenialReason","denialReasonData","showMedicalSelectionOverlay","medicalSelectionOverlayData","showRejected","rejectedData","getDocumentsBasic","getDocumentsByCardGroup","getDocumentsAdditional","getDocumentsDental","getDocumentsExtra","getSpecificDocument","productComponentId","getDocumentInfoByCard","getParticipantsBasic","getParticipantsByProductType","getParticipantsAdditional","getParticipantsEmployers","getParticipantsDentist","getShowMedicalSelectionOverlay","getShowDenialReason","getMedicalSelectionOverlayData","getAgreementId","getShowRejected","getDenialReasonData","getRejectedData","ignoreUnder18","removeCardWithNoCostAndOnlyCardInSetNumberList","participants","getCardByCustomer","ownRiskOptions","PackageType","getInsuranceOptions","options","pakketsetCount","countMap","insuranceOptions","findPersonByCard","option","getProductNameByCard","subtitle","selected","disabled","optionDisabled","disabledText","showWarningIcon","showFreePresent","setYear","setContractCode","setProductComponentCodesToIgnore","setAgreementId","setShowDenialReason","setDenialReasonData","setCurrentMedicalSelectionData","setShowMedicalSelectionOverlay","setShowRejected","setRejectedData","saveCurrentSurveyDataLocal","componentCodesToIgnore","validateCards","success","newValue","validateDentalInsurance","medicalSelectionDetails","oldValue","closeDenialReason","closeRejected","cancelMedicalSelection","validateMedicalSelection","modules","auth","news","addInsured","careMediation","treatmentAbroad","seatedPatientTransport","requestEditPolicySurvey","strict","CURRENCY_SEPARATOR","locales","nl","formatStr","parseISO","format","formatReverseDate","reverse","join","stripSymbol","formatIban","getHolidays","isWeekendOrHoliday","holidays","holdaysOfYear","isWeekend","dateToDateOnly","day","getMonth","getDate","dateString","years","compareDate","month","isoDateString","dateValues","seperator","indexer","splittedBirthDate","indexOf","UTC","convertToDateStringFromLocalDate","getTimezoneOffset","array","validateEmail","filterUsername","validatePhoneNumber","getPhoneNumberMaxLength","filteredLength","valueLength","difference","maxLength","passwordHasEightOrMoreCharacters","passwordContainsSpecialCharacter","passwordContainsDigit","passwordContainsLetter","passwordIsValid","base64Url","base64","jsonPayload","decodeURIComponent","atob","charCodeAt","createGuid","crypto","getRandomValues","verifySocialSecurityNumber","bsn","newPersonsStoreValue","newPersons","personsWithSameBsn","socialSecurityNumber","j","pos","getDateOffsetByMonths","offset","setMonth","getInvoiceStatusColor","getDeclarationStatusColor","truncateString","str","num","_createElementBlock","_createVNode","_component_router_view","computed","mapGetters","mounted","metaInfo","methods","createMeta","content","createElement","head","appendChild","createLink","filteredOptions","fromEntries","themeColor","iconLabel","manifestToRemove","querySelector","newManifest","rel","tags","sizes","media","Development","Test","Production","userCentricsInjected","environment","loadScriptUsercentrics","script1","setAttribute","src","userCentricsId","Environments","subscribeOnUserCentricsEvent","usercentricSection","getElementById","classList","add","googleTagManagerInjected","addGoogleTagManager","GTMCode","addGoogleTagManagerScript","addGoogleTagManagerNoScript","script","noscript","iframe","height","width","labelName","created","showShouldRefreshNotification","$t","multiline","handler","timeout","mixins","InjectMetaTags","GoogleTagManagerScript","CookieBanner","ShowRefreshNotification","setCookieAndReload","$q","cookies","mapActions","navigator","cookieEnabled","has","__exports__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","deferred","O","chunkIds","fn","notFulfilled","Infinity","fulfilled","r","getter","__esModule","d","definition","o","defineProperty","enumerable","f","e","chunkId","all","promises","u","miniCssF","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","needAttach","scripts","getElementsByTagName","getAttribute","charset","nc","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","removeChild","bind","Symbol","toStringTag","nmd","paths","createStylesheet","fullhref","oldTag","linkTag","nonce","onLinkComplete","realHref","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}