{"version":3,"file":"Portal-1058231b-40e583f9.js","sources":["../../src/components/bars/footerWeb/Footerbar.vue","../../src/components/notifications/TrimozSnackbar.vue","../../src/components/ErrorHandlingModal.vue","../../src/components/cookieConsent/Lang.ts","../../src/components/cookieConsent/useCookieConsent.ts","../../src/components/cookieConsent/CookieConsent.vue","../../src/components/bars/header/logoHeader/Lang.ts","../../src/components/bars/header/logoHeader/LogoHeader.vue","../../src/stores/mobileDialogMenu/index.ts","../../src/components/bars/header/webHeader/accountButton/AccountButton.vue","../../src/components/bars/header/Lang.ts","../../src/components/bars/header/webHeader/hamburgerButton/Lang.ts","../../src/components/bars/header/logoutConfirmationModal/LogoutConfirmationModal.vue","../../src/components/bars/header/webHeader/hamburgerButton/HamburgerButton.vue","../../src/components/bars/header/sondageHeader/Lang.ts","../../src/components/bars/header/sondageHeader/useSondageHeader.ts","../../src/components/bars/header/sondageHeader/SondageHeader.vue","../../src/components/bars/header/webHeader/WebHeader.vue","../../src/components/bars/header/mobileHeader/mobileDialogMenu/MenuItems.vue","../../src/components/bars/header/mobileHeader/accountButtons/Lang.ts","../../src/components/bars/header/mobileHeader/accountButtons/useConnectKc.ts","../../src/components/bars/header/mobileHeader/accountButtons/accountButtons.vue","../../src/components/bars/header/mobileHeader/mobileDialogMenu/MobileDialogMenu.vue","../../src/components/bars/header/mobileHeader/MobileHeader.vue","../../src/components/bars/header/HeaderWrapper.vue","../../src/components/announceBanner/Lang.ts","../../src/components/announceBanner/useAnnounceBanner.ts","../../src/components/announceBanner/AnnounceBanner.vue","../../src/pages/Portal.vue"],"sourcesContent":["\n \n \n \n \n \n \n \n\n\n\n\n\n","\n \n \n \n \n fas fa-times\n \n \n \n\n\n\n\n\n","\n \n \n \n \n \n fas fa-times \n \n \n \n \n \n \n fas fa-exclamation-triangle \n \n \n \n \n \n \n \n \n \n {{ $t('actions.ok') }}\n \n \n \n \n\n\n\n\n\n","import type { Lang } from '@/interfaces/lang.interface'\n\nexport default {\n componentName: 'CookieConsent',\n fr: {\n message:\n 'Utilisation de témoins de connexion : ' +\n 'Notre site web utilise des témoins essentiels pour son fonctionnement et à l’utilisation de ses fonctions. Nous utilisons également des témoins pour recueillir des informations agrégées sur les interactions des utilisateurs afin d’améliorer sa performance via nos partenaires. Nous n’utilisons pas de témoins pour vous identifier, localiser, ou vous profiler.',\n linkLabel:\n 'Pour plus d’informations sur notre utilisation des témoins, veuillez consulter notre Politique relative aux témoins de connexion ',\n buttonLabel: 'Ok',\n urlPath: '/confidentialite'\n },\n en: {\n message:\n 'Use of cookies : Our website uses cookies essential for its functions and the use of its features. We also use cookies to gather aggregated data on user interactions to improve the site’s performance through our partners.',\n linkLabel:\n 'We do not use cookies to identify, locate, or profile you. For more information on our use of cookies, please see our Cookie Policy',\n buttonLabel: 'OK',\n urlPath: '/confidentialite'\n }\n} as Lang\n","import { computed, ref, onBeforeMount } from 'vue'\nimport { useLazyI18n } from '@core/plugins/lazyi18n/lazy-i18n'\nimport { getCookie, setCookie } from '@/utils'\nimport translations from './Lang'\nimport { useEnv } from '@/composables/env/useEnv'\n\nconst COOKIE_NAME = 'privacyConsent'\n\nexport const useCookieConsent = () => {\n const { $lt } = useLazyI18n(translations)\n\n const show = ref(undefined)\n\n const lang = computed(() => ({\n message: $lt('message'),\n linkLabel: $lt('linkLabel'),\n buttonLabel: $lt('buttonLabel'),\n urlPath: $lt('urlPath')\n }))\n\n const tld = computed(() => useEnv().inferCookieDomain())\n\n const href = computed(() => '//' + useEnv().inferConsentDomain.value + lang.value.urlPath)\n\n const cookie = computed(() => !getCookie(COOKIE_NAME))\n\n const dismiss = () => {\n show.value = false\n setCookie(COOKIE_NAME, 1, 90, tld.value, '/')\n }\n\n onBeforeMount(() => {\n show.value = cookie.value\n })\n\n return { lang, show, tld, href, cookie, dismiss }\n}\n","\n \n
La campagne de vaccination contre la COVID-19 et la grippe est en cours. Pour plus d’informations, cliquez ici.
' +\n '
Une mesure temporaire permet d’offrir gratuitement la vaccination contre le VPH aux personnes âgées de 21 à 45 ans. Pour plus d’informations, cliquez ici
' +\n '
Pour toute demande de prélèvement de la rougeole suite à une consultation médicale, vous pouvez composer le 1-877-644-4545, option dépistage.
',\n announceMessageWithVRS:\n 'Prélèvement coqueluche suite à une consultation médicale, vous pouvez composer le 1-877-644-4545, option dépistage. ' +\n ' La campagne de vaccination contre la COVID-19 et la grippe est en cours. Pour plus d’informations, cliquez ici. ' +\n \" La prise de rendez-vous pour l'immunisation des bébés contre le virus respiratoire syncytial (VRS) sera disponible à partir du 21 octobre.\",\n whoopingCoughMessage:\n 'Pour toute demande de prélèvement de la coqueluche suite à une consultation médicale, vous pouvez composer le 1-877-644-4545, option dépistage.',\n confidentialityMessage:\n 'Avis de mise à jour : ' +\n 'Nous avons mis à jour notre Politique de confidentialité afin d’en améliorer sa clarté et intelligibilité. Bien que notre utilisation de vos renseignements personnels demeure inchangée, nous avons ajouté des exemples pour accroître la clarté. Les informations sur les témoins ont également été basculées vers notre nouvelle Politique relative aux témoins de connexion. La protection de vos renseignements personnels est une priorité pour nous.',\n termsMessage:\n 'Avis de mise à jour : ' +\n \"Nous avons mis à jour nos Modalités et conditions d'utilisation pour clarifier les droits des parties, les restrictions d'utilisation et les modalités de responsabilité. Votre utilisation des Solutions Clic Santé constitue une acceptation de ces modifications.\"\n },\n en: {\n maintenanceMessage:\n 'Important! Please note that a system maintenance is planned in the night of Friday Dec 9 - Samedi Dec 10 from 00:15 to 5:00. The service will be unavailable during this time.',\n announceMessage:\n 'The vaccination campaign against COVID-19 and the flu is underway. To find out more, click here. ' +\n ' A temporary measure allows HPV vaccination to be offered free of charge to people aged 21 to 45. To find out more, click here. ' +\n ' For any request regarding the measles sample following a medical consultation, please call at 1-877-644-4545 and select the Screening option.',\n announceMessageWithVRS:\n 'Whooping cough screening following a medical consultation, you can call at 1-877-644-4545 Screening option. ' +\n ' The vaccination campaign against COVID-19 and the flu is underway. To find out more, click here. ' +\n ' Respiratory syncytial virus (RSV) immunization appointments for babies will be available starting October 21.',\n whoopingCoughMessage:\n 'For any request for the whooping cough screening sample following a medical consultation, you can call at 1-877-644-4545 Screening option.',\n confidentialityMessage:\n 'Update Notice : ' +\n 'We’ve updated our Privacy Policy to enhance clarity and readability. Although our use of your personal information remains the same, we’ve added examples to increase clarity. Information about cookies has also been moved to our new Cookie Policy. Protecting your personal information is a priority to us.',\n termsMessage:\n 'Update Notice : ' +\n \"We've updated our Terms and Conditions of Use to clarify the rights of the parties, use restrictions, and liability terms. Your use of Clic Santé Solutions constitutes acceptance of these changes.\"\n }\n}\n","import { computed } from 'vue'\nimport { useRoute } from 'vue-router'\nimport { DateTime } from 'luxon'\nimport { useLazyI18n } from '@core/plugins/lazyi18n/lazy-i18n'\nimport { useBannerStore } from '@/stores/banner'\nimport { GlobalSettingsEnum } from '@/enums'\nimport { useSettingsStore } from '@/stores/settings'\nimport { useSearchStore } from '@/stores/search'\nimport translations from '@/components/announceBanner/Lang'\n\nexport const useAnnounceBanner = () => {\n /**\n * Some initializations\n */\n const { $lt } = useLazyI18n(translations)\n const bannerStore = useBannerStore()\n const settingsStore = useSettingsStore()\n const searchStore = useSearchStore()\n const route = useRoute()\n\n /**\n * [Computed] Traductions\n */\n const lang = computed(() => ({\n maintenanceMessage: $lt('maintenanceMessage'),\n whoopingCoughMessage: $lt('whoopingCoughMessage'),\n announceBannerMessage: $lt('announceMessage'),\n announceMessageWithVRS: $lt('announceMessageWithVRS'),\n confidentialityMessage: $lt('confidentialityMessage'),\n termsMessage: $lt('termsMessage')\n }))\n\n function closeAnnounceBanner() {\n bannerStore.showMaintenanceBanner = false\n bannerStore.showAnnounceBanner = false\n bannerStore.showPoliticAndConfidentialityBanner = false\n bannerStore.showTermsBanner = false\n }\n\n function calculateExpiredDate(date) {\n if (date === '') return true\n const endDate = DateTime.fromFormat(date, 'yyyy-MM-dd HH:mm', {\n locale: 'fr',\n zone: 'America/Toronto'\n }).toUTC()\n const now = DateTime.now().toUTC()\n const diff = now.diff(endDate, 'seconds')\n return diff.as('seconds') < 0\n }\n\n /**\n * Maintenance Banner\n */\n const endMessageMaintenanceDate = '2022-12-10 05:00'\n const showMaintenanceBanner = computed(() => bannerStore.showMaintenanceBanner)\n\n const shouldDisplayMaintenanceNotice = computed(() => {\n if (!showMaintenanceBanner.value) return false\n return calculateExpiredDate(endMessageMaintenanceDate)\n })\n\n /**\n * Announce Banner\n */\n const showAnnounceBanner = computed(\n () =>\n bannerStore.showAnnounceBanner && route.name === 'home' && searchStore.isSearchMode\n )\n const shouldDisplayAnnounceNotice = computed(() => {\n if (!showAnnounceBanner.value) return false\n\n return calculateExpiredDate('')\n })\n\n /**\n * Confidentiality Banner\n */\n const endMessagePoliticAndConfidentialityDate = import.meta.env\n .VITE_END_MESSAGE_POLITIC_AND_CONFIDENTIALITY_DATE\n const showDisplayPoliticAndConfidentialityBanner = computed(\n () => bannerStore.showPoliticAndConfidentialityBanner && route.name === 'confidentialite'\n )\n const shouldDisplayPoliticAndConfidentialityNotice = computed(() => {\n if (!showDisplayPoliticAndConfidentialityBanner.value) return false\n return calculateExpiredDate(endMessagePoliticAndConfidentialityDate)\n })\n\n /**\n * Terms Banner\n */\n const endMessageTermsDate = import.meta.env.VITE_END_MESSAGE_TERMS_DATE\n const showDisplayTermsBanner = computed(\n () => bannerStore.showTermsBanner && route.name === 'termes-et-conditions'\n )\n const shouldDisplayTermsNotice = computed(() => {\n if (!showDisplayTermsBanner.value) return false\n return calculateExpiredDate(endMessageTermsDate)\n })\n\n const shouldDisplayBanner = computed(() => {\n if (showDisplayPoliticAndConfidentialityBanner.value)\n return shouldDisplayPoliticAndConfidentialityNotice.value\n else if (showDisplayTermsBanner.value) return shouldDisplayTermsNotice.value\n else if (showAnnounceBanner.value) return shouldDisplayAnnounceNotice.value\n else if (showMaintenanceBanner.value) return shouldDisplayMaintenanceNotice.value\n return false\n })\n\n const getAnnounceMessage = computed(() => {\n return settingsStore.globalSettings[GlobalSettingsEnum.ENABLE_VRS_BEBE_FEATURE_FLAG].value\n ? lang.value.announceBannerMessage\n : lang.value.announceMessageWithVRS\n })\n\n return {\n lang,\n shouldDisplayBanner,\n showMaintenanceBanner,\n showAnnounceBanner,\n shouldDisplayMaintenanceNotice,\n shouldDisplayAnnounceNotice,\n showDisplayPoliticAndConfidentialityBanner,\n shouldDisplayPoliticAndConfidentialityNotice,\n showDisplayTermsBanner,\n shouldDisplayTermsNotice,\n closeAnnounceBanner,\n getAnnounceMessage\n }\n}\n","\n \n \n fas fa-times\n \n