{ "version": 3, "sources": ["src/app/shared/components/data-description/data-description.component.ts", "src/app/shared/components/data-description/data-description.component.html", "src/app/shared/services/sidebar.service.ts"], "sourcesContent": ["import {Component, Input, OnInit} from '@angular/core';\nimport {ActivatedRoute, RouterLink} from '@angular/router';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {NgForOf, NgIf} from '@angular/common';\n\ninterface DataDescription {\n title: string;\n icon: string;\n desc: string;\n}\n\nconst HEALTH_DATA_DESC: DataDescription = {\n title: 'healthData',\n icon: 'pi-health-data',\n desc: 'weProcessYourHealthData',\n};\nconst PERSONAL_DATA_DESC: DataDescription = {\n title: 'releasedData',\n icon: 'pi-provided-data',\n desc: 'weProcessYourPersonalData',\n};\nconst GENERAL_PERSONAL_DATA: DataDescription = {\n title: 'generalPersonalData',\n icon: 'pi-general-data',\n desc: 'weProcessYourGeneralPersonalData',\n};\nconst PRODUCT_DEVELOPMENT_DATA: DataDescription = {\n title: 'productDevelopment',\n icon: 'pi-product-development',\n desc: 'weUseYourPersonalDataToDevelop',\n};\nconst STATISTICAL_ANALYSIS_DATA: DataDescription = {\n title: 'statisticalAnalysis',\n icon: 'far fa-question-circle',\n desc: 'weUseYourAnonymizedData',\n};\nconst DESTINATION_MARKETING_DATA: DataDescription = {\n title: 'destinationMarketing',\n icon: 'pi-marketing',\n desc: 'weUseDataForMarketing',\n};\n\n@Component({\n selector: 'app-data-description',\n templateUrl: './data-description.component.html',\n styleUrls: ['./data-description.component.scss'],\n standalone: true,\n imports: [TranslateModule, NgIf, RouterLink, NgForOf],\n})\nexport class DataDescriptionComponent implements OnInit {\n @Input() public text: string = '';\n\n private readonly descriptionTexts: {[key: string]: DataDescription[]} = {\n basicData: [GENERAL_PERSONAL_DATA, PERSONAL_DATA_DESC],\n fellowTravelers: [GENERAL_PERSONAL_DATA, PERSONAL_DATA_DESC],\n personalInformation: [HEALTH_DATA_DESC, PERSONAL_DATA_DESC],\n productDevelopment: [PRODUCT_DEVELOPMENT_DATA],\n statisticalAnalysis: [STATISTICAL_ANALYSIS_DATA],\n destinationMarketing: [DESTINATION_MARKETING_DATA],\n };\n public currentText: string = '';\n public isMobileDevice: boolean = false;\n public descriptionList: DataDescription[] = [];\n\n constructor(private route: ActivatedRoute) {}\n\n public ngOnInit(): void {\n if (!this.text) {\n this.currentText = this.route.snapshot.params.text;\n this.isMobileDevice = true;\n } else {\n this.currentText = this.text;\n }\n this.descriptionList = this.descriptionTexts[this.currentText];\n }\n}\n", "
\n

{{currentText | translate}}

\n\n
\n
\n
\n
\n
{{item.title | translate}}
\n
\n
\n

\n
\n
\n
\n\n
\n {{'privacyIcons' | translate}} https://privacy-icons.ch/\n {{'findFurtherInfo' | translate}} {{'dataProtection' | translate}}.\n
\n\n
\n \n
\n
\n", "import {Injectable} from '@angular/core';\nimport {BehaviorSubject} from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SidebarService {\n public opened = new BehaviorSubject(false);\n public menuData = new BehaviorSubject<{mode?: 'menu' | 'search' | 'desc'; text?: string}>({});\n\n constructor() {}\n\n public openMenu(mode?: 'menu' | 'search' | 'desc', text?: string): void {\n this.menuData.next({mode, text});\n this.opened.next(true);\n }\n}\n"], "mappings": "iRCIQA,EAAA,EAAA,MAAA,CAAA,EACIC,EAAA,EAAA;aAAA,EAAAD,EAAA,EAAA,MAAA,CAAA,EACIC,EAAA,EAAA;iBAAA,EAAAD,EAAA,EAAA,MAAA,CAAA,EAAmCE,EAAA,EAAA,GAAA,EAA2BC,EAAA,EAC9DF,EAAA,EAAA;iBAAA,EAAAD,EAAA,EAAA,MAAA,EAAA,EAAoCC,EAAA,CAAA,mBAA0BE,EAAA,EAClEF,EAAA,GAAA;aAAA,EAAAE,EAAA,EACAF,EAAA,GAAA;aAAA,EAAAD,EAAA,GAAA,MAAA,EAAA,EACIC,EAAA,GAAA;iBAAA,EAAAC,EAAA,GAAA,IAAA,EAAA,oBACJD,EAAA,GAAA;aAAA,EAAAE,EAAA,EACJF,EAAA,GAAA;S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zB,iDATSR,EAAc,CAAA,iCAAdA,EAAcS,QAAdT,EAAcU,UAAAC,WAFX,MAAM,CAAA,CAAA,SAETX,CAAc,GAAA", "names": ["\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275element", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275classMap", "item_r1", "icon", "\u0275\u0275textInterpolate", "\u0275\u0275pipeBind1", "title", "\u0275\u0275property", "desc", "\u0275\u0275sanitizeHtml", "\u0275\u0275pureFunction0", "_c0", "HEALTH_DATA_DESC", "PERSONAL_DATA_DESC", "GENERAL_PERSONAL_DATA", "PRODUCT_DEVELOPMENT_DATA", "STATISTICAL_ANALYSIS_DATA", "DESTINATION_MARKETING_DATA", "DataDescriptionComponent", "constructor", "route", "text", "descriptionTexts", "basicData", "fellowTravelers", "personalInformation", "productDevelopment", "statisticalAnalysis", "destinationMarketing", "currentText", "isMobileDevice", "descriptionList", "ngOnInit", "snapshot", "params", "\u0275\u0275directiveInject", "ActivatedRoute", "selectors", "inputs", "standalone", "features", "\u0275\u0275StandaloneFeature", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275template", "DataDescriptionComponent_div_8_Template", "DataDescriptionComponent_div_28_Template", "\u0275\u0275textInterpolate1", "TranslateModule", "TranslatePipe", "NgIf", "RouterLink", "NgForOf", "styles", "SidebarService", "constructor", "opened", "BehaviorSubject", "menuData", "openMenu", "mode", "text", "next", "factory", "\u0275fac", "providedIn"] }