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D,GAAMD,QAAU,4CACP6e,KAAS8qC,GAAUE,aAC5B5pD,GAAMD,QAAU,kDACP6e,KAAS8qC,GAAUG,WAC5B7pD,GAAMD,QAAU,8CAElBC,GAAM4e,KAAOA,GACN5e,EACT,KACD,EAEDJ,KAAYC,KACS,MAAfA,EAAI8B,QAAiC,MAAf9B,EAAI8B,UAC5B3B,GAAMD,QAAU,6CAElBC,GAAM4e,KAAO/e,EAAI8B,OAAOs5B,YAAQ,EACzB92B,MAAGnE,MAGhB,CAEQkqD,WAAWhhC,GACjB,MAAO,GAAGA,EAAKshC,aAAS,EAAGC,OAAIvhC,EAAKwhC,eAAW,EAAGD,OAAIvhC,EAAKyhC,eAC7D,CAACjoD,SAAAxJ,KAAA,mBAAAyJ,iBApEU6mD,GAA0B5mD,OAAAC,MAAAD,OAAAE,QAAA,EAAAJ,SAAAxJ,KAAA,WAAA0xD,GAAAznD,IAAA,OAA1BqmD,EAA0BpmD,QAA1BomD,EAA0BnmD,mBAA1BmmD,CAA0B","names":["shareReplay","configOrBufferSize","windowTime","scheduler","bufferSize","refCount","Infinity","share","connector","ReplaySubject","resetOnError","resetOnComplete","resetOnRefCountZero","PaymentCards","AX","VI","DC","CA","TP","JC","PersonalInformationFormFields","DATE_OF_BIRTH","EMAIL","COUNTRY_CODE","NATIONAL_NUMBER","MOBILE_PHONE","GENDER","TravelProfileFormField","HOUSEHOLD_SIZE","CHILDREN_BIRTH_YEARS","TOPICS_OF_INTEREST","SEAT_PREF","MEAL_PREF","SeatPreferenceOption","NO_PREFERENCE","AISLE","WINDOW","MealPreferenceOption","BLML","DBML","GFML","LCML","LFML","LSML","NLML","HNML","AVML","KSML","MOML","CHML","FPML","VGML","VLML","VJML","SPML","TopicOfInterest","FOD","SPE","MUE","BEF","HOD","BUL","HEW","HOT","CAR","CIH","BEH","SPH","ACH","TOH","CRU","ENR","MailingAddressFormField","BUILDING_NAME_OR_PREFECTURE","CITY","COMPANY_NAME","COUNTRY","POSTAL_CODE","PRIMARY","STATE_OR_PROVINCE","STREET_ADDRESS","ADDRESS_TYPE","PassportInformationFormFields","NUMBER","EXPIRY_DATE","ISSUE_DATE","ProfileService","constructor","http","sentryLogger","store$","configService","languageService","this","supportedLanguages","profile$","pipe","profile","take","memberNumber$","map","memberProfile","memberNumber","accessToken$","loginToken","filter","Boolean","fullProfile$","fetchProfile","updatePersonalInformation","formValues","parsedMobilePhone","combineLatest","memberServiceRequest","response","newProfile","dateOfBirth","email","mobilePhone","phoneNumber","gender","LoginGender","MALE","FEMALE","undefined","isPresent","dispatch","LoginActions","updateMailingAddress","addresses","updateMarketingLanguage","updatePassportInformation","passport","travelProfile","passportInformation","updateGuardianInformation","isJuniorMember","Error","switchMap","guardianName","guardianPhoneNumber","guardianEmail","guardianMemberNumber","updateTravelProfile","householdSize","childrenBirthYears","topicsOfInterest","preferredSeatType","seatPreference","preferredMealType","mealPreference","getProfile","getFullProfile","cache","getCountryOptions","defaultOption","options","option","SIEBEL_SUPPORTED_COUNTRY_CODES","includes","value","toLowerCase","getCountryRegionOptions","countryCode","translate","regions","Object","keys","region","toUpperCase","name","getLanguageOptions","languages","lang","getParsedPaymentCards","getPaymentCards","result","tokens","card","svgName","vendor","lastDigits","token","slice","expiryDate","expiry","substr","apiUrl","cfg","oneClickPaymentUrl","keyId","oneClickPaymentApiKey","httpOptions","headers","HttpHeaders","KeyId","oauth_token","AYUID","get","catchError","err","warn","message","error","throwError","deletePaymentCard","cardToken","accessToken","post","observe","ok","loyaltyServices","legacy","apiProfileUrl","profileRequest","type","ProfileRequestType","FULL","ProfileRequestCache","REFRESH","Accept","o","partStatus","isSuccessResponse","parsedProfile","parseProfile","updateToFinnairPlus","memberTier","ProfileTier","BASIC","status","profileResponse","updatedProfile","tier","ACCOUNT","retryWhen","attempts","mergeMap","i","MAX_ATTEMPTS","timer","BACKOFF_MS","data","loyaltyMemberUrl","put","static","__ngFactoryType__","i0","i1","i2","i3","i4","i5","core","jDH","factory","ɵfac","TwoFactorAuthStatus","LOADING","DISABLED","ENABLED","TwoFactorAuthType","SMS","APP","TwoFactorAuthService","updateStatus$","BehaviorSubject","status$","distinctUntilChanged","updateStatus","of","getStatus","smsAuthenticator","secretKey","validated","startWith","finShare","gAuthRequest","enableSMSAuth","next","tap","enableGAuthValidated","disableGAuth","getQRCodeImageUrl","casHost","casEnv","validateGAuth","securityCode","path","loginToken$","t","memberService","gauthApiKey","gauthUrl","Date","now","ProfileModule","$C","G2t","imports","CommonModule","ComponentsModule","DirectiveModule","GtmModule","PipesModule","CommonServiceFormsModule","ServiceFormsModule","ReactiveFormsModule","withConfig","callSetDisabledState","UiTranslateModule","UiComponentsModule","CmsModule","selectLoyaltyState","createFeatureSelector","LOYALTY_FEATURE_KEY","selectTripsState","createSelector","state","trips","selectMilestonesState","milestones","dismissedWithPointsSelector","dismissedWithPoints","safeSelect","ctx_r0","LoaderTheme","INLINE_TEXT","_r2","Status","INITIAL","NotificationTheme","ALERT","NotificationLayout","BLOCK","SvgLibraryIcon","INFO","_c0","trip_r3","scheduledDateTime","departure","arrival","passengerAmount","bookingRef","mmbLink","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_ng_container_11_tr_1_Template","i_r4","lastVisibleIndex","_r5","onRevealRows","ButtonTheme","LIGHT_SECONDARY_OUTLINE","_c1","PLUS","IconPosition","RIGHT","ButtonType","BUTTON","trips_r6","length","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_ng_container_11_Template","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_div_12_Template","visibleRows","LoyaltyUpcomingTripsComponent_ng_container_4_fcom_notification_1_Template","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_Template","LoyaltyUpcomingTripsComponent_ng_container_4_p_3_Template","ERROR","EMPTY","COMPLETE","LoyaltyUpcomingTripsComponent","element","ngDestroyed$","Subject","first","tripState$","select","ngOnInit","TripsActions","trips$","getTrips","ngOnDestroy","revealRows","tripState","FetchTripsStatus","OK","sortBy","parseOutboundJourneys","trip","scheduledDateTimeUnix","a","b","checkTripDistinction","outboundJourney","journeys","municipality","getTime","recLoc","generateMmbLink","lastName","langValue","RootPaths","MANAGE_BOOKING_ROOT","serializeParams","setTimeout","rowElements","nativeElement","querySelectorAll","interval","index","takeUntil","subscribe","classList","add","compareAsJson","sort","VBU","selectors","decls","vars","consts","template","rf","ctx","LoyaltyUpcomingTripsComponent_div_3_Template","LoyaltyUpcomingTripsComponent_ng_container_4_Template","_r1","ctx_r1","hideError","validationMessages$","INLINE","formStatus","FormStatus","CHECKMARK","messageLabel","LoyaltyAddTripsComponent","formBuilder","paxTripService","pattern","required","form","group","bookingReference","pnrFormatValidator","Validators","onSubmit","valid","addTrip","controls","verifyAddedTrip","tripAdded","AddFrequentFlyerError","BOOKING_NOT_FOUND","PASSENGER_NOT_FOUND","GROUP_BOOKING","LoyaltyAddTripsComponent_fcom_floating_input_10_Template","LoyaltyAddTripsComponent_div_11_Template","LoyaltyAddTripsComponent_fcom_notification_15_Template","SUBMIT","LoyaltySectionNavigationComponent_div_0_nav_1_ng_container_3_Template","itemList_r3","menuItems_r1","LoyaltySectionNavigationComponent_div_0_fin_expand_2_ng_container_13_Template","activeMenuItemTitle$","expandNav_r4","isOpen$","CHEVRON_DOWN","LoyaltySectionNavigationComponent_div_0_nav_1_Template","LoyaltySectionNavigationComponent_div_0_fin_expand_2_Template","mobile","EXTERNAL_TAB","item_r6","$implicit","toggleDetails","external","LoyaltySectionNavigationComponent_ng_template_2_li_0_fcom_icon_3_Template","_c2","active","link","teaserTitle","LoyaltySectionNavigationComponent_ng_template_2_li_0_Template","LoyaltySectionNavigationComponent","loyaltyNavigationService","profileType","ProfileType","FPLUS","CORPORATE","FINNAIR_ACCOUNT","menuItems$","getMenuItemsForProfileType","getActiveMenuItemTitle","expandNav","viewQuery","LoyaltySectionNavigationComponent_div_0_Template","LoyaltySectionNavigationComponent_ng_template_2_Template","AnnouncementCardComponent","fragmentService","PromoTheme","promoCta$","NEVER","promoData$","getFragment","related","item","target","title","FULL_BG","formatMemberNumber","test","replace","aviosLogo_r1","alt","oneworldLogo_r2","plusCardData_r3","cardExpirationDate","PlusCardComponent_ng_container_0_div_16_Template","PlusCardComponent_ng_container_0_div_18_Template","PlusCardComponent_ng_container_0_span_21_Template","ctx_r3","fontSize$","isStartingTier","cardTierFullName","memberNumberFormatted","firstName","aviosLogo$","oneworldLogo$","IconLibrary","CUSTOM","TIER_DATA_MAP","cardTier","cardIcon","showCardExpirationDateIfApplicable","cardLifetimeTierFlag","PlusCardComponent","host","loyaltyTierService","cmsDataService","platform","AspectRatios","BASE_WIDTH","BASE_FONT_SIZE","logos$","aviosLogoName","JUNIOR","CmsTaxonomyPicture","FINNAIR_AVIOS_KEYLINE_NAVY","FINNAIR_AVIOS_KEYLINE_WHITE","taxonomyTags","oneworldLogo","getPicturesByTaxonomyTags","localeValue","p","logos","withLatestFrom","plusCardData$","getMemberTierDetails","firstname","lastname","isPlatformBrowser","resizeObserver","ResizeObserver","entries","contentRect","width","disconnect","PLATFORM_ID","PlusCardComponent_ng_container_0_Template","LoyaltyViewComponent","showPlusCard","showAnnouncementCard","inputs","pageTitle","ngContentSelectors","LoyaltyViewComponent_fcom_plus_card_8_Template","LoyaltyViewComponent_fin_announcement_card_10_Template","LoyaltyMyTripsComponent","cmsTemplateService","pageMetaService","subscriptions","Subscription","enableShowingSAF","template$","load","LoyaltyRoutesPath","MY_TRIPS","pageTitle$","header","ngAfterViewInit","setPageMetadata","unsubscribe","LoyaltyMyTripsComponent_fin_sustainability_review_card_8_Template","onCloseNotification","EDGE_TO_EDGE","notificationData_r3","LoyaltyGlobalNotificationComponent_ng_container_0_ng_container_1_ng_container_1_fcom_notification_1_Template","hidden","LoyaltyGlobalNotificationComponent_ng_container_0_ng_container_1_ng_container_1_Template","notificationData$","LoyaltyGlobalNotificationComponent_ng_container_0_ng_container_1_Template","profileTier$","LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY","LoyaltyGlobalNotificationComponent","storageService","finLocalization","destroy$","showNotification$","pluck","profileType$","showNotification","isInitiallyHidden","transform","SILVER","GOLD","PLATINUM","LUMO","LOCAL","set","onDestroy","complete","LoyaltyGlobalNotificationComponent_ng_container_0_Template","NO_CMS_CONTENT_PATHS","CAMPAIGN_ENROLL","LoyaltyLayoutComponent","navigationMenuService","router","scrollService","breadcrumbService","path$","enablePageFeedback","events","isNavigationEvent","event","url","routerState","snapshot","scrollTop","sanitizeWhiteListedPath","isFooterOpen$","some","noCmsPath","endsWith","navigationPathList","isNotEmpty","pathList","setBreadcrumbNormal","enableQualtricsPageFeedback","LoyaltyLayoutComponent_Conditional_8_Template","main_r1","GuardianInformationFormField","GUARDIAN_NAME","GUARDIAN_PHONE_NUMBER","GUARDIAN_EMAIL","GUARDIAN_MEMBER_NUMBER","GUARDIAN_CONSENT","TransactionsResponsePartStatusCode","SUCCESS","RETRY_LATER","OTHER_ERROR","TransactionStatus","PROCESSED","CANCELLED","VERIFIED","MANUALLY_CANCELLED","PARTNER_APPROVED","PARTNER_PENDING","PARTNER_VERIFIED","PARTNER_REJECT","TransactionProductType","AIRLINE_AWARD","AIRLINE_FLIGHT","POINTS_AND_CASH","HOTEL_AWARD","ELECTRONIC_VOUCHER","TOUR_OPERATOR","OTHER_AWARD","MERCHANDISE","GOODWILL","SERVICES","VoucherProductName","LONG_HAUL_UPGRADE","UPGRADE_BENEFIT","EUROPE_UPGRADE","GOLD_CARD_GIFT","AY_LOUNGE_PASS","MILESTONE_200K","ALL_LOADED","TransactionService","transactionsStore","getTransactions","xApiKey","apiProfileApiKey","continuationToken","payload","transactionsRequest","handleResponse","transactions","code","UpgradeBenefitsState","COMPLETED","VoucherService","getVouchers","vouchers","vouchersRequest","expiringTravelClassUpgradeVouchers","isUpgradeVoucher","isExpiringVoucher","sortByExpirationDate","voucher","productName","before","expirationDate","TimeUnit","month","day","voucherA","voucherB","profile_r3","hideZeroPtsTiersMsg","show_r2","show_r5","expirationDate$","tmp_4_0","tierName","PointsBalanceComponent_div_0_p_11_Template","ctaClicked","emit","PointsBalanceComponent_div_0_div_20_Template","AVIOS_CURRENCY","awardPoints","showPointExpiry$","INFO_BLOCK","PointsBalanceComponent","profileService","ButtonSize","TagTheme","EventEmitter","NON_EXPIRING","NON_POINTS_HIDE_MESSAGE","LocalDate","plusMonths","outputs","PointsBalanceComponent_div_0_Template","progressText","targetText","ProgressIndicatorComponent_div_0_span_1_Template","ProgressIndicatorComponent_div_0_span_2_Template","_c3","ProgressIndicatorComponent","progress","total","fillColor","max","isOverMax","percentage","getPercentage","onProgressFill","ngOnChanges","progressScaleX","ariaLabel","features","ProgressIndicatorComponent_div_0_Template","trigger","style","params","transition","animate","showLifetime_r2","finLet","ctx_r2","showLifetime$","LIGHT_TERTIARY_GHOST","ARROW_LEFT","LEFT","_r4","ARROW_RIGHT","lifetimeProgressData_r5","lifetimeTier","tierProgressData_r6","trackingPeriodEnd","TierProgressComponent_ng_container_0_div_1_fcom_button_9_Template","TierProgressComponent_ng_container_0_div_1_fcom_button_10_Template","TierProgressComponent_ng_container_0_div_1_div_11_Template","tierProgress_r8","progressContainer_r7","clientHeight","lifetimeProgress_r9","lifetimeProgressData$","TierProgressComponent_ng_container_0_div_1_Template","tierProgressData_r10","tierProgress","tierState","TierState","GAIN","targetTierName","_c5","TierProgressComponent_ng_template_2_ng_container_2_div_4_span_4_ng_container_3_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_span_4_ng_template_4_Template","AIRCRAFT_TILTED","HIGHEST","highestPercentageText_r11","_c6","targetTierLimit","aySecretTierPointsRequired","aySecretTierPoints","TierProgressComponent_ng_template_2_ng_container_2_div_4_span_4_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_p_5_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_p_6_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_p_8_Template","_c4","isMobile_r12","tierAndPoints_r13","targetTier","isGainingMaintainingOrHighestLumo","trackingPeriodStart","tierPointsCollected","TierProgressComponent_ng_template_2_ng_container_2_div_4_Template","TierProgressComponent_ng_template_2_ng_container_2_ng_template_6_Template","isMobile$","TierProgressComponent_ng_template_2_ng_container_2_Template","cardHeader_r14","tierProgressData$","targetPlusIcon_r17","_c7","isMobile_r15","lifetimeProgressData_r16","lifetimeTargetTier","qualifyingLifetimeTierPoints","lifetimeTargetTierLimit","_c8","FINNAIR_EMBLEM_BLOCK","TierProgressComponent_ng_template_4_div_0_div_3_Template","TierProgressComponent_ng_template_4_div_0_ng_template_5_Template","TierProgressComponent_ng_template_4_div_0_Template","lifetimeProgressData_r18","TierProgressComponent_ng_template_6_div_0_fcom_tag_3_Template","title_r19","TierProgressComponent_ng_template_6_div_0_Template","TierProgressComponent","mediaQueryService","isBreakpoint$","getMemberTierDetails$","memberTierDetails","targetTierFlightLimit","qualifyingFlights","TierProgressComponent_ng_container_0_Template","TierProgressComponent_ng_template_2_Template","TierProgressComponent_ng_template_4_Template","TierProgressComponent_ng_template_6_Template","$event","openInfoModal","HELP_BLOCK","transaction_r4","isAviosTransaction","tierPoints","_r3","openTransactionModal","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_10_Template","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_12_Template","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_13_Template","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_14_Template","last_r5","id","date","description","TransactionHistoryComponent_div_5_div_1_ng_container_15_Template","hiddenCaptionText","visibleTransactions_r6","_r7","_r8","ngIf","onLoadMoreTransactions","status_r9","TransactionHistoryComponent_div_5_ng_container_2_fcom_notification_1_Template","TransactionHistoryComponent_div_5_ng_container_2_div_2_Template","loadingDisabled","currentLanguage$","BALANCE_AND_TRANSACTIONS","TransactionHistoryComponent_div_5_div_1_Template","TransactionHistoryComponent_div_5_ng_container_2_Template","TransactionHistoryComponent_div_5_div_4_Template","showFullHistoryLink","a11yStatusAddedRowsAmount","LoaderType","templateTransaction_r12","origin","destination","partnerName","flight","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_th_1_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_th_2_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_th_3_Template","productType","partner","ticketNumber","fareFamily","travelClass","bookingClass","TransactionHistoryComponent_fcom_modal_14_div_5_tr_32_span_6_Template","tmp_10_0","detailText","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_fcom_notification_3_ng_container_1_Template","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_fcom_notification_3_ng_template_2_Template","WARNING","context_r14","NotificationContextType","BetweenAvios","notAviosBookingTransaction_r13","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_fcom_notification_3_Template","transactionAvios$","TierPointTransaction","Avios","TransactionHistoryComponent_fcom_modal_14_div_5_tr_23_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_24_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_25_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_27_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_28_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_29_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_30_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_31_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_32_Template","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_Template","TransactionHistoryComponent_fcom_modal_14_div_5_ng_container_38_Template","aviosContent_r15","getNotificationContext","_r10","isTransactionModalOpen","transaction_r11","closeTransactionModal","TransactionHistoryComponent_fcom_modal_14_fin_loader_1_Template","TransactionHistoryComponent_fcom_modal_14_fcom_notification_3_Template","TransactionHistoryComponent_fcom_modal_14_div_5_Template","ModalButtons","CLOSE","templateTransaction$","tmp_6_0","TransactionHistoryComponent","transactionService","locationRouteCffService","DISPLAYED_TRANSACTIONS","initialVisibleTransactionAmount","visibleTransactions$","modalTransaction$","allLoaded","isInfoModalOpen","airlines","PARTNER_AIRLINES","aviosCutOfDate","enableAviosOverhaul","isAviosCuttoffDateEffective","visibleRowsAmount","getTransactionFragment","updateVisibleTransactions","formatModalTransaction","visibleTransactions","storeHasEnoughRows","loadMoreToStore","newRows","mapAnimationOrderToNewRows","transaction","stopPropagation","transactionId","transactionRows","find","focus","closeInfoModal","openInfoModalButton","formatDescription","translation","newTransaction","modalPartner","airline","originationAirport","destinationAirport","locationCodeToLocation","locationCode","getTransactionsNewTransactions$","mappedTransaction","formatPoints","orig","dest","createTransactionDescription","formatted","newTransactions","push","newVisibleTransactions","cityName","bestGuessFor","charAt","parseInt","currentRows","row","animationOrder","ayBookingDate","transactionDate","cutOffDate","transactionProductType","context","contextType","ElementRef","TransactionHistoryComponent_button_0_Template","TransactionHistoryComponent_p_1_Template","TransactionHistoryComponent_div_3_Template","TransactionHistoryComponent_div_5_Template","TransactionHistoryComponent_ng_container_9_Template","TransactionHistoryComponent_ng_container_10_Template","TransactionHistoryComponent_ng_container_11_Template","TransactionHistoryComponent_ng_container_12_Template","TransactionHistoryComponent_ng_container_13_Template","TransactionHistoryComponent_fcom_modal_14_Template","hideTooltip","expiringVouchers_r3","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_6_ng_container_1_Template","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_6_ng_container_2_Template","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_5_Template","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_6_Template","oneUpgradeUrl$","TRACKING_ELEMENT_NAME","GTM_TRACKING_CONTEXT","ElementTypes","BANNER","ExpiringVoucherNotificationComponent_ng_container_0_div_1_Template","ExpiringVoucherNotificationComponent","gtmService","voucherService","GaContext","FINNAIR_PLUS","ONE_UPGRADE_ROOT","expiringVouchers$","vouchers$","trackElement","ElementActions","VIEW","ExpiringVoucherNotificationComponent_ng_container_0_Template","UpgradeBenefitsComponent_ng_container_0_ng_container_1_Template","UpgradeBenefitsComponent_ng_container_0_ng_container_3_Template","showLoading$","state_r2","benefitTemplate_r4","upgradeVouchers_r3","BenefitCategory","UPGRADE","otherVouchers_r5","OTHER","UpgradeBenefitsComponent_ng_container_2_ng_container_1_Template","UpgradeBenefitsComponent_ng_container_2_ng_container_3_Template","upgradeVouchers$","otherVouchers$","voucher_r6","expand_r7","v_r8","amount","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_ng_container_13_div_1_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_span_8_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_div_9_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_ng_template_10_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_ng_container_13_Template","oneVoucher_r9","i_r12","count_r14","last_r13","benefitCategory_r15","benefitName","changed","multipleVouchers_r10","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_Template","_r16","displayedCount_r17","displayedVoucherCount$","UpgradeBenefitsComponent_ng_template_4_ng_template_5_div_3_fcom_button_1_Template","benefits_r19","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_div_3_Template","finnairShopUrl","UpgradeBenefitsComponent_ng_template_4_ng_template_7_div_3_Template","noBenefitsText_r20","UpgradeBenefitsComponent_ng_template_4_div_4_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_7_Template","benefitTitle_r21","benefitList_r22","noBenefits_r23","UpgradeBenefitsComponent","tier$","x","upgradeState$","benefits$","groupVouchersByName","getVoucherAmountsGroupedByDate","flat","groupVouchersByBenefitName","lan","landingPageUrl$","BOOKING_ROOT","langKeyValue","values","reduce","vouchersByName","dates","existing","all","benefit","concat","UpgradeBenefitsComponent_ng_container_0_Template","UpgradeBenefitsComponent_ng_container_2_Template","UpgradeBenefitsComponent_ng_template_4_Template","MilestoneComponent","hostClassFlexBasisFull","isTabletDownBreakpoint","hostStylesFlexBasis","changeDetectorRef","hostClass","isUnlocked","tierPointsCurrentPeriod","content","localSettings","milestonePoints","isTabledDownBreakpoint","detectChanges","hostVars","hostBindings","LOCK_OPEN","LOCK_CLOSED","tierPoints_r2","dismissMilestones","newUnlockedMilestone_r4","milestone_r5","MilestonesComponent_ng_container_0_fcom_notification_9_Template","MilestonesComponent_ng_container_0_fin_milestone_12_Template","MILESTONE","newUnlockedMilestones$","milestoneItems$","trackByFn","MilestonesComponent","currentPeriod","currentDismissedWithPoints","MilestonesActions","points","tierPointsCurrentPeriod$","tierPointsAfterConversion","fragmentUrl","getFragmentJson","safeMap","items","cmsArticle","currentPoints","milestoneItems","_index","contentId","toString","MilestonesComponent_ng_container_0_Template","item_r1","article","text","invertedColors","link_r2","openInNewTab","TierBenefitsComponent_div_1_span_6_Template","TierBenefitsComponent_div_1_cms_unstyled_fragment_7_Template","TierBenefitsComponent_div_1_ng_template_8_Template","TierBenefitsComponent_div_1_a_10_Template","icon","category","itemText_r4","TierBenefitsComponent","TierBenefitsComponent_div_1_Template","button_r2","navigateTo","DARK_PRIMARY_NORDIC_BLUE","LIGHT_PRIMARY_NORDIC_BLUE","BenefitBannerComponent","ButtonMode","buttons","navigateByUrl","BenefitBannerComponent_div_10_Template","sidebar_r1","PromotionSegmentComponent_fin_benefit_banner_0_ng_container_5_Template","cta$","articles$","PromotionSegmentComponent","content$","fragmentParams","contentType","CmsContentType","CMPersonalized","sidebar$","articles","iconCategory","PAYMENTS","TAILS","SVG_LIBRARY","iconName","PromotionSegmentComponent_fin_benefit_banner_0_Template","sidebarContent_r3","bannerCta$","benefits_r4","params_r5","PlusDashboardComponent_fin_loyalty_view_0_ng_container_20_fin_benefit_banner_1_Template","PlusDashboardComponent_fin_loyalty_view_0_ng_container_20_fin_promotion_segment_3_Template","sideBarContent$","creditCardBannerParams$","goUsePoints","PlusDashboardComponent_fin_loyalty_view_0_ng_container_20_Template","profile_r6","transactionsAndBenefitsLoading$","tierBenefits$","PlusDashboardComponent","tierBenefitService","HIDE_BENEFITS","BenefitItemKeyEnum","SnackDrink","EasyBookings","transactionsStatus","vouchersStatus","ddsLocale","ddsLocaleValue","CreditCardPersonalizationParameter","AKTIA_CREDIT_CARD","hasAktiaVisaCreditCard","enableVisaLightCreditCardBanner","AKTIA_LIGHT_CREDIT_CARD","hasAktiaVisaLightCreditCard","articleToTarget","welcomeTextWithLink$","symbolToLangPath","getBenefitJson","benefits","filterBenefits","benefitItemKey","generalDescription","tags","displayTags","split","replaceUrl","i6","i7","i8","i9","PlusDashboardComponent_fin_loyalty_view_0_Template","consent_r2","consentTextId","reactiveForm","DirectMarketingPreferencesFormComponent_ng_container_4_div_13_Template","DirectMarketingPreferencesFormComponent_ng_container_4_cms_unstyled_fragment_19_Template","languages$","consentGroupIntroductionText$","consents$","consentGroupProfileAfterwordText$","MARKETING_LANGUAGES","UPDATE_DIRECT_MARKETING_PREFERENCES","DirectMarketingPreferencesFormComponent","notificationElem","notification","fb","consentService","cdRef","ConsentTextId","v","accountType$","consentGroup$","getMarketingConsents","introductionText","profileAfterwordText","consents","userProfile","createForm","trackFormState","consentsRequest$","updatedConsents","consent","consentStatus","ConsentStatus","ACCEPTED","DECLINED","sendConsents","marketingLanguage","updateMarketingLanguageRequest$","autoScrollToNotification","scrollIntoView","behavior","block","consentFields","fields","DirectMarketingPreferencesFormComponent_div_1_Template","DirectMarketingPreferencesFormComponent_div_2_Template","DirectMarketingPreferencesFormComponent_ng_container_4_Template","DirectMarketingPreferencesFormComponent_div_5_Template","LoginAddressType","HOME","JOB","homeAddressForm_r3","selectedCountryText","onCountrySelect","LoyaltyMailingAddressFormComponent_div_7_div_2_fin_form_input_select_3_Template","LoyaltyMailingAddressFormComponent_div_7_div_2_fin_form_input_text_4_Template","onValueChange","countries$","enabled","workAddressForm_r5","LoyaltyMailingAddressFormComponent_div_7_div_3_fin_form_input_text_1_Template","LoyaltyMailingAddressFormComponent_div_7_div_3_fin_form_input_select_4_Template","LoyaltyMailingAddressFormComponent_div_7_div_3_fin_form_input_text_5_Template","LoyaltyMailingAddressFormComponent_div_7_div_1_Template","LoyaltyMailingAddressFormComponent_div_7_div_2_Template","LoyaltyMailingAddressFormComponent_div_7_div_3_Template","_r6","onCancel","MAILING_ADDRESS_FORM","LoyaltyMailingAddressFormComponent","enableCancel","cancel","success","activeForm","countryCodes$","countryCodes","selectOptions","countryCodeData","unshift","AU","US","JP","GB","markAllAsTouched","primary","country","updateConditionalFields","reset","disableConditionalFields","enableConditionalFields","field","setValue","trimAndReplaceWhitespace","primaryAddress","address","homeAddress","jobAddress","NONE","disabled","createAddressForm","workAddress","profileTier","requiredValidator","companyName","streetAddress","LATIN_ADDRESS_PATTERN","postalCode","city","LATIN_ALPHA_PATTERN","stateOrProvince","buildingNameOrPrefecture","LoyaltyMailingAddressFormComponent_div_1_Template","LoyaltyMailingAddressFormComponent_div_5_Template","LoyaltyMailingAddressFormComponent_div_7_Template","LoyaltyMailingAddressFormComponent_fcom_button_9_Template","LoyaltyPersonalInfoFormComponent_div_8_div_4_Template","LoyaltyPersonalInfoFormComponent_div_8_div_5_Template","maxDate","minDate","CALENDAR","LoyaltyPersonalInfoFormComponent_div_10_fin_datepicker_1_Template","tooltipOptions","contentTooltip_r3","phonePrefixes$","genders","PERSONAL_INFORMATION_FORM","LoyaltyPersonalInfoFormComponent","phonePrefixService","loginService","maxYear","minYear","enableOnClick","showCloseButton","tooltipWidth","minOffsetLeft","setupPhonePrefixes","profileStatus","memberStatus","parseName","changePasswordUrl","createChangePasswordUrl","EMAIL_PATTERN","parseCountryCode","regionCodes","nationalNumber","PHONE_PATTERN","parsePhoneNumber","capitalize","localDate","generateParsedMobilePhone","isNotBlank","res","minusYears","regionCode","LoyaltyPersonalInfoFormComponent_fcom_notification_3_Template","LoyaltyPersonalInfoFormComponent_div_7_Template","LoyaltyPersonalInfoFormComponent_div_8_Template","LoyaltyPersonalInfoFormComponent_div_10_Template","LoyaltyPersonalInfoFormComponent_ng_template_20_Template","AviosPartner","BAEC","LinkingStatus","ACTIVE","INACTIVE","AviosAccountLinkingStatus","AviosLinkingService","getAviosLinkedAccounts","linkedAccount","linkingStatus","loyaltyAviosLinkingUrl","Authorization","btoa","linkedAccounts","onCloseError","aviosLinkingStatus_r6","isMFAModalOpened","onBackButtonLinkClick","LoyaltyTwoFactorAuthToggleComponent_div_3_div_5_Template","NotificationButtonStyle","LINK","enabledBackButtonUrl","aviosLinkingStatus$","selectTwoFactorAuthType","qrCodeImageUrl_r9","authState","AuthState","VERIFY","INCORRECT_CODE","validateCode","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_form_6_div_12_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_form_6_fcom_notification_19_Template","resetAuthState","validateGAuthForm","qrCodeImageUrl$","_r11","openConfirmModal","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_ng_container_5_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_form_6_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_ng_container_9_Template","TabTheme","DEFAULT","CHOOSE_TYPE","phoneNumber_r12","LoyaltyTwoFactorAuthToggleComponent","twoFactorAuthService","aviosLinkingService","isConfirmModalOpen","hasError","twoFactorAuthStatus$","setFocus","appFirstStep","authType","trackGTM","appThirdStep","parsedMobilePhone$","SERVICE_FORMS","MODAL","NOTIFICATION","CLICK","LoyaltyTwoFactorAuthToggleComponent_ng_container_0_Template","LoyaltyTwoFactorAuthToggleComponent_div_2_Template","LoyaltyTwoFactorAuthToggleComponent_div_3_Template","LoyaltyTwoFactorAuthToggleComponent_div_5_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_Template","LoyaltyTwoFactorAuthToggleComponent_p_16_Template","LoyaltyTwoFactorAuthToggleComponent_p_18_Template","modal_r13","onClose","onConfirm","disableConfirmationWhenAviosLinkedAccountsModal_r14","open","forceRemainOpen","confirmEnabled","openModal","expiryMinDate","currentDate","expiryMaxDate","PASSPORT_FORM","LoyaltyPassportFormComponent","modalOpen","plusYears","passportNumber","passportIssueDate","dateValidator","passportExpirationDate","passportCountry","closeModal","openModalButton","LoyaltyPassportFormComponent_div_1_Template","LoyaltyPassportFormComponent_div_5_Template","LoyaltyPassportFormComponent_ng_container_7_Template","DONE","CardsStatus","card_r5","i_r6","onOpenModal","cardType","corporate","cardHolder","LoyaltyPaymentCardsComponent_ng_container_6_div_1_Template","cardTokens","LoyaltyPaymentCardsComponent","selectedToken","selectedId","onRemoveCard","splice","cardsHeading","cards","LoyaltyPaymentCardsComponent_div_0_Template","LoyaltyPaymentCardsComponent_div_1_Template","LoyaltyPaymentCardsComponent_ng_container_6_Template","LoyaltyPaymentCardsComponent_ng_template_7_Template","noSavedCardsText_r7","CONTINUE_CANCEL","article_r3","subjectTaxonomyTags","join","travelProfileDescription$","parentBirthYear_r4","birthYears","index_r5","LoyaltyTravelProfileFormComponent_ng_container_6_ng_template_13_Template","seatPreferenceOptions","mealPreferenceOptions","householdSizeOptions","contentTooltip_r6","childrenBirthYearsFormGroupConfig","maxChildren","topicsOfInterestControls","ANALYTICS_FORM_NAME","LoyaltyTravelProfileFormComponent","birthYear","label","initialMaxChildren","generateSelectOptionIntRange","MAX_CHILD_BIRTH_YEAR","getFullYear","onHouseholdSizeChange","parseSubmissionData","AnalyticsFormStatus","SEND_ATTEMPT","birthYearsArray","control","UntypedFormControl","enumValues","meal","setHouseHoldSize","array","UntypedFormArray","prefillChildrenBirthYears","valueChanges","val","setMaxChildLimit","Math","years","forEach","year","rangeEnd","Array","from","int","prop","parseSelectedTopics","topics","_topic","checked","j","topic","LoyaltyTravelProfileFormComponent_div_1_Template","LoyaltyTravelProfileFormComponent_cms_rich_text_2_Template","LoyaltyTravelProfileFormComponent_div_4_Template","LoyaltyTravelProfileFormComponent_ng_container_6_Template","LoyaltyTravelProfileFormComponent_ng_template_10_Template","GuardianInformationFormComponent_ng_container_7_div_6_Template","hostingComponent","GuardianInformationHostingComponent","LOST_CARD","UPDATE_PROFILE","GuardianInformationFormComponent","submitButtonText","scrollToNotification","formConfig","NAME_PATTERN","finnairPlusNumberValidator","requiredTrue","GuardianInformationFormComponent_div_1_Template","GuardianInformationFormComponent_div_5_Template","GuardianInformationFormComponent_ng_container_7_Template","expandHeader_r3","_c14","expandGuardianInformation_r2","PlusProfileComponent_ng_container_4_fin_expand_17_Template","expandTwoFactorAuth_r5","tmp_18_0","routerParams$","PlusProfileQueryParams","TwoFactorAuthEnabledBackButtonUrl","profile_r4","_c9","expandMailingAddress_r6","_c10","expandMarketingPreferences_r7","_c11","expandTravelProfile_r8","_c12","expandPaymentCards_r9","_c13","expandPassportInformation_r10","label_r12","isOpen_r11","Section","PlusProfileQueryParamSectionValue","TwoFactorAuth","MailingAddress","MarketingPreferences","TravelProfileAndInterests","PlusProfileComponent","queryParams","PROFILE","delay","expandComponentData","expand","expandMailingAddress","expandMailingAddressTrigger","expandMarketingPreferences","expandMarketingPreferencesTrigger","expandTravelProfile","expandTravelProfileTrigger","expandTwoFactorAuth","expandTwoFactorAuthTrigger","section","scrollToImmediate","isOpen","PlusProfileComponent_div_3_Template","PlusProfileComponent_ng_container_4_Template","PlusProfileComponent_ng_template_6_Template","article_r2","transferBetweenAccountsFragment$","onUnlinkAccountClickBtn","twoFactorAuthStatus_r5","onEnable2FAAuthenticationClickBtn","AviosLinkingAndExchangeComponent_div_5_fcom_button_12_Template","AviosLinkingAndExchangeComponent_div_5_fcom_notification_14_Template","CustomIcon","BAEC_EMBLEM","FINNAIR_LOGO_PLUS","SWITCH_FLIGHTS","BAEC_LOGO","onTransferAviosClickBtn","twoFactorAuthStatus_r8","AviosLinkingAndExchangeComponent_div_9_fcom_button_1_Template","twoFactorAuthStatus_r11","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_div_5_Template","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_ng_template_7_Template","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_fcom_button_9_Template","stepper_r13","steps","activeStepIndex","enable2Fa_r12","_r14","onLinkAccountsClickBtn","aviosLinkingStatus_r15","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_4_fcom_button_7_Template","_r9","onStepperClicked","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_Template","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_4_Template","activeStep","LinkAccountsFlowStep","ENABLE_TWO_FACTOR_AUTH","LINK_ACCOUNTS","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_Template","stepperActiveStep$","stepperActiveStepIndex$","stepperSteps$","AviosLinkingAndExchangeModal","LinkAccounts","TransferAvios","UnlinkAccount","AviosLinkingAndExchangeComponent","isModalOpened","modalOpened","windowRef","modalFragments","aviosLinkingStatus","step","findIndex","stepperStep","isTwoFactorAuthEnabled","navigate","onModalConfirm","trackGtm","elementName","nativeWindow","britishAirwaysExchangeUrl","AviosLinkingAndExchangeComponent_cms_rich_text_3_Template","AviosLinkingAndExchangeComponent_div_5_Template","AviosLinkingAndExchangeComponent_ng_template_7_Template","AviosLinkingAndExchangeComponent_div_9_Template","AviosLinkingAndExchangeComponent_ng_template_11_Template","AviosLinkingAndExchangeComponent_ng_container_22_Template","modal_r16","aviosLinkingAndExchangeInfoRightInactive_r17","stepsToLinkAccount_r18","tmp_9_0","tmp_12_0","awardAndTierPointsExpandOpen","BalanceAndTransactionsComponent_ng_container_5_ng_container_7_Template","awardAndTierPoints_r3","scrollToPoints","BalanceAndTransactionsComponent","activatedRoute","pageViewType$","showSideTitle$","smoothScroll","usePointsContent","fragment","BalanceAndTransactionsComponent_ng_container_5_Template","BalanceAndTransactionsComponent_ng_template_7_Template","BalanceAndTransactionsComponent_fin_avios_linking_and_exchange_9_Template","tmp_7_0","TierProgressAndBenefitsComponent","isEligible$","TIER_PROGRESS_AND_BENEFITS","TierProgressAndBenefitsComponent_ng_container_2_Template","TierProgressAndBenefitsComponent_div_5_Template","LEGACY_SITE_TIER_CODES","BuyPointsComponent","BUY_POINTS","iframeUrl$","createIframeUrl","ssoSource","ssoProduct","FinnairPlusMember","Firstname","Lastname","AccountBalance","Country","Zip","Language","MemberTier","MemberEmail","MemberJoinDate","joinDate","MemberStatus","substring","CoBrandCard","sebCard","buyPointsIframeUrl","BuyPointsComponent_div_2_Template","date_r3","selectedDate","getFlightList","dateStringArray","UpgradeAvailabilityComponent_div_11_fcom_tab_7_Template","tmp_2_0","flightList$","segment_r4","available_seats","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_11_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_12_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_13_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_14_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_15_Template","flight_r6","list_segment","i_r5","airline_code","flight_number","b_location","time","e_location","operated_by","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_Template","bookNow","LARGE","UpgradeAvailabilityComponent_div_12_thead_3_Template","UpgradeAvailabilityComponent_div_12_tbody_4_Template","UpgradeAvailabilityComponent_div_12_tfoot_5_Template","UpgradeAvailabilityComponent_div_12_ng_container_6_Template","tmp_5_0","errorMessage","item_r8","UpgradeAvailabilityComponent","upgradeAvailabilityService","destinationLoading$","departureLoading$","destinationLocations$","departureLocations$","getDates","list","tabs","scrollToSelectedTab","storeProfile","onDestinationChanges","onDepartureChanges","departureDate","locale","getUpgradeAvailability","countrySite","language","UPGRADE_AVAILABILITY_SEARCH","SEARCH","filteredFlights","flights","display","flightListSegment","segment","startDate","stopDate","dateArray","lte","plusDays","window","locationFormatValidator","queryLocations","queryString","locations$","loading$","locationMatchesFor","matchedLocations","debounceTime","AUTOCOMPLETE_DEBOUNCE_TIME","ReactiveFormStatus","INVALID","UpgradeAvailabilityComponent_div_11_Template","UpgradeAvailabilityComponent_div_12_Template","UpgradeAvailabilityComponent_div_13_Template","UpgradeAvailabilityComponent_li_18_Template","link_r1","UpgradeTravelClassComponent","upgradeUrl","upgradeTermsLink$","UPGRADE_AVAILABILITY","main","isUpgradeTermsTeaser","upgradeTo","UpgradeTravelClassComponent_span_30_Template","PlusUserGuard","GET_LOGIN_STATUS_TIMEOUT","canActivate","route","isPlatformServer","recurseLangParam","loginStatus","timeout","LoginStatus","NOT_LOGGED_IN","LOGGED_IN","e","deny","reject","redirectPath","redirectToLogin","BuyPointsGuard","_state","enableBuyPoints","UpgradeTravelClassGuard","enableUpgradeTravelClass","CampaignService","enrollToCampaign","campaignId","mni","CampaignEnrollComponent","toasterService","campaignService","navigateToFrontpageWithMessage","navigateToError","addMessageToQueue","contentKey","keepMessageAfterNavigation","theme","skipLocationChange","EMBEDDED","LoyaltyOverhaulGuard","plusRoutes","component","children","HeaderComponent","outlet","CmsFooterComponent","createRoute","ErrorComponent","PlusRouteModule","NavigationModule","RouterModule","forChild","PlusModule","localizationProvider","triggerLazyLocalizations","I18nKey","LOYALTY","UpgradeAvailabilityService","LoyaltyCoreModule","ErrorCode","TIMEOUT","SAMELOCATION","NOTFOUND","httpClient","officeId","upgradeAvailabilityUrl","HttpParams","formatDate","avail","list_flight","JSON","parse","stringify","localYear","pad","localMonth","localDay","_angular_core__WEBPACK_IMPORTED_MODULE_6__"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/src/internal/operators/shareReplay.ts","./src/modules/loyalty-profile/interfaces/payment-cards.interface.ts","./src/modules/loyalty-profile/interfaces/profile.interface.ts","./src/modules/loyalty-profile/services/profile.service.ts","./src/modules/loyalty-profile/services/two-factor-auth.service.ts","./src/modules/loyalty-profile/profile.module.ts","./src/modules/loyalty-core/store/selectors/index.ts","./src/modules/loyalty-core/components/loyalty-upcoming-trips/loyalty-upcoming-trips.component.html","./src/modules/loyalty-core/components/loyalty-upcoming-trips/loyalty-upcoming-trips.component.ts","./src/modules/loyalty-core/components/loyalty-add-trips/loyalty-add-trips.component.html","./src/modules/loyalty-core/components/loyalty-add-trips/loyalty-add-trips.component.ts","./src/modules/loyalty-core/components/loyalty-section-navigation/loyalty-section-navigation.component.html","./src/modules/loyalty-core/components/loyalty-section-navigation/loyalty-section-navigation.component.ts","./src/modules/loyalty-core/components/announcement-card/announcement-card.component.ts","./src/modules/loyalty-core/components/announcement-card/announcement-card.component.html","./src/modules/loyalty-core/utils/member.utils.ts","./src/modules/loyalty-core/components/plus-card/plus-card.component.html","./src/modules/loyalty-core/components/plus-card/plus-card.component.ts","./src/modules/loyalty-core/views/loyalty-view/loyalty-view.component.html","./src/modules/loyalty-core/views/loyalty-view/loyalty-view.component.ts","./src/modules/loyalty-core/views/loyalty-my-trips/loyalty-my-trips.component.html","./src/modules/loyalty-core/views/loyalty-my-trips/loyalty-my-trips.component.ts","./src/modules/loyalty-core/components/loyalty-global-notification/loyalty-global-notification.component.html","./src/modules/loyalty-core/components/loyalty-global-notification/loyalty-global-notification.component.ts","./src/modules/loyalty-core/views/loyalty-layout/loyalty-layout.component.html","./src/modules/loyalty-core/views/loyalty-layout/loyalty-layout.component.ts","./src/modules/loyalty-plus/interfaces/guardian-information.ts","./src/modules/loyalty-plus/interfaces/transaction.interface.ts","./src/modules/loyalty-plus/interfaces/voucher.interface.ts","./src/modules/loyalty-plus/services/transaction.service.ts","./src/modules/loyalty-plus/services/voucher.service.ts","./src/modules/loyalty-plus/components/points-balance/points-balance.component.html","./src/modules/loyalty-plus/components/points-balance/points-balance.component.ts","./src/modules/ui-components/components/progress-indicator/progress-indicator.component.html","./src/modules/ui-components/components/progress-indicator/progress-indicator.component.ts","./src/modules/loyalty-plus/components/tier-progress/tier-progress.component.html","./src/modules/loyalty-plus/components/tier-progress/tier-progress.component.ts","./src/modules/loyalty-plus/components/transaction-history/transaction-history.component.html","./src/modules/loyalty-plus/components/transaction-history/transaction-history.component.ts","./src/modules/loyalty-plus/components/expiring-voucher-notification/expiring-voucher-notification.component.html","./src/modules/loyalty-plus/components/expiring-voucher-notification/expiring-voucher-notification.component.ts","./src/modules/loyalty-plus/components/upgrade-benefits/upgrade-benefits.component.html","./src/modules/loyalty-plus/components/upgrade-benefits/upgrade-benefits.component.ts","./src/modules/loyalty-plus/components/milestone/milestone.component.ts","./src/modules/loyalty-plus/components/milestone/milestone.component.html","./src/modules/loyalty-plus/components/milestones/milestones.component.html","./src/modules/loyalty-plus/components/milestones/milestones.component.ts","./src/modules/loyalty-plus/components/tier-benefits/tier-benefits.component.html","./src/modules/loyalty-plus/components/tier-benefits/tier-benefits.component.ts","./src/modules/loyalty-plus/components/benefit-banner/benefit-banner.component.html","./src/modules/loyalty-plus/components/benefit-banner/benefit-banner.component.ts","./src/modules/loyalty-plus/components/promotion-segment/promotion-segment.component.html","./src/modules/loyalty-plus/components/promotion-segment/promotion-segment.component.ts","./src/modules/loyalty-plus/views/plus-dashboard/plus-dashboard.component.html","./src/modules/loyalty-plus/views/plus-dashboard/plus-dashboard.component.ts","./src/modules/loyalty-profile/components/direct-marketing-preferences-form/direct-marketing-preferences-form.component.html","./src/modules/loyalty-profile/components/direct-marketing-preferences-form/direct-marketing-preferences-form.component.ts","./src/modules/loyalty-profile/components/loyalty-mailing-address-form/loyalty-mailing-address-form.component.html","./src/modules/loyalty-profile/components/loyalty-mailing-address-form/loyalty-mailing-address-form.component.ts","./src/modules/loyalty-profile/components/loyalty-personal-information-form/loyalty-personal-information-form.component.html","./src/modules/loyalty-profile/components/loyalty-personal-information-form/loyalty-personal-information-form.component.ts","./src/modules/loyalty-plus/interfaces/avios-linking-and-exchange.interface.ts","./src/modules/loyalty-plus/services/avios-linking.service.ts","./src/modules/loyalty-profile/components/loyalty-two-factor-auth-toggle/loyalty-two-factor-auth-toggle.component.html","./src/modules/loyalty-profile/components/loyalty-two-factor-auth-toggle/loyalty-two-factor-auth-toggle.component.ts","./src/modules/loyalty-profile/components/loyalty-passport-information-form/loyalty-passport-information-form.component.html","./src/modules/loyalty-profile/components/loyalty-passport-information-form/loyalty-passport-information-form.component.ts","./src/modules/loyalty-profile/components/loyalty-payment-cards/loyalty-payment-cards.component.html","./src/modules/loyalty-profile/components/loyalty-payment-cards/loyalty-payment-cards.component.ts","./src/modules/loyalty-profile/components/loyalty-travel-profile-form/loyalty-travel-profile-form.component.html","./src/modules/loyalty-profile/components/loyalty-travel-profile-form/loyalty-travel-profile-form.component.ts","./src/modules/loyalty-plus/components/guardian-information-form/guardian-information-form.component.html","./src/modules/loyalty-plus/components/guardian-information-form/guardian-information-form.component.ts","./src/modules/loyalty-plus/views/plus-profile/plus-profile.component.html","./src/modules/loyalty-plus/views/plus-profile/plus-profile.component.ts","./src/modules/loyalty-plus/components/avios-linking-and-exchange/avios-linking-and-exchange.component.html","./src/modules/loyalty-plus/components/avios-linking-and-exchange/avios-linking-and-exchange.component.ts","./src/modules/loyalty-plus/views/balance-and-transactions/balance-and-transactions.component.html","./src/modules/loyalty-plus/views/balance-and-transactions/balance-and-transactions.component.ts","./src/modules/loyalty-plus/views/tier-progress-and-benefits/tier-progress-and-benefits.component.html","./src/modules/loyalty-plus/views/tier-progress-and-benefits/tier-progress-and-benefits.component.ts","./src/modules/loyalty-plus/constants.ts","./src/modules/loyalty-plus/views/buy-points/buy-points.component.html","./src/modules/loyalty-plus/views/buy-points/buy-points.component.ts","./src/modules/loyalty-plus/components/upgrade-availability/upgrade-availability.component.html","./src/modules/loyalty-plus/components/upgrade-availability/upgrade-availability.component.ts","./src/modules/loyalty-plus/views/upgrade-travel-class/upgrade-travel-class.component.html","./src/modules/loyalty-plus/views/upgrade-travel-class/upgrade-travel-class.component.ts","./src/modules/loyalty-plus/services/plus-user.guard.ts","./src/modules/loyalty-plus/services/buy-points.guard.ts","./src/modules/loyalty-plus/services/upgrade-travel-class.guard.ts","./src/modules/loyalty-plus/services/campaign.service.ts","./src/modules/loyalty-plus/views/campaign-enroll/campaign-enroll.component.ts","./src/modules/loyalty-plus/views/campaign-enroll/campaign-enroll.component.html","./src/modules/loyalty-plus/services/loyalty-overhaul.guard.ts","./src/modules/loyalty-plus/plus.routes.ts","./src/modules/loyalty-plus/plus.module.ts","./src/modules/loyalty-plus/services/upgrade-availability.service.ts"],"sourcesContent":["import { ReplaySubject } from '../ReplaySubject';\nimport { MonoTypeOperatorFunction, SchedulerLike } from '../types';\nimport { share } from './share';\n\nexport interface ShareReplayConfig {\n bufferSize?: number;\n windowTime?: number;\n refCount: boolean;\n scheduler?: SchedulerLike;\n}\n\nexport function shareReplay(config: ShareReplayConfig): MonoTypeOperatorFunction;\nexport function shareReplay(bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction;\n\n/**\n * Share source and replay specified number of emissions on subscription.\n *\n * This operator is a specialization of `replay` that connects to a source observable\n * and multicasts through a `ReplaySubject` constructed with the specified arguments.\n * A successfully completed source will stay cached in the `shareReplay`ed observable forever,\n * but an errored source can be retried.\n *\n * ## Why use `shareReplay`?\n *\n * You generally want to use `shareReplay` when you have side-effects or taxing computations\n * that you do not wish to be executed amongst multiple subscribers.\n * It may also be valuable in situations where you know you will have late subscribers to\n * a stream that need access to previously emitted values.\n * This ability to replay values on subscription is what differentiates {@link share} and `shareReplay`.\n *\n * ## Reference counting\n *\n * By default `shareReplay` will use `refCount` of false, meaning that it will _not_ unsubscribe the\n * source when the reference counter drops to zero, i.e. the inner `ReplaySubject` will _not_ be unsubscribed\n * (and potentially run for ever).\n * This is the default as it is expected that `shareReplay` is often used to keep around expensive to setup\n * observables which we want to keep running instead of having to do the expensive setup again.\n *\n * As of RXJS version 6.4.0 a new overload signature was added to allow for manual control over what\n * happens when the operators internal reference counter drops to zero.\n * If `refCount` is true, the source will be unsubscribed from once the reference count drops to zero, i.e.\n * the inner `ReplaySubject` will be unsubscribed. All new subscribers will receive value emissions from a\n * new `ReplaySubject` which in turn will cause a new subscription to the source observable.\n *\n * ## Examples\n *\n * Example with a third subscriber coming late to the party\n *\n * ```ts\n * import { interval, take, shareReplay } from 'rxjs';\n *\n * const shared$ = interval(2000).pipe(\n * take(6),\n * shareReplay(3)\n * );\n *\n * shared$.subscribe(x => console.log('sub A: ', x));\n * shared$.subscribe(y => console.log('sub B: ', y));\n *\n * setTimeout(() => {\n * shared$.subscribe(y => console.log('sub C: ', y));\n * }, 11000);\n *\n * // Logs:\n * // (after ~2000 ms)\n * // sub A: 0\n * // sub B: 0\n * // (after ~4000 ms)\n * // sub A: 1\n * // sub B: 1\n * // (after ~6000 ms)\n * // sub A: 2\n * // sub B: 2\n * // (after ~8000 ms)\n * // sub A: 3\n * // sub B: 3\n * // (after ~10000 ms)\n * // sub A: 4\n * // sub B: 4\n * // (after ~11000 ms, sub C gets the last 3 values)\n * // sub C: 2\n * // sub C: 3\n * // sub C: 4\n * // (after ~12000 ms)\n * // sub A: 5\n * // sub B: 5\n * // sub C: 5\n * ```\n *\n * Example for `refCount` usage\n *\n * ```ts\n * import { Observable, tap, interval, shareReplay, take } from 'rxjs';\n *\n * const log = (name: string, source: Observable) => source.pipe(\n * tap({\n * subscribe: () => console.log(`${ name }: subscribed`),\n * next: value => console.log(`${ name }: ${ value }`),\n * complete: () => console.log(`${ name }: completed`),\n * finalize: () => console.log(`${ name }: unsubscribed`)\n * })\n * );\n *\n * const obs$ = log('source', interval(1000));\n *\n * const shared$ = log('shared', obs$.pipe(\n * shareReplay({ bufferSize: 1, refCount: true }),\n * take(2)\n * ));\n *\n * shared$.subscribe(x => console.log('sub A: ', x));\n * shared$.subscribe(y => console.log('sub B: ', y));\n *\n * // PRINTS:\n * // shared: subscribed <-- reference count = 1\n * // source: subscribed\n * // shared: subscribed <-- reference count = 2\n * // source: 0\n * // shared: 0\n * // sub A: 0\n * // shared: 0\n * // sub B: 0\n * // source: 1\n * // shared: 1\n * // sub A: 1\n * // shared: completed <-- take(2) completes the subscription for sub A\n * // shared: unsubscribed <-- reference count = 1\n * // shared: 1\n * // sub B: 1\n * // shared: completed <-- take(2) completes the subscription for sub B\n * // shared: unsubscribed <-- reference count = 0\n * // source: unsubscribed <-- replaySubject unsubscribes from source observable because the reference count dropped to 0 and refCount is true\n *\n * // In case of refCount being false, the unsubscribe is never called on the source and the source would keep on emitting, even if no subscribers\n * // are listening.\n * // source: 2\n * // source: 3\n * // source: 4\n * // ...\n * ```\n *\n * @see {@link publish}\n * @see {@link share}\n * @see {@link publishReplay}\n *\n * @param configOrBufferSize Maximum element count of the replay buffer or {@link ShareReplayConfig configuration}\n * object.\n * @param windowTime Maximum time length of the replay buffer in milliseconds.\n * @param scheduler Scheduler where connected observers within the selector function\n * will be invoked on.\n * @return A function that returns an Observable sequence that contains the\n * elements of a sequence produced by multicasting the source sequence within a\n * selector function.\n */\nexport function shareReplay(\n configOrBufferSize?: ShareReplayConfig | number,\n windowTime?: number,\n scheduler?: SchedulerLike\n): MonoTypeOperatorFunction {\n let bufferSize: number;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n } else {\n bufferSize = (configOrBufferSize ?? Infinity) as number;\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n","import { PaymentsIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nexport enum PaymentCards {\n AX = 'amex',\n VI = 'visa',\n DC = 'dinersclub',\n CA = 'mastercard',\n TP = 'uatp',\n JC = 'jcb',\n}\n\nexport interface PaymentCardData {\n token: string;\n expiry: string;\n vendor: string;\n cardType: string;\n corporate?: boolean;\n cardHolder: string;\n billingAddress: string;\n postCode: string;\n city: string;\n country: string;\n name: string;\n logo: {\n alt: string;\n href: string;\n };\n expiryDate?: string;\n lastDigits?: string;\n svgName?: PaymentsIcon;\n}\n\nexport interface PaymentCardsResponse {\n tokens: PaymentCardData[];\n}\n","import { LoginAddressType, ProfileTier } from '@fcom/core-api/login';\n\nexport interface MailingAddressData {\n city: string;\n companyName?: string;\n country: string;\n postalCode: string;\n primary: boolean;\n stateOrProvince: string;\n buildingNameOrPrefecture: string;\n streetAddress: string;\n type: LoginAddressType;\n}\n\nexport interface MailingAddressSubmissionData {\n countryCode: string;\n addresses: MailingAddressData[];\n}\n\nexport enum PersonalInformationFormFields {\n DATE_OF_BIRTH = 'dateOfBirth',\n EMAIL = 'email',\n COUNTRY_CODE = 'countryCode',\n NATIONAL_NUMBER = 'nationalNumber',\n MOBILE_PHONE = 'mobilePhone',\n GENDER = 'gender',\n}\n\nexport interface TravelProfileSubmissionData {\n householdSize?: number;\n childrenBirthYears?: string[];\n topicsOfInterest?: string[];\n travelProfile: {\n seatPreference?: string;\n mealPreference?: string;\n };\n}\n\nexport enum TravelProfileFormField {\n HOUSEHOLD_SIZE = 'householdSize',\n CHILDREN_BIRTH_YEARS = 'childrenBirthYears',\n TOPICS_OF_INTEREST = 'topicsOfInterest',\n SEAT_PREF = 'seatPreference',\n MEAL_PREF = 'mealPreference',\n}\n\nexport enum SeatPreferenceOption {\n NO_PREFERENCE = 'Remove',\n AISLE = 'Aisle',\n WINDOW = 'Window',\n}\n\nexport enum MealPreferenceOption {\n NO_PREFERENCE = 'Remove',\n BLML = 'BLML',\n DBML = 'DBML',\n GFML = 'GFML',\n LCML = 'LCML',\n LFML = 'LFML',\n LSML = 'LSML',\n NLML = 'NLML',\n HNML = 'HNML',\n AVML = 'AVML',\n KSML = 'KSML',\n MOML = 'MOML',\n CHML = 'CHML',\n FPML = 'FPML',\n VGML = 'VGML',\n VLML = 'VLML',\n VJML = 'VJML',\n SPML = 'SPML',\n}\n\nexport enum TopicOfInterest {\n FOD = 'FOD',\n SPE = 'SPE',\n MUE = 'MUE',\n BEF = 'BEF',\n HOD = 'HOD',\n BUL = 'BUL',\n HEW = 'HEW',\n HOT = 'HOT',\n CAR = 'CAR',\n CIH = 'CIH',\n BEH = 'BEH',\n SPH = 'SPH',\n ACH = 'ACH',\n TOH = 'TOH',\n CRU = 'CRU',\n ENR = 'ENR',\n}\n\nexport enum MailingAddressFormField {\n BUILDING_NAME_OR_PREFECTURE = 'buildingNameOrPrefecture',\n CITY = 'city',\n COMPANY_NAME = 'companyName',\n COUNTRY = 'country',\n POSTAL_CODE = 'postalCode',\n PRIMARY = 'primary',\n STATE_OR_PROVINCE = 'stateOrProvince',\n STREET_ADDRESS = 'streetAddress',\n ADDRESS_TYPE = 'addressType',\n}\n\nexport enum MarketingPreferencesFormField {\n PREFERRED_LANGUAGE = 'preferredLanguage',\n RECEIVE_ALL_EMAILS = 'receiveAllEmails',\n RECEIVE_PARTNER_PROMOTIONS = 'receivePartnerPromotions',\n RECEIVE_SMS_PROMOS = 'receiveSmsPromos',\n RECEIVE_MAIL_WEEKLY_OFFERS = 'receiveMailWeeklyOffers',\n}\n\nexport enum PassportInformationFormFields {\n NUMBER = 'passportNumber',\n EXPIRY_DATE = 'passportExpirationDate',\n ISSUE_DATE = 'passportIssueDate',\n COUNTRY = 'passportCountry',\n}\n\nexport interface MarketingLanguageSubmissionData {\n marketingLanguage: string;\n}\n\nexport interface PersonalInformationSubmissionData {\n email: string;\n phoneNumber: string;\n gender: string;\n dateOfBirth?: string;\n}\nexport interface PassportInformationSubmissionData {\n travelProfile: {\n passportInformation: {\n passportNumber: string;\n passportIssueDate: string;\n passportExpirationDate: string;\n passportCountry: string;\n };\n };\n}\n\nexport interface GuardianInformationSubmissionData {\n guardianName: string;\n guardianPhoneNumber: string;\n guardianEmail: string;\n guardianMemberNumber: string;\n}\n\nexport interface UpdateProfileResponseData {\n status: {\n message: string;\n };\n}\n\nexport interface UpdateToPlusSubmissionData {\n memberTier: ProfileTier.BASIC;\n}\n\nexport type UpdateProfileSubmissionData =\n | MailingAddressSubmissionData\n | MarketingLanguageSubmissionData\n | PersonalInformationSubmissionData\n | PassportInformationSubmissionData\n | GuardianInformationSubmissionData\n | TravelProfileSubmissionData\n | UpdateToPlusSubmissionData;\n","import { Injectable } from '@angular/core';\nimport { HttpHeaders, HttpClient, HttpResponse } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { throwError, combineLatest, Observable, timer } from 'rxjs';\nimport { map, catchError, take, filter, switchMap, shareReplay, retryWhen, mergeMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { AppState, ConfigService } from '@fcom/core';\nimport { LoginActions } from '@fcom/core/actions';\nimport { SentryLogger } from '@fcom/core/services/sentry/sentry.logger';\nimport { loginToken, profile } from '@fcom/core/selectors';\nimport {\n Profile,\n LoginGender,\n CasLoginResponse,\n LoginResponse,\n ProfileRequestType,\n ProfileRequestCache,\n ProfileTier,\n ParsedPhone,\n} from '@fcom/core-api/login';\nimport { parseProfile } from '@fcom/common/login/services';\nimport { getCountryOptions } from '@fcom/service-forms/services/utils';\nimport { SIEBEL_SUPPORTED_COUNTRY_CODES } from '@fcom/loyalty-core/interfaces';\nimport { isPresent } from '@fcom/core/utils';\nimport { SelectOption } from '@fcom/common';\n\nimport {\n UpdateProfileResponseData,\n UpdateProfileSubmissionData,\n MailingAddressSubmissionData,\n MarketingLanguageSubmissionData,\n PersonalInformationSubmissionData,\n PassportInformationSubmissionData,\n GuardianInformationSubmissionData,\n PaymentCards,\n PaymentCardsResponse,\n PaymentCardData,\n TravelProfileSubmissionData,\n} from '../interfaces';\n\nconst isSuccessResponse = (o: any): o is LoginResponse => !!o && o.profile && o.profile.partStatus;\n\n@Injectable()\nexport class ProfileService {\n supportedLanguages = ['CH', 'EN', 'FI', 'FR', 'DE', 'IT', 'JA', 'KO', 'RU', 'ES', 'SV'];\n private accessToken$: Observable;\n private memberNumber$: Observable;\n private profile$: Observable;\n private fullProfile$: Observable;\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService,\n private languageService: LanguageService\n ) {\n this.profile$ = this.store$.pipe(profile(), take(1));\n this.memberNumber$ = this.profile$.pipe(map((memberProfile: Profile) => memberProfile.memberNumber));\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1)) as Observable;\n // eslint-disable-next-line rxjs/no-sharereplay\n this.fullProfile$ = this.fetchProfile().pipe(shareReplay(1));\n }\n\n updatePersonalInformation(\n formValues: PersonalInformationSubmissionData,\n parsedMobilePhone: ParsedPhone\n ): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n dateOfBirth: formValues.dateOfBirth,\n email: formValues.email,\n mobilePhone: formValues.phoneNumber,\n gender:\n formValues.gender === LoginGender.MALE\n ? LoginGender.MALE\n : formValues.gender === LoginGender.FEMALE\n ? LoginGender.FEMALE\n : undefined,\n };\n\n if (isPresent(parsedMobilePhone)) {\n newProfile.parsedMobilePhone = parsedMobilePhone;\n }\n\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n updateMailingAddress(formValues: MailingAddressSubmissionData): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n addresses: [formValues.addresses[0]],\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n updateMarketingLanguage(formValues: MarketingLanguageSubmissionData): Observable {\n return this.memberServiceRequest(formValues);\n }\n\n updatePassportInformation(formValues: PassportInformationSubmissionData): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n passport: formValues.travelProfile.passportInformation,\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n updateGuardianInformation(formValues: GuardianInformationSubmissionData): Observable {\n return this.profile$.pipe(\n map((memberProfile) => {\n if (!memberProfile.isJuniorMember) {\n throw new Error('Tried to update guardian information on non-Junior profile');\n }\n return memberProfile;\n }),\n switchMap((memberProfile: Profile) =>\n this.memberServiceRequest(formValues).pipe(\n map((response) => {\n const newProfile = {\n ...memberProfile,\n guardianName: formValues.guardianName,\n guardianPhoneNumber: formValues.guardianPhoneNumber,\n guardianEmail: formValues.guardianEmail,\n guardianMemberNumber: formValues.guardianMemberNumber,\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n )\n )\n );\n }\n\n updateTravelProfile(formValues: TravelProfileSubmissionData): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n householdSize: formValues.householdSize,\n childrenBirthYears: formValues.childrenBirthYears,\n topicsOfInterest: formValues.topicsOfInterest,\n preferredSeatType: formValues.travelProfile.seatPreference,\n preferredMealType: formValues.travelProfile.mealPreference,\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n getProfile(): Observable {\n return this.store$.pipe(profile(), filter(Boolean), take(1)) as Observable;\n }\n\n getFullProfile(cache = true): Observable {\n if (!cache) {\n // eslint-disable-next-line rxjs/no-sharereplay\n this.fullProfile$ = this.fetchProfile().pipe(shareReplay(1));\n }\n return this.fullProfile$;\n }\n\n getCountryOptions(defaultOption?: SelectOption): Observable {\n return getCountryOptions(this.languageService, defaultOption).pipe(\n map((options) => options.filter((option) => SIEBEL_SUPPORTED_COUNTRY_CODES.includes(option.value.toLowerCase())))\n );\n }\n\n getCountryRegionOptions(countryCode: string): Observable {\n return this.languageService.translate(`COUNTRY_REGIONS.${countryCode}`).pipe(\n map((regions) =>\n regions\n ? Object.keys(regions).map(\n (region) =>\n ({\n value: region.toUpperCase(),\n name: regions[region],\n }) as SelectOption\n )\n : []\n )\n );\n }\n\n getLanguageOptions(): Observable {\n return this.languageService.translate('SERVICE_FORMS.serviceForms.fields.language').pipe(\n map((languages) =>\n this.supportedLanguages.map(\n (lang) =>\n ({\n value: lang.toUpperCase(),\n name: languages[lang],\n }) as SelectOption\n )\n )\n );\n }\n\n getParsedPaymentCards(): Observable {\n return this.getPaymentCards().pipe(\n map((result: PaymentCardsResponse) =>\n result.tokens.map((card: PaymentCardData) => {\n return {\n ...card,\n svgName: PaymentCards[card.vendor],\n lastDigits: card.token.slice(-4),\n expiryDate: `${card.expiry.substr(0, 2)}/${card.expiry.substr(2)}`,\n };\n })\n )\n );\n }\n\n getPaymentCards(): Observable {\n const apiUrl = `${this.configService.cfg.oneClickPaymentUrl}/tokens`;\n const keyId = this.configService.cfg.oneClickPaymentApiKey;\n const accessToken$ = this.accessToken$;\n const memberNumber$ = this.memberNumber$;\n\n return combineLatest([accessToken$, memberNumber$]).pipe(\n switchMap(([token, memberNumber]) => {\n /* eslint-disable camelcase */\n const httpOptions = {\n headers: new HttpHeaders({\n KeyId: keyId,\n oauth_token: token,\n AYUID: memberNumber,\n }),\n };\n /* eslint-enable camelcase */\n\n return this.http.get(apiUrl, httpOptions).pipe(\n map((response) => {\n if (response.tokens) {\n return response;\n }\n throw new Error('Error when requesting payment cards');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n deletePaymentCard(cardToken: string): Observable> {\n const apiUrl = `${this.configService.cfg.oneClickPaymentUrl}/delete`;\n const keyId = this.configService.cfg.oneClickPaymentApiKey;\n const accessToken$ = this.accessToken$;\n const memberNumber$ = this.memberNumber$;\n\n return combineLatest([accessToken$, memberNumber$]).pipe(\n switchMap(([accessToken, memberNumber]) => {\n /* eslint-disable camelcase */\n const headers = new HttpHeaders({\n KeyId: keyId,\n oauth_token: accessToken,\n AYUID: memberNumber,\n });\n /* eslint-enable camelcase */\n\n const data = {\n token: cardToken,\n };\n\n return this.http.post(apiUrl, data, { headers, observe: 'response' }).pipe(\n map((response) => {\n if (response.ok) {\n return response;\n }\n throw new Error('Error when deleting payment card');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n fetchProfile(): Observable {\n return this.http\n .post(\n this.configService.cfg.loyaltyServices.legacy.apiProfileUrl,\n {\n profileRequest: {\n type: ProfileRequestType.FULL,\n cache: ProfileRequestCache.REFRESH,\n },\n },\n {\n headers: new HttpHeaders({\n Accept: 'application/json',\n }),\n }\n )\n .pipe(\n map((response: CasLoginResponse) => {\n if (isSuccessResponse(response)) {\n const parsedProfile = parseProfile(response.profile);\n this.store$.dispatch(LoginActions.setProfile({ profile: parsedProfile }));\n return parsedProfile;\n } else {\n throw new Error('Fetching profile failed');\n }\n }),\n // eslint-disable-next-line rxjs/no-sharereplay\n shareReplay(1),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n }\n\n updateToFinnairPlus(): Observable {\n const MAX_ATTEMPTS = 200;\n const BACKOFF_MS = 1000;\n return this.memberServiceRequest({ memberTier: ProfileTier.BASIC }).pipe(\n switchMap((response: UpdateProfileResponseData) => {\n if (response.status.message !== 'OK') {\n throw new Error('Error submitting update profile request');\n }\n return this.http\n .post(\n this.configService.cfg.loyaltyServices.legacy.apiProfileUrl,\n {\n profileRequest: {\n type: ProfileRequestType.FULL,\n cache: ProfileRequestCache.REFRESH,\n },\n },\n {\n headers: new HttpHeaders({\n Accept: 'application/json',\n }),\n }\n )\n .pipe(\n map((profileResponse: CasLoginResponse) => {\n const updatedProfile = (profileResponse as LoginResponse).profile;\n if (updatedProfile.tier === ProfileTier.ACCOUNT) {\n throw new Error('Still account');\n }\n const parsedProfile = parseProfile(updatedProfile);\n this.store$.dispatch(LoginActions.setProfile({ profile: parsedProfile }));\n return response;\n }),\n retryWhen((attempts) =>\n attempts.pipe(\n mergeMap((error, i) => {\n if (i >= MAX_ATTEMPTS || error.message !== 'Still account') {\n return throwError(() => error);\n }\n return timer(BACKOFF_MS);\n })\n )\n )\n );\n })\n );\n }\n\n private memberServiceRequest(data: UpdateProfileSubmissionData): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.loyaltyMemberUrl;\n const accessToken$ = this.accessToken$;\n\n return accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n oauth_token: token,\n }),\n };\n\n return this.http.put(apiUrl, data, httpOptions).pipe(\n map((response) => {\n if (response.status.message === 'OK') {\n return response;\n }\n throw new Error('Error submitting update profile request');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpHeaders, HttpClient } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, combineLatest, Observable, of, throwError } from 'rxjs';\nimport { map, take, filter, switchMap, catchError, tap, distinctUntilChanged, startWith } from 'rxjs/operators';\n\nimport { AppState, ConfigService, SentryLogger } from '@fcom/core';\nimport { Profile } from '@fcom/core-api/login';\nimport { profile, loginToken } from '@fcom/core/selectors';\nimport { finShare } from '@fcom/rx';\n\nexport enum TwoFactorAuthStatus {\n LOADING = 'loading',\n DISABLED = 'disabled',\n ENABLED = 'enabled',\n}\n\nexport interface EnableGAuthValidatedResponse {\n secretKey: string;\n}\n\nexport interface GetGAuthStatusResponse {\n secretKey?: string;\n validationCode: number;\n scratchCodes?: number[];\n smsAuthenticator: boolean;\n validated?: boolean;\n}\n\nexport interface ValidateGAuthResponse {\n valid: boolean;\n}\n\nexport enum TwoFactorAuthType {\n SMS = 'sms',\n APP = 'app',\n}\n\nconst STATUS_PATH = 'getgauth';\nconst ENABLE_SMS_PATH = 'enablesmsauth';\nconst ENABLE_VALIDATED_PATH = 'enablegauthvalidated';\nconst VALIDATE_PATH = 'validategauth';\nconst DISABLE_PATH = 'disablegauth';\n\n@Injectable()\nexport class TwoFactorAuthService {\n private updateStatus$ = new BehaviorSubject<'loading' | 'refresh'>('refresh');\n private memberNumber$: Observable;\n\n status$: Observable = this.updateStatus$.pipe(\n distinctUntilChanged(),\n switchMap((updateStatus) => {\n if (updateStatus === 'loading') {\n return of(TwoFactorAuthStatus.LOADING);\n }\n\n return this.getStatus().pipe(\n map((status) => {\n if (status.smsAuthenticator || (status.secretKey && status.validated !== false)) {\n return TwoFactorAuthStatus.ENABLED;\n } else {\n return TwoFactorAuthStatus.DISABLED;\n }\n })\n );\n }),\n startWith(TwoFactorAuthStatus.LOADING),\n finShare()\n );\n\n constructor(\n private http: HttpClient,\n private configService: ConfigService,\n private store$: Store,\n private sentryLogger: SentryLogger\n ) {\n this.memberNumber$ = this.store$.pipe(\n profile(),\n take(1),\n map((memberProfile: Profile) => memberProfile.memberNumber)\n );\n }\n\n getStatus(): Observable {\n return this.gAuthRequest(STATUS_PATH);\n }\n\n enableSMSAuth(): Observable {\n this.updateStatus$.next('loading');\n return this.gAuthRequest(ENABLE_SMS_PATH).pipe(tap(() => this.updateStatus$.next('refresh')));\n }\n\n enableGAuthValidated(): Observable {\n return this.gAuthRequest(ENABLE_VALIDATED_PATH);\n }\n\n disableGAuth(): Observable {\n this.updateStatus$.next('loading');\n return this.gAuthRequest(DISABLE_PATH).pipe(tap(() => this.updateStatus$.next('refresh')));\n }\n\n getQRCodeImageUrl(secretKey: string): Observable {\n return this.memberNumber$.pipe(\n map(\n (memberNumber) =>\n `https://${this.configService.cfg.casHost}/cas/gauth/qrgen?key=otpauth://totp/www.finnair.com${\n this.configService.cfg.casEnv === 'preprod' ? '(preprod)' : ''\n }:${memberNumber}?secret=${secretKey}&issuer=Finnair`\n )\n );\n }\n\n validateGAuth(securityCode: string): Observable {\n this.updateStatus$.next('loading');\n return this.gAuthRequest(`${VALIDATE_PATH}/${securityCode}`).pipe(\n tap(() => this.updateStatus$.next('refresh'))\n );\n }\n\n private gAuthRequest(path: string): Observable {\n const loginToken$ = this.store$.pipe(\n loginToken(),\n filter((t) => !!t),\n take(1)\n );\n return combineLatest([loginToken$, this.memberNumber$]).pipe(\n switchMap(([token, memberNumber]) => {\n const httpOptions = {\n headers: new HttpHeaders({\n oauth_token: token,\n 'x-api-key': this.configService.cfg.loyaltyServices.memberService.gauthApiKey,\n }),\n };\n return this.http.get(\n `${this.configService.cfg.loyaltyServices.memberService.gauthUrl}/${path}/${memberNumber}?_=${Date.now()}`,\n httpOptions\n );\n }),\n catchError((err: unknown) => {\n this.sentryLogger.warn('Error submitting GAuth request', { error: err });\n return throwError(() => err);\n })\n );\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { UiComponentsModule } from '@fcom/ui-components';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { DirectiveModule } from '@fcom/common/directives';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { ServiceFormsModule } from '@fcom/service-forms';\nimport { CommonServiceFormsModule } from '@fcom/service-forms/components/common/common-service-forms.module';\n\nimport { ProfileService } from './services/profile.service';\nimport { TwoFactorAuthService } from './services/two-factor-auth.service';\nimport { LoyaltyMailingAddressFormComponent } from './components/loyalty-mailing-address-form/loyalty-mailing-address-form.component';\nimport { LoyaltyPersonalInfoFormComponent } from './components/loyalty-personal-information-form/loyalty-personal-information-form.component';\nimport { LoyaltyTwoFactorAuthToggleComponent } from './components/loyalty-two-factor-auth-toggle/loyalty-two-factor-auth-toggle.component';\nimport { LoyaltyPassportFormComponent } from './components/loyalty-passport-information-form/loyalty-passport-information-form.component';\nimport { LoyaltyPaymentCardsComponent } from './components/loyalty-payment-cards/loyalty-payment-cards.component';\nimport { LoyaltyTravelProfileFormComponent } from './components/loyalty-travel-profile-form/loyalty-travel-profile-form.component';\nimport { DirectMarketingPreferencesFormComponent } from './components/direct-marketing-preferences-form/direct-marketing-preferences-form.component';\nimport { CmsModule } from '../cms';\n\n@NgModule({\n imports: [\n CommonModule,\n ComponentsModule,\n DirectiveModule,\n GtmModule,\n PipesModule,\n CommonServiceFormsModule,\n ServiceFormsModule,\n ReactiveFormsModule.withConfig({\n callSetDisabledState: 'whenDisabledForLegacyCode',\n }),\n UiTranslateModule,\n UiComponentsModule,\n CmsModule,\n ],\n declarations: [\n DirectMarketingPreferencesFormComponent,\n LoyaltyMailingAddressFormComponent,\n LoyaltyPersonalInfoFormComponent,\n LoyaltyTwoFactorAuthToggleComponent,\n LoyaltyPassportFormComponent,\n LoyaltyPaymentCardsComponent,\n LoyaltyTravelProfileFormComponent,\n ],\n exports: [\n DirectMarketingPreferencesFormComponent,\n LoyaltyMailingAddressFormComponent,\n LoyaltyPersonalInfoFormComponent,\n LoyaltyTwoFactorAuthToggleComponent,\n LoyaltyPassportFormComponent,\n LoyaltyPaymentCardsComponent,\n LoyaltyTravelProfileFormComponent,\n ],\n providers: [ProfileService, TwoFactorAuthService],\n})\nexport class ProfileModule {}\n","import { createFeatureSelector, createSelector } from '@ngrx/store';\nimport { pipe } from 'rxjs';\nimport { distinctUntilChanged } from 'rxjs/operators';\n\nimport { safeSelect, StateSelector } from '@fcom/core/selectors/selector-utils';\n\nimport { LoyaltyState, MilestoneState, State } from '../../interfaces/store.interface';\nimport { LOYALTY_FEATURE_KEY } from '../../constants';\n\nexport const selectLoyaltyState = createFeatureSelector(LOYALTY_FEATURE_KEY);\n\nexport const selectTripsState = createSelector(selectLoyaltyState, (state: LoyaltyState) => state.trips);\nexport const selectMilestonesState = createSelector(selectLoyaltyState, (state: LoyaltyState) => state.milestones);\nexport const dismissedWithPointsSelector = createSelector(\n selectMilestonesState,\n (milestones: MilestoneState) => milestones.dismissedWithPoints\n);\n\nexport const dismissedWithPoints = (): StateSelector =>\n pipe(safeSelect(dismissedWithPointsSelector), distinctUntilChanged());\n","

{{ 'myTrips.table.intro' | finLocalization }}

\n
\n

{{ 'myTrips.table.loading' | finLocalization }}

\n \n
\n\n \n {{ 'myTrips.table.error' | finLocalization }}\n \n 0\">\n \n \n \n \n {{ 'myTrips.table.bookingRef' | finLocalization }}\n \n \n \n \n \n \n \n \n \n \n
\n {{ 'myTrips.table.tripDetails' | finLocalization }}\n
\n
\n {{ trip.scheduledDateTime | finDateFormat: 'DATE' }}\n \n {{ trip.departure }} - {{ trip.arrival }}\n \n \n \n {{ 'myTrips.table.passenger' | finPluralLocalization: trip.passengerAmount : 'amount' }}\n \n \n
\n
\n \n \n {{ trip.bookingRef }}\n \n {{\n 'myTrips.table.viewTrip' | finLocalization\n }}\n \n \n \n
\n
visibleRows\" class=\"ms-large-t ms-xxlarge-b flex flex--middle flex--end\">\n \n \n
\n
\n

\n {{ 'myTrips.table.noTrips' | finLocalization }}\n

\n
\n","import { Component, OnInit, ElementRef, OnDestroy } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store, select } from '@ngrx/store';\nimport { Observable, interval, combineLatest, Subject } from 'rxjs';\nimport { map, take, tap, first, takeUntil, distinctUntilChanged } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport {\n ButtonTheme,\n ButtonType,\n NotificationTheme,\n NotificationLayout,\n LoaderTheme,\n IconPosition,\n} from '@fcom/ui-components';\nimport { RootPaths } from '@fcom/core';\nimport { sortBy, compareAsJson, serializeParams } from '@fcom/core/utils';\nimport { Profile } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\n\nimport { TripsActions } from '../../store/actions';\nimport { State, TripsState, FetchTripsStatus } from '../../interfaces/store.interface';\nimport { selectTripsState } from '../../store/selectors';\nimport { Trip, OutboundJourney } from '../../interfaces/pax-trip.interface';\n\nenum Status {\n INITIAL,\n LOADING,\n COMPLETE,\n EMPTY,\n ERROR,\n}\n\n@Component({\n selector: 'fin-loyalty-upcoming-trips',\n templateUrl: './loyalty-upcoming-trips.component.html',\n styleUrls: ['./loyalty-upcoming-trips.component.scss'],\n})\nexport class LoyaltyUpcomingTripsComponent implements OnInit, OnDestroy {\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonType = ButtonType;\n readonly IconPosition = IconPosition;\n readonly LoaderTheme = LoaderTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly NotificationTheme = NotificationTheme;\n readonly Status = Status;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n trips$: Observable;\n visibleRows = 15;\n lastVisibleIndex: number;\n status: Status;\n tripState$: Observable;\n\n private profile$: Observable;\n private memberNumber$: Observable;\n private ngDestroyed$ = new Subject();\n\n constructor(\n private store$: Store,\n private languageService: LanguageService,\n private element: ElementRef\n ) {\n this.profile$ = this.store$.pipe(profile(), first());\n this.memberNumber$ = this.profile$.pipe(map((memberProfile: Profile) => memberProfile.memberNumber));\n this.tripState$ = this.store$.pipe(select(selectTripsState));\n }\n\n ngOnInit(): void {\n this.lastVisibleIndex = this.visibleRows - 1;\n this.store$.dispatch(TripsActions.fetchTrips());\n this.trips$ = this.getTrips();\n this.status = Status.INITIAL;\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n\n onRevealRows(): void {\n this.lastVisibleIndex = this.lastVisibleIndex + this.visibleRows;\n this.revealRows();\n }\n\n private getTrips(): Observable {\n this.status = Status.LOADING;\n return combineLatest([this.tripState$, this.memberNumber$]).pipe(\n map(([tripState]) => {\n if (tripState.status === FetchTripsStatus.ERROR) {\n this.status = Status.ERROR;\n } else if (tripState.status === FetchTripsStatus.OK) {\n this.status = Status.COMPLETE;\n return sortBy(this.parseOutboundJourneys(tripState.trips), (trip) => trip.scheduledDateTimeUnix) || [];\n }\n return [];\n }),\n tap((trips: OutboundJourney[]) => {\n if (this.status === Status.COMPLETE && trips.length > 0) {\n this.revealRows();\n } else if (this.status !== Status.ERROR && this.status !== Status.LOADING) {\n this.status = Status.EMPTY;\n }\n }),\n distinctUntilChanged((a: OutboundJourney[], b: OutboundJourney[]): boolean => this.checkTripDistinction(a, b))\n );\n }\n\n private parseOutboundJourneys(trips: Trip[]): OutboundJourney[] {\n return trips.map((trip: Trip): OutboundJourney => {\n const outboundJourney = trip.journeys[0];\n return {\n departure: outboundJourney.departure.municipality,\n arrival: outboundJourney.arrival.municipality,\n scheduledDateTime: outboundJourney.departure.scheduledDateTime,\n scheduledDateTimeUnix: new Date(outboundJourney.departure.scheduledDateTime).getTime(),\n passengerAmount: outboundJourney.passengerAmount,\n bookingRef: trip.recLoc,\n mmbLink: this.generateMmbLink(trip.lastName, trip.recLoc),\n };\n });\n }\n\n private generateMmbLink(lastName: string, bookingRef: string): string {\n const bookingData = {\n lastName: lastName,\n recLoc: bookingRef,\n };\n\n return `/${this.languageService.langValue}/${RootPaths.MANAGE_BOOKING_ROOT}?${serializeParams(bookingData)}`;\n }\n\n private revealRows(): void {\n setTimeout(() => {\n const rowElements = this.element.nativeElement.querySelectorAll('.fade-up:not(.fade-up--animate)');\n interval(150)\n .pipe(\n take(rowElements.length),\n map((index) => rowElements[index]),\n takeUntil(this.ngDestroyed$)\n )\n .subscribe((value) => {\n value.classList.add('fade-up--animate');\n });\n }, 0);\n }\n\n private checkTripDistinction(a: OutboundJourney[], b: OutboundJourney[]): boolean {\n return compareAsJson(\n a.map((trip: OutboundJourney) => trip.bookingRef).sort(),\n b.map((trip: OutboundJourney) => trip.bookingRef).sort()\n );\n }\n}\n","
\n

\n {{ 'myTrips.addTrips.title' | finLocalization }}\n

\n

{{ 'myTrips.addTrips.description' | finLocalization }}

\n
\n
\n
\n \n \n
\n \n
\n
\n
\n \n
\n
\n
\n \n {{ messageLabel | finLocalization }}\n \n
\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil, switchMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport { FormStatus } from '@fcom/service-forms/interfaces';\nimport { pnrFormatValidator } from '@fcom/service-forms/services/form-validators';\n\nimport { PaxTripService } from '../../services';\nimport { AddFrequentFlyerResponse, AddFrequentFlyerError } from '../../interfaces/pax-trip.interface';\n\n@Component({\n selector: 'fin-loyalty-add-trips',\n templateUrl: './loyalty-add-trips.component.html',\n styleUrls: ['../../assets/styles/common.scss'],\n})\nexport class LoyaltyAddTripsComponent implements OnInit, OnDestroy {\n readonly FormStatus = FormStatus;\n readonly ButtonType = ButtonType;\n readonly NotificationTheme = NotificationTheme;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n hideError = true;\n validationMessages$: Observable<{ [key: string]: string }>;\n formStatus: FormStatus = FormStatus.INITIAL;\n form: UntypedFormGroup;\n messageLabel: string;\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private formBuilder: UntypedFormBuilder,\n private languageService: LanguageService,\n private paxTripService: PaxTripService\n ) {\n this.validationMessages$ = this.languageService\n .translate('SERVICE_FORMS.serviceForms.fields.reservationNumber')\n .pipe(\n map(({ pattern, required }) => ({\n pattern,\n required,\n }))\n );\n }\n\n ngOnInit() {\n this.form = this.formBuilder.group({\n bookingReference: ['', [pnrFormatValidator(), Validators.required]],\n });\n }\n\n ngOnDestroy() {\n this.ngDestroyed$.next(true);\n }\n\n onSubmit() {\n if (this.form.valid) {\n this.formStatus = FormStatus.LOADING;\n this.paxTripService\n .addTrip(this.form.controls.bookingReference.value)\n .pipe(\n switchMap((response: AddFrequentFlyerResponse) =>\n this.paxTripService.verifyAddedTrip(this.form.controls.bookingReference.value).pipe(\n map((tripAdded: boolean) => {\n if (!tripAdded) {\n throw new Error('Added trip not found on the bookings list');\n }\n return tripAdded && response;\n })\n )\n ),\n takeUntil(this.ngDestroyed$)\n )\n .subscribe({\n next: () => {\n this.formStatus = FormStatus.COMPLETE;\n this.messageLabel = 'myTrips.addTrips.successMessage';\n },\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n error: (response: AddFrequentFlyerResponse) => {\n this.formStatus = FormStatus.ERROR;\n let messageLabel = 'myTrips.addTrips.errorMessage';\n\n if (response?.error?.status) {\n if (\n response.error.status.message === AddFrequentFlyerError.BOOKING_NOT_FOUND ||\n response.error.status.message === AddFrequentFlyerError.PASSENGER_NOT_FOUND\n ) {\n messageLabel = 'myTrips.addTrips.notFoundMessage';\n } else if (response.error.status.message === AddFrequentFlyerError.GROUP_BOOKING) {\n messageLabel = 'myTrips.addTrips.groupBookingMessage';\n }\n }\n\n this.messageLabel = messageLabel;\n },\n });\n }\n }\n}\n","\n \n \n
\n
\n
\n {{ activeMenuItemTitle$ | async }}\n
\n
\n \n
\n
\n \n
\n \n\n\n\n
  • \n \n {{ item.teaserTitle }}\n \n \n
  • \n
    \n","import { Component, Input, OnInit, ViewChild } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\nimport { ProfileType } from '@fcom/core-api/login';\nimport { ExpandComponent, MenuItemWithChildren } from '@fcom/common';\n\nimport { LoyaltyNavigationService } from '../../services/loyalty-navigation.service';\n\n@Component({\n selector: 'fin-loyalty-section-navigation',\n templateUrl: 'loyalty-section-navigation.component.html',\n styleUrls: ['loyalty-section-navigation.component.scss'],\n})\nexport class LoyaltySectionNavigationComponent implements OnInit {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n mobile = false;\n\n @Input()\n profileType: ProfileType = ProfileType.FPLUS;\n\n @ViewChild('expandNav', { static: false })\n expandNav: ExpandComponent;\n\n activeMenuItemTitle$: Observable;\n menuItems$: Observable;\n\n constructor(private loyaltyNavigationService: LoyaltyNavigationService) {}\n\n ngOnInit(): void {\n if (this.profileType !== ProfileType.CORPORATE && this.profileType !== ProfileType.FINNAIR_ACCOUNT) {\n this.menuItems$ = this.loyaltyNavigationService.getMenuItemsForProfileType(this.profileType);\n }\n this.activeMenuItemTitle$ = this.loyaltyNavigationService.getActiveMenuItemTitle(this.menuItems$);\n }\n\n toggleDetails(external: boolean): void {\n if (!external && this.expandNav) {\n this.expandNav.toggleDetails();\n }\n }\n}\n","import { Component, OnInit } from '@angular/core';\n\nimport { filter, map } from 'rxjs/operators';\nimport { NEVER, Observable } from 'rxjs';\n\nimport { CmsArticle, CmsTarget } from '@fcom/core-api';\nimport { isPresent } from '@fcom/core/utils';\nimport { PromoTheme } from '@fcom/ui-components';\nimport { FragmentService } from '@fcom/common';\n\n@Component({\n selector: 'fin-announcement-card',\n templateUrl: './announcement-card.component.html',\n styleUrls: ['./announcement-card.component.scss'],\n})\nexport class AnnouncementCardComponent implements OnInit {\n readonly PromoTheme = PromoTheme;\n\n promoCta$: Observable = NEVER;\n promoData$: Observable = NEVER;\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n this.promoData$ = this.fragmentService.getFragment('LOYALTY.fragments.announcementCard.url');\n this.promoCta$ = this.promoData$.pipe(\n map((data) => data?.related[0]),\n filter(isPresent),\n map(\n (item) =>\n ({\n ...item.target,\n title: item.teaserTitle,\n }) as CmsTarget\n )\n );\n }\n}\n","
    \n \n
    \n","export const formatMemberNumber = (memberNumber?: string): string => {\n if (!memberNumber) {\n return '';\n } else if (memberNumber.length !== 9 || /^\\d+$/.test(memberNumber) === false) {\n return memberNumber;\n }\n\n return memberNumber.replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n};\n","\n
    \n
    \n \n \n
    \n {{ plusCardData.cardTierFullName }}\n
    \n {{\n plusCardData.memberNumberFormatted\n }}\n
    \n
    \n {{ plusCardData.firstName + ' ' + plusCardData.lastName }}\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n\n \n
    \n \n {{ 'plus.dashboard.expires' | finLocalization }}\n {{ plusCardData.cardExpirationDate | finDateFormat: 'DATE' }}\n \n
    \n","import {\n Component,\n ElementRef,\n Inject,\n OnDestroy,\n OnInit,\n PLATFORM_ID,\n ViewChild,\n ChangeDetectionStrategy,\n Input,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nimport { IconLibrary } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { map, switchMap, withLatestFrom } from 'rxjs/operators';\n\nimport { AppState } from '@fcom/core';\nimport { CmsDataService } from '@fcom/core/services';\nimport { profile } from '@fcom/core/selectors';\nimport { CmsPicture, CmsTaxonomyPicture } from '@fcom/core-api';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { TIER_DATA_MAP, LoyaltyTierService, MemberTierDetails, type TierDataMap } from '@fcom/common';\nimport { AspectRatios } from '@fcom/ui-components';\nimport { finShare } from '@fcom/rx';\nimport { LanguageService } from '@fcom/ui-translate';\n\nimport { formatMemberNumber } from '../../utils/member.utils';\n\nexport type PlusCardData = Pick<\n MemberTierDetails,\n 'cardTier' | 'cardLifetimeTierFlag' | 'cardTierFullName' | 'isStartingTier' | 'cardExpirationDate'\n> & {\n memberNumberFormatted: string;\n firstName: string;\n lastName: string;\n};\n\n@Component({\n selector: 'fcom-plus-card',\n templateUrl: 'plus-card.component.html',\n styleUrls: ['./plus-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PlusCardComponent implements OnInit, OnDestroy {\n readonly AspectRatios = AspectRatios;\n readonly IconLibrary = IconLibrary;\n readonly ProfileTier = ProfileTier;\n\n readonly BASE_WIDTH = 327;\n readonly BASE_FONT_SIZE = 16;\n readonly TIER_DATA_MAP: TierDataMap = TIER_DATA_MAP;\n\n aviosLogo$: Observable;\n oneworldLogo$: Observable;\n plusCardData$: Observable;\n\n resizeObserver: ResizeObserver;\n fontSize$ = new BehaviorSubject(this.BASE_FONT_SIZE);\n\n @ViewChild('plusCard') plusCardElementRef: ElementRef;\n\n @Input()\n showCardExpirationDateIfApplicable = true;\n\n constructor(\n private store$: Store,\n private host: ElementRef,\n private loyaltyTierService: LoyaltyTierService,\n private cmsDataService: CmsDataService,\n @Inject(PLATFORM_ID) private platform: object,\n private languageService: LanguageService\n ) {}\n\n ngOnInit(): void {\n const profile$ = this.store$.pipe(profile(), finShare());\n const logos$: Observable<{ [key: string]: CmsPicture }> = profile$.pipe(\n switchMap((memberProfile) => {\n const aviosLogoName =\n memberProfile.cardTier === ProfileTier.BASIC || memberProfile.cardTier === ProfileTier.JUNIOR\n ? CmsTaxonomyPicture.FINNAIR_AVIOS_KEYLINE_NAVY\n : CmsTaxonomyPicture.FINNAIR_AVIOS_KEYLINE_WHITE;\n const taxonomyTags = [aviosLogoName, TIER_DATA_MAP[memberProfile.tier]?.oneworldLogo].filter(Boolean);\n\n return this.cmsDataService\n .getPicturesByTaxonomyTags(taxonomyTags, this.languageService.langValue, this.languageService.localeValue)\n .pipe(\n map((p) => {\n return { ...p, aviosLogoName: p[aviosLogoName] };\n })\n );\n }),\n finShare()\n );\n this.aviosLogo$ = logos$.pipe(map((logos) => logos?.aviosLogoName));\n this.oneworldLogo$ = logos$.pipe(\n withLatestFrom(profile$),\n map(([logos, memberProfile]) => logos[TIER_DATA_MAP[memberProfile.tier]?.oneworldLogo])\n );\n\n this.plusCardData$ = this.loyaltyTierService.getMemberTierDetails().pipe(\n withLatestFrom(profile$),\n map(\n ([\n { cardTier, cardTierFullName, isStartingTier, cardLifetimeTierFlag, cardExpirationDate },\n { memberNumber, firstname, lastname },\n ]) => ({\n cardTier,\n cardTierFullName,\n isStartingTier,\n cardLifetimeTierFlag,\n cardExpirationDate,\n memberNumberFormatted: formatMemberNumber(memberNumber),\n firstName: firstname,\n lastName: lastname,\n })\n )\n );\n\n if (isPlatformBrowser(this.platform)) {\n this.resizeObserver = new ResizeObserver((entries) => {\n this.fontSize$.next((this.BASE_FONT_SIZE * entries[0].contentRect.width) / this.BASE_WIDTH);\n });\n\n this.resizeObserver.observe(this.host.nativeElement);\n }\n }\n\n ngOnDestroy(): void {\n this.resizeObserver && this.resizeObserver.disconnect();\n }\n}\n","\n \n
    \n \n
    \n {{ pageTitle }}\n
    \n
    \n
    \n
    \n \n\n \n\n \n\n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n","import { Component, Input } from '@angular/core';\n\nimport { ProfileType } from '@fcom/core-api/login';\n\n@Component({\n selector: 'fin-loyalty-view',\n templateUrl: './loyalty-view.component.html',\n styleUrls: ['./loyalty-view.component.scss'],\n})\nexport class LoyaltyViewComponent {\n @Input()\n pageTitle: string;\n\n @Input()\n profileType = ProfileType.FPLUS;\n\n @Input()\n showPlusCard = false;\n\n @Input()\n showAnnouncementCard = false;\n}\n","\n \n
    \n \n
    \n
    \n \n
    \n\n
    \n \n \n
    \n
    \n
    \n","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\n\nimport { Observable, Subscription } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { PageMetaService } from '@fcom/common';\nimport { ConfigService } from '@fcom/core';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { unsubscribe } from '@fcom/core/utils';\n\nimport { LoyaltyRoutesPath } from '../../interfaces/loyalty.interface';\nimport { setPageMetadata } from '../../utils';\n\n@Component({\n selector: 'fin-loyalty-my-trips',\n templateUrl: './loyalty-my-trips.component.html',\n})\nexport class LoyaltyMyTripsComponent implements OnInit, OnDestroy, AfterViewInit {\n template$: Observable;\n pageTitle$: Observable;\n subscriptions: Subscription = new Subscription();\n enableShowingSAF: boolean;\n\n constructor(\n private languageService: LanguageService,\n private cmsTemplateService: CmsTemplateService,\n private pageMetaService: PageMetaService,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.enableShowingSAF = this.configService.cfg.enableShowingSAF;\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.MY_TRIPS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n \n \n \n {{ notificationData.message }}\n \n \n \n\n","import { Component, OnInit } from '@angular/core';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, combineLatest, Observable, Subject } from 'rxjs';\nimport { take, pluck, map, takeUntil } from 'rxjs/operators';\n\nimport { NotificationLayout } from '@fcom/ui-components';\nimport { StorageService, AppState } from '@fcom/core';\nimport { ProfileTier, ProfileType } from '@fcom/core-api/login';\nimport { profile, profileType } from '@fcom/core/selectors';\nimport { LocalizationPipe } from '@fcom/ui-translate/pipes/localization.pipe';\n\nexport const LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY = 'loyalty-global-notification-closed';\n\n@Component({\n selector: 'fin-loyalty-global-notification',\n templateUrl: './loyalty-global-notification.component.html',\n})\nexport class LoyaltyGlobalNotificationComponent implements OnInit {\n private destroy$ = new Subject();\n\n readonly NotificationLayout = NotificationLayout;\n readonly ProfileTier = ProfileTier;\n readonly ProfileType = ProfileType;\n\n showNotification$ = new BehaviorSubject(false);\n profileTier$: Observable;\n profileType$: Observable;\n notificationData$: Observable<{ hidden: boolean; message?: string }>;\n\n constructor(\n private store$: Store,\n private storageService: StorageService,\n private finLocalization: LocalizationPipe\n ) {\n this.profileTier$ = this.store$.pipe(profile(), pluck('tier'), takeUntil(this.destroy$));\n this.profileType$ = this.store$.pipe(profileType(), take(1));\n\n this.notificationData$ = combineLatest([this.profileTier$, this.showNotification$]).pipe(\n map(([tier, showNotification]) => {\n let isInitiallyHidden = 'true';\n let message = '';\n\n switch (tier) {\n case ProfileTier.BASIC:\n case ProfileTier.JUNIOR:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.generalTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.generalTier.message');\n break;\n case ProfileTier.SILVER:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.silverTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.silverTier.message');\n break;\n case ProfileTier.GOLD:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.goldTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.goldTier.message');\n break;\n case ProfileTier.PLATINUM:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.platinumTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.platinumTier.message');\n break;\n case ProfileTier.LUMO:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.platinumLumoTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.platinumLumoTier.message');\n break;\n }\n\n return { hidden: !showNotification || isInitiallyHidden !== 'false' || !message, message };\n }),\n takeUntil(this.destroy$)\n );\n }\n\n ngOnInit() {\n this.showNotification$.next(\n (this.storageService.LOCAL.get(LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY) || 'false') === 'false'\n );\n }\n\n onCloseNotification() {\n this.storageService.LOCAL.set(LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY, true);\n this.showNotification$.next(false);\n }\n\n onDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n}\n","\n\n\n\n\n
    \n \n\n @if (enablePageFeedback) {\n \n }\n
    \n\n
    \n \n
    \n","import { Component, Inject, OnDestroy, OnInit, PLATFORM_ID } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { NavigationEnd, Router } from '@angular/router';\n\nimport { Observable, ReplaySubject, Subscription } from 'rxjs';\nimport { filter, map, startWith, switchMap } from 'rxjs/operators';\n\nimport { NavigationMenuService, ScrollService } from '@fcom/common/services';\nimport { isNotEmpty, sanitizeWhiteListedPath, unsubscribe } from '@fcom/core/utils';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { BreadcrumbService } from '@fcom/common/services/breadcrumb/breadcrumb.service';\nimport { isNavigationEvent } from '@fcom/common/utils';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { ConfigService } from '@fcom/core';\nimport { finShare } from '@fcom/rx';\n\nimport { LoyaltyRoutesPath } from '../../interfaces/loyalty.interface';\n\nconst NO_CMS_CONTENT_PATHS = [\n `${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.ERROR}`,\n `${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.CAMPAIGN_ENROLL}`,\n];\n\n@Component({\n selector: 'fin-loyalty-layout',\n templateUrl: './loyalty-layout.component.html',\n})\nexport class LoyaltyLayoutComponent implements OnInit, OnDestroy {\n subscriptions: Subscription = new Subscription();\n isFooterOpen$: Observable;\n path$: ReplaySubject = new ReplaySubject(1);\n enablePageFeedback = false;\n\n constructor(\n private navigationMenuService: NavigationMenuService,\n private router: Router,\n private scrollService: ScrollService,\n private cmsTemplateService: CmsTemplateService,\n private breadcrumbService: BreadcrumbService,\n private configService: ConfigService,\n @Inject(PLATFORM_ID) private platform: object\n ) {\n this.subscriptions.add(\n this.router.events\n .pipe(\n filter(isNavigationEvent),\n filter(() => isPlatformBrowser(this.platform)),\n map((event: NavigationEnd) => event.url.replace(/\\(.*\\)/, '')),\n startWith(this.router.routerState.snapshot.url),\n finShare()\n )\n .subscribe((url) => {\n this.scrollService.scrollTop();\n this.path$.next(sanitizeWhiteListedPath(url, this.configService.cfg));\n })\n );\n this.isFooterOpen$ = this.navigationMenuService.isFooterOpen$;\n }\n\n ngOnInit(): void {\n this.subscriptions.add(\n this.path$\n .pipe(\n filter((path) => !NO_CMS_CONTENT_PATHS.some((noCmsPath) => path.endsWith(noCmsPath))),\n switchMap((path) => this.cmsTemplateService.load(path)),\n map((a: CmsTemplate) => a?.header?.[0]?.navigationPathList),\n filter(isNotEmpty)\n )\n .subscribe((pathList) => this.breadcrumbService.setBreadcrumbNormal(pathList))\n );\n\n if (this.configService.cfg.enableQualtricsPageFeedback) {\n this.enablePageFeedback = true;\n }\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","export enum GuardianInformationFormField {\n GUARDIAN_NAME = 'guardianName',\n GUARDIAN_PHONE_NUMBER = 'guardianPhoneNumber',\n GUARDIAN_EMAIL = 'guardianEmail',\n GUARDIAN_MEMBER_NUMBER = 'guardianMemberNumber',\n GUARDIAN_CONSENT = 'guardianConsent',\n}\n","export interface TransactionsRequest {\n transactionsRequest: {\n continuationToken?: string;\n };\n}\n\nexport interface TransactionsResponse {\n transactions: {\n partStatus: {\n code: TransactionsResponsePartStatusCode;\n versionTimestamp: string;\n continuationToken?: string;\n };\n transactions: Transaction[];\n };\n}\n\nexport enum TransactionsResponsePartStatusCode {\n SUCCESS = 'SUCCESS',\n RETRY_LATER = 'RETRY_LATER',\n OTHER_ERROR = 'OTHER_ERROR',\n}\n\nexport enum TransactionStatus {\n PROCESSED = 'Processed',\n CANCELLED = 'Cancelled',\n VERIFIED = 'Verified',\n MANUALLY_CANCELLED = 'Manually Cancelled',\n PARTNER_APPROVED = 'Partner Approved',\n PARTNER_PENDING = 'Partner Pending',\n PARTNER_VERIFIED = 'Partner Verified',\n PARTNER_REJECT = 'Partner Rejected',\n}\n\nexport interface Transaction {\n awardPoints: string;\n date: string;\n description: string;\n destinationAirport?: string;\n id: string;\n originationAirport?: string;\n flight?: string;\n partnerId: string;\n partnerName: string;\n partnerType?: string;\n productType: TransactionProductType;\n status: TransactionStatus;\n tierPoints: string;\n transactionId: string;\n transactionSubType: string;\n cancelledTxnId?: string;\n ayBookingDate?: string;\n fareFamily?: string;\n productName: string;\n travelClass?: string;\n ticketNumber?: string;\n bookingClass?: string;\n animationOrder?: number;\n isAviosTransaction?: boolean;\n}\n\nexport enum TransactionProductType {\n AIRLINE_AWARD = 'Airline Award',\n AIRLINE_FLIGHT = 'Airline Flight',\n POINTS_AND_CASH = 'Points + Cash',\n HOTEL_AWARD = 'Hotel Award',\n ELECTRONIC_VOUCHER = 'Electronic Voucher',\n TOUR_OPERATOR = 'Tour Operator',\n OTHER_AWARD = 'Other Award',\n MERCHANDISE = 'Merchandise',\n GOODWILL = 'Goodwill',\n SERVICES = 'Services',\n}\n","export interface Voucher {\n amount: number;\n description: string;\n expirationDate: string;\n memberNumber: string;\n productName: VoucherProductName;\n qty: string;\n status: VoucherStatus;\n transactionId: string;\n type: VoucherType;\n voucherCode: VoucherCode;\n voucherExpiredDate: string;\n voucherExpiredMonth: string;\n voucherExpiredYear: string;\n voucherIssuedDate: string;\n voucherIssuedMonth: string;\n voucherIssuedYear: string;\n voucherNumber: string;\n voucherNumbers: string[];\n}\n\nexport enum VoucherType {\n LONG_HAUL = 'Long Haul',\n}\n\nexport enum VoucherProductName {\n LONG_HAUL_UPGRADE = 'Long Haul Upgrade',\n UPGRADE_BENEFIT = 'Upgrade Benefit',\n EUROPE_UPGRADE = 'Europe Upgrade',\n GOLD_CARD_GIFT = 'Gold Card Gift',\n AY_LOUNGE_PASS = 'AY Lounge Pass',\n MILESTONE_200K = 'Milestone 200K',\n}\n\nexport enum VoucherStatus {\n AVAILABLE = 'Available',\n}\n\nexport enum VoucherCode {\n ELECTRONIC_VOUCHER = 'Electronic Voucher',\n}\n\nexport interface VouchersResponse {\n vouchers: {\n partStatus: {\n code: string;\n versionTimestamp: string;\n };\n vouchers: Voucher[];\n };\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable, of, throwError, timer } from 'rxjs';\nimport { catchError, filter, map, mergeMap, retryWhen, switchMap, take } from 'rxjs/operators';\n\nimport { AppState, ConfigService, SentryLogger } from '@fcom/core';\nimport { loginToken } from '@fcom/core/selectors';\n\nimport {\n Transaction,\n TransactionsRequest,\n TransactionsResponse,\n TransactionsResponsePartStatusCode,\n} from '../interfaces';\n\nexport enum Status {\n INITIAL,\n LOADING,\n COMPLETE,\n EMPTY,\n ERROR,\n ALL_LOADED,\n}\n\n@Injectable()\nexport class TransactionService {\n private accessToken$: Observable;\n private continuationToken: string;\n\n status$: BehaviorSubject = new BehaviorSubject(Status.INITIAL);\n transactionsStore: Transaction[] = [];\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService\n ) {\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1)) as Observable;\n }\n\n getTransactions(): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.apiProfileUrl;\n const xApiKey = this.configService.cfg.loyaltyServices.legacy.apiProfileApiKey;\n\n const MAX_ATTEMPTS = 50;\n const BACKOFF_MS = 2000;\n\n if (this.continuationToken === 'END') {\n const status = this.transactionsStore.length ? Status.ALL_LOADED : Status.EMPTY;\n this.status$.next(status);\n return of([]);\n }\n\n this.status$.next(Status.LOADING);\n return this.accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n 'x-api-key': xApiKey,\n oauth_token: token,\n }),\n };\n\n const payload: TransactionsRequest = {\n transactionsRequest: {\n ...(this.continuationToken && { continuationToken: this.continuationToken }),\n },\n };\n\n return this.http.post(apiUrl, payload, httpOptions).pipe(\n map((response) => this.handleResponse(response)),\n retryWhen((attempts) =>\n attempts.pipe(\n mergeMap((error, i) => {\n if (i >= MAX_ATTEMPTS || error.message !== 'retry later') {\n return throwError(() => new Error('Error when requesting transactions'));\n }\n return timer(BACKOFF_MS);\n })\n )\n ),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n private handleResponse(response: TransactionsResponse): Transaction[] {\n if (response.transactions.partStatus.code === TransactionsResponsePartStatusCode.SUCCESS) {\n this.continuationToken = response.transactions.partStatus.continuationToken;\n if (this.continuationToken === 'END') {\n const status =\n this.transactionsStore.length || response.transactions.transactions.length ? Status.ALL_LOADED : Status.EMPTY;\n this.status$.next(status);\n } else {\n this.status$.next(Status.COMPLETE);\n }\n return response.transactions.transactions;\n } else if (response.transactions.partStatus.code === TransactionsResponsePartStatusCode.RETRY_LATER) {\n throw new Error('retry later');\n } else if (response.transactions.partStatus.code === TransactionsResponsePartStatusCode.OTHER_ERROR) {\n this.status$.next(Status.ERROR);\n }\n throw new Error('Error when requesting transactions');\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpHeaders, HttpClient } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable, of, throwError } from 'rxjs';\nimport { switchMap, filter, take, map, catchError } from 'rxjs/operators';\n\nimport { SentryLogger, AppState, ConfigService } from '@fcom/core';\nimport { loginToken } from '@fcom/core/selectors';\nimport { before, TimeUnit, add } from '@fcom/core/utils';\n\nimport { VouchersResponse, Voucher, VoucherProductName } from '../interfaces';\n\nexport enum UpgradeBenefitsState {\n LOADING = 'loading',\n COMPLETED = 'completed',\n ERROR = 'error',\n}\n\n@Injectable()\nexport class VoucherService {\n private accessToken$: Observable;\n private vouchers: Voucher[];\n status$: BehaviorSubject = new BehaviorSubject(\n UpgradeBenefitsState.LOADING\n );\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService\n ) {\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1)) as Observable;\n }\n\n getVouchers(): Observable {\n if (this.vouchers) {\n return of(this.vouchers);\n }\n\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.apiProfileUrl;\n const xApiKey = this.configService.cfg.loyaltyServices.legacy.apiProfileApiKey;\n\n this.status$.next(UpgradeBenefitsState.LOADING);\n return this.accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n 'x-api-key': xApiKey,\n oauth_token: token,\n }),\n };\n\n return this.http.post(apiUrl, { vouchersRequest: {} }, httpOptions).pipe(\n map((response) => {\n if (response.vouchers.partStatus.code === 'SUCCESS') {\n this.status$.next(UpgradeBenefitsState.COMPLETED);\n this.vouchers = response.vouchers.vouchers;\n return response.vouchers.vouchers;\n }\n throw new Error('Error when requesting vouchers');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.status$.next(UpgradeBenefitsState.ERROR);\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n expiringTravelClassUpgradeVouchers(vouchers: Voucher[]): Voucher[] {\n return vouchers.filter(isUpgradeVoucher).filter(isExpiringVoucher).sort(sortByExpirationDate);\n }\n}\n\nconst isUpgradeVoucher = (voucher: Voucher) =>\n voucher.productName === VoucherProductName.EUROPE_UPGRADE ||\n voucher.productName === VoucherProductName.LONG_HAUL_UPGRADE;\n\nconst VOUCHER_EXPIRY_MONTHS = 1;\n\nconst isExpiringVoucher = (voucher: Voucher) =>\n before(new Date(voucher.expirationDate), add(new Date(), VOUCHER_EXPIRY_MONTHS, TimeUnit.month), TimeUnit.day);\n\nconst sortByExpirationDate = (voucherA: Voucher, voucherB: Voucher) =>\n voucherA.expirationDate > voucherB.expirationDate ? -1 : voucherB.expirationDate > voucherA.expirationDate ? 1 : 0;\n","
    \n
    \n
    \n {{ 'plus.pointsBalance.availableAwardPoints' | finLocalization }}\n \n
    \n
    \n \n {{ profile.awardPoints | finPoints }}\n
    \n

    \n {{\n (profile.tier === ProfileTier.JUNIOR\n ? 'LOYALTY.pointsBalance.juniorBenefits'\n : (hideZeroPtsTiersMsg | async)\n ? 'LOYALTY.pointsBalance.noPointsMainText'\n : show\n ? 'LOYALTY.pointsBalance.usingToExtend'\n : 'LOYALTY.pointsBalance.usingPoints'\n ) | finLocalization\n }}\n

    \n
    \n
    \n
    \n \n
    \n\n \n \n\n
    \n {{\n ((hideZeroPtsTiersMsg | async)\n ? 'LOYALTY.pointsBalance.noPointsFooterText'\n : show\n ? 'LOYALTY.pointsBalance.expire'\n : 'LOYALTY.pointsBalance.noExpire'\n )\n | finLocalization\n : {\n date: expirationDate$ | async | finDateFormat: 'DATE',\n tier: TIER_DATA_MAP[profile.tier]?.tierName ?? '',\n }\n }}\n
    \n
    \n
    \n\n","import { Component, EventEmitter, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LocalDate } from '@fcom/core/utils';\nimport { AppState } from '@fcom/core';\nimport { profile } from '@fcom/core/selectors';\nimport { Profile, ProfileTier } from '@fcom/core-api/login';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\nimport { ButtonSize, ButtonTheme, TagTheme } from '@fcom/ui-components';\nimport { TIER_DATA_MAP } from '@fcom/common';\n\n@Component({\n selector: 'fin-points-balance',\n templateUrl: 'points-balance.component.html',\n})\nexport class PointsBalanceComponent implements OnInit {\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly ProfileTier = ProfileTier;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TagTheme = TagTheme;\n readonly TIER_DATA_MAP = TIER_DATA_MAP;\n\n @Output()\n ctaClicked: EventEmitter = new EventEmitter();\n\n profile$: Observable;\n showPointExpiry$: Observable;\n expirationDate$: Observable;\n hideZeroPtsTiersMsg: Observable;\n\n // Award points don't expire on Junior, Platinum, and Lumo tiers including Platinum Lifetime (in which case tier is always Platinum or Lumo)\n NON_EXPIRING = [ProfileTier.JUNIOR, ProfileTier.PLATINUM, ProfileTier.LUMO];\n NON_POINTS_HIDE_MESSAGE = [ProfileTier.BASIC, ProfileTier.SILVER, ProfileTier.GOLD];\n\n constructor(\n private store$: Store,\n private profileService: ProfileService\n ) {}\n\n ngOnInit(): void {\n this.profile$ = this.store$.pipe(profile());\n this.showPointExpiry$ = this.profile$.pipe(map(({ tier }) => !this.NON_EXPIRING.includes(tier)));\n\n this.hideZeroPtsTiersMsg = this.profile$.pipe(\n map(({ tier, awardPoints }) => this.NON_POINTS_HIDE_MESSAGE.includes(tier) && awardPoints === 0)\n );\n\n this.expirationDate$ = this.profileService\n .getFullProfile()\n .pipe(\n map(({ expirationDate }) => (expirationDate ? new LocalDate(expirationDate) : LocalDate.now().plusMonths(18)))\n );\n }\n}\n","\n {{ progressText }}\n {{ targetText }}\n\n\n \n\n
    \n \n
    \n","import { Component, Input, OnChanges, OnInit } from '@angular/core';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\n\n/**\n * This component can be used to display progress towards a target/goal.\n *\n * @example\n * \n * {{ progress }} / {{ total }}\n * \n */\n\n@Component({\n selector: 'fcom-progress-indicator',\n templateUrl: './progress-indicator.component.html',\n styleUrls: ['./progress-indicator.component.scss'],\n animations: [\n trigger('fillGrow', [\n state(\n 'void',\n style({\n transform: 'scaleX(0)',\n })\n ),\n state(\n '*',\n style({\n transform: 'scaleX({{ progress }})',\n }),\n { params: { progress: 0 } }\n ),\n transition('void => *', animate('1500ms cubic-bezier(0.66, 0, 0.33, 1)')),\n transition('* => *', animate('1500ms cubic-bezier(0.66, 0, 0.33, 1)')),\n ]),\n ],\n})\nexport class ProgressIndicatorComponent implements OnInit, OnChanges {\n /**\n * The current value on the indicator\n */\n @Input()\n progress = 0;\n\n /**\n * The total/target value to achieve\n */\n @Input()\n total = 100;\n\n /**\n * Optional descriptive label what type of progress is being indicated\n */\n @Input()\n progressText: string;\n\n /**\n * Optional descriptive label for the type of target to achieve\n */\n @Input()\n targetText: string;\n\n /**\n * Progress fill color\n */\n @Input()\n fillColor = 'heather-700-bg';\n\n /**\n * Descriptive aria-label for progress indicator\n */\n @Input({ required: true })\n ariaLabel: string;\n\n max: boolean;\n percentage: number;\n progressScaleX: number;\n\n ngOnInit(): void {\n this.max = this.isOverMax();\n this.percentage = this.getPercentage();\n this.onProgressFill();\n }\n\n ngOnChanges(): void {\n this.max = this.isOverMax();\n this.percentage = this.getPercentage();\n this.onProgressFill();\n }\n\n private onProgressFill(): void {\n this.progressScaleX = this.max ? 1 : this.getPercentage() * 0.01;\n }\n\n private isOverMax(): boolean {\n return this.progress > this.total;\n }\n\n private getPercentage(): number {\n return this.max ? 100 : (this.progress / this.total) * 100;\n }\n}\n","\n \n
    \n
    \n \n \n
    \n \n \n
    \n \n \n\n
    \n \n \n \n \n
    \n\n \n \n\n
    \n {{\n showLifetime && !!lifetimeProgressData.lifetimeTier\n ? ('LOYALTY.tierProgress.reachedLifetime' | finLocalization: { tier: lifetimeProgressData.lifetimeTier })\n : ((tierProgressData.isStartingTier ? 'LOYALTY.tierProgress.trackingEnd' : 'LOYALTY.tierProgress.tierValid')\n | finLocalization\n : {\n tier: tierProgressData.tierName,\n date:\n (tierProgressData.isStartingTier\n ? tierProgressData.trackingPeriodEnd\n : tierProgressData.cardExpirationDate\n ) | finDateFormat: 'DATE',\n })\n }}\n
    \n \n \n
    \n\n\n \n\n \n
    \n
    \n \n
    \n\n \n
    \n \n
    \n\n
    \n = 10\"\n class=\"font-body-1 inline-block nordic-blue-50-bg rounded bold-type ps-xxsmall-y ps-xsmall-x rounded-large ms-medium-b\"\n data-testid=\"tier-progress-target\"\n >\n \n\n \n \n {{ 100 - tierProgressData.tierProgress + '% ' }}\n {{\n ((tierProgressData.tierState === TierState.GAIN\n ? 'plus.pointsBalance.progressTo'\n : 'plus.pointsBalance.progressToMaintain'\n ) | finLocalization) + ' '\n }}\n {{ tierProgressData.targetTierName }}\n \n\n \n {{\n 'LOYALTY.tierProgress.highestLumo'\n | finLocalization\n : { tierProgress: tierProgressData.tierProgress, tier: tierProgressData.targetTierName }\n }}\n \n \n \n\n \n {{\n (tierProgressData.tierState === TierState.GAIN\n ? 'LOYALTY.tierProgress.gainTier'\n : 'LOYALTY.tierProgress.maintainTier'\n ) | finLocalization: { tier: tierProgressData.targetTierName }\n }}\n

    \n\n \n {{\n (tierProgressData.tierState === TierState.GAIN\n ? 'LOYALTY.tierProgress.gainLumo'\n : 'LOYALTY.tierProgress.maintainLumo'\n )\n | finLocalization\n : {\n points: tierProgressData.targetTierLimit | finPoints,\n finnairPoints: (tierProgressData.aySecretTierPointsRequired | finPoints),\n }\n }}\n

    \n\n
    \n\n \n {{ 'LOYALTY.tierProgress.pointsCollected' | finLocalization }}\n \n {{ tierProgressData.aySecretTierPoints | finPoints }} /\n {{ tierProgressData.aySecretTierPointsRequired | finPoints }}\n \n

    \n\n

    \n {{ 'LOYALTY.tierProgress.trackingPeriod' | finLocalization }}\n \n {{ tierProgressData.trackingPeriodStart | finDateFormat: 'DATE' }}\n -\n {{ tierProgressData.trackingPeriodEnd | finDateFormat: 'DATE' }}\n \n

    \n
    \n
    \n \n\n \n
    \n {{\n tierProgressData.tierPointsCollected | finPoints\n }}\n
    \n / {{ tierProgressData.targetTierLimit | finPoints }}\n {{ tierProgressData.targetTierName }}\n
    \n
    \n
    \n
    \n
    \n\n\n
    \n \n\n
    \n
    \n \n
    \n
    \n

    \n {{\n lifetimeProgressData.lifetimeTier === ProfileTier.PLATINUM\n ? ('LOYALTY.tierProgress.withLifetimePlatinum' | finLocalization)\n : ('LOYALTY.tierProgress.withLifeTime'\n | finLocalization: { tier: lifetimeProgressData.lifetimeTargetTier })\n }}\n

    \n
    \n \n
    \n
    \n\n \n
    \n
    \n {{ lifetimeProgressData.qualifyingLifetimeTierPoints | finPoints }} /\n {{ lifetimeProgressData.lifetimeTargetTierLimit | finPoints }}\n
    \n
    \n
    \n\n \n \n \n
    \n
    \n\n\n
    \n {{ title }}\n {{ 'plus.pointsBalance.lifetimeTier' | finLocalization: { tier: lifetimeProgressData.lifetimeTier } }}\n
    \n
    \n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { ButtonTheme, IconPosition } from '@fcom/ui-components';\nimport { MediaQueryService, LoyaltyTierService, TierState, MemberTierDetails } from '@fcom/common';\nimport { finShare } from '@fcom/rx';\n\nexport type TierProgressData = Pick<\n MemberTierDetails,\n | 'tierName'\n | 'tierState'\n | 'isJuniorMember'\n | 'isStartingTier'\n | 'isGainingMaintainingOrHighestLumo'\n | 'targetTier'\n | 'targetTierName'\n | 'trackingPeriodStart'\n | 'trackingPeriodEnd'\n | 'cardExpirationDate'\n | 'targetTierLimit'\n | 'aySecretTierPointsRequired'\n | 'aySecretTierPoints'\n | 'tierPointsCollected'\n | 'targetTierFlightLimit'\n | 'qualifyingFlights'\n | 'tierProgress'\n>;\n\nexport type LifetimeProgressData = Pick<\n MemberTierDetails,\n 'lifetimeTier' | 'lifetimeTargetTier' | 'lifetimeTargetTierLimit' | 'qualifyingLifetimeTierPoints'\n>;\n\n@Component({\n selector: 'fin-tier-progress',\n templateUrl: 'tier-progress.component.html',\n styleUrls: ['./tier-progress.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TierProgressComponent implements OnInit {\n readonly ButtonTheme = ButtonTheme;\n readonly IconPosition = IconPosition;\n readonly ProfileTier = ProfileTier;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TierState = TierState;\n\n tierProgressData$: Observable;\n lifetimeProgressData$: Observable;\n\n isMobile$: Observable;\n showLifetime$: BehaviorSubject = new BehaviorSubject(false);\n\n constructor(\n private mediaQueryService: MediaQueryService,\n private loyaltyTierService: LoyaltyTierService\n ) {}\n\n ngOnInit(): void {\n this.isMobile$ = this.mediaQueryService.isBreakpoint$('mobile');\n\n const getMemberTierDetails$ = this.loyaltyTierService.getMemberTierDetails().pipe(finShare());\n\n this.tierProgressData$ = getMemberTierDetails$.pipe(\n map((memberTierDetails) => {\n return {\n tierName: memberTierDetails.tierName,\n tierState: memberTierDetails.tierState,\n isJuniorMember: memberTierDetails.isJuniorMember,\n isStartingTier: memberTierDetails.isStartingTier,\n isGainingMaintainingOrHighestLumo: memberTierDetails.isGainingMaintainingOrHighestLumo,\n targetTier: memberTierDetails.targetTier,\n targetTierName: memberTierDetails.targetTierName,\n cardExpirationDate: memberTierDetails.cardExpirationDate,\n trackingPeriodStart: memberTierDetails.trackingPeriodStart,\n trackingPeriodEnd: memberTierDetails.trackingPeriodEnd,\n targetTierLimit: memberTierDetails.targetTierLimit,\n aySecretTierPointsRequired: memberTierDetails.aySecretTierPointsRequired,\n aySecretTierPoints: memberTierDetails.aySecretTierPoints,\n tierPointsCollected: memberTierDetails.tierPointsCollected,\n targetTierFlightLimit: memberTierDetails.targetTierFlightLimit,\n qualifyingFlights: memberTierDetails.qualifyingFlights,\n tierProgress: memberTierDetails.tierProgress,\n };\n }),\n finShare()\n );\n\n this.lifetimeProgressData$ = getMemberTierDetails$.pipe(\n map((memberTierDetails) => {\n return {\n lifetimeTier: memberTierDetails.lifetimeTier,\n lifetimeTargetTier: memberTierDetails.lifetimeTargetTier,\n lifetimeTargetTierLimit: memberTierDetails.lifetimeTargetTierLimit,\n qualifyingLifetimeTierPoints: memberTierDetails.qualifyingLifetimeTierPoints,\n };\n }),\n finShare()\n );\n }\n}\n","\n {{ 'plus.transactionHistory.popupButton' | finLocalization }}\n \n\n

    \n {{ 'plus.transactionHistory.noTransactions' | finLocalization }}\n

    \n
    \n

    {{ 'plus.transactionHistory.loading' | finLocalization }}

    \n \n
    \n\n\n
    0\" class=\"border rounded-large overflow-hidden\">\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n {{\n hiddenCaptionText\n }}\n
    \n \n \n \n \n \n
    \n \n {{ transaction.date | finDateFormat: 'DATE' }}\n \n \n {{ transaction.description }}\n \n \n \n {{\n transaction.awardPoints === '0'\n ? '0'\n : transaction.isAviosTransaction\n ? (transaction.awardPoints | finPoints)\n : (transaction.awardPoints | finPoints) +\n ' ' +\n ('plus.transactionHistory.awardPointType' | finLocalization)\n }}\n \n \n \n {{\n transaction.tierPoints === '0'\n ? '0'\n : transaction.isAviosTransaction\n ? (transaction.tierPoints | finPoints)\n : (transaction.tierPoints | finPoints) +\n ' ' +\n ('plus.transactionHistory.tierPointType' | finLocalization)\n }}\n \n \n {{ 'plus.transactionHistory.pointsPending' | finLocalization }}\n \n \n {{ 'plus.transactionHistory.rejectedRequest' | finLocalization }}\n \n
    \n
    \n \n \n {{ 'plus.transactionHistory.error' | finLocalization }}\n \n
    0 && !loadingDisabled\" class=\"ms-medium-t flex flex--middle flex--end\">\n \n \n
    \n
    \n\n \n\n\n\n \n {{ 'plus.transactionHistory.loading' | finLocalization }}\n \n {{ 'plus.transactionHistory.rowsAdded' | finLocalization: { amount: a11yStatusAddedRowsAmount } }}\n {{ 'plus.transactionHistory.error' | finLocalization }}\n \n {{ 'plus.transactionHistory.allTransactionsloaded' | finLocalization }}\n\n\n\n \n \n {{ 'plus.transactionHistory.modal.pointsPending' | finLocalization }}\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n {{\n 'plus.transactionHistory.modal.dateAndType.heading' | finLocalization\n }}\n
    \n {{ 'plus.transactionHistory.modal.dateAndType.date' | finLocalization }}\n {{ templateTransaction.date | finDateFormat: 'DATE' }}
    \n {{ 'plus.transactionHistory.modal.dateAndType.type' | finLocalization }}\n {{ templateTransaction.productType }}
    \n\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ 'plus.transactionHistory.modal.description.operated' | finLocalization }}\n \n \n {{ 'plus.transactionHistory.modal.description.marketed' | finLocalization }}\n \n \n {{ 'plus.transactionHistory.modal.description.partnerName' | finLocalization }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n {{\n 'plus.transactionHistory.modal.description.heading' | finLocalization\n }}\n
    \n {{ 'plus.transactionHistory.modal.description.from' | finLocalization }}\n {{ templateTransaction.origin }}
    \n {{ 'plus.transactionHistory.modal.description.to' | finLocalization }}\n {{ templateTransaction.destination }}
    \n {{ 'plus.transactionHistory.modal.description.flightNumber' | finLocalization }}\n {{ templateTransaction.partnerName }} {{ templateTransaction.flight }}
    {{ templateTransaction.partner.name }}
    \n {{ 'plus.transactionHistory.modal.description.ticket' | finLocalization }}\n {{ templateTransaction.ticketNumber }}
    \n {{ 'plus.transactionHistory.modal.description.ticketType' | finLocalization }}\n {{ templateTransaction.fareFamily }}
    \n {{ 'plus.transactionHistory.modal.description.travelClass' | finLocalization }}\n {{ templateTransaction.travelClass }}
    \n {{ 'plus.transactionHistory.modal.description.bookingClass' | finLocalization }}\n {{ templateTransaction.bookingClass }}
    \n {{ 'plus.transactionHistory.modal.description.description' | finLocalization }}\n \n {{ 'plus.transactionHistory.modal.description.rejected' | finLocalization }}\n
    \n {{ 'plus.transactionHistory.modal.description.description' | finLocalization }}\n \n {{ templateTransaction.description }}\n \n — {{ 'plus.transactionHistory.modal.description.used' | finLocalization }}\n
    \n\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n {{\n ((transactionAvios$ | async) !== NotificationContextType.TierPointTransaction\n ? 'plus.transactionHistory.modal.points.headingAvios'\n : 'plus.transactionHistory.modal.points.heading'\n ) | finLocalization\n }}\n \n \n

    \n
    \n \n {{ 'plus.transactionHistory.modal.points.notification' | finLocalization }}\n \n \n
    \n \n \n
    \n {{\n ((transactionAvios$ | async) !== NotificationContextType.TierPointTransaction\n ? 'LOYALTY.plus.transactionHistory.aviosPoints'\n : 'plus.transactionHistory.modal.points.award'\n ) | finLocalization\n }}\n {{ templateTransaction.awardPoints | finPoints }}
    \n {{ 'plus.transactionHistory.modal.points.tier' | finLocalization }}\n {{ templateTransaction.tierPoints | finPoints }}
    \n\n \n
    \n\n\n\n
    \n
    \n

    \n {{ 'plus.transactionHistory.infoModal.awardPoints.heading' | finLocalization }}\n

    \n

    \n {{ 'plus.transactionHistory.infoModal.awardPoints.paragraph' | finLocalization }}\n

    \n

    \n {{ 'plus.transactionHistory.infoModal.awardPoints.subheading' | finLocalization }}\n

    \n
      \n
    • {{ 'plus.transactionHistory.infoModal.awardPoints.list.0' | finLocalization }}
    • \n
    • {{ 'plus.transactionHistory.infoModal.awardPoints.list.1' | finLocalization }}
    • \n
    • {{ 'plus.transactionHistory.infoModal.awardPoints.list.2' | finLocalization }}
    • \n
    \n
    \n
    \n

    \n {{ 'plus.transactionHistory.infoModal.tierPoints.heading' | finLocalization }}\n

    \n

    \n {{ 'plus.transactionHistory.infoModal.tierPoints.paragraph' | finLocalization }}\n

    \n
      \n
    • {{ 'plus.transactionHistory.infoModal.tierPoints.list.0' | finLocalization }}
    • \n
    • {{ 'plus.transactionHistory.infoModal.tierPoints.list.1' | finLocalization }}
    • \n
    \n
    \n
    \n\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, combineLatest, Observable, of, ReplaySubject, Subscription, withLatestFrom } from 'rxjs';\nimport { catchError, map, share, shareReplay, switchMap, take } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport {\n ButtonTheme,\n ButtonType,\n IconPosition,\n LoaderTheme,\n ModalButtons,\n NotificationLayout,\n NotificationTheme,\n} from '@fcom/ui-components';\nimport { ConfigService, LocationRouteCffService } from '@fcom/core/services';\nimport { PARTNER_AIRLINES, unsubscribe } from '@fcom/core/utils';\nimport { CmsArticle, CmsEditorialArticle, Location } from '@fcom/core-api';\nimport { FragmentService, LoaderType } from '@fcom/common';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\n\nimport { Status, TransactionService } from '../../services/transaction.service';\nimport { Transaction, TransactionProductType, TransactionStatus } from '../../interfaces';\n\nconst TRANSACTION_ROWS_VISIBLE = 6; // transactions to appear in the table at a time\n\ninterface ModalTransaction extends Transaction {\n origin: string;\n destination: string;\n partner: { name: string; code: string };\n}\nenum NotificationContextType {\n Avios = 'avios',\n BetweenAvios = 'betweenAvios',\n TierPointTransaction = 'tierPointsTransaction',\n}\n\n@Component({\n selector: 'fin-transaction-history',\n templateUrl: 'transaction-history.component.html',\n styleUrls: ['./transaction-history.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TransactionHistoryComponent implements OnInit, OnDestroy {\n public readonly Status = Status;\n public readonly LoaderType = LoaderType;\n public readonly ButtonTheme = ButtonTheme;\n public readonly ButtonType = ButtonType;\n public readonly NotificationTheme = NotificationTheme;\n public readonly NotificationLayout = NotificationLayout;\n public readonly LoaderTheme = LoaderTheme;\n public readonly IconPosition = IconPosition;\n public readonly NotificationContextType = NotificationContextType;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n DISPLAYED_TRANSACTIONS = [\n TransactionStatus.PROCESSED,\n TransactionStatus.CANCELLED,\n TransactionStatus.PARTNER_PENDING,\n TransactionStatus.PARTNER_REJECT,\n ];\n\n @ViewChild('loadButton', { static: false })\n loadButton: ElementRef;\n\n @ViewChild('openInfoModalButton', { static: false })\n openInfoModalButton: ElementRef;\n\n @Input()\n initialVisibleTransactionAmount: number = TRANSACTION_ROWS_VISIBLE;\n\n @Input()\n hideTooltip: boolean;\n\n @Input()\n showFullHistoryLink: boolean;\n\n @Input()\n hiddenCaptionText: string;\n\n ModalButtons = ModalButtons;\n TransactionStatus = TransactionStatus;\n TransactionProductType = TransactionProductType;\n LoyaltyRoutesPath = LoyaltyRoutesPath;\n visibleTransactions$: BehaviorSubject = new BehaviorSubject([]);\n modalTransaction$: ReplaySubject = new ReplaySubject(1);\n templateTransaction$: Observable;\n plusChanges$: Observable;\n visibleRowsAmount: number;\n allLoaded = false;\n loadingDisabled = false;\n status$: Observable;\n a11yStatusAddedRowsAmount: number;\n currentLanguage$: Observable;\n isInfoModalOpen = false;\n isTransactionModalOpen = false;\n airlines = PARTNER_AIRLINES;\n aviosCutOfDate = this.configService.cfg.enableAviosOverhaul.isAviosCuttoffDateEffective;\n promoCta$: Observable;\n promoData$: Observable;\n transactionAvios$: BehaviorSubject = new BehaviorSubject('');\n\n @ViewChildren('transactionRow', { read: ElementRef }) transactionRows: QueryList;\n\n subscriptions: Subscription = new Subscription();\n\n constructor(\n private transactionService: TransactionService,\n private locationRouteCffService: LocationRouteCffService,\n private languageService: LanguageService,\n private configService: ConfigService,\n private fragmentService: FragmentService\n ) {}\n\n ngOnInit(): void {\n this.visibleRowsAmount = this.initialVisibleTransactionAmount;\n this.currentLanguage$ = this.languageService.lang;\n this.status$ = this.transactionService.status$;\n this.promoData$ = this.fragmentService.getFragment(\n 'LOYALTY.fragments.transactionNotificationAvios.url'\n );\n this.promoCta$ = this.promoData$.pipe(map((data) => data as CmsEditorialArticle));\n this.subscriptions.add(\n this.status$.pipe(take(1)).subscribe((status) => {\n if (status === Status.INITIAL) {\n this.getTransactionFragment();\n } else {\n this.updateVisibleTransactions([]);\n }\n })\n );\n this.formatModalTransaction();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onLoadMoreTransactions(visibleTransactions: Transaction[]): void {\n const storeHasEnoughRows =\n this.transactionService.transactionsStore.length - visibleTransactions.length > this.visibleRowsAmount;\n const loadMoreToStore = !storeHasEnoughRows;\n if (storeHasEnoughRows) {\n const newRows = this.transactionService.transactionsStore.slice(\n visibleTransactions.length,\n visibleTransactions.length + this.visibleRowsAmount\n );\n this.visibleTransactions$.next(this.mapAnimationOrderToNewRows(visibleTransactions, newRows));\n this.a11yStatusAddedRowsAmount = newRows.length;\n } else if (loadMoreToStore && !this.allLoaded) {\n this.getTransactionFragment();\n } else {\n this.visibleTransactions$.next(\n this.mapAnimationOrderToNewRows(\n visibleTransactions,\n this.transactionService.transactionsStore.slice(visibleTransactions.length)\n )\n );\n this.loadingDisabled = true;\n }\n }\n\n onCloseNotification(): void {\n this.transactionService.status$.next(Status.INITIAL);\n }\n\n openTransactionModal(event: Event, transaction: Transaction): void {\n event.stopPropagation();\n this.modalTransaction$.next(transaction as ModalTransaction);\n this.isTransactionModalOpen = true;\n }\n\n closeTransactionModal(transactionId: string): void {\n this.transactionRows\n .find((item) => item.nativeElement.id === `transaction-row-${transactionId}`)\n ?.nativeElement.focus();\n }\n\n openInfoModal(event: MouseEvent): void {\n event.stopPropagation();\n this.isInfoModalOpen = true;\n }\n\n closeInfoModal(): void {\n if (this.openInfoModalButton) {\n this.openInfoModalButton.nativeElement.focus();\n }\n }\n\n private formatDescription(transaction): Observable {\n const descriptionKey =\n transaction.status === TransactionStatus.CANCELLED\n ? 'plus.transactionHistory.cancelled'\n : 'plus.transactionHistory.rejected';\n return this.languageService.translate(descriptionKey).pipe(\n map((translation) => {\n return `${translation}: ${transaction.description}`;\n })\n );\n }\n\n private formatModalTransaction(): void {\n this.templateTransaction$ = this.modalTransaction$.pipe(\n switchMap((transaction) => {\n const newTransaction = { ...transaction, partner: { name: transaction.partnerName, code: '' } };\n const modalPartner = this.airlines.find((airline) => airline.code === newTransaction.partnerName);\n if (modalPartner) {\n newTransaction.partner = modalPartner;\n }\n if (newTransaction.originationAirport && newTransaction.destinationAirport && !newTransaction.origin) {\n return combineLatest([\n this.locationCodeToLocation(newTransaction.originationAirport),\n this.locationCodeToLocation(newTransaction.destinationAirport),\n ]).pipe(\n take(1),\n map(([origin, destination]) => {\n newTransaction.origin = `${origin.locationCode} ${origin.title}`;\n newTransaction.destination = `${destination.locationCode} ${destination.title}`;\n return newTransaction;\n }),\n catchError(() => {\n newTransaction.origin = newTransaction.originationAirport;\n newTransaction.destination = newTransaction.destinationAirport;\n return of(newTransaction);\n })\n );\n }\n return of(newTransaction);\n }),\n // eslint-disable-next-line rxjs/no-sharereplay\n shareReplay(1)\n );\n }\n\n private getTransactionFragment(): void {\n const getTransactionsRequest$ = this.transactionService.getTransactions().pipe(take(1), share());\n const getTransactionsNewTransactions$ = getTransactionsRequest$.pipe(\n map((transactions: Transaction[]) =>\n transactions.filter(({ status }) => this.DISPLAYED_TRANSACTIONS.includes(status))\n ),\n switchMap((transactions: Transaction[]) =>\n combineLatest(\n transactions.map((transaction) => {\n const mappedTransaction: Transaction = {\n ...transaction,\n awardPoints: this.formatPoints(transaction.awardPoints),\n tierPoints: this.formatPoints(transaction.tierPoints),\n description: transaction.description?.replace('PlusShop', 'Finnair Shop'),\n };\n if (\n (transaction.productType === TransactionProductType.AIRLINE_FLIGHT ||\n transaction.productType === TransactionProductType.AIRLINE_AWARD) &&\n transaction.originationAirport &&\n transaction.destinationAirport\n ) {\n return combineLatest([\n this.locationCodeToLocation(transaction.originationAirport),\n this.locationCodeToLocation(transaction.destinationAirport),\n ]).pipe(\n map(([orig, dest]) => ({\n ...mappedTransaction,\n description: this.createTransactionDescription(transaction, orig, dest),\n })),\n catchError(() => {\n return of(mappedTransaction);\n })\n );\n }\n return of(mappedTransaction);\n })\n )\n ),\n switchMap((transactions: Transaction[]) =>\n combineLatest(\n transactions.map((transaction) => {\n if ([TransactionStatus.CANCELLED, TransactionStatus.PARTNER_REJECT].includes(transaction.status)) {\n return this.formatDescription(transaction).pipe(\n map((formatted) => ({\n ...transaction,\n description: formatted,\n }))\n );\n }\n return of(transaction);\n })\n )\n )\n );\n\n this.subscriptions.add(\n combineLatest([getTransactionsNewTransactions$, this.visibleTransactions$])\n .pipe(take(1), withLatestFrom(this.transactionService.status$))\n .subscribe(([[newTransactions, visibleTransactions], status]) => {\n if (status === Status.ALL_LOADED) {\n this.allLoaded = true;\n }\n if (newTransactions.length > 0) {\n this.transactionService.transactionsStore.push(...newTransactions);\n this.updateVisibleTransactions(visibleTransactions);\n }\n })\n );\n }\n\n private updateVisibleTransactions(visibleTransactions) {\n const newRows = this.transactionService.transactionsStore.slice(\n visibleTransactions.length,\n visibleTransactions.length + this.visibleRowsAmount\n );\n const newVisibleTransactions = this.mapAnimationOrderToNewRows(visibleTransactions, newRows);\n this.visibleTransactions$.next(newVisibleTransactions);\n this.a11yStatusAddedRowsAmount = newRows.length;\n if (this.allLoaded && newVisibleTransactions.length === this.transactionService.transactionsStore.length) {\n // Disable load more button if everything loaded and visible\n this.loadingDisabled = true;\n }\n }\n\n private createTransactionDescription(transaction: Transaction, orig: Location, dest: Location): string {\n if (transaction.productType === TransactionProductType.AIRLINE_AWARD) {\n return transaction.productName;\n }\n return `${orig.cityName} - ${dest.cityName}`;\n }\n\n private locationCodeToLocation(locationCode: string): Observable {\n return this.locationRouteCffService.bestGuessFor(locationCode, this.languageService.localeValue);\n }\n\n private formatPoints(value: string | undefined): string {\n if (value === undefined) {\n return '0';\n } else if (value.charAt(0) === '+') {\n return value;\n } else if (value.charAt(0) !== '-' && parseInt(value, 10) > 0) {\n value = `+${value}`;\n }\n return value;\n }\n\n private mapAnimationOrderToNewRows(currentRows: Transaction[], newRows: Transaction[]): Transaction[] {\n return [\n ...currentRows.map((row) => {\n return { ...row, animationOrder: undefined };\n }),\n ...newRows.map((row, index) => {\n return { ...row, animationOrder: index + 1 };\n }),\n ];\n }\n\n getNotificationContext(transaction: ModalTransaction): { context: NotificationContextType } {\n const ayBookingDate = transaction.ayBookingDate ? new Date(transaction.ayBookingDate) : undefined;\n const transactionDate = new Date(transaction.date);\n const cutOffDate = new Date(this.aviosCutOfDate);\n const transactionProductType = transaction.productType;\n if (!ayBookingDate && transactionDate > cutOffDate) {\n this.transactionAvios$.next(NotificationContextType.Avios);\n return { context: NotificationContextType.Avios };\n }\n if (!ayBookingDate && transactionDate < cutOffDate) {\n this.transactionAvios$.next(NotificationContextType.TierPointTransaction);\n return { context: NotificationContextType.TierPointTransaction };\n }\n const contextType =\n ayBookingDate > cutOffDate &&\n transactionDate > cutOffDate &&\n transactionProductType === TransactionProductType.AIRLINE_FLIGHT\n ? NotificationContextType.Avios\n : ayBookingDate < cutOffDate &&\n transactionDate > cutOffDate &&\n transactionProductType === TransactionProductType.AIRLINE_FLIGHT\n ? NotificationContextType.BetweenAvios\n : NotificationContextType.TierPointTransaction;\n this.transactionAvios$.next(contextType);\n return { context: contextType };\n }\n}\n","\n
    0\">\n \n \n \n 1\">{{\n 'plus.expiringVoucherNotification.multiple' | finLocalization\n }}\n \n {{\n 'plus.expiringVoucherNotification.europeUpgrade'\n | finLocalization: { date: expiringVouchers[0].expirationDate | finDateFormat: 'DATE' }\n }}\n {{\n 'plus.expiringVoucherNotification.longHaulUpgrade'\n | finLocalization: { date: expiringVouchers[0].expirationDate | finDateFormat: 'DATE' }\n }}\n \n \n \n \n \n
    \n
    \n","import { Component, Input, OnDestroy, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { distinctUntilChanged, Observable, of, Subscription } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { NotificationLayout, NotificationTheme } from '@fcom/ui-components';\nimport { GtmService } from '@fcom/common/gtm';\nimport { ElementActions, ElementTypes } from '@fcom/common';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { RootPaths } from '@fcom/core/constants';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\n\nimport { VoucherService } from '../../services/voucher.service';\nimport { Voucher, VoucherProductName } from '../../interfaces';\n\nconst TRACKING_ELEMENT_NAME = 'expiring-vouchers-notification';\n\n@Component({\n selector: 'fin-expiring-voucher-notification',\n templateUrl: './expiring-voucher-notification.component.html',\n})\nexport class ExpiringVoucherNotificationComponent implements OnInit, OnDestroy {\n readonly VoucherProductName = VoucherProductName;\n readonly ElementTypes = ElementTypes;\n readonly TRACKING_ELEMENT_NAME = TRACKING_ELEMENT_NAME;\n readonly GTM_TRACKING_CONTEXT = GaContext.FINNAIR_PLUS;\n readonly NotificationTheme = NotificationTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n vouchers$: Observable;\n\n oneUpgradeUrl$: Observable;\n expiringVouchers$: Observable;\n subscriptions: Subscription = new Subscription();\n\n constructor(\n private languageService: LanguageService,\n private gtmService: GtmService,\n private voucherService: VoucherService\n ) {\n this.oneUpgradeUrl$ = this.languageService.lang.pipe(map((lang) => `/${lang}/${RootPaths.ONE_UPGRADE_ROOT}`));\n }\n\n ngOnInit(): void {\n this.expiringVouchers$ = this.vouchers$.pipe(\n map((vouchers) => this.voucherService.expiringTravelClassUpgradeVouchers(vouchers)),\n distinctUntilChanged()\n );\n this.subscriptions.add(\n this.expiringVouchers$.subscribe((vouchers) => {\n if (vouchers.length > 0) {\n this.gtmService.trackElement(\n TRACKING_ELEMENT_NAME,\n GaContext.FINNAIR_PLUS,\n ElementTypes.BANNER,\n 'view',\n ElementActions.VIEW\n );\n }\n })\n );\n }\n\n onCloseNotification(): void {\n this.expiringVouchers$ = of([]);\n this.gtmService.trackElement(\n TRACKING_ELEMENT_NAME,\n GaContext.FINNAIR_PLUS,\n ElementTypes.BANNER,\n 'close',\n ElementActions.CLOSE\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n \n
    \n

    \n {{ 'LOYALTY.upgradeBenefits.loadingMessage' | finLocalization }}\n

    \n \n
    \n
    \n \n \n {{ 'LOYALTY.upgradeBenefits.errorLoadingBenefitsMessage' | finLocalization }}\n \n \n
    \n\n\n \n \n\n \n \n\n\n
    \n

    {{ benefitTitle }}

    \n\n 0 ? benefitList : noBenefits\"\n [ngTemplateOutletContext]=\"{ benefits, benefitCategory }\"\n >\n \n\n
    0\">\n \n \n \n
    \n
    \n\n \n
    \n \n \n \n \n {{ voucher.amount }}\n {{ voucher.benefitName }}{{ 'LOYALTY.upgradeBenefits.disturbanceLabel' | finLocalization }}\n \n
    \n \n {{ 'LOYALTY.upgradeBenefits.expiryText' | finLocalization }} \n {{ voucher.date | finDateFormat: 'DATE' }}\n
    \n \n
    \n {{\n 'LOYALTY.upgradeBenefits.expiryDetails' | finLocalization\n }}\n \n
    \n
    \n
    \n
    1 }\">\n \n
    1\" class=\"ps-xsmall-y font-body-2\">\n \n {{ v.amount }} {{ v.productName }}\n
    \n {{ 'LOYALTY.upgradeBenefits.expiryText' | finLocalization }} \n {{ v.date | finDateFormat: 'DATE' }}\n
    \n
    \n
    \n
    \n
    \n \n \n \n\n
    \n (displayedVoucherCount$ | async)\"\n class=\"ms-large-t\"\n [text]=\"'plus.transactionHistory.loadMore' | finLocalization\"\n [aria]=\"{ loadingLabel: 'actions.loading' | finLocalization }\"\n [theme]=\"ButtonTheme.LIGHT_SECONDARY_OUTLINE\"\n [icon]=\"{ name: SvgLibraryIcon.PLUS, position: IconPosition.RIGHT }\"\n (clickBtn)=\"displayedVoucherCount$.next(displayedCount + 3)\"\n data-testid=\"upgrade-benefits-load-more-button\"\n >\n \n
    \n
    \n\n \n
    \n

    \n {{ noBenefitsText }}\n

    \n
    \n \n \n \n
    \n
    \n
    \n\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, EMPTY, Observable, of } from 'rxjs';\nimport { catchError, map, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { finShare } from '@fcom/rx';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { RootPaths } from '@fcom/core/constants';\nimport {\n ButtonSize,\n ButtonTheme,\n ButtonType,\n IconPosition,\n LoaderTheme,\n NotificationLayout,\n NotificationTheme,\n} from '@fcom/ui-components';\nimport { AppState, ConfigService } from '@fcom/core';\nimport { profile } from '@fcom/core/selectors';\nimport { ProfileTier } from '@fcom/core-api/login';\n\nimport { Voucher, VoucherProductName } from '../../interfaces';\nimport { UpgradeBenefitsState, VoucherService } from '../../services/voucher.service';\n\ninterface VoucherAmountByDate {\n productName: VoucherProductName;\n date: string;\n amount: number;\n}\n\nexport enum BenefitCategory {\n UPGRADE = 'upgrade',\n OTHER = 'other',\n}\n\ninterface BenefitGroup {\n benefitName: string;\n productName: string;\n amount: number;\n changed: boolean;\n vouchers: VoucherAmountByDate[];\n type: BenefitCategory;\n date: string;\n}\n\n@Component({\n selector: 'fin-upgrade-benefits',\n templateUrl: './upgrade-benefits.component.html',\n styleUrls: ['./upgrade-benefits.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class UpgradeBenefitsComponent implements OnInit {\n readonly BenefitCategory = BenefitCategory;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonType = ButtonType;\n readonly IconPosition = IconPosition;\n readonly LoaderTheme = LoaderTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly UpgradeBenefitsState = UpgradeBenefitsState;\n\n benefits$: Observable;\n oneUpgradeUrl$: Observable;\n landingPageUrl$: Observable;\n displayedVoucherCount$: BehaviorSubject = new BehaviorSubject(3);\n upgradeState$: Observable;\n tier$: Observable;\n finnairShopUrl: string;\n\n upgradeVouchers$: Observable;\n otherVouchers$: Observable;\n\n @Input()\n vouchers$: Observable;\n\n @Input()\n showLoading$: Observable = of(false);\n\n constructor(\n private languageService: LanguageService,\n private voucherService: VoucherService,\n private store$: Store,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.tier$ = this.store$.pipe(\n profile(),\n take(1),\n map((x) => x.tier)\n );\n this.upgradeState$ = this.voucherService.status$;\n this.benefits$ = this.vouchers$.pipe(\n map((vouchers: Voucher[]) => this.groupVouchersByName(vouchers).map(this.getVoucherAmountsGroupedByDate).flat()),\n map((vouchers: VoucherAmountByDate[]) => this.groupVouchersByBenefitName(vouchers)),\n catchError(() => EMPTY),\n finShare()\n );\n this.upgradeVouchers$ = this.benefits$.pipe(\n map((vouchers) => vouchers.filter(({ type }) => type === BenefitCategory.UPGRADE))\n );\n this.otherVouchers$ = this.benefits$.pipe(\n map((vouchers) => vouchers.filter(({ type }) => type === BenefitCategory.OTHER))\n );\n\n this.oneUpgradeUrl$ = this.languageService.lang.pipe(map((lan) => `/${lan}/${RootPaths.ONE_UPGRADE_ROOT}`));\n this.landingPageUrl$ = this.languageService.lang.pipe(map((lan) => `/${lan}/${RootPaths.BOOKING_ROOT}`));\n const lang = this.languageService.langKeyValue;\n this.finnairShopUrl = this.configService.cfg.finnairShopUrl.replace(\n '{lang}',\n !['en', 'fi', 'sv', 'ja', 'ko', 'zh'].includes(lang) ? 'en' : lang\n );\n }\n\n private groupVouchersByName(vouchers: Voucher[]): Voucher[][] {\n return Object.values(\n vouchers.reduce((vouchersByName: { [key: string]: Voucher[] }, voucher: Voucher) => {\n if (!vouchersByName[voucher.productName]) {\n vouchersByName[voucher.productName] = [];\n }\n vouchersByName[voucher.productName].push(voucher);\n return vouchersByName;\n }, {})\n );\n }\n\n private getVoucherAmountsGroupedByDate(vouchers: Voucher[]): VoucherAmountByDate[] {\n return vouchers\n .reduce((dates: VoucherAmountByDate[], voucher: Voucher) => {\n const existing = dates.find((date) => date.date === voucher.expirationDate);\n if (existing) {\n existing.amount += voucher.amount;\n } else {\n dates.push({\n productName: voucher.productName,\n date: voucher.expirationDate,\n amount: voucher.amount,\n });\n }\n return dates;\n }, [])\n .sort((a: VoucherAmountByDate, b: VoucherAmountByDate) => (a.date > b.date ? 1 : b.date > a.date ? -1 : 0));\n }\n\n private groupVouchersByBenefitName(vouchers: VoucherAmountByDate[]): BenefitGroup[] {\n return vouchers.reduce((all, voucher) => {\n const benefitName = voucher.productName;\n const benefit = all.find((item) => item.benefitName === benefitName);\n if (benefit) {\n benefit.vouchers = benefit.vouchers.concat(voucher);\n benefit.amount += voucher.amount;\n } else {\n all.push({\n benefitName,\n amount: voucher.amount,\n changed: false,\n vouchers: [voucher],\n type: [\n VoucherProductName.EUROPE_UPGRADE,\n VoucherProductName.UPGRADE_BENEFIT,\n VoucherProductName.LONG_HAUL_UPGRADE,\n ].includes(benefitName)\n ? BenefitCategory.UPGRADE\n : BenefitCategory.OTHER,\n date: voucher.date,\n });\n }\n return all;\n }, []);\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n Input,\n OnInit,\n OnDestroy,\n HostBinding,\n ChangeDetectorRef,\n SkipSelf,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Subscription } from 'rxjs';\n\nimport { MediaQueryService } from '@fcom/common';\nimport { CmsArticle } from '@fcom/core-api';\nimport { unsubscribe } from '@fcom/core/utils';\n\n@Component({\n selector: 'fin-milestone',\n templateUrl: 'milestone.component.html',\n styleUrls: ['./milestone.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MilestoneComponent implements OnInit, OnDestroy {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @HostBinding('class') hostClass = 'flex flex--column';\n @HostBinding('class.flex--basis-full') get hostClassFlexBasisFull(): boolean {\n return this.isTabletDownBreakpoint;\n }\n @HostBinding('style.flex-basis') get hostStylesFlexBasis(): string | undefined {\n return this.isTabletDownBreakpoint ? undefined : 'calc(50% - 0.6rem)';\n }\n\n @Input() public content: CmsArticle;\n @Input() public tierPointsCurrentPeriod: number;\n\n isUnlocked: boolean;\n isTabletDownBreakpoint: boolean;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private mediaQueryService: MediaQueryService,\n @SkipSelf() private changeDetectorRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.isUnlocked = this.tierPointsCurrentPeriod >= this.content.localSettings?.milestonePoints;\n\n this.subscriptions.add(\n this.mediaQueryService.isBreakpoint$('tablet_down').subscribe((isTabledDownBreakpoint) => {\n this.isTabletDownBreakpoint = isTabledDownBreakpoint;\n this.changeDetectorRef.detectChanges();\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n {{\n (isUnlocked\n ? 'LOYALTY.milestones.milestoneUnlockedAtTierPoints'\n : 'LOYALTY.milestones.milestoneUnlockWithTierPoints'\n ) | finLocalization: { tierPoints: content.localSettings.milestonePoints | finPoints }\n }}\n\n\n
    \n
    \n \n \n \n\n {{\n (isUnlocked ? 'LOYALTY.milestones.milestoneUnlocked' : 'LOYALTY.milestones.milestoneLocked') | finLocalization\n }}\n
    \n
    \n\n
    \n \n \n
    \n\n","\n

    {{ 'LOYALTY.milestones.title' | finLocalization }}

    \n\n
    \n \n\n
    \n \n\n \n {{ newUnlockedMilestone | finStripHtml }}\n \n\n
    \n \n
    \n
    \n","import { ChangeDetectionStrategy, Component, OnInit, OnDestroy } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { combineLatest, Observable, Subscription } from 'rxjs';\nimport { distinctUntilChanged, map, switchMap, withLatestFrom, take, filter } from 'rxjs/operators';\n\nimport { NotificationTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { profile } from '@fcom/core/selectors';\nimport { AppState, CmsDataService } from '@fcom/core';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsArticle, CmsCollection, CMSelectionRules } from '@fcom/core-api';\nimport { Profile } from '@fcom/core-api/login';\nimport { safeMap, finShare } from '@fcom/rx';\nimport { dismissedWithPoints } from '@fcom/loyalty-core/store/selectors';\nimport { MilestonesActions } from '@fcom/loyalty-core/store/actions';\n\n@Component({\n selector: 'fin-milestones',\n templateUrl: 'milestones.component.html',\n styleUrls: ['./milestones.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MilestonesComponent implements OnInit, OnDestroy {\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n profile$: Observable;\n milestoneItems$: Observable;\n tierPointsCurrentPeriod$: Observable;\n newUnlockedMilestones$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private store$: Store,\n private cmsDataService: CmsDataService,\n private languageService: LanguageService\n ) {}\n\n ngOnInit(): void {\n this.profile$ = this.store$.pipe(profile(), finShare());\n\n this.subscriptions.add(\n this.profile$\n .pipe(\n take(1),\n map(({ currentPeriod }) => currentPeriod?.tierPointsCollected ?? 0),\n withLatestFrom(this.store$.pipe(dismissedWithPoints())),\n filter(([tierPoints, currentDismissedWithPoints]) => tierPoints < currentDismissedWithPoints)\n )\n .subscribe(() => {\n this.store$.dispatch(MilestonesActions.setDismissed({ points: 0 }));\n })\n );\n\n this.tierPointsCurrentPeriod$ = this.profile$.pipe(\n map((memberProfile) => memberProfile.currentPeriod?.tierPointsCollected ?? 0),\n finShare()\n );\n\n this.milestoneItems$ = this.profile$.pipe(\n withLatestFrom(this.languageService.translate('LOYALTY.fragments.milestonePoints.url')),\n switchMap(([{ tier, tierPointsAfterConversion }, fragmentUrl]) => {\n return this.cmsDataService\n .getFragmentJson>>(fragmentUrl, { tier })\n .pipe(\n safeMap(({ items }) => items[0]),\n safeMap(({ items }) =>\n items.filter((cmsArticle) => cmsArticle.localSettings?.milestonePoints > (tierPointsAfterConversion || 0))\n )\n );\n }),\n finShare()\n );\n\n this.newUnlockedMilestones$ = combineLatest([\n this.tierPointsCurrentPeriod$,\n this.milestoneItems$,\n this.store$.pipe(dismissedWithPoints()),\n ]).pipe(\n map(([currentPoints, milestoneItems, currentDismissedWithPoints]) => {\n const notDismissedMilestoneItems = milestoneItems.filter(\n (item) => item.localSettings?.milestonePoints > currentDismissedWithPoints\n );\n return notDismissedMilestoneItems\n .filter((item) => item.localSettings?.milestonePoints <= currentPoints)\n .map((item) => item.related[0].detailText);\n }),\n distinctUntilChanged()\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n trackByFn(_index: number, item: CmsArticle): string {\n return item.contentId.toString();\n }\n\n dismissMilestones(points: number): void {\n this.store$.dispatch(MilestonesActions.setDismissed({ points }));\n }\n}\n","\n
    \n \n \n
    \n\n

    \n \n {{ item.title || item.article.teaserTitle }}\n \n {{ 'LOYALTY.tierBenefits.tags.changed' | finLocalization }}\n

    \n\n \n
    \n\n \n {{ link.teaserTitle }}\n \n \n
    \n\n","import { Component, Input } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { type CmsArticle } from '@fcom/core-api';\nimport { type IconSet } from '@fcom/ui-components';\n\nexport interface Item {\n icon: IconSet;\n title?: string;\n text?: string;\n changed?: boolean;\n article?: CmsArticle;\n}\n\n@Component({\n selector: 'fin-tier-benefits',\n templateUrl: './tier-benefits.component.html',\n styleUrls: ['./tier-benefits.component.scss'],\n})\nexport class TierBenefitsComponent {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() items: Item[];\n @Input() invertedColors = false;\n}\n","
    \n
    \n
    \n

    {{ title }}

    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n","import { Component, Input } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { ButtonMode, ButtonSize, ButtonTheme, IconPosition } from '@fcom/ui-components';\nimport { CmsTarget } from '@fcom/core-api';\n\n@Component({\n selector: 'fin-benefit-banner',\n templateUrl: './benefit-banner.component.html',\n})\nexport class BenefitBannerComponent {\n readonly ButtonMode = ButtonMode;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly IconPosition = IconPosition;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() invertedColors = false;\n @Input() title: string;\n @Input() buttons: CmsTarget[] = [];\n\n constructor(private router: Router) {}\n\n navigateTo(url: string): void {\n this.router.navigateByUrl(url);\n }\n}\n","\n
    \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n\n","import { Component, Input, OnInit } from '@angular/core';\n\nimport { IconLibrary } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, startWith } from 'rxjs';\n\nimport { CmsArticle, CmsContent, CmsContentType, CmsTarget } from '@fcom/core-api';\nimport { finShare, safeMap } from '@fcom/rx';\nimport { FragmentService } from '@fcom/common';\n\nimport { Item } from '../tier-benefits/tier-benefits.component';\n\n@Component({\n selector: 'fin-promotion-segment',\n templateUrl: './promotion-segment.component.html',\n styleUrls: ['./promotion-segment.component.scss'],\n})\nexport class PromotionSegmentComponent implements OnInit {\n @Input()\n fragmentUrl: string;\n\n @Input()\n fragmentParams: { [key: string]: string };\n\n @Input()\n invertedColors = false;\n\n articles$: Observable;\n sidebar$: Observable;\n cta$: Observable;\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n const content$ = this.fragmentService.getFragment(this.fragmentUrl, this.fragmentParams).pipe(\n safeMap(({ contentType, items }) => (contentType === CmsContentType.CMPersonalized ? items[0]?.items : items)),\n finShare()\n );\n\n this.sidebar$ = content$.pipe(safeMap((articles) => articles[0]));\n this.articles$ = content$.pipe(\n safeMap((articles) =>\n articles[1].items.map((item: CmsArticle): Item => {\n let iconCategory: IconLibrary;\n switch (item.localSettings?.iconCategory) {\n case 'custom':\n iconCategory = IconLibrary.CUSTOM;\n break;\n case 'payments':\n iconCategory = IconLibrary.PAYMENTS;\n break;\n case 'tails':\n iconCategory = IconLibrary.TAILS;\n break;\n case 'svg-library':\n default:\n iconCategory = IconLibrary.SVG_LIBRARY;\n break;\n }\n return {\n article: item as CmsArticle,\n icon: {\n category: iconCategory,\n name: item.localSettings?.iconName,\n },\n };\n })\n )\n );\n this.cta$ = content$.pipe(\n safeMap((articles) => articles[2]),\n safeMap(({ target, teaserTitle }) => [{ ...target, title: teaserTitle }]),\n startWith([])\n );\n }\n}\n","\n \n\n \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n\n
    \n \n
    \n\n \n\n \n\n
    \n

    \n {{ 'plus.dashboard.transactionHistory' | finLocalization }}\n

    \n\n \n \n
    \n\n \n \n
    \n \n
    \n \n \n \n \n\n \n
    \n\n","import { AfterViewInit, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { Store } from '@ngrx/store';\nimport { combineLatest, EMPTY, Observable, startWith, Subscription } from 'rxjs';\nimport { catchError, map, switchMap, take } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { symbolToLangPath, unsubscribe } from '@fcom/core/utils';\nimport { AppState, ConfigService, DdsLanguage } from '@fcom/core';\nimport { CmsContent, CMSelectionRules, CmsTarget, CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { FragmentService, PageMetaService } from '@fcom/common/services';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { Profile, ProfileTier } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\nimport { finShare, safeMap } from '@fcom/rx';\nimport { NotificationTheme } from '@fcom/ui-components';\nimport { BenefitItemKeyEnum, BenefitItemV2 } from '@fcom/core/interfaces/tier-benefit.interface';\nimport { TierBenefitService } from '@fcom/core/services/tier-benefit/tier-benefit.service';\nimport { TIER_DATA_MAP } from '@fcom/common';\nimport { CreditCardPersonalizationParameter } from '@fcom/core-api/interfaces';\n\nimport { Item } from '../../components/tier-benefits/tier-benefits.component';\nimport { Status, TransactionService } from '../../services/transaction.service';\nimport { Voucher } from '../../interfaces';\nimport { UpgradeBenefitsState, VoucherService } from '../../services/voucher.service';\n\n@Component({\n templateUrl: 'plus-dashboard.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss', './plus-dashboard.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class PlusDashboardComponent implements OnInit, AfterViewInit, OnDestroy {\n readonly TIER_DATA_MAP = TIER_DATA_MAP;\n readonly NotificationTheme = NotificationTheme;\n readonly ProfileTier = ProfileTier;\n\n HIDE_BENEFITS = [BenefitItemKeyEnum.SnackDrink, BenefitItemKeyEnum.EasyBookings];\n\n welcomeTextWithLink$: Observable;\n template$: Observable;\n pageTitle$: Observable;\n sideBarContent$: Observable;\n creditCardBannerParams$: Observable<{ [key: string]: string }>;\n bannerCta$: Observable;\n profile$: Observable;\n transactionsAndBenefitsLoading$: Observable;\n vouchers$: Observable;\n\n tierBenefits$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private languageService: LanguageService,\n private cmsTemplateService: CmsTemplateService,\n private pageMetaService: PageMetaService,\n private tierBenefitService: TierBenefitService,\n private store$: Store,\n private fragmentService: FragmentService,\n private router: Router,\n private transactionService: TransactionService,\n private voucherService: VoucherService,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.vouchers$ = this.voucherService.getVouchers().pipe(\n catchError(() => EMPTY),\n finShare(),\n startWith([])\n );\n\n this.transactionsAndBenefitsLoading$ = combineLatest([\n this.transactionService.status$,\n this.voucherService.status$,\n ]).pipe(\n map(\n ([transactionsStatus, vouchersStatus]) =>\n (this.transactionService.transactionsStore.length === 0 && transactionsStatus === Status.LOADING) ||\n vouchersStatus === UpgradeBenefitsState.LOADING\n )\n );\n\n this.profile$ = this.store$.pipe(profile(), take(1));\n\n const ddsLocale: DdsLanguage = this.languageService.ddsLocaleValue;\n\n this.creditCardBannerParams$ = this.profile$.pipe(\n take(1),\n safeMap((profile: Profile) => ({\n [CreditCardPersonalizationParameter.AKTIA_CREDIT_CARD]: profile.hasAktiaVisaCreditCard ? 'true' : 'false',\n ...(this.configService.cfg.enableVisaLightCreditCardBanner && {\n [CreditCardPersonalizationParameter.AKTIA_LIGHT_CREDIT_CARD]: profile.hasAktiaVisaLightCreditCard\n ? 'true'\n : 'false',\n }),\n tier: profile.tier,\n })),\n finShare()\n );\n\n const articles$ = this.profile$.pipe(\n take(1),\n switchMap(({ tier }) =>\n this.fragmentService.getFragment('LOYALTY.fragments.tierBenefits.url', {\n tier,\n })\n ),\n safeMap(({ items }) => items[0].items)\n );\n this.sideBarContent$ = articles$.pipe(safeMap((articles) => articles[0]));\n this.bannerCta$ = articles$.pipe(safeMap((articles) => this.articleToTarget(articles[1])));\n\n const lang = this.languageService.langKeyValue;\n this.welcomeTextWithLink$ = this.languageService\n .translate('pricesStartingFromOfferSuffix')\n .pipe(map((text) => symbolToLangPath(text, ddsLocale)));\n\n this.template$ = this.cmsTemplateService.load(`/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}`);\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.profile$ = this.store$.pipe(profile(), finShare());\n\n this.tierBenefits$ = this.profile$.pipe(\n take(1),\n map(({ tier }) => TIER_DATA_MAP[tier].tierName.toUpperCase()),\n switchMap((tier) => this.tierBenefitService.getBenefitJson(tier, lang).pipe(map((benefits) => benefits[tier]))),\n map((benefits: BenefitItemV2[]) =>\n this.tierBenefitService\n .filterBenefits(benefits)\n .filter((row) => row?.icon?.name)\n .filter((row) => !this.HIDE_BENEFITS.includes(row.benefitItemKey))\n .map((row) => ({\n icon: row?.icon,\n title: row?.title,\n text: row?.description?.generalDescription,\n tags: row?.displayTags.toLowerCase().split(' ').filter(Boolean),\n changed: row?.displayTags === 'Changed',\n }))\n ),\n startWith([])\n );\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n goUsePoints(): void {\n this.router.navigateByUrl(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}#usePoints`,\n { replaceUrl: true }\n );\n }\n\n private articleToTarget(article: CmsContent): CmsTarget {\n return {\n ...article.target,\n title: article.teaserTitle,\n };\n }\n}\n","
    \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n \n {{ 'plus.profile.chooseMarketingMessages' | finLocalization }}\n
    \n \n
    \n
    \n
    \n \n {{ consentGroupIntroductionText$ | async | finStripHtml }}\n \n\n
    \n \n {{ consent.text | finStripHtml }}\n \n
    \n
    \n
    \n
    \n {{ consentGroupProfileAfterwordText$ | async | finStripHtml }}\n \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n","import { Component, ViewChild, ElementRef, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { Observable, Subscription, combineLatest } from 'rxjs';\nimport { map, take, filter, switchMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { ButtonType, LoaderTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { loginToken, profile, profileType } from '@fcom/core/selectors';\nimport { AppState } from '@fcom/core';\nimport { ProfileType, Profile } from '@fcom/core-api/login';\nimport { GtmService } from '@fcom/common/gtm';\nimport { Consent, ConsentGroup, ConsentStatus, ConsentTextId, SelectOption } from '@fcom/common';\nimport { ConsentService } from '@fcom/common/login/services/consent.service';\nimport { finShare } from '@fcom/rx';\nimport { FormStatus, trackFormState } from '@fcom/service-forms';\n\nimport { ProfileService } from '../../services/profile.service';\n\nconst MARKETING_LANGUAGES = ['fi', 'sv', 'en'];\n\nconst UPDATE_DIRECT_MARKETING_PREFERENCES = 'update-direct-marketing-preferences';\n\n@Component({\n selector: 'fin-direct-marketing-preferences-form',\n templateUrl: 'direct-marketing-preferences-form.component.html',\n styleUrls: ['./direct-marketing-preferences-form.component.scss'],\n})\nexport class DirectMarketingPreferencesFormComponent implements OnInit, OnDestroy {\n readonly ConsentTextId = ConsentTextId;\n readonly FormStatus = FormStatus;\n readonly ButtonType = ButtonType;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @ViewChild('formContainer', { static: true })\n formContainer: ElementRef;\n\n reactiveForm: UntypedFormGroup;\n languages$: Observable;\n formStatus: FormStatus = FormStatus.LOADING;\n consents$: Observable;\n consentGroupIntroductionText$: Observable;\n consentGroupProfileAfterwordText$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n private accessToken$: Observable;\n private profile$: Observable;\n\n constructor(\n private fb: UntypedFormBuilder,\n private store$: Store,\n private languageService: LanguageService,\n private gtmService: GtmService,\n private consentService: ConsentService,\n private profileService: ProfileService,\n private cdRef: ChangeDetectorRef\n ) {\n this.reactiveForm = fb.group({});\n }\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n this.languages$ = this.getLanguageOptions();\n\n this.profile$ = this.store$.pipe(profile(), take(1));\n\n this.accessToken$ = this.store$.pipe(\n loginToken(),\n filter((v) => !!v),\n take(1)\n );\n\n const accountType$: Observable = this.store$.pipe(\n profileType(),\n filter((v) => !!v),\n take(1)\n );\n\n const consentGroup$: Observable = combineLatest([this.accessToken$, accountType$]).pipe(\n switchMap(([token, type]) => this.consentService.getMarketingConsents({ token }, type)),\n filter((v) => !!v),\n finShare()\n );\n\n this.consentGroupIntroductionText$ = consentGroup$.pipe(map((group) => group.introductionText || ''));\n this.consentGroupProfileAfterwordText$ = consentGroup$.pipe(map((group) => group.profileAfterwordText || ''));\n this.consents$ = consentGroup$.pipe(map((group) => group.consents));\n\n this.subscriptions.add(\n combineLatest([this.profile$, this.consents$]).subscribe(([userProfile, consents]) => {\n this.createForm(userProfile, consents);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onSubmit(): void {\n if (this.reactiveForm.valid) {\n this.formStatus = FormStatus.LOADING;\n trackFormState(UPDATE_DIRECT_MARKETING_PREFERENCES, 'send-attempt', this.gtmService);\n\n const consentsRequest$ = combineLatest([this.accessToken$, this.consents$]).pipe(\n switchMap(([token, consents]) => {\n const updatedConsents = consents.map((consent) => {\n return {\n ...consent,\n consentStatus: this.reactiveForm.value[consent.consentTextId]\n ? ConsentStatus.ACCEPTED\n : ConsentStatus.DECLINED,\n };\n });\n\n return this.consentService.sendConsents({ token }, updatedConsents);\n })\n );\n\n const { marketingLanguage } = this.reactiveForm.value;\n const updateMarketingLanguageRequest$ = this.profileService.updateMarketingLanguage({ marketingLanguage });\n\n this.subscriptions.add(\n consentsRequest$.pipe(switchMap(() => updateMarketingLanguageRequest$)).subscribe({\n next: () => {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(UPDATE_DIRECT_MARKETING_PREFERENCES, 'success', this.gtmService);\n this.autoScrollToNotification();\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(UPDATE_DIRECT_MARKETING_PREFERENCES, 'error', this.gtmService);\n this.autoScrollToNotification();\n },\n })\n );\n }\n }\n\n autoScrollToNotification(): void {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n\n private createForm(userProfile: Profile, consents: Consent[]) {\n const consentFields = consents.reduce((fields, consent) => {\n fields[consent.consentTextId] = [consent.consentStatus === ConsentStatus.ACCEPTED];\n return fields;\n }, {});\n\n this.reactiveForm = this.fb.group({\n marketingLanguage: [userProfile.lang ? userProfile.lang : ''],\n ...consentFields,\n });\n }\n\n private getLanguageOptions(): Observable {\n return this.languageService.translate('SERVICE_FORMS.CSServiceForms.fields.language').pipe(\n map((languages) =>\n MARKETING_LANGUAGES.map(\n (lang) =>\n ({\n value: lang,\n name: languages[lang.toUpperCase()],\n }) as SelectOption\n )\n )\n );\n }\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n \n \n
    \n \n\n","import {\n Component,\n OnInit,\n ViewEncapsulation,\n Input,\n Output,\n EventEmitter,\n ElementRef,\n ViewChild,\n ChangeDetectorRef,\n OnDestroy,\n} from '@angular/core';\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\n\nimport { IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { map, take } from 'rxjs/operators';\n\nimport { ButtonTheme, ButtonType, NotificationTheme, LoaderTheme } from '@fcom/ui-components';\nimport { FormStatus, TypedFormGroup } from '@fcom/service-forms/interfaces';\nimport { enableConditionalFields, disableConditionalFields, trackFormState } from '@fcom/service-forms/services/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { Profile, LoginAddress, LoginAddressType, ProfileTier } from '@fcom/core-api/login';\nimport { unsubscribe, LATIN_ALPHA_PATTERN, LATIN_ADDRESS_PATTERN, trimAndReplaceWhitespace } from '@fcom/core/utils';\nimport { SelectOption } from '@fcom/common';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { finShare } from '@fcom/rx';\nimport { CountryCode } from '@fcom/core';\n\nimport { MailingAddressFormField, MailingAddressSubmissionData } from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst MAILING_ADDRESS_FORM = 'update-profile-mailing-address';\n\n@Component({\n selector: 'fin-loyalty-mailing-address-form',\n templateUrl: 'loyalty-mailing-address-form.component.html',\n styleUrls: ['./loyalty-mailing-address-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class LoyaltyMailingAddressFormComponent implements OnInit, OnDestroy {\n public readonly FormStatus = FormStatus;\n public readonly ButtonTheme = ButtonTheme;\n public readonly ButtonType = ButtonType;\n public readonly IconLibrary = IconLibrary;\n public readonly LoginAddressType = LoginAddressType;\n public readonly MailingAddressFormField = MailingAddressFormField;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @Input()\n enableCancel = false;\n\n @Output()\n cancel: EventEmitter = new EventEmitter();\n\n @Output()\n success: EventEmitter = new EventEmitter();\n\n reactiveForm: TypedFormGroup;\n countries$: Observable;\n selectedCountryText: object;\n formStatus: FormStatus = FormStatus.INITIAL;\n profile: Profile;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private languageService: LanguageService,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n const countryCodes$: Observable = this.languageService.translate('countryCodes').pipe(finShare());\n\n this.countries$ = countryCodes$.pipe(\n map((countryCodes) => {\n const selectOptions: SelectOption[] = countryCodes.map((countryCodeData) => ({\n value: countryCodeData.countryCode,\n name: countryCodeData.name,\n }));\n selectOptions.unshift({ value: '', name: '-' });\n return selectOptions;\n }),\n take(1)\n );\n\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.profile = profile;\n this.createForm(profile);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n this.selectedCountryText = {\n AU: {\n translation: 'SERVICE_FORMS.serviceForms.fields.stateTerritory',\n options: this.profileService.getCountryRegionOptions('au'),\n },\n CA: {\n translation: 'SERVICE_FORMS.serviceForms.fields.province',\n options: this.profileService.getCountryRegionOptions('ca'),\n },\n US: {\n translation: 'SERVICE_FORMS.serviceForms.fields.state',\n options: this.profileService.getCountryRegionOptions('us'),\n },\n JP: {\n translation: 'SERVICE_FORMS.serviceForms.fields.prefecture',\n },\n GB: {\n translation: 'SERVICE_FORMS.serviceForms.fields.buildingName',\n },\n };\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n if (!this.reactiveForm.valid) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: MailingAddressSubmissionData = {\n countryCode: this.reactiveForm.get('workAddress')?.get(MailingAddressFormField.PRIMARY)?.value\n ? this.reactiveForm.get('workAddress').get(MailingAddressFormField.COUNTRY).value\n : this.reactiveForm.get('homeAddress').get(MailingAddressFormField.COUNTRY).value,\n addresses: [\n {\n ...this.reactiveForm.get('homeAddress').value,\n primary: this.reactiveForm.get('type').value === LoginAddressType.HOME,\n type: LoginAddressType.HOME,\n },\n ],\n };\n\n if (this.reactiveForm.get('workAddress').value) {\n data.addresses.push({\n ...this.reactiveForm.get('workAddress').value,\n primary: this.reactiveForm.get('type').value === LoginAddressType.JOB,\n type: LoginAddressType.JOB,\n });\n }\n\n trackFormState(MAILING_ADDRESS_FORM, 'send-attempt', this.gtmService);\n\n this.subscriptions.add(\n this.profileService.updateMailingAddress(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(MAILING_ADDRESS_FORM, 'success', this.gtmService);\n this.success.emit();\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(MAILING_ADDRESS_FORM, 'error', this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(MAILING_ADDRESS_FORM, 'error', this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n onCountrySelect(country: string): void {\n const form = this.activeForm();\n this.updateConditionalFields(country, form);\n form.get(MailingAddressFormField.STATE_OR_PROVINCE).reset();\n }\n\n updateConditionalFields(country: string, form: UntypedFormGroup): void {\n switch (country) {\n case 'AU':\n case 'CA':\n case 'US':\n disableConditionalFields([MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE], form);\n enableConditionalFields([MailingAddressFormField.STATE_OR_PROVINCE], form);\n break;\n case 'JP':\n case 'GB':\n disableConditionalFields([MailingAddressFormField.STATE_OR_PROVINCE], form);\n enableConditionalFields([MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE], form);\n break;\n default:\n disableConditionalFields([MailingAddressFormField.STATE_OR_PROVINCE], form);\n disableConditionalFields([MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE], form);\n }\n }\n\n onCancel(): void {\n this.cancel.emit();\n }\n\n onValueChange(form: UntypedFormGroup, field: MailingAddressFormField): void {\n form.get(field).setValue(trimAndReplaceWhitespace(form.get(field).value));\n }\n\n private createForm(profile: Profile) {\n const primaryAddress = profile.addresses.find((address) => address.primary);\n let homeAddress = profile.addresses.find((address) => address.type === LoginAddressType.HOME);\n const jobAddress = profile.addresses.find((address) => address.type === LoginAddressType.JOB);\n\n if (!homeAddress) {\n homeAddress = {\n [MailingAddressFormField.CITY]: '',\n [MailingAddressFormField.COMPANY_NAME]: '',\n [MailingAddressFormField.COUNTRY]: '',\n [MailingAddressFormField.POSTAL_CODE]: '',\n [MailingAddressFormField.PRIMARY]: jobAddress ? !jobAddress.primary : true,\n [MailingAddressFormField.STATE_OR_PROVINCE]: '',\n [MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE]: '',\n [MailingAddressFormField.STREET_ADDRESS]: '',\n type: LoginAddressType.HOME,\n };\n }\n\n this.reactiveForm = this.fb.group({\n type: {\n value: primaryAddress.type !== LoginAddressType.NONE ? primaryAddress.type : LoginAddressType.HOME,\n disabled: !jobAddress,\n },\n homeAddress: this.createAddressForm(homeAddress, profile.tier),\n workAddress: jobAddress && this.createAddressForm(jobAddress, profile.tier),\n }) as TypedFormGroup;\n\n this.updateConditionalFields(homeAddress.country, this.reactiveForm.get('homeAddress') as UntypedFormGroup);\n jobAddress &&\n this.updateConditionalFields(jobAddress.country, this.reactiveForm.get('workAddress') as UntypedFormGroup);\n }\n\n private createAddressForm(address: LoginAddress, profileTier: ProfileTier): UntypedFormGroup {\n const requiredValidator = profileTier === ProfileTier.ACCOUNT ? [] : [Validators.required];\n\n return this.fb.group({\n [MailingAddressFormField.COMPANY_NAME]: {\n value: address.companyName,\n disabled: address.type !== LoginAddressType.JOB,\n },\n [MailingAddressFormField.COUNTRY]: [address ? address.country : ''],\n [MailingAddressFormField.STREET_ADDRESS]: [\n address && address.streetAddress !== '-' ? address.streetAddress : null,\n [...requiredValidator, Validators.pattern(LATIN_ADDRESS_PATTERN)],\n ],\n [MailingAddressFormField.POSTAL_CODE]: [\n address ? address.postalCode : null,\n [...requiredValidator, Validators.pattern(LATIN_ADDRESS_PATTERN)],\n ],\n [MailingAddressFormField.CITY]: [\n address && address.city !== '-' ? address.city : null,\n [...requiredValidator, Validators.pattern(LATIN_ALPHA_PATTERN)],\n ],\n [MailingAddressFormField.STATE_OR_PROVINCE]: [{ value: address ? address.stateOrProvince : '', disabled: true }],\n [MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE]: [\n { value: address ? address.buildingNameOrPrefecture : null, disabled: true },\n ],\n });\n }\n\n private activeForm = () =>\n (this.reactiveForm.get('type').value === LoginAddressType.HOME\n ? this.reactiveForm.get('homeAddress')\n : this.reactiveForm.get('workAddress')) as UntypedFormGroup;\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n
    \n
    {{ name }}
    \n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.dateOfBirth.label' | finLocalization }}:\n {{ dateOfBirth | finDateFormat: 'DATE' }}\n
    \n
    \n
    \n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.membershipNumber' | finLocalization }}\n
    \n
    {{ memberNumber }}
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n
    \n \n \n {{ 'SERVICE_FORMS.serviceForms.fields.changePassword' | finLocalization }}\n \n \n \n \n \n \n
    \n
    \n
    \n\n\n

    \n {{ 'SERVICE_FORMS.serviceForms.fields.email.tooltip.heading' | finLocalization }}\n

    \n

    {{ 'SERVICE_FORMS.serviceForms.fields.email.tooltip.content' | finLocalization }}

    \n
    \n","import {\n ChangeDetectorRef,\n Component,\n ElementRef,\n Inject,\n OnDestroy,\n OnInit,\n PLATFORM_ID,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { take } from 'rxjs/operators';\n\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport {\n capitalize,\n EMAIL_PATTERN,\n isNotBlank,\n isPresent,\n LocalDate,\n PHONE_PATTERN,\n unsubscribe,\n} from '@fcom/core/utils';\nimport { LoginGender, ParsedPhone, Profile, ProfileTier } from '@fcom/core-api/login';\nimport { FormStatus } from '@fcom/service-forms';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { PhonePrefixService } from '@fcom/common/services/phone-prefix/phone-prefix.service';\nimport { LoginService } from '@fcom/common/login';\nimport { SelectOption } from '@fcom/common';\n\nimport { PersonalInformationFormFields, PersonalInformationSubmissionData } from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst PERSONAL_INFORMATION_FORM = 'update-profile-personal-information';\n\n@Component({\n selector: 'fin-loyalty-personal-information-form',\n templateUrl: 'loyalty-personal-information-form.component.html',\n styleUrls: ['./loyalty-personal-information-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class LoyaltyPersonalInfoFormComponent implements OnInit, OnDestroy {\n public readonly FormStatus = FormStatus;\n public readonly PersonalInformationFormFields = PersonalInformationFormFields;\n public readonly ButtonType = ButtonType;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n reactiveForm: UntypedFormGroup;\n genders = Object.keys(LoginGender).map((gender) => ({ value: LoginGender[gender].toLowerCase() }));\n maxDate: LocalDate = this.maxYear();\n minDate: LocalDate = this.minYear();\n tooltipOptions = {\n enableOnClick: true,\n showCloseButton: true,\n tooltipWidth: 342,\n minOffsetLeft: 10,\n };\n formStatus: FormStatus = FormStatus.INITIAL;\n ProfileTier = ProfileTier;\n dateOfBirth: LocalDate;\n profileStatus: string;\n memberNumber: string;\n profileTier: string;\n name: string;\n changePasswordUrl: string;\n\n phonePrefixes$: Observable;\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private gtmService: GtmService,\n private phonePrefixService: PhonePrefixService,\n private loginService: LoginService,\n private cdRef: ChangeDetectorRef,\n @Inject(PLATFORM_ID) private platform: object\n ) {}\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n this.phonePrefixes$ = this.phonePrefixService.setupPhonePrefixes().pipe(take(1));\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.createForm(profile);\n this.dateOfBirth = profile.dateOfBirth ? new LocalDate(profile.dateOfBirth) : undefined;\n this.memberNumber = profile.memberNumber;\n this.profileTier = profile.tier;\n this.profileStatus = profile.memberStatus;\n this.formStatus = FormStatus.INITIAL;\n this.name = this.parseName(profile);\n\n if (isPlatformBrowser(this.platform)) {\n this.changePasswordUrl = this.loginService.createChangePasswordUrl(this.memberNumber);\n }\n })\n );\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n createForm(profile: Profile): void {\n const requiredValidator = profile.tier === ProfileTier.ACCOUNT ? [] : [Validators.required];\n\n this.reactiveForm = this.fb.group({\n dateOfBirth: [profile.dateOfBirth ? profile.dateOfBirth : '', requiredValidator],\n email: [profile.email ? profile.email : '', [Validators.required, Validators.pattern(EMAIL_PATTERN)]],\n countryCode: [\n this.parseCountryCode(profile.parsedMobilePhone?.regionCodes, profile.parsedMobilePhone?.countryCode),\n requiredValidator,\n ],\n nationalNumber: [\n profile.parsedMobilePhone?.nationalNumber?.toString() ?? '',\n [...requiredValidator, Validators.pattern(PHONE_PATTERN)],\n ],\n gender: [\n this.genders.find((gender) => gender.value === profile.gender.toLowerCase())\n ? profile.gender.toLowerCase()\n : '',\n requiredValidator,\n ],\n });\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n if (!this.reactiveForm.valid) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: PersonalInformationSubmissionData = {\n email: this.reactiveForm.value[PersonalInformationFormFields.EMAIL],\n phoneNumber: this.parsePhoneNumber(\n this.reactiveForm.value[PersonalInformationFormFields.COUNTRY_CODE],\n this.reactiveForm.value[PersonalInformationFormFields.NATIONAL_NUMBER]\n ),\n gender: capitalize(this.reactiveForm.value[PersonalInformationFormFields.GENDER]),\n };\n if (!this.dateOfBirth && this.reactiveForm.value[PersonalInformationFormFields.DATE_OF_BIRTH]) {\n const date = this.reactiveForm.value[PersonalInformationFormFields.DATE_OF_BIRTH];\n const localDate = new LocalDate(date);\n data.dateOfBirth = localDate.toString();\n this.dateOfBirth = localDate;\n }\n trackFormState(PERSONAL_INFORMATION_FORM, 'send-attempt', this.gtmService);\n\n const countryCode = this.reactiveForm.value[PersonalInformationFormFields.COUNTRY_CODE];\n const parsedMobilePhone = this.generateParsedMobilePhone(\n isNotBlank(countryCode) ? countryCode.split('|')[1] : '',\n this.reactiveForm.value[PersonalInformationFormFields.NATIONAL_NUMBER],\n isNotBlank(countryCode) ? countryCode.split('|')[0] : ''\n );\n\n this.subscriptions.add(\n this.profileService.updatePersonalInformation(data, parsedMobilePhone).subscribe({\n next: (res) => {\n if (res.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(PERSONAL_INFORMATION_FORM, 'success', this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PERSONAL_INFORMATION_FORM, 'error', this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PERSONAL_INFORMATION_FORM, 'error', this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n parseName(profile: Profile): string {\n return `${profile.firstname} ${profile.lastname}`;\n }\n\n parsePhoneNumber(countryCode: string, nationalNumber: string): string {\n return `${countryCode.split('|')[1]}${nationalNumber}`;\n }\n\n parseCountryCode(regionCodes: string[], countryCode: number): string {\n if (!regionCodes?.length || !countryCode) {\n return '';\n }\n\n return `${regionCodes[0]}|${countryCode}`;\n }\n\n minYear(): LocalDate {\n return LocalDate.now().minusYears(100);\n }\n\n maxYear(): LocalDate {\n return LocalDate.now().minusYears(13);\n }\n\n private generateParsedMobilePhone(countryCode: string, nationalNumber: string, regionCode: string): ParsedPhone {\n if (isPresent(countryCode) && isNotBlank(countryCode) && isNotBlank(nationalNumber) && isNotBlank(regionCode)) {\n return {\n countryCode: +countryCode,\n nationalNumber: +nationalNumber,\n regionCodes: [regionCode],\n };\n } else {\n return undefined;\n }\n }\n}\n","export enum AviosPartner {\n BAEC = 'British Airways Executive Club',\n}\n\nexport enum LinkingStatus {\n ACTIVE = 'ACTIVE',\n INACTIVE = 'INACTIVE',\n}\n\nexport interface LinkedAccount {\n partnerCode: string;\n partnerName: string;\n linkingStatus: LinkingStatus;\n linkedAt?: string;\n}\n\nexport interface LinkedAccountsResponse {\n linkedAccounts?: LinkedAccount[];\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { throwError, Observable, BehaviorSubject, of } from 'rxjs';\nimport { map, catchError, filter, take, switchMap, distinctUntilChanged, startWith } from 'rxjs/operators';\n\nimport { ConfigService, SentryLogger, AppState } from '@fcom/core';\nimport { loginToken } from '@fcom/core/selectors';\nimport { finShare } from '@fcom/rx';\n\nimport {\n LinkedAccount,\n LinkedAccountsResponse,\n LinkingStatus,\n} from '../interfaces/avios-linking-and-exchange.interface';\n\nexport enum AviosAccountLinkingStatus {\n ACTIVE = 'active',\n INACTIVE = 'inactive',\n LOADING = 'loading',\n}\n\n@Injectable()\nexport class AviosLinkingService {\n private accessToken$: Observable;\n\n private updateStatus$ = new BehaviorSubject<'loading' | 'refresh'>('refresh');\n\n status$: Observable = this.updateStatus$.pipe(\n distinctUntilChanged(),\n switchMap((updateStatus) => {\n if (updateStatus === 'loading') {\n return of(AviosAccountLinkingStatus.LOADING);\n }\n\n return this.getAviosLinkedAccounts().pipe(\n map((linkedAccount) => {\n return linkedAccount.linkingStatus === LinkingStatus.ACTIVE\n ? AviosAccountLinkingStatus.ACTIVE\n : AviosAccountLinkingStatus.INACTIVE;\n })\n );\n }),\n startWith(AviosAccountLinkingStatus.LOADING),\n finShare()\n );\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService\n ) {\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1));\n }\n\n getAviosLinkedAccounts(): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.loyaltyAviosLinkingUrl;\n const xApiKey = this.configService.cfg.loyaltyServices.legacy.apiProfileApiKey;\n\n return this.accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n 'x-api-key': xApiKey,\n oauth_token: token,\n Authorization: `Bearer ${btoa(token)}`,\n }),\n };\n\n return this.http.get(apiUrl, httpOptions).pipe(\n map((response) => {\n return response.linkedAccounts[0];\n }),\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n}\n","\n

    {{ 'plus.profile.twoFactorAuth.intro' | finLocalization }}

    \n

    {{ 'plus.profile.twoFactorAuth.select' | finLocalization }}:

    \n
    \n\n
    \n \n {{ 'plus.profile.twoFactorAuthFailed' | finLocalization }}\n \n
    \n\n
    \n \n {{ 'plus.profile.twoFactorAuthEnabled' | finLocalization }}\n \n
    \n \n \n
    \n
    \n\n\n \n\n\n\n \n \n
      \n
    1. \n {{ 'plus.profile.twoFactorAuth.app.step.0' | finLocalization }}:\n \n
    2. \n
    3. {{ 'plus.profile.twoFactorAuth.app.step.1' | finLocalization }}
    4. \n
    \n
    \n \n \n
    \n
    \n \n
      \n
    1. \n {{ 'plus.profile.twoFactorAuth.app.step.2' | finLocalization }}\n
    2. \n
    3. {{ 'plus.profile.twoFactorAuth.app.step.3' | finLocalization }}
    4. \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n
    \n \"\"\n
    \n
    \n {{ 'plus.profile.secretKey' | finLocalization }}: {{ secretKey }}\n
    \n
    \n \n
    \n \n {{\n (authState === AuthState.INCORRECT_CODE\n ? 'plus.profile.securityCode.pattern'\n : 'plus.profile.twoFactorAuthFailed'\n ) | finLocalization\n }}\n \n
    \n \n \n \n \n
    \n \n
    \n \n \n
      \n
    1. {{ 'plus.profile.twoFactorAuth.sms.step.0' | finLocalization }}
    2. \n
    3. {{ 'plus.profile.twoFactorAuth.sms.step.1' | finLocalization }}
    4. \n
    \n
    \n \n \n
    \n
    \n
    \n\n\n\n
    \n

    \n {{ 'plus.profile.twoFactorAuth.confirmationModalSms.body' | finLocalization: { phoneNumber } }}\n

    \n

    \n {{ 'plus.profile.twoFactorAuth.confirmationModalSms.bodyMissingPhoneNr' | finLocalization }}\n

    \n
    \n\n \n \n \n \n \n \n\n\n\n
    \n {{ 'plus.profile.twoFactorAuth.disablingConfirmation.bodyText' | finLocalization }}\n
    \n\n
    \n
    \n \n \n \n \n
    \n
    \n\n","import { ChangeDetectorRef, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\n\nimport {\n ButtonTheme,\n ButtonType,\n LoaderTheme,\n ModalButtons,\n NotificationButtonStyle,\n NotificationLayout,\n NotificationTheme,\n TabTheme,\n} from '@fcom/ui-components';\nimport { ElementActions, ElementTypes } from '@fcom/common';\nimport { GtmService } from '@fcom/common/gtm';\nimport { stopPropagation, unsubscribe } from '@fcom/core/utils';\nimport { finShare } from '@fcom/rx';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\n\nimport { TwoFactorAuthService, TwoFactorAuthStatus, TwoFactorAuthType } from '../../services/two-factor-auth.service';\nimport { ProfileService } from '../../services/profile.service';\nimport { AviosLinkingService, AviosAccountLinkingStatus } from '../../../loyalty-plus/services/avios-linking.service';\n\nexport enum AuthState {\n CHOOSE_TYPE,\n LOADING,\n VERIFY,\n INCORRECT_CODE,\n ERROR,\n}\n\n@Component({\n selector: 'fin-loyalty-two-factor-auth-toggle',\n templateUrl: 'loyalty-two-factor-auth-toggle.component.html',\n styleUrls: ['./loyalty-two-factor-auth-toggle.component.scss'],\n})\nexport class LoyaltyTwoFactorAuthToggleComponent implements OnInit, OnDestroy {\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonType = ButtonType;\n readonly TabTheme = TabTheme;\n readonly TwoFactorAuthType = TwoFactorAuthType;\n readonly TwoFactorAuthStatus = TwoFactorAuthStatus;\n readonly AuthState = AuthState;\n readonly ModalButtons = ModalButtons;\n readonly NotificationTheme = NotificationTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly NotificationButtonStyle = NotificationButtonStyle;\n readonly LoaderTheme = LoaderTheme;\n readonly LoyaltyRoutesPath = LoyaltyRoutesPath;\n readonly AviosAccountLinkingStatus = AviosAccountLinkingStatus;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() enabledBackButtonUrl: string;\n\n qrCodeImageUrl$: Observable;\n parsedMobilePhone$: Observable;\n\n twoFactorAuthStatus$: Observable;\n aviosLinkingStatus$: Observable;\n\n authState: AuthState = AuthState.CHOOSE_TYPE;\n secretKey: string;\n isConfirmModalOpen = false;\n isMFAModalOpened = false;\n hasError = false;\n\n validateGAuthForm: UntypedFormGroup;\n\n @ViewChild('fcomNotification', { static: false })\n notification: ElementRef;\n\n @ViewChild('appFirstStep', { static: false })\n appFirstStep: ElementRef;\n\n @ViewChild('appThirdStep', { static: false })\n appThirdStep: ElementRef;\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private twoFactorAuthService: TwoFactorAuthService,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef,\n private profileService: ProfileService,\n private aviosLinkingService: AviosLinkingService\n ) {\n this.validateGAuthForm = this.fb.group({\n securityCode: [null, [Validators.required]],\n });\n }\n\n ngOnInit(): void {\n this.twoFactorAuthStatus$ = this.twoFactorAuthService.status$;\n this.aviosLinkingStatus$ = this.aviosLinkingService.status$;\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n resetAuthState(): void {\n this.validateGAuthForm.reset();\n this.authState = AuthState.CHOOSE_TYPE;\n this.secretKey = undefined;\n this.cdRef.detectChanges();\n this.setFocus(this.appFirstStep);\n }\n\n onCloseError(): void {\n this.hasError = false;\n }\n\n selectTwoFactorAuthType(authType: string): void {\n if (authType === TwoFactorAuthType.SMS) {\n this.subscriptions.add(\n this.twoFactorAuthService.enableSMSAuth().subscribe({\n next: () => {\n this.trackGTM('activating-successful');\n },\n error: () => {\n this.hasError = true;\n this.trackGTM('activating-failed');\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n } else if (authType === TwoFactorAuthType.APP) {\n this.subscriptions.add(\n this.twoFactorAuthService.enableGAuthValidated().subscribe({\n next: (response) => {\n this.authState = AuthState.VERIFY;\n this.qrCodeImageUrl$ = this.twoFactorAuthService.getQRCodeImageUrl(response.secretKey);\n this.secretKey = response.secretKey;\n this.cdRef.detectChanges();\n this.setFocus(this.appThirdStep);\n },\n error: () => {\n this.authState = AuthState.CHOOSE_TYPE;\n this.hasError = true;\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n }\n\n validateCode(): void {\n const securityCode = this.validateGAuthForm.get('securityCode').value;\n if (!securityCode || !/^\\d{6}$/.test(securityCode)) {\n this.authState = AuthState.INCORRECT_CODE;\n return;\n }\n this.authState = AuthState.LOADING;\n this.subscriptions.add(\n this.twoFactorAuthService.validateGAuth(this.validateGAuthForm.get('securityCode').value).subscribe({\n next: (response) => {\n if (response.valid) {\n this.authState = AuthState.CHOOSE_TYPE;\n this.validateGAuthForm.reset();\n this.trackGTM('activating-successful');\n } else {\n this.authState = AuthState.INCORRECT_CODE;\n }\n },\n error: () => {\n this.authState = AuthState.ERROR;\n this.trackGTM('activating-failed');\n },\n })\n );\n }\n\n disableGAuth(): void {\n this.subscriptions.add(\n this.twoFactorAuthService.disableGAuth().subscribe({\n next: () => {\n this.authState = AuthState.CHOOSE_TYPE;\n this.trackGTM('disabling-successful');\n },\n error: () => {\n this.hasError = true;\n this.trackGTM('disabling-failed');\n },\n })\n );\n }\n\n openConfirmModal(event: Event): void {\n stopPropagation(event);\n this.isConfirmModalOpen = true;\n this.parsedMobilePhone$ = this.profileService.getProfile().pipe(\n filter(\n ({ parsedMobilePhone: { countryCode, nationalNumber } }) =>\n countryCode !== undefined && nationalNumber !== undefined\n ),\n map(({ parsedMobilePhone: { countryCode, nationalNumber } }) => `+${countryCode} ${nationalNumber}`),\n finShare()\n );\n }\n\n private trackGTM(state: string): void {\n this.gtmService.trackElement(\n `update-profile-2fa-${state}`,\n GaContext.SERVICE_FORMS,\n ElementTypes.MODAL,\n state,\n ElementActions.SUBMIT\n );\n }\n\n onBackButtonLinkClick(): void {\n this.gtmService.trackElement(\n 'update-profile-2fa-back-button-url',\n GaContext.SERVICE_FORMS,\n ElementTypes.NOTIFICATION,\n undefined,\n ElementActions.CLICK\n );\n }\n\n private setFocus(target: ElementRef): void {\n target.nativeElement.focus();\n }\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n \n \n {{ 'SERVICE_FORMS.serviceForms.fields.passportInfo.title' | finLocalization }}\n \n \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n\n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.passportInfo.title' | finLocalization }}\n
    \n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.passportInfo.paragraph' | finLocalization }}\n
    \n\n","import {\n ChangeDetectorRef,\n Component,\n ElementRef,\n OnDestroy,\n OnInit,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { map, take } from 'rxjs/operators';\n\nimport { ButtonType, ModalButtons, NotificationTheme, LoaderTheme } from '@fcom/ui-components';\nimport { Profile } from '@fcom/core-api/login';\nimport { FormStatus } from '@fcom/service-forms';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { dateValidator } from '@fcom/service-forms/services/form-validators';\nimport { LocalDate, unsubscribe } from '@fcom/core/utils';\nimport { SelectOption } from '@fcom/common';\nimport { CountryCode } from '@fcom/core';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { finShare } from '@fcom/rx';\n\nimport { PassportInformationFormFields, PassportInformationSubmissionData } from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst PASSPORT_FORM = 'update-profile-passport-information';\n\n@Component({\n selector: 'fin-loyalty-passport-information-form',\n templateUrl: 'loyalty-passport-information-form.component.html',\n styleUrls: ['./loyalty-passport-information-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class LoyaltyPassportFormComponent implements OnInit, OnDestroy {\n readonly FormStatus = FormStatus;\n readonly PassportInformationFormFields = PassportInformationFormFields;\n readonly ModalButtons = ModalButtons;\n readonly ButtonType = ButtonType;\n readonly NotificationTheme = NotificationTheme;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n reactiveForm: UntypedFormGroup;\n countries$: Observable;\n formStatus: FormStatus = FormStatus.INITIAL;\n modalOpen = false;\n\n currentDate = LocalDate.now();\n expiryMinDate = LocalDate.now().minusYears(15);\n expiryMaxDate = LocalDate.now().plusYears(15);\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @ViewChild('openModalButton', { static: false })\n openModalButton: ElementRef;\n\n private subscriptions = new Subscription();\n\n constructor(\n private profileService: ProfileService,\n private languageService: LanguageService,\n private fb: UntypedFormBuilder,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n const countryCodes$: Observable = this.languageService.translate('countryCodes').pipe(finShare());\n\n this.countries$ = countryCodes$.pipe(\n map((countryCodes) => {\n const selectOptions: SelectOption[] = countryCodes.map((countryCodeData) => ({\n value: countryCodeData.countryCode,\n name: countryCodeData.name,\n }));\n selectOptions.unshift({ value: '', name: '-' });\n return selectOptions;\n }),\n take(1)\n );\n\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.createForm(profile);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n createForm(profile: Profile): void {\n this.reactiveForm = this.fb.group({\n [PassportInformationFormFields.NUMBER]: [\n profile.passport.passportNumber ? profile.passport.passportNumber : '',\n Validators.required,\n ],\n [PassportInformationFormFields.ISSUE_DATE]: [\n profile.passport.passportIssueDate ? new LocalDate(profile.passport.passportIssueDate) : '',\n [dateValidator(), Validators.required],\n ],\n [PassportInformationFormFields.EXPIRY_DATE]: [\n profile.passport.passportExpirationDate ? new LocalDate(profile.passport.passportExpirationDate) : '',\n [dateValidator(), Validators.required],\n ],\n [PassportInformationFormFields.COUNTRY]: [\n profile.passport.passportCountry ? profile.passport.passportCountry : '',\n Validators.required,\n ],\n });\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n if (!this.reactiveForm.valid) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: PassportInformationSubmissionData = {\n travelProfile: {\n passportInformation: {\n passportNumber: this.reactiveForm.value[PassportInformationFormFields.NUMBER],\n passportIssueDate: this.reactiveForm.value[PassportInformationFormFields.ISSUE_DATE]?.toString(),\n passportExpirationDate: this.reactiveForm.value[PassportInformationFormFields.EXPIRY_DATE]?.toString(),\n passportCountry: this.reactiveForm.value[PassportInformationFormFields.COUNTRY],\n },\n },\n };\n\n trackFormState(PASSPORT_FORM, 'send-attempt', this.gtmService);\n\n this.subscriptions.add(\n this.profileService.updatePassportInformation(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(PASSPORT_FORM, 'success', this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PASSPORT_FORM, 'error', this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PASSPORT_FORM, 'error', this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n openModal(event: MouseEvent): void {\n event.stopPropagation();\n this.modalOpen = true;\n }\n\n closeModal(): void {\n this.openModalButton.nativeElement.focus();\n }\n}\n","
    \n \n {{\n (status === CardsStatus.ERROR\n ? 'plus.profile.paymentCards.cardRemoveError'\n : 'plus.profile.paymentCards.cardRemoveSuccess'\n ) | finLocalization\n }}\n \n
    \n
    \n \n
    \n\n

    \n {{\n (cardTokens.length > 0 ? 'plus.profile.paymentCards.mySavedCards' : 'plus.profile.paymentCards.noSavedCards')\n | finLocalization\n }}\n

    \n\n 0; else noSavedCardsText\">\n \n
    \n
    \n {{ card.name }} {{ card.cardType | titlecase }}\n
    \n
    \n **** {{ card.lastDigits }}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n {{\n (card.corporate ? 'plus.profile.paymentCards.corporateCard' : 'plus.profile.paymentCards.personalCard')\n | finLocalization\n }}\n
    \n
    \n {{ 'plus.profile.paymentCards.nameOnCard' | finLocalization }}: {{ card.cardHolder }}\n
    \n
    {{ 'plus.profile.paymentCards.expiryDate' | finLocalization }}: {{ card.expiryDate }}
    \n
    \n \n {{ 'plus.profile.paymentCards.removeCard' | finLocalization }}\n \n
    \n \n
    \n\n\n

    {{ 'plus.profile.paymentCards.addCardsInfo' | finLocalization }}

    \n
    \n\n\n

    {{ 'plus.profile.removeCreditCardText' | finLocalization }}

    \n\n","import { Component, OnInit, ViewChild, ElementRef, ChangeDetectorRef, OnDestroy } from '@angular/core';\n\nimport { IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Subscription } from 'rxjs';\n\nimport { LoaderTheme, ModalButtons, NotificationTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\n\nimport { ProfileService } from '../../services/profile.service';\nimport { PaymentCardData } from '../../interfaces/payment-cards.interface';\n\nenum CardsStatus {\n INITIAL,\n LOADING,\n COMPLETE,\n ERROR,\n}\n\n@Component({\n selector: 'fin-loyalty-payment-cards',\n templateUrl: 'loyalty-payment-cards.component.html',\n styleUrls: ['./loyalty-payment-cards.component.scss'],\n})\nexport class LoyaltyPaymentCardsComponent implements OnInit, OnDestroy {\n public readonly CardsStatus = CardsStatus;\n public readonly ModalButtons = ModalButtons;\n public readonly IconLibrary = IconLibrary;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n notification: ElementRef;\n selectedToken: string;\n selectedId: number;\n modalOpen = false;\n\n private subscriptions = new Subscription();\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @ViewChild('cardsHeading', { static: false })\n cardsHeading: ElementRef;\n\n status: CardsStatus = CardsStatus.INITIAL;\n cardTokens: PaymentCardData[] = [];\n\n constructor(\n private profileService: ProfileService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.getPaymentCards();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onOpenModal(event: MouseEvent, token: string, id: number): void {\n event.stopPropagation();\n this.selectedToken = token;\n this.selectedId = id;\n this.modalOpen = true;\n }\n\n onRemoveCard(token: string, id: number): void {\n this.status = CardsStatus.LOADING;\n this.modalOpen = false;\n this.selectedToken = undefined;\n this.selectedId = undefined;\n this.subscriptions.add(\n this.profileService.deletePaymentCard(token).subscribe({\n next: (result) => {\n if (result.ok) {\n this.cardTokens.splice(id, 1);\n this.cardsHeading.nativeElement.focus();\n this.status = CardsStatus.COMPLETE;\n } else {\n this.status = CardsStatus.ERROR;\n }\n },\n error: () => {\n this.status = CardsStatus.ERROR;\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n private getPaymentCards() {\n this.status = CardsStatus.LOADING;\n this.subscriptions.add(\n this.profileService.getParsedPaymentCards().subscribe({\n next: (cards) => {\n if (cards) {\n this.cardTokens = cards;\n }\n this.status = CardsStatus.INITIAL;\n },\n error: () => {\n this.status = CardsStatus.INITIAL;\n },\n })\n );\n }\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n\n \n \n\n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n
    \n
    \n
    \n \n \n \n \n \n
    \n

    \n {{ 'plus.profile.travelProfile.topicsOfInterest.heading' | finLocalization }}\n

    \n
    \n
    \n \n {{ 'plus.profile.travelProfile.topicsOfInterest.heading' | finLocalization }}\n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n\n

    \n {{ 'SERVICE_FORMS.serviceForms.fields.email.tooltip.heading' | finLocalization }}\n

    \n

    {{ 'plus.profile.travelProfile.childrenTooltipText' | finLocalization }}

    \n

    \n","import { Component, OnInit, ElementRef, ViewChild, ChangeDetectorRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, UntypedFormArray, UntypedFormControl, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\n\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport {\n CheckboxOptionList,\n FormStatus,\n AnalyticsFormStatus,\n TypedFormGroup,\n TypedFormArray,\n} from '@fcom/service-forms';\nimport { GtmService } from '@fcom/common/gtm';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { Profile } from '@fcom/core-api/login';\nimport { FragmentService, SelectOption } from '@fcom/common';\nimport { enumValues } from '@fcom/core/utils';\nimport { CmsArticle } from '@fcom/core-api';\nimport { finShare } from '@fcom/rx';\n\nimport {\n TravelProfileSubmissionData,\n TravelProfileFormField,\n SeatPreferenceOption,\n MealPreferenceOption,\n TopicOfInterest,\n} from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst INITIAL_MAX_CHILDREN = 5;\nconst HOUSEHOLD_SIZE = 11;\nconst MAX_CHILD_BIRTH_YEAR = 19;\nconst ANALYTICS_FORM_NAME = 'update-profile-travel-profile';\n\n@Component({\n selector: 'fin-loyalty-travel-profile-form',\n templateUrl: 'loyalty-travel-profile-form.component.html',\n styleUrls: ['./loyalty-travel-profile-form.component.scss'],\n})\nexport class LoyaltyTravelProfileFormComponent implements OnInit {\n public readonly FormStatus = FormStatus;\n public readonly TravelProfileFormField = TravelProfileFormField;\n public readonly ButtonType = ButtonType;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public travelProfileDescription$: Observable;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n reactiveForm: TypedFormGroup>;\n seatPreferenceOptions: SelectOption[] = [\n { value: SeatPreferenceOption.NO_PREFERENCE },\n { value: SeatPreferenceOption.AISLE },\n { value: SeatPreferenceOption.WINDOW },\n ];\n mealPreferenceOptions: SelectOption[] = [\n { value: MealPreferenceOption.NO_PREFERENCE },\n { value: MealPreferenceOption.BLML },\n { value: MealPreferenceOption.DBML },\n { value: MealPreferenceOption.GFML },\n { value: MealPreferenceOption.LCML },\n { value: MealPreferenceOption.LFML },\n { value: MealPreferenceOption.LSML },\n { value: MealPreferenceOption.NLML },\n { value: MealPreferenceOption.HNML },\n { value: MealPreferenceOption.AVML },\n { value: MealPreferenceOption.KSML },\n { value: MealPreferenceOption.MOML },\n { value: MealPreferenceOption.CHML },\n { value: MealPreferenceOption.FPML },\n { value: MealPreferenceOption.VGML },\n { value: MealPreferenceOption.VLML },\n { value: MealPreferenceOption.VJML },\n { value: MealPreferenceOption.SPML },\n ];\n householdSizeOptions: SelectOption[];\n birthYears: SelectOption[];\n childrenBirthYearsFormGroupConfig: { [key: string]: any } = { birthYear: ['', [Validators.required]] };\n topicsOfInterestControls: CheckboxOptionList = [\n { id: TopicOfInterest.FOD, label: 'plus.profile.travelProfile.topicsOfInterest.FOD' },\n { id: TopicOfInterest.SPE, label: 'plus.profile.travelProfile.topicsOfInterest.SPE' },\n { id: TopicOfInterest.MUE, label: 'plus.profile.travelProfile.topicsOfInterest.MUE' },\n { id: TopicOfInterest.BEF, label: 'plus.profile.travelProfile.topicsOfInterest.BEF' },\n { id: TopicOfInterest.HOD, label: 'plus.profile.travelProfile.topicsOfInterest.HOD' },\n { id: TopicOfInterest.BUL, label: 'plus.profile.travelProfile.topicsOfInterest.BUL' },\n { id: TopicOfInterest.HEW, label: 'plus.profile.travelProfile.topicsOfInterest.HEW' },\n { id: TopicOfInterest.HOT, label: 'plus.profile.travelProfile.topicsOfInterest.HOT' },\n { id: TopicOfInterest.CAR, label: 'plus.profile.travelProfile.topicsOfInterest.CAR' },\n { id: TopicOfInterest.CIH, label: 'plus.profile.travelProfile.topicsOfInterest.CIH' },\n { id: TopicOfInterest.BEH, label: 'plus.profile.travelProfile.topicsOfInterest.BEH' },\n { id: TopicOfInterest.SPH, label: 'plus.profile.travelProfile.topicsOfInterest.SPH' },\n { id: TopicOfInterest.ACH, label: 'plus.profile.travelProfile.topicsOfInterest.ACH' },\n { id: TopicOfInterest.TOH, label: 'plus.profile.travelProfile.topicsOfInterest.TOH' },\n { id: TopicOfInterest.CRU, label: 'plus.profile.travelProfile.topicsOfInterest.CRU' },\n { id: TopicOfInterest.ENR, label: 'plus.profile.travelProfile.topicsOfInterest.ENR' },\n ];\n formStatus: FormStatus = FormStatus.INITIAL;\n initialMaxChildren: number = INITIAL_MAX_CHILDREN;\n maxChildren = 0;\n tooltipOptions = {\n enableOnClick: true,\n showCloseButton: true,\n tooltipWidth: 342,\n minOffsetLeft: 10,\n };\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private gtmService: GtmService,\n private fragmentService: FragmentService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.travelProfileDescription$ = this.fragmentService\n .getFragment('LOYALTY.fragments.travelProfileDescription.url')\n .pipe(finShare());\n\n this.householdSizeOptions = this.generateSelectOptionIntRange(HOUSEHOLD_SIZE); // Household size 0 - 10\n this.birthYears = this.generateSelectOptionIntRange(MAX_CHILD_BIRTH_YEAR, new Date().getFullYear()); // Birth years ranges from the birth year of an 18 year old until the current year\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.formStatus = FormStatus.INITIAL;\n this.createForm(profile);\n this.onHouseholdSizeChange();\n })\n );\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: TravelProfileSubmissionData = this.parseSubmissionData(this.reactiveForm.value);\n\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SEND_ATTEMPT, this.gtmService);\n\n this.subscriptions.add(\n this.profileService.updateTravelProfile(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SUCCESS, this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n get birthYearsArray(): UntypedFormArray {\n return this.reactiveForm.get(TravelProfileFormField.CHILDREN_BIRTH_YEARS) as UntypedFormArray;\n }\n\n private createForm(profile: Profile) {\n const controls = this.topicsOfInterestControls.map(\n (control) =>\n new UntypedFormControl(profile.topicsOfInterest ? profile.topicsOfInterest.includes(control.id) : false)\n );\n\n const mealPreference =\n enumValues(MealPreferenceOption).find((meal) => meal === profile.preferredMealType) ??\n MealPreferenceOption.NO_PREFERENCE;\n this.reactiveForm = this.fb.group({\n [TravelProfileFormField.SEAT_PREF]: [\n profile.preferredSeatType ? profile.preferredSeatType : SeatPreferenceOption.NO_PREFERENCE,\n ],\n [TravelProfileFormField.MEAL_PREF]: [mealPreference],\n [TravelProfileFormField.HOUSEHOLD_SIZE]: [\n profile.householdSize ? this.setHouseHoldSize(+profile.householdSize) : 0,\n ],\n [TravelProfileFormField.CHILDREN_BIRTH_YEARS]: this.fb.array([]),\n [TravelProfileFormField.TOPICS_OF_INTEREST]: new UntypedFormArray(controls),\n }) as TypedFormGroup>;\n\n if (profile.childrenBirthYears && profile.childrenBirthYears.length > 0) {\n this.prefillChildrenBirthYears(profile.childrenBirthYears);\n }\n }\n\n private onHouseholdSizeChange() {\n this.subscriptions.add(\n this.reactiveForm.get(TravelProfileFormField.HOUSEHOLD_SIZE).valueChanges.subscribe((val) => {\n this.setMaxChildLimit(+val);\n })\n );\n }\n\n private setHouseHoldSize(householdSize: number) {\n this.setMaxChildLimit(householdSize);\n return householdSize;\n }\n\n private setMaxChildLimit(householdSize: number) {\n this.maxChildren =\n householdSize <= this.initialMaxChildren ? Math.max(0, householdSize - 1) : this.initialMaxChildren;\n }\n\n private prefillChildrenBirthYears(years: string[]) {\n years.forEach((year) => {\n this.birthYearsArray.push(this.fb.group({ birthYear: [year, [Validators.required]] }));\n });\n }\n\n private generateSelectOptionIntRange(amount: number, rangeEnd?: number): SelectOption[] {\n return Array.from(Array(amount).keys()).map((int) => {\n const value = rangeEnd ? rangeEnd - int : int;\n return { name: value.toString(), value: value.toString() };\n });\n }\n\n private parseSubmissionData(data: { [key: string]: any }): TravelProfileSubmissionData {\n return {\n householdSize: +data[TravelProfileFormField.HOUSEHOLD_SIZE],\n childrenBirthYears: data[TravelProfileFormField.CHILDREN_BIRTH_YEARS].map((prop) => prop.birthYear),\n travelProfile: {\n seatPreference: data[TravelProfileFormField.SEAT_PREF],\n mealPreference: data[TravelProfileFormField.MEAL_PREF],\n },\n topicsOfInterest: this.parseSelectedTopics(data[TravelProfileFormField.TOPICS_OF_INTEREST]),\n };\n }\n\n private parseSelectedTopics(topics: boolean[]): string[] {\n return this.topicsOfInterestControls\n .filter((_topic, i) => topics.some((checked: boolean, j: number) => checked && i === j))\n .map((topic) => topic.id);\n }\n}\n","

    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n \n
    \n \n \n \n \n
    \n \n \n \n
    \n \n \n \n \n \n\n","import {\n Component,\n OnInit,\n Output,\n EventEmitter,\n Input,\n ViewEncapsulation,\n ElementRef,\n ViewChild,\n ChangeDetectorRef,\n OnDestroy,\n} from '@angular/core';\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Subscription } from 'rxjs';\n\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport { GtmService } from '@fcom/common/gtm';\nimport { FormStatus, AnalyticsFormStatus } from '@fcom/service-forms';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\nimport { Profile } from '@fcom/core-api/login';\nimport { finnairPlusNumberValidator } from '@fcom/service-forms/services/form-validators';\nimport { EMAIL_PATTERN, NAME_PATTERN, unsubscribe } from '@fcom/core/utils';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { GuardianInformationSubmissionData } from '@fcom/loyalty-profile';\n\nimport { GuardianInformationFormField } from '../../interfaces';\n\nexport enum GuardianInformationHostingComponent {\n UPDATE_PROFILE,\n LOST_CARD,\n}\n\nconst ANALYTICS_FORM_NAME = 'update-profile-guardian-information';\n\n@Component({\n selector: 'fin-guardian-information-form',\n templateUrl: 'guardian-information-form.component.html',\n styleUrls: ['./guardian-information-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class GuardianInformationFormComponent implements OnInit, OnDestroy {\n readonly FormStatus = FormStatus;\n readonly GuardianInformationFormField = GuardianInformationFormField;\n readonly GuardianInformationHostingComponent = GuardianInformationHostingComponent;\n readonly ButtonType = ButtonType;\n readonly NotificationTheme = NotificationTheme;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n hostingComponent: GuardianInformationHostingComponent = GuardianInformationHostingComponent.UPDATE_PROFILE;\n\n @Input()\n submitButtonText = 'SERVICE_FORMS.serviceForms.save';\n\n @Output()\n success: EventEmitter = new EventEmitter();\n\n @ViewChild('notification', { static: false })\n notification: ElementRef;\n\n reactiveForm: UntypedFormGroup;\n formStatus: FormStatus = FormStatus.LOADING;\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.createForm(profile);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n onSubmit(): void {\n if (!this.reactiveForm.valid || this.formStatus === FormStatus.LOADING) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SEND_ATTEMPT, this.gtmService);\n\n const data: GuardianInformationSubmissionData = {\n [GuardianInformationFormField.GUARDIAN_NAME]: this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_NAME],\n [GuardianInformationFormField.GUARDIAN_PHONE_NUMBER]:\n this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_PHONE_NUMBER],\n [GuardianInformationFormField.GUARDIAN_EMAIL]:\n this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_EMAIL],\n [GuardianInformationFormField.GUARDIAN_MEMBER_NUMBER]:\n this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_MEMBER_NUMBER],\n };\n\n this.subscriptions.add(\n this.profileService.updateGuardianInformation(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n this.success.emit();\n if (this.hostingComponent !== GuardianInformationHostingComponent.LOST_CARD) {\n this.scrollToNotification();\n }\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SUCCESS, this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n this.scrollToNotification();\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n this.scrollToNotification();\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n },\n })\n );\n }\n\n private createForm(profile: Profile): void {\n const formConfig = {\n [GuardianInformationFormField.GUARDIAN_NAME]: [\n profile.guardianName,\n [Validators.required, Validators.pattern(NAME_PATTERN)],\n ],\n [GuardianInformationFormField.GUARDIAN_PHONE_NUMBER]: [\n profile.guardianPhoneNumber,\n [Validators.required, Validators.pattern(/^\\+?[0-9\\s]{1,15}$/)],\n ],\n [GuardianInformationFormField.GUARDIAN_EMAIL]: [\n profile.guardianEmail,\n [Validators.required, Validators.pattern(EMAIL_PATTERN)],\n ],\n [GuardianInformationFormField.GUARDIAN_MEMBER_NUMBER]: [\n profile.guardianMemberNumber,\n [Validators.required, finnairPlusNumberValidator()],\n ],\n };\n\n if (this.hostingComponent === GuardianInformationHostingComponent.LOST_CARD) {\n formConfig[GuardianInformationFormField.GUARDIAN_CONSENT] = [false, [Validators.requiredTrue]];\n }\n\n this.reactiveForm = this.fb.group(formConfig);\n }\n\n private scrollToNotification(): void {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n}\n","\n \n
    \n \n
    \n \n
    \n
    \n {{\n 'plus.profile.personalInformation' | finLocalization\n }}\n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n\n\n
    \n
    \n {{ label | finLocalization }}\n
    \n \n
    \n
    \n","import { Component, ViewChild, ElementRef, OnInit, OnDestroy, AfterViewInit } from '@angular/core';\nimport { ActivatedRoute, Params } from '@angular/router';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { EMPTY, Observable, Subscription } from 'rxjs';\nimport { delay, map, switchMap, take, tap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { LoaderTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { Profile, ProfileTier } from '@fcom/core-api/login';\nimport { ScrollService } from '@fcom/common/services/scroll/scroll.service';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { PageMetaService } from '@fcom/common/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath, setPageMetadata } from '@fcom/loyalty-core';\nimport { finShare } from '@fcom/rx';\nimport { ExpandComponent } from '@fcom/common';\n\nenum Status {\n INITIAL,\n LOADING,\n COMPLETE,\n}\n\nexport enum PlusProfileQueryParams {\n Section = 'section',\n TwoFactorAuthEnabledBackButtonUrl = 'twoFactorAuthEnabledBackButtonUrl',\n}\n\nexport enum PlusProfileQueryParamSectionValue {\n TwoFactorAuth = 'two-factor-auth',\n MailingAddress = 'mailing-address',\n MarketingPreferences = 'marketing-preferences',\n TravelProfileAndInterests = 'travel-profile-and-interests',\n}\n\nexport type RouterQueryParams = {\n [PlusProfileQueryParams.Section]?: PlusProfileQueryParamSectionValue;\n [PlusProfileQueryParams.TwoFactorAuthEnabledBackButtonUrl]?: string;\n};\n\n@Component({\n templateUrl: 'plus-profile.component.html',\n})\nexport class PlusProfileComponent implements OnInit, OnDestroy, AfterViewInit {\n readonly ProfileTier = ProfileTier;\n readonly Status = Status;\n readonly LoaderTheme = LoaderTheme;\n readonly PlusProfileQueryParams = PlusProfileQueryParams;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n routerParams$: Observable;\n profile$: Observable;\n template$: Observable;\n pageTitle$: Observable;\n\n status: Status = Status.INITIAL;\n\n @ViewChild('expandTwoFactorAuth') expandTwoFactorAuth: ExpandComponent;\n @ViewChild('expandTwoFactorAuthTrigger') expandTwoFactorAuthTrigger: ElementRef;\n\n @ViewChild('expandMailingAddress') expandMailingAddress: ExpandComponent;\n @ViewChild('expandMailingAddressTrigger')\n expandMailingAddressTrigger: ElementRef;\n\n @ViewChild('expandMarketingPreferences') expandMarketingPreferences: ExpandComponent;\n @ViewChild('expandMarketingPreferencesTrigger')\n expandMarketingPreferencesTrigger: ElementRef;\n\n @ViewChild('expandTravelProfile') expandTravelProfile: ExpandComponent;\n @ViewChild('expandTravelProfileTrigger')\n expandTravelProfileTrigger: ElementRef;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private router: ActivatedRoute,\n private scrollService: ScrollService,\n private profileService: ProfileService,\n private languageService: LanguageService,\n private cmsTemplateService: CmsTemplateService,\n private pageMetaService: PageMetaService\n ) {}\n\n ngOnInit(): void {\n this.status = Status.LOADING;\n\n this.routerParams$ = this.router.queryParams.pipe(take(1), finShare());\n this.profile$ = this.profileService.fetchProfile().pipe(finShare());\n\n this.subscriptions.add(\n this.profile$\n .pipe(\n take(1),\n tap(() => {\n this.status = Status.COMPLETE;\n })\n )\n .subscribe()\n );\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.PROFILE}`\n );\n\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.profile$\n .pipe(\n delay(0),\n switchMap(() => this.routerParams$),\n switchMap((params: RouterQueryParams) => {\n const triggerMap: {\n [key in PlusProfileQueryParamSectionValue]?: { expand: ExpandComponent; trigger: ElementRef };\n } = {\n [PlusProfileQueryParamSectionValue.MailingAddress]: {\n expand: this.expandMailingAddress,\n trigger: this.expandMailingAddressTrigger,\n },\n [PlusProfileQueryParamSectionValue.MarketingPreferences]: {\n expand: this.expandMarketingPreferences,\n trigger: this.expandMarketingPreferencesTrigger,\n },\n [PlusProfileQueryParamSectionValue.TravelProfileAndInterests]: {\n expand: this.expandTravelProfile,\n trigger: this.expandTravelProfileTrigger,\n },\n [PlusProfileQueryParamSectionValue.TwoFactorAuth]: {\n expand: this.expandTwoFactorAuth,\n trigger: this.expandTwoFactorAuthTrigger,\n },\n };\n const expandComponentData = triggerMap[params.section];\n if (!expandComponentData) {\n return EMPTY;\n }\n this.scrollService.scrollToImmediate(expandComponentData.trigger);\n expandComponentData.trigger.nativeElement.focus();\n return expandComponentData.expand.isOpen$.pipe(\n take(1),\n map((isOpen) => [expandComponentData.expand, isOpen] as const)\n );\n }),\n tap(([expand, isOpen]) => {\n !isOpen && expand.toggleDetails();\n })\n )\n .subscribe()\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","
    \n
    \n
    \n \n \n
    \n\n \n
    \n\n

    {{ 'LOYALTY.aviosLinkingAndExchange.linkedAccount' | finLocalization }}

    \n
    \n\n \n {{ 'LOYALTY.aviosLinkingAndExchange.enable2faNotification.text' | finLocalization }}\n \n
    \n\n \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n\n \n \n \n\n \n \n
    \n\n \n \n\n \n \n

    \n {{ stepper.steps[stepper.activeStepIndex].title | finLocalization }}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n\n \n

    \n {{ 'LOYALTY.aviosLinkingAndExchange.enable2faAuthentication.description.enable' | finLocalization }}\n

    \n
    \n \n\n \n
    \n \n

    \n {{ stepper.steps[stepper.activeStepIndex].title | finLocalization }}\n

    \n

    \n {{ 'LOYALTY.aviosLinkingAndExchange.linkYourAccounts.description' | finLocalization }}\n

    \n \n
    \n
    \n \n \n
    \n\n\n\n
    \n
    \n\n \n \n
    \n
    \n
    \n \n
    \n {{ AviosPartner.BAEC }}\n
    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n\n","import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { CustomIcon, IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, Observable, Subscription, map, of, switchMap, take, tap, withLatestFrom } from 'rxjs';\n\nimport { CmsArticle } from '@fcom/core-api';\nimport { finShare } from '@fcom/rx';\nimport { CmsDataService, ConfigService, WindowRef, unsubscribe } from '@fcom/core';\nimport { LanguageService } from '@fcom/ui-translate';\nimport {\n ButtonTheme,\n IconPosition,\n ModalButtons,\n NotificationButtonStyle,\n NotificationTheme,\n StepperStep,\n} from '@fcom/ui-components';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core';\nimport { TwoFactorAuthService, TwoFactorAuthStatus } from '@fcom/loyalty-profile/services/two-factor-auth.service';\nimport { GtmService } from '@fcom/common/gtm';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\nimport { ElementActions, ElementTypes } from '@fcom/common';\n\nimport { AviosPartner } from '../../interfaces/avios-linking-and-exchange.interface';\nimport { AviosLinkingService, AviosAccountLinkingStatus } from '../../services/avios-linking.service';\nimport {\n PlusProfileQueryParamSectionValue,\n PlusProfileQueryParams,\n} from '../../views/plus-profile/plus-profile.component';\n\nexport enum LinkAccountsFlowStep {\n ENABLE_TWO_FACTOR_AUTH = 'enable-two-factor-auth',\n LINK_ACCOUNTS = 'link-accounts',\n}\n\nexport interface LinkAccountsStepperStep extends StepperStep {\n step: LinkAccountsFlowStep;\n}\n\nexport enum AviosLinkingAndExchangeModal {\n LinkAccounts = 'linkAccounts',\n TransferAvios = 'transferAvios',\n UnlinkAccount = 'unlinkAccount',\n}\n\n@Component({\n selector: 'fin-avios-linking-and-exchange',\n templateUrl: 'avios-linking-and-exchange.component.html',\n styleUrls: ['./avios-linking-and-exchange.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AviosLinkingAndExchangeComponent implements OnInit, OnDestroy {\n readonly LinkAccountsFlowStep = LinkAccountsFlowStep;\n readonly ButtonTheme = ButtonTheme;\n readonly CustomIcon = CustomIcon;\n readonly IconLibrary = IconLibrary;\n readonly IconPosition = IconPosition;\n readonly ModalButtons = ModalButtons;\n readonly NotificationTheme = NotificationTheme;\n readonly NotificationButtonStyle = NotificationButtonStyle;\n readonly AviosPartner = AviosPartner;\n readonly TwoFactorAuthStatus = TwoFactorAuthStatus;\n readonly AviosAccountLinkingStatus = AviosAccountLinkingStatus;\n readonly AviosLinkingAndExchangeModal = AviosLinkingAndExchangeModal;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n twoFactorAuthStatus$: Observable;\n aviosLinkingStatus$: Observable;\n\n transferBetweenAccountsFragment$: Observable;\n\n stepperSteps$: Observable;\n stepperActiveStep$ = new BehaviorSubject(LinkAccountsFlowStep.ENABLE_TWO_FACTOR_AUTH);\n\n stepperActiveStepIndex$: Observable;\n\n test$: Observable;\n\n modalFragments: {\n [key in AviosLinkingAndExchangeModal]: Observable;\n } = {\n [AviosLinkingAndExchangeModal.LinkAccounts]: null,\n [AviosLinkingAndExchangeModal.TransferAvios]: null,\n [AviosLinkingAndExchangeModal.UnlinkAccount]: null,\n };\n modalOpened: AviosLinkingAndExchangeModal | undefined;\n\n get isModalOpened(): boolean {\n return !!this.modalOpened;\n }\n\n set isModalOpened(value: boolean) {\n if (!value) {\n this.modalOpened = undefined;\n }\n }\n\n private subscriptions = new Subscription();\n\n constructor(\n private cmsDataService: CmsDataService,\n private languageService: LanguageService,\n private aviosLinkingService: AviosLinkingService,\n private twoFactorAuthService: TwoFactorAuthService,\n private configService: ConfigService,\n private router: Router,\n private windowRef: WindowRef,\n private gtmService: GtmService\n ) {}\n\n ngOnInit(): void {\n this.twoFactorAuthStatus$ = this.twoFactorAuthService.status$;\n this.aviosLinkingStatus$ = this.aviosLinkingService.status$;\n\n this.transferBetweenAccountsFragment$ = this.aviosLinkingStatus$.pipe(\n switchMap((aviosLinkingStatus) => {\n const transferBetweenAccountsFragmentName =\n aviosLinkingStatus === AviosAccountLinkingStatus.ACTIVE\n ? 'transferAviosBetweenAccountsActive'\n : 'transferAviosBetweenAccountsInactive';\n return this.languageService.translate(`LOYALTY.fragments.${transferBetweenAccountsFragmentName}.url`);\n }),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n );\n\n this.stepperSteps$ = of([\n {\n step: LinkAccountsFlowStep.ENABLE_TWO_FACTOR_AUTH,\n title: 'LOYALTY.aviosLinkingAndExchange.enable2faAuthentication.title',\n ariaLabel: 'LOYALTY.aviosLinkingAndExchange.enable2faAuthentication.title',\n },\n {\n step: LinkAccountsFlowStep.LINK_ACCOUNTS,\n title: 'LOYALTY.aviosLinkingAndExchange.linkYourAccounts.title',\n ariaLabel: 'LOYALTY.aviosLinkingAndExchange.linkYourAccounts.title',\n },\n ]);\n\n this.subscriptions.add(\n this.twoFactorAuthStatus$\n .pipe(\n tap((status) => {\n this.stepperActiveStep$.next(\n status === TwoFactorAuthStatus.ENABLED\n ? LinkAccountsFlowStep.LINK_ACCOUNTS\n : LinkAccountsFlowStep.ENABLE_TWO_FACTOR_AUTH\n );\n })\n )\n .subscribe()\n );\n\n this.stepperActiveStepIndex$ = this.stepperActiveStep$.pipe(\n withLatestFrom(this.stepperSteps$),\n map(([activeStep, steps]) => {\n return steps.findIndex((step) => step.step === activeStep);\n })\n );\n\n this.modalFragments = {\n [AviosLinkingAndExchangeModal.LinkAccounts]: this.languageService\n .translate('LOYALTY.fragments.aviosLinkingAndExchangeLinkAccountsModal.url')\n .pipe(\n take(1),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n ),\n [AviosLinkingAndExchangeModal.TransferAvios]: this.languageService\n .translate('LOYALTY.fragments.aviosLinkingAndExchangeTransferAviosModal.url')\n .pipe(\n take(1),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n ),\n [AviosLinkingAndExchangeModal.UnlinkAccount]: this.languageService\n .translate('LOYALTY.fragments.aviosLinkingAndExchangeUnlinkAccountModal.url')\n .pipe(\n take(1),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n ),\n };\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n onStepperClicked(stepperStep: StepperStep): void {\n const { step } = stepperStep as LinkAccountsStepperStep;\n this.stepperActiveStep$.next(step);\n }\n\n onEnable2FAAuthenticationClickBtn(isTwoFactorAuthEnabled: boolean): void {\n if (isTwoFactorAuthEnabled) {\n this.stepperActiveStep$.next(LinkAccountsFlowStep.LINK_ACCOUNTS);\n } else {\n this.gtmService.trackElement(\n 'avios-linking-and-exchange-enable-2fa-button',\n GaContext.FINNAIR_PLUS,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n this.router.navigate([this.languageService.langValue, LoyaltyRoutesPath.PLUS, LoyaltyRoutesPath.PROFILE], {\n queryParams: {\n [PlusProfileQueryParams.Section]: PlusProfileQueryParamSectionValue.TwoFactorAuth,\n [PlusProfileQueryParams.TwoFactorAuthEnabledBackButtonUrl]: `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}`,\n },\n });\n }\n }\n\n onLinkAccountsClickBtn(): void {\n this.modalOpened = AviosLinkingAndExchangeModal.LinkAccounts;\n }\n\n onTransferAviosClickBtn(): void {\n this.modalOpened = AviosLinkingAndExchangeModal.TransferAvios;\n }\n\n onUnlinkAccountClickBtn(): void {\n this.modalOpened = AviosLinkingAndExchangeModal.UnlinkAccount;\n }\n\n onModalConfirm(): void {\n const trackGtm = (elementName: string) => {\n this.gtmService.trackElement(\n `avios-linking-and-exchange-${elementName}`,\n GaContext.FINNAIR_PLUS,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n };\n\n switch (this.modalOpened) {\n case AviosLinkingAndExchangeModal.LinkAccounts:\n trackGtm('link-accounts');\n break;\n case AviosLinkingAndExchangeModal.TransferAvios:\n trackGtm('transfer-avios');\n break;\n case AviosLinkingAndExchangeModal.UnlinkAccount:\n trackGtm('unlink-account');\n break;\n }\n\n this.windowRef.nativeWindow.open(this.configService.cfg.britishAirwaysExchangeUrl, '_blank');\n }\n}\n","\n \n\n \n\n
    \n \n \n {{ 'LOYALTY.pointsAndTransactions.awardAndTierPointsExpandButton' | finLocalization }}\n \n \n\n \n
    \n \n
    \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n \n\n
    \n

    \n {{ 'plus.transactionHistory.title' | finLocalization }}\n

    \n\n \n
    \n
    \n\n
    \n \n \n \n
    \n","import { AfterViewInit, Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { delay, Observable, of, Subscription } from 'rxjs';\nimport { filter, map, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { Profile } from '@fcom/core-api/login';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { MediaQueryService, PageMetaService, ScrollService } from '@fcom/common/services';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { profile } from '@fcom/core/selectors';\nimport { AppState } from '@fcom/core';\nimport { TabTheme } from '@fcom/ui-components';\n\n@Component({\n selector: 'fin-balance-and-transactions',\n templateUrl: 'balance-and-transactions.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss', './balance-and-transactions.component.scss'],\n})\nexport class BalanceAndTransactionsComponent implements OnInit, OnDestroy, AfterViewInit {\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n public readonly TabTheme = TabTheme;\n\n isMobile$: Observable;\n template$: Observable;\n pageTitle$: Observable;\n\n profile$: Observable;\n pageViewType$: Observable = of('');\n showSideTitle$: Observable = of(false);\n displayCreditCardBanner$: Observable;\n\n awardAndTierPointsExpandOpen = false;\n\n private subscriptions: Subscription = new Subscription();\n\n @ViewChild('usePointsContent')\n usePointsContent: ElementRef;\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private store$: Store,\n private activatedRoute: ActivatedRoute,\n private mediaQueryService: MediaQueryService,\n private scrollService: ScrollService\n ) {}\n\n ngOnInit(): void {\n this.isMobile$ = this.mediaQueryService.isBreakpoint$('mobile');\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.profile$ = this.store$.pipe(profile(), take(1));\n }\n\n scrollToPoints(): void {\n this.scrollService.smoothScroll(this.usePointsContent);\n this.usePointsContent.nativeElement.focus();\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n\n this.subscriptions.add(\n this.activatedRoute.fragment\n .pipe(\n filter((fragment) => fragment === 'usePoints'),\n delay(0)\n )\n .subscribe(() => this.scrollToPoints())\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n \n
    \n

    \n {{ 'tierProgress.tierProgress' | finLocalization }}\n

    \n \n
    \n
    \n

    \n {{ 'tierBenefits.tierBenefits' | finLocalization }}\n

    \n \n
    \n
    \n
    \n\n\n\n
    \n
    \n

    \n {{ 'LOYALTY.tierBenefits.nonEligibleInfo.heading' | finLocalization }}\n

    \n

    {{ 'LOYALTY.tierBenefits.nonEligibleInfo.description.0' | finLocalization }}

    \n

    {{ 'LOYALTY.tierBenefits.nonEligibleInfo.description.1' | finLocalization }}

    \n
    \n
    \n","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\n\nimport { Observable, Subject, of } from 'rxjs';\nimport { map, takeUntil, pluck, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { PageMetaService } from '@fcom/common/services';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\nimport { AppState } from '@fcom/core';\n\n@Component({\n selector: 'fin-tier-progress-and-benefits',\n templateUrl: 'tier-progress-and-benefits.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss', './tier-progress-and-benefits.component.scss'],\n})\nexport class TierProgressAndBenefitsComponent implements OnInit, OnDestroy, AfterViewInit {\n template$: Observable;\n pageTitle$: Observable;\n pageViewType$: Observable = of('');\n showSideTitle$: Observable = of(false);\n isEligible$: Observable;\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private store$: Store\n ) {\n this.isEligible$ = this.store$.pipe(\n profile(),\n take(1),\n pluck('tier'),\n map((tier: ProfileTier): boolean => ![ProfileTier.JUNIOR, ProfileTier.BASIC, ProfileTier.SILVER].includes(tier))\n );\n }\n\n ngOnInit(): void {\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.TIER_PROGRESS_AND_BENEFITS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n }\n\n ngAfterViewInit(): void {\n this.template$\n .pipe(takeUntil(this.ngDestroyed$))\n .subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService));\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n}\n","import { ProfileTier } from '@fcom/core-api/login';\n\nexport const LEGACY_SITE_TIER_CODES = {\n [ProfileTier.BASIC]: 1,\n [ProfileTier.SILVER]: 2,\n [ProfileTier.GOLD]: 3,\n [ProfileTier.PLATINUM]: 4,\n [ProfileTier.LUMO]: 14,\n [ProfileTier.JUNIOR]: 11,\n};\n","\n
    \n \n
    \n
    \n\n\n","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\n\nimport { Observable, Subject, of } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { PageMetaService } from '@fcom/common/services';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { ConfigService } from '@fcom/core';\nimport { Profile, LoginAddress } from '@fcom/core-api/login';\nimport { serializeParams } from '@fcom/core/utils';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\n\nimport { LEGACY_SITE_TIER_CODES } from '../../constants';\n\n@Component({\n selector: 'fin-buy-points',\n templateUrl: 'buy-points.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss'],\n})\nexport class BuyPointsComponent implements OnInit, OnDestroy, AfterViewInit {\n template$: Observable;\n pageTitle$: Observable;\n pageViewType$: Observable = of('');\n showSideTitle$: Observable = of(false);\n iframeUrl$: Observable;\n profile$: Observable;\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private configService: ConfigService,\n private profileService: ProfileService\n ) {}\n\n ngOnInit() {\n this.profile$ = this.profileService.getFullProfile();\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BUY_POINTS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.iframeUrl$ = this.createIframeUrl();\n }\n\n ngAfterViewInit(): void {\n this.template$\n .pipe(takeUntil(this.ngDestroyed$))\n .subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService));\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n\n createIframeUrl(): Observable {\n return this.profile$.pipe(\n map((memberProfile: Profile) => {\n const address: LoginAddress = memberProfile.addresses.find((a) => !!a.primary);\n\n const params = {\n ssoSource: 'Finnair',\n ssoProduct: 'Buy',\n FinnairPlusMember: memberProfile.memberNumber,\n Firstname: memberProfile.firstname,\n Lastname: memberProfile.lastname,\n AccountBalance: memberProfile.awardPoints.toString(),\n Country: address?.country,\n Zip: address?.postalCode,\n Language: this.languageService.langValue,\n MemberTier: LEGACY_SITE_TIER_CODES[memberProfile.tier],\n MemberEmail: memberProfile.email,\n MemberJoinDate: memberProfile.joinDate,\n MemberStatus: memberProfile.status.substring(0, 1),\n CoBrandCard: memberProfile.sebCard ? 'Y' : 'N',\n };\n\n return `${this.configService.cfg.buyPointsIframeUrl}?${serializeParams(params)}`;\n })\n );\n }\n}\n","
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.table.flight' | finLocalization }}\n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.table.availability' | finLocalization }}\n \n \n \n \n \n \n \n {{ segment.airline_code }}{{ segment.flight_number }}\n {{ 'LOYALTY.upgradeAvailability.table.departure' | finLocalization }}:\n {{ segment.b_location.time }}\n {{ 'LOYALTY.upgradeAvailability.table.arrival' | finLocalization }}:\n {{ segment.e_location.time }}\n \n \n {{\n 'LOYALTY.upgradeAvailability.table.seat' | finLocalization\n }}\n 1\"\n >{{\n 'LOYALTY.upgradeAvailability.table.seats' | finLocalization: { seats: segment.available_seats }\n }}\n 5\"\n >{{ 'LOYALTY.upgradeAvailability.table.moreThan' | finLocalization }}\n \n {{\n 'LOYALTY.upgradeAvailability.table.waitlist' | finLocalization\n }}\n {{\n 'LOYALTY.upgradeAvailability.table.notEligible' | finLocalization\n }}\n \n \n \n \n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.loading' | finLocalization }}\n \n \n \n \n \n \n 0\">\n
    \n \n {{ 'LOYALTY.upgradeAvailability.infoModal.button' | finLocalization }}\n \n \n
    \n
    \n \n \n
    \n
    \n
    \n\n
    \n \n \n
    \n\n \n
    \n
      \n
    • \n {{ item }}\n
    • \n
    \n

    \n {{ 'LOYALTY.upgradeAvailability.infoModal.note' | finLocalization }}\n

    \n
    \n \n\n","/* eslint-disable sonarjs/no-duplicate-string */\nimport { Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation, ElementRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';\nimport { debounceTime, map, switchMap, take } from 'rxjs/operators';\n\nimport {\n ButtonSize,\n ButtonType,\n LoaderTheme,\n TabsComponent,\n TabTheme,\n ModalButtons,\n IconPosition,\n} from '@fcom/ui-components';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { LoaderType, ElementActions, ElementTypes } from '@fcom/common/interfaces';\nimport { AppState } from '@fcom/core';\nimport { Location } from '@fcom/core-api';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\nimport { LocationRouteCffService } from '@fcom/core/services';\nimport { FormStatus, ReactiveFormStatus } from '@fcom/service-forms';\nimport { locationFormatValidator } from '@fcom/service-forms/services/form-validators';\nimport { AUTOCOMPLETE_DEBOUNCE_TIME } from '@fcom/service-forms/services/utils';\nimport { LocalDate, unsubscribe } from '@fcom/core/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\n\nimport { AmadeusError, FlightListSegment, FlightSegment } from '../../interfaces/upgrade-availability.interface';\nimport { UpgradeAvailabilityService } from '../../services/upgrade-availability.service';\n\ninterface NumericalFlightListSegment extends Omit {\n // eslint-disable-next-line camelcase\n list_segment: Array & { available_seats: number }>;\n}\n\n@Component({\n selector: 'fin-upgrade-availability',\n templateUrl: 'upgrade-availability.component.html',\n styleUrls: ['./upgrade-availability.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class UpgradeAvailabilityComponent implements OnInit, OnDestroy {\n public readonly ButtonType = ButtonType;\n public readonly ButtonSize = ButtonSize;\n public readonly IconPosition = IconPosition;\n public readonly FormStatus = FormStatus;\n public readonly LoaderType = LoaderType;\n public readonly LoaderTheme = LoaderTheme;\n public readonly TabTheme = TabTheme;\n public readonly ModalButtons = ModalButtons;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n destinationLoading$: Subject = new Subject();\n departureLoading$: Subject = new Subject();\n destinationLocations$: Subject = new Subject();\n departureLocations$: Subject = new Subject();\n reactiveForm: UntypedFormGroup;\n maxDate: LocalDate = LocalDate.now().plusYears(1);\n minDate: LocalDate = LocalDate.now();\n flightList$: BehaviorSubject = new BehaviorSubject([]);\n selectedDate: string;\n dateStringArray: string[];\n formStatus: FormStatus = FormStatus.INITIAL;\n errorMessage: string;\n profileTier$: Observable;\n isInfoModalOpen = false;\n\n @ViewChild('tabs', { static: false })\n tabs: TabsComponent;\n\n @ViewChild('openInfoModalButton', { static: false })\n openInfoModalButton: ElementRef;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private store$: Store,\n private upgradeAvailabilityService: UpgradeAvailabilityService,\n private locationRouteCffService: LocationRouteCffService,\n private languageService: LanguageService,\n private gtmService: GtmService\n ) {}\n\n ngOnInit(): void {\n this.dateStringArray = this.getDates(this.minDate, this.maxDate);\n this.createForm();\n this.destinationLoading$.next(false);\n this.departureLoading$.next(false);\n this.subscriptions.add(\n this.flightList$.subscribe((list: NumericalFlightListSegment[]) => {\n if (list.length > 0 && this.tabs) {\n this.tabs.scrollToSelectedTab();\n }\n })\n );\n this.profileTier$ = this.store$.pipe(\n profile(),\n take(1),\n map((storeProfile) => storeProfile.tier)\n );\n this.onDestinationChanges();\n this.onDepartureChanges();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n getFlightList(date = this.departureDate.value): void {\n if (this.reactiveForm.valid) {\n this.formStatus = FormStatus.LOADING;\n const locale = this.languageService.ddsLocaleValue;\n const departure = this.departure.value.locationCode;\n const destination = this.destination.value.locationCode;\n const departureDate: LocalDate = date;\n this.selectedDate = departureDate.toString();\n this.subscriptions.add(\n this.profileTier$\n .pipe(\n switchMap((profileTier) =>\n this.upgradeAvailabilityService.getUpgradeAvailability(\n profileTier,\n departure,\n destination,\n departureDate,\n locale.countrySite,\n locale.language\n )\n )\n )\n .subscribe((result: FlightListSegment[] | AmadeusError) => {\n if ((result as AmadeusError).message) {\n this.formStatus = FormStatus.ERROR;\n this.errorMessage = (result as AmadeusError).message;\n this.gtmService.trackElement(\n `error::${departure}-${destination}::${departureDate.toString()}`,\n GaContext.UPGRADE_AVAILABILITY_SEARCH,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.SEARCH\n );\n } else {\n this.formStatus = FormStatus.COMPLETE;\n const filteredFlights = (result as FlightListSegment[])\n .filter((flights) => flights.display === 'true')\n .map((flightListSegment) => ({\n ...flightListSegment,\n // eslint-disable-next-line camelcase\n list_segment: flightListSegment.list_segment.map((segment: FlightSegment) => ({\n ...segment,\n available_seats: parseInt(segment.available_seats, 10),\n })),\n }));\n\n this.flightList$.next(filteredFlights);\n this.gtmService.trackElement(\n `success::${departure}-${destination}::${departureDate.toString()}`,\n GaContext.UPGRADE_AVAILABILITY_SEARCH,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.SEARCH\n );\n }\n })\n );\n } else {\n this.reactiveForm.markAllAsTouched();\n }\n }\n\n getDates(startDate: LocalDate, stopDate: LocalDate): string[] {\n const dateArray = [];\n let currentDate = startDate;\n while (currentDate.lte(stopDate)) {\n dateArray.push(currentDate.toString());\n currentDate = currentDate.plusDays(1);\n }\n return dateArray;\n }\n\n bookNow(): void {\n const departure = this.departure.value.locationCode;\n const destination = this.destination.value.locationCode;\n const departureDate = this.departureDate.value?.toString();\n this.gtmService.trackElement(\n `success::${departure}-${destination}::${departureDate}`,\n GaContext.UPGRADE_AVAILABILITY_SEARCH,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n window.open(\n `/${this.languageService.langValue}/booking?origin=${departure}&destination=${destination}&departureDate=${departureDate}`,\n '_blank'\n );\n }\n\n openInfoModal(event: MouseEvent): void {\n event.stopPropagation();\n this.isInfoModalOpen = true;\n }\n\n closeInfoModal(): void {\n if (this.openInfoModalButton) {\n this.openInfoModalButton.nativeElement.focus();\n }\n }\n\n private createForm(): void {\n const formConfig = {\n departure: ['', [locationFormatValidator(), Validators.required]],\n destination: ['', [locationFormatValidator(), Validators.required]],\n departureDate: ['', [Validators.required]],\n };\n\n this.reactiveForm = this.fb.group(formConfig);\n }\n\n get departure() {\n return this.reactiveForm.get('departure');\n }\n\n get destination() {\n return this.reactiveForm.get('destination');\n }\n\n get departureDate() {\n return this.reactiveForm.get('departureDate');\n }\n\n private queryLocations(queryString: string, locations$: Subject, loading$: Subject) {\n const locale = this.languageService.localeValue;\n\n loading$.next(true);\n\n this.subscriptions.add(\n this.locationRouteCffService.locationMatchesFor(queryString, locale).subscribe((matchedLocations) => {\n loading$.next(false);\n locations$.next(matchedLocations.items);\n })\n );\n }\n\n private onDepartureChanges(): void {\n this.subscriptions.add(\n this.departure.valueChanges.pipe(debounceTime(AUTOCOMPLETE_DEBOUNCE_TIME)).subscribe((val) => {\n if (this.reactiveForm.get('departure').status === ReactiveFormStatus.INVALID) {\n this.queryLocations(val, this.departureLocations$, this.departureLoading$);\n }\n })\n );\n }\n\n private onDestinationChanges(): void {\n this.subscriptions.add(\n this.destination.valueChanges.pipe(debounceTime(AUTOCOMPLETE_DEBOUNCE_TIME)).subscribe((val) => {\n if (this.reactiveForm.get('destination').status === ReactiveFormStatus.INVALID) {\n this.queryLocations(val, this.destinationLocations$, this.destinationLoading$);\n }\n })\n );\n }\n}\n","
    \n
    \n

    \n {{ 'LOYALTY.upgradeAvailability.title' | finLocalization }}\n

    \n
    \n \n {{ 'LOYALTY.upgradeAvailability.intro.paragraph1' | finLocalization }}\n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.intro.paragraph3' | finLocalization }}\n \n
    \n
    \n
    \n \n
    \n
    \n \n {{ 'LOYALTY.upgradeAvailability.subHeading' | finLocalization }}\n \n
    \n \n {{ 'LOYALTY.upgradeAvailability.subParagraph.0' | finLocalization }}\n \n \n {{ 'LOYALTY.upgradeAvailability.subParagraph.1' | finLocalization }}\n \n \n {{ 'LOYALTY.upgradeAvailability.subParagraph.2' | finLocalization }}\n \n \n {{\n link.teaserTitle\n }}\n \n
    \n \n \n
    \n
    \n
    \n
    \n","import { Component, AfterViewInit, OnDestroy, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { of, Observable, Subject } from 'rxjs';\nimport { takeUntil, map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { ButtonSize } from '@fcom/ui-components';\nimport { CmsTemplate, CmsContent } from '@fcom/core-api';\nimport { CmsTemplateService } from '@fcom/cms';\nimport { PageMetaService } from '@fcom/common';\nimport { LoyaltyRoutesPath, setPageMetadata } from '@fcom/loyalty-core';\nimport { RootPaths } from '@fcom/core/constants';\n\n@Component({\n selector: 'fin-loyalty-upgrade-travel-class',\n templateUrl: './upgrade-travel-class.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss'],\n})\nexport class UpgradeTravelClassComponent implements OnInit, OnDestroy, AfterViewInit {\n public readonly ButtonSize = ButtonSize;\n\n template$: Observable;\n pageTitle$: Observable;\n pageViewType$: Observable = of('');\n upgradeUrl = `/${this.languageService.langValue}/${RootPaths.ONE_UPGRADE_ROOT}`;\n upgradeTermsLink$: Observable = of(null);\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private router: Router\n ) {}\n\n ngOnInit() {\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.UPGRADE_AVAILABILITY}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n this.upgradeTermsLink$ = this.template$.pipe(\n map((template: CmsTemplate) =>\n template?.main?.find((content: CmsContent): CmsContent => content.localSettings?.isUpgradeTermsTeaser)\n ),\n takeUntil(this.ngDestroyed$)\n );\n }\n\n ngAfterViewInit(): void {\n this.template$\n .pipe(takeUntil(this.ngDestroyed$))\n .subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService));\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n\n upgradeTo(): void {\n this.router.navigateByUrl(this.upgradeUrl);\n }\n}\n","import { Injectable, Inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot, Router } from '@angular/router';\n\nimport { Store } from '@ngrx/store';\nimport { Observable, of } from 'rxjs';\nimport { filter, take, switchMap, map, catchError, timeout } from 'rxjs/operators';\n\nimport { AppState } from '@fcom/core';\nimport { Profile, ProfileTier, LoginStatus } from '@fcom/core-api/login';\nimport { loginStatus, profile } from '@fcom/core/selectors';\nimport { LoginService } from '@fcom/common/login';\nimport { recurseLangParam } from '@fcom/common';\nimport { finShare } from '@fcom/rx';\n\n@Injectable()\nexport class PlusUserGuard implements CanActivate {\n static readonly GET_LOGIN_STATUS_TIMEOUT = 20000;\n\n constructor(\n private store$: Store,\n private loginService: LoginService,\n private router: Router,\n @Inject(PLATFORM_ID) private platform: object\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\n if (isPlatformServer(this.platform)) {\n return of(true);\n }\n\n const lang = recurseLangParam(route);\n\n return this.store$.pipe(\n loginStatus(),\n finShare(),\n // throw immediately if login status is resolved to NOT_LOGGED_IN\n timeout(PlusUserGuard.GET_LOGIN_STATUS_TIMEOUT),\n map((status) => {\n if (status === LoginStatus.NOT_LOGGED_IN) {\n throw new Error('User not logged in');\n }\n return status;\n }),\n filter((status) => status === LoginStatus.LOGGED_IN),\n // if user is logged in, fetch profile\n switchMap(() => this.store$.pipe(profile(), take(1))),\n // pass through all tiers expect Finnair ID\n map((memberProfile: Profile) => {\n if (\n [ProfileTier.ACCOUNT, ProfileTier.CORPORATE].includes(memberProfile.tier) ||\n (memberProfile.partStatus && memberProfile.partStatus.code !== 'SUCCESS')\n ) {\n throw new Error('Invalid plus member profile');\n }\n return true;\n }),\n // redirect failed attempts to login page\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((e: any) => {\n if (e.message === 'User not logged in') {\n return of(this.deny(state.url));\n } else {\n return of(this.reject(lang));\n }\n })\n );\n }\n\n private deny(redirectPath: string): false {\n this.loginService.redirectToLogin({ redirectPath });\n return false;\n }\n\n private reject(lang): false {\n this.router.navigateByUrl(`/${lang}`, { replaceUrl: true });\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\n\nimport { Observable, of } from 'rxjs';\n\nimport { recurseLangParam } from '@fcom/common/utils/route-utils';\nimport { ConfigService } from '@fcom/core';\n\n@Injectable()\nexport class BuyPointsGuard implements CanActivate {\n constructor(\n private configService: ConfigService,\n private router: Router\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\n const lang = recurseLangParam(route);\n\n if (!this.configService.cfg.enableBuyPoints) {\n return of(this.deny(lang));\n }\n\n return of(true);\n }\n\n private deny(lang: string): false {\n this.router.navigateByUrl(`/${lang}`, { replaceUrl: true });\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\n\nimport { Observable, of } from 'rxjs';\n\nimport { recurseLangParam } from '@fcom/common/utils/route-utils';\nimport { ConfigService } from '@fcom/core';\n\n@Injectable()\nexport class UpgradeTravelClassGuard implements CanActivate {\n constructor(\n private configService: ConfigService,\n private router: Router\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\n const lang = recurseLangParam(route);\n\n if (!this.configService.cfg.enableUpgradeTravelClass) {\n return of(this.deny(lang));\n }\n\n return of(true);\n }\n\n private deny(lang: string): false {\n this.router.navigateByUrl(`/${lang}`, { replaceUrl: true });\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { Observable } from 'rxjs';\n\nimport { ConfigService } from '@fcom/core';\n\nimport { TransactionsResponse } from '../interfaces';\n\n@Injectable()\nexport class CampaignService {\n constructor(\n private http: HttpClient,\n private configService: ConfigService\n ) {}\n\n enrollToCampaign(campaignId: string, mni: string): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.apiUrl;\n\n const payload = {\n campaignId,\n mni,\n };\n\n return this.http.post(`${apiUrl}/campaigns/enroll`, payload);\n }\n}\n","import { Component, OnInit, ViewEncapsulation, OnDestroy } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { LoaderType, ToasterService } from '@fcom/common';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core';\nimport { finShare } from '@fcom/rx';\nimport { NotificationTheme } from '@fcom/ui-components';\n\nimport { CampaignService } from '../../services/campaign.service';\n\n@Component({\n templateUrl: 'campaign-enroll.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class CampaignEnrollComponent implements OnInit, OnDestroy {\n private subscriptions: Subscription = new Subscription();\n\n public readonly LoaderType = LoaderType;\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private languageService: LanguageService,\n private toasterService: ToasterService,\n private campaignService: CampaignService\n ) {}\n\n ngOnInit(): void {\n this.subscriptions.add(\n this.activatedRoute.queryParams\n .pipe(\n switchMap((params) => {\n if (params.campaignId && params.mni) {\n return this.campaignService.enrollToCampaign(params.campaignId, params.mni);\n }\n throw new Error('Invalid params');\n }),\n finShare()\n )\n .subscribe({\n next: () => this.navigateToFrontpageWithMessage(),\n error: () => this.navigateToError(),\n })\n );\n }\n\n navigateToFrontpageWithMessage(): void {\n this.toasterService.addMessageToQueue({\n id: 'enroll-successful',\n contentKey: 'LOYALTY.enroll.success',\n keepMessageAfterNavigation: true,\n theme: NotificationTheme.SUCCESS,\n });\n this.router.navigate([this.languageService.langValue], {\n skipLocationChange: false,\n });\n }\n\n navigateToError(): void {\n this.router.navigate([this.languageService.langValue, LoyaltyRoutesPath.PLUS, LoyaltyRoutesPath.ERROR], {\n skipLocationChange: false,\n });\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n","import { Inject, Injectable, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';\n\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core';\nimport { recurseLangParam } from '@fcom/common';\n\n@Injectable()\nexport class LoyaltyOverhaulGuard implements CanActivate {\n constructor(\n private router: Router,\n @Inject(PLATFORM_ID) private platform: object\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot): boolean {\n if (isPlatformServer(this.platform)) {\n return true;\n }\n\n const lang = recurseLangParam(route);\n this.router.navigateByUrl(`/${lang}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}`, {\n replaceUrl: true,\n });\n return false;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { CmsFooterComponent } from '@fcom/cms/components';\nimport { createRoute } from '@fcom/common';\nimport { ErrorComponent, HeaderComponent, NavigationModule } from '@fcom/common/components';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { LoyaltyMyTripsComponent } from '@fcom/loyalty-core/views/loyalty-my-trips/loyalty-my-trips.component';\nimport { LoyaltyLayoutComponent } from '@fcom/loyalty-core/views/loyalty-layout/loyalty-layout.component';\n\nimport { PlusDashboardComponent } from './views/plus-dashboard/plus-dashboard.component';\nimport { PlusProfileComponent } from './views/plus-profile/plus-profile.component';\nimport { BalanceAndTransactionsComponent } from './views/balance-and-transactions/balance-and-transactions.component';\nimport { TierProgressAndBenefitsComponent } from './views/tier-progress-and-benefits/tier-progress-and-benefits.component';\nimport { BuyPointsComponent } from './views/buy-points/buy-points.component';\nimport { UpgradeTravelClassComponent } from './views/upgrade-travel-class/upgrade-travel-class.component';\nimport { PlusUserGuard } from './services/plus-user.guard';\nimport { BuyPointsGuard } from './services/buy-points.guard';\nimport { UpgradeTravelClassGuard } from './services/upgrade-travel-class.guard';\nimport { CampaignEnrollComponent } from './views/campaign-enroll/campaign-enroll.component';\nimport { LoyaltyOverhaulGuard } from './services/loyalty-overhaul.guard';\n\nexport const plusRoutes: Routes = [\n {\n path: '',\n component: LoyaltyLayoutComponent,\n children: [\n { path: '', component: HeaderComponent, outlet: 'header' },\n { path: '', component: CmsFooterComponent, outlet: 'footer' },\n createRoute({ path: '' }, PlusDashboardComponent, [], [PlusUserGuard]),\n createRoute({ path: `${LoyaltyRoutesPath.PROFILE}` }, PlusProfileComponent, [], [PlusUserGuard]),\n createRoute(\n { path: `${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}` },\n BalanceAndTransactionsComponent,\n [],\n [PlusUserGuard]\n ),\n createRoute(\n { path: `${LoyaltyRoutesPath.UPGRADE_AVAILABILITY}` },\n UpgradeTravelClassComponent,\n [],\n [PlusUserGuard, UpgradeTravelClassGuard]\n ),\n createRoute({ path: `${LoyaltyRoutesPath.MY_TRIPS}` }, LoyaltyMyTripsComponent, [], [PlusUserGuard]),\n createRoute(\n { path: `${LoyaltyRoutesPath.TIER_PROGRESS_AND_BENEFITS}` },\n TierProgressAndBenefitsComponent,\n [],\n [PlusUserGuard, LoyaltyOverhaulGuard]\n ),\n createRoute({ path: `${LoyaltyRoutesPath.BUY_POINTS}` }, BuyPointsComponent, [], [PlusUserGuard, BuyPointsGuard]),\n createRoute({ path: `${LoyaltyRoutesPath.CAMPAIGN_ENROLL}` }, CampaignEnrollComponent, [], []),\n createRoute({ path: `${LoyaltyRoutesPath.ERROR}` }, ErrorComponent, [], []),\n ],\n },\n];\n\n@NgModule({\n imports: [NavigationModule, RouterModule.forChild(plusRoutes)],\n declarations: [],\n providers: [PlusUserGuard, BuyPointsGuard, UpgradeTravelClassGuard, LoyaltyOverhaulGuard],\n exports: [RouterModule],\n})\nexport class PlusRouteModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { UiComponentsModule } from '@fcom/ui-components';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { DirectiveModule } from '@fcom/common/directives';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { ServiceFormsModule } from '@fcom/service-forms';\nimport { CommonServiceFormsModule } from '@fcom/service-forms/components/common/common-service-forms.module';\nimport { ProfileModule } from '@fcom/loyalty-profile';\nimport { CmsModule } from '@fcom/cms/components';\nimport { LoyaltyCoreModule } from '@fcom/loyalty-core';\nimport { LocalizationProvider } from '@fcom/core/services/language/localization.provider';\nimport { I18nKey } from '@fcom/core';\n\nimport { PlusRouteModule } from './plus.routes';\nimport { PlusDashboardComponent } from './views/plus-dashboard/plus-dashboard.component';\nimport { PlusProfileComponent } from './views/plus-profile/plus-profile.component';\nimport { BalanceAndTransactionsComponent } from './views/balance-and-transactions/balance-and-transactions.component';\nimport { TierProgressAndBenefitsComponent } from './views/tier-progress-and-benefits/tier-progress-and-benefits.component';\nimport { BuyPointsComponent } from './views/buy-points/buy-points.component';\nimport { UpgradeTravelClassComponent } from './views/upgrade-travel-class/upgrade-travel-class.component';\nimport { CampaignEnrollComponent } from './views/campaign-enroll/campaign-enroll.component';\nimport { GuardianInformationFormComponent } from './components/guardian-information-form/guardian-information-form.component';\nimport { PointsBalanceComponent } from './components/points-balance/points-balance.component';\nimport { TierProgressComponent } from './components/tier-progress/tier-progress.component';\nimport { PlusDashboardHeaderComponent } from './components/plus-dashboard-header/plus-dashboard-header.component';\nimport { TransactionHistoryComponent } from './components/transaction-history/transaction-history.component';\nimport { UpgradeAvailabilityComponent } from './components/upgrade-availability/upgrade-availability.component';\nimport { ExpiringVoucherNotificationComponent } from './components/expiring-voucher-notification/expiring-voucher-notification.component';\nimport { UpgradeBenefitsComponent } from './components/upgrade-benefits/upgrade-benefits.component';\nimport { NewMemberNotificationComponent } from './components/new-member-notification/new-member-notification.component';\nimport { TransactionService } from './services/transaction.service';\nimport { VoucherService } from './services/voucher.service';\nimport { UpgradeAvailabilityService } from './services/upgrade-availability.service';\nimport { CampaignService } from './services/campaign.service';\nimport { AviosLinkingService } from './services/avios-linking.service';\nimport { MilestonesComponent } from './components/milestones/milestones.component';\nimport { MilestoneComponent } from './components/milestone/milestone.component';\nimport { TierBenefitsComponent } from './components/tier-benefits/tier-benefits.component';\nimport { BenefitBannerComponent } from './components/benefit-banner/benefit-banner.component';\nimport { PromotionSegmentComponent } from './components/promotion-segment/promotion-segment.component';\nimport { AviosLinkingAndExchangeComponent } from './components/avios-linking-and-exchange/avios-linking-and-exchange.component';\n\n@NgModule({\n imports: [\n PlusRouteModule,\n CommonModule,\n ComponentsModule,\n DirectiveModule,\n GtmModule,\n PipesModule,\n CommonServiceFormsModule,\n ServiceFormsModule,\n ProfileModule,\n ReactiveFormsModule.withConfig({\n callSetDisabledState: 'whenDisabledForLegacyCode',\n }),\n UiTranslateModule,\n UiComponentsModule,\n CmsModule,\n LoyaltyCoreModule,\n ],\n declarations: [\n PlusDashboardComponent,\n PlusProfileComponent,\n GuardianInformationFormComponent,\n PointsBalanceComponent,\n TierProgressComponent,\n PlusDashboardHeaderComponent,\n BalanceAndTransactionsComponent,\n TransactionHistoryComponent,\n ExpiringVoucherNotificationComponent,\n UpgradeBenefitsComponent,\n TierProgressAndBenefitsComponent,\n NewMemberNotificationComponent,\n BuyPointsComponent,\n UpgradeTravelClassComponent,\n UpgradeAvailabilityComponent,\n CampaignEnrollComponent,\n MilestonesComponent,\n MilestoneComponent,\n TierBenefitsComponent,\n BenefitBannerComponent,\n PromotionSegmentComponent,\n AviosLinkingAndExchangeComponent,\n ],\n exports: [],\n providers: [TransactionService, VoucherService, UpgradeAvailabilityService, CampaignService, AviosLinkingService],\n})\nexport class PlusModule {\n constructor(private localizationProvider: LocalizationProvider) {\n this.localizationProvider.triggerLazyLocalizations(I18nKey.LOYALTY);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpParams } from '@angular/common/http';\n\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable, of } from 'rxjs';\n\nimport { ConfigService } from '@fcom/core';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { LocalDate, pad } from '@fcom/core/utils';\n\nimport { FlightListSegment, AmadeusError } from '../interfaces/upgrade-availability.interface';\n\nenum ErrorCode {\n TIMEOUT = '3001',\n SAMELOCATION = '10001',\n NOTFOUND = '9100',\n}\n\n@Injectable()\nexport class UpgradeAvailabilityService {\n private officeId = {\n GOLD: 'HELAY08FG',\n PLATINUM: 'HELAY08FP',\n LUMO: 'HELAY08FL',\n };\n\n constructor(\n private httpClient: HttpClient,\n private configService: ConfigService\n ) {}\n\n getUpgradeAvailability(\n tier: ProfileTier,\n departure: string,\n destination: string,\n departureDate: LocalDate,\n country: string,\n language: string\n ): Observable {\n const officeId = this.officeId[tier.toUpperCase()] ? this.officeId[tier.toUpperCase()] : 'HELAY08AA';\n const error = {\n code: '',\n message: 'LOYALTY.upgradeAvailability.error.generic',\n };\n const apiUrl = this.configService.cfg.upgradeAvailabilityUrl;\n const params: HttpParams = new HttpParams()\n .set('SO_SITE_OFFICE_ID', officeId)\n .set('COUNTRY_SITE', country)\n .set('SITE', 'FINRFINR')\n .set('LANGUAGE', language)\n .set('PAGE', 'UPGD')\n .set('B_LOCATION_1', departure)\n .set('E_LOCATION_1', destination)\n .set('B_DATE_1', this.formatDate(departureDate))\n .set('EMBEDDED_TRANSACTION', 'AirAvailability')\n .set('WDS_RBD_CATALOG', '1');\n return this.httpClient.get(`${apiUrl}/`, { params }).pipe(\n map((response: any) => {\n // eslint-disable-next-line camelcase\n if (response?.avail?.list_flight) {\n return JSON.parse(JSON.stringify(response.avail.list_flight));\n } else {\n const code = response.ERROR[0].code;\n if (code === ErrorCode.TIMEOUT) {\n error.message = 'LOYALTY.upgradeAvailability.error.timeout';\n } else if (code === ErrorCode.SAMELOCATION) {\n error.message = 'LOYALTY.upgradeAvailability.error.sameLocations';\n } else if (code === ErrorCode.NOTFOUND) {\n error.message = 'LOYALTY.upgradeAvailability.error.notFound';\n }\n error.code = code;\n return error;\n }\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n if (err.status === 504 || err.status === 408) {\n error.message = 'LOYALTY.upgradeAvailability.error.timeout';\n }\n error.code = err.status.toString();\n return of(error);\n })\n );\n }\n\n private formatDate(date: LocalDate): string {\n return `${date.localYear}${pad(date.localMonth)}${pad(date.localDay)}0000`;\n }\n}\n"],"x_google_ignoreList":[0]}