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,MAQAjJ,MAAA,GAAAA,MAAA,OAAA4F,EAAAiF,OAAAjF,EAAAkB,eAAA8C,oBAAA,ECfV,IAAMkB,GAAkC,MAAzC,MAAOA,UAA0CC,KAAgCjL,SAAA3B,KAAA,iEAA1E2M,KAAiC/K,GAAjC+K,EAAiC,EAAyC,GAAzChL,SAAA3B,KAAA,UAAAiC,EAAA4G,IAAA,MAAjC8D,EAAiC7D,UAAA,yCAAAtB,SAAA,CAAA3F,OAAAkH,MAAA,EAAAC,KAAA,EAAAC,OAAA,mEAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,IDV9CtH,MAAA,EAAAgL,GAAA,6CAAehL,MAAA,OAAAA,MAAA,IAAAuH,EAAA0D,iJCUFH,CAAkC,KC0BlCI,GAAwB,MAA/B,MAAOA,UAAgCC,KAC3CC,mBACE,OAAOjN,KAAKkN,yBAAyBC,wBAAwBR,GAC/D,CAAChL,SAAA3B,KAAA,iEAHU+M,KAAuBnL,GAAvBmL,EAAuB,EAGjC,GAHiCpL,SAAA3B,KAAA,UAAAiC,EAAAmL,IAAA,MAAvBL,IAAuBpL,SAAA3B,KAAA,UAAAiC,EAAAoL,IAAA,WAJvB,CACT1N,GACD2N,QAAA,CATCC,KACAC,KACAC,eASSV,CAAwB","sources":["./libs/widgets/santander-dk/src/lib/services/widgets-api.service.ts","./libs/widgets/santander-dk/src/lib/components/base-widget.component.ts","./libs/widgets/santander-dk/src/lib/components/button/button.component.html","./libs/widgets/santander-dk/src/lib/components/button/button.component.ts","./libs/widgets/santander-dk/src/lib/components/dropdown-calculator/dropdown-calculator.component.html","./libs/widgets/santander-dk/src/lib/components/dropdown-calculator/dropdown-calculator.component.ts","./libs/widgets/santander-dk/src/lib/components/text/text.component.html","./libs/widgets/santander-dk/src/lib/components/text/text.component.ts","./libs/widgets/santander-dk/src/lib/components/two-fields-calculator/two-fields-calculator.component.html","./libs/widgets/santander-dk/src/lib/components/two-fields-calculator/two-fields-calculator.component.ts","./libs/widgets/santander-dk/src/lib/components/custom-element/custom-element.component.html","./libs/widgets/santander-dk/src/lib/components/custom-element/custom-element.component.ts","./libs/widgets/santander-dk/src/lib/santander-dk-widget.module.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Inject, Injectable } from '@angular/core';\nimport { Observable, combineLatest } from 'rxjs';\nimport { mergeMap, map } from 'rxjs/operators';\n\nimport {\n CheckoutApiService,\n} from '@pe/checkout/payment-widgets';\nimport {\n CheckoutAndCreditsInterface,\n WidgetTypeEnum,\n} from '@pe/checkout/types';\nimport { PaymentMethodEnum } from '@pe/checkout/types';\nimport { PE_ENV, EnvironmentConfigInterface as EnvInterface } from '@pe/common';\n\nimport { CreditInterface, RawRatesResponseInterface } from '../models';\n\n\n@Injectable()\nexport class WidgetsApiService {\n\n constructor(\n private httpClient: HttpClient,\n private checkoutApiService: CheckoutApiService,\n @Inject(PE_ENV) private env: EnvInterface,\n ) {}\n\n getRates(\n channelSet: string,\n payment: PaymentMethodEnum,\n productId: string,\n amount: number,\n widgetType: WidgetTypeEnum,\n ): Observable> {\n return combineLatest([\n this.checkoutApiService.getDefaultConnections(channelSet, payment),\n this.checkoutApiService.getCheckoutSettings(channelSet),\n ]).pipe(\n mergeMap((data) => {\n\n const params: {[param: string]: string} = {\n widgetType,\n amount: String(amount),\n paymentOption: payment,\n connectionId: data[0]._id,\n };\n if (productId) {\n params.productId = productId;\n }\n\n return this.httpClient.post(\n `${this.env.backend.webWidgets}/api/app/finance-express/business/${data[1].businessUuid}/client-action/calculate-rates`,\n params\n ).pipe(\n map(resp => ({\n currency: data[1].currency,\n rates: resp.credit,\n })),\n );\n }),\n );\n }\n\n}\n","import { Directive, OnChanges, SimpleChanges } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport {\n BaseWidgetComponent as BaseBaseWidgetComponent,\n} from '@pe/checkout/payment-widgets';\nimport {\n CheckoutAndCreditsInterface,\n RateInterface,\n WidgetTypeEnum,\n} from '@pe/checkout/types';\nimport { PaymentMethodEnum } from '@pe/checkout/types';\n\nimport { CreditInterface } from '../models';\nimport { WidgetsApiService } from '../services';\n\n@Directive()\nexport abstract class BaseWidgetComponent extends BaseBaseWidgetComponent implements OnChanges {\n\n isExtendedView = false;\n\n readonly payment = PaymentMethodEnum.SANTANDER_INSTALLMENT_DK;\n readonly isTwoFieldsCalculator: boolean = false;\n\n protected abstract widgetType: WidgetTypeEnum;\n\n private widgetsApiService: WidgetsApiService = this.injector.get(WidgetsApiService);\n\n public get translations() {\n const {\n payment_duration,\n payment_free_duration,\n payment_free_duration_with_months,\n } = this.getCreditFormatted();\n\n const allTranslations = {\n bnpl: {\n showWrapperTitle: $localize `:@@santander-dk-finexp-widget.bnpl.show_checkout_wrapper:`,\n moreInfoTitle: $localize `:@@santander-dk-finexp-widget.bnpl.show_more_info:`,\n headerText: $localize `:@@santander-dk-finexp-widget.bnpl.finance-express.header_text:${payment_free_duration_with_months}:payment_free_duration_with_months:`,\n headerExtendedText: $localize `:@@santander-dk-finexp-widget.bnpl.header_text_extended:`,\n introductionText: $localize `:@@santander-dk-finexp-widget.bnpl.introduction_text:`,\n creditDetailsText: $localize `:@@santander-dk-finexp-widget.bnpl.credit_details_text:${payment_duration}:payment_duration:${payment_free_duration}:payment_free_duration:`,\n },\n regular: {\n showWrapperTitle: $localize `:@@santander-dk-finexp-widget.regular.show_checkout_wrapper:`,\n moreInfoTitle: $localize `:@@santander-dk-finexp-widget.regular.show_more_info:`,\n headerText: $localize `:@@santander-dk-finexp-widget.regular.finance-express.header_text:`,\n headerExtendedText: $localize `:@@santander-dk-finexp-widget.regular.header_text_extended:`,\n introductionText: $localize `:@@santander-dk-finexp-widget.regular.introduction_text:`,\n creditDetailsText: $localize `:@@santander-dk-finexp-widget.regular.credit_details_text:`,\n },\n };\n\n const translation = this.isBNPL ? allTranslations.bnpl : allTranslations.regular;\n\n return {\n ...translation,\n };\n }\n\n get forceDefaultStyles(): boolean {\n return this.isExtendedView; // In overlay (modal) we don't show custom styles\n }\n\n get hasAOP(): boolean {\n return this.currentRate && this.currentRate.raw.result.annuallyProcent > 0.0;\n }\n\n get isMoreInfoButtonVisible(): boolean {\n return this.hasShortToExtendedViewSwitcher && !this.isExtendedView;\n }\n\n get isShowSelectedRateDetails(): boolean {\n // return this.hasAOP && (!this.hasShortToExtendedViewSwitcher || this.isExtendedView);\n return this.hasAOP;\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.isExtendedView = false;\n super.ngOnChanges(changes);\n }\n\n toMonths(count: number): string {\n return count === 1\n ? $localize `:@@santander-dk-finexp-widget.common.month.one:${count}:count:`\n : $localize `:@@santander-dk-finexp-widget.common.month.many:${count}:count:`;\n }\n\n getCreditFormatted(raw: CreditInterface = null): any {\n raw = raw || this.currentRate?.raw;\n\n return raw ? {\n amount: this.amount,\n amount_with_currency: this.toPrice(this.amount),\n ...this.objectKeysToSnakeCase(raw.parameters),\n ...this.objectKeysToSnakeCase(raw.result),\n payment_free_duration_with_months: this.toMonths(raw.result.paymentFreeDuration),\n payment_duration: raw.result.paymentFreeDuration + raw.result.termsInMonth,\n payment_duration_with_months: this.toMonths(raw.result.paymentFreeDuration + raw.result.termsInMonth),\n\n terms_in_month_with_months: this.toMonths(raw.result.termsInMonth),\n monthly_payment_with_currency: this.toPrice(raw.result.monthlyPayment),\n\n effective_interest_with_persent: this.toPercent(raw.parameters.effectiveInterest),\n annually_procent_with_persent: this.toPercent(raw.result.annuallyProcent),\n total_cost_with_currency: this.toPrice(raw.result.totalCost),\n total_loan_amount_with_currency: this.toPrice(raw.result.totalLoanAmount),\n } : { terms_in_month_with_months: '...', payment_free_duration_with_months: '...' };\n }\n\n onClicked(): void {\n if (this.hasShortToExtendedViewSwitcher && !this.isExtendedView) {\n this.isExtendedView = true;\n } else {\n super.onClicked();\n }\n }\n\n protected transformRate(credit: CreditInterface): RateInterface {\n const allTranslations = this.translateRate(credit);\n const translations = this.isBNPL ? allTranslations.bnpl : allTranslations.regular;\n const line = translations.rateTitle;\n const monthlyPayment = this.toPrice(credit.result.monthlyPayment);\n\n return {\n listTitle: this.isTwoFieldsCalculator ? monthlyPayment : line,\n selectedTitle: line,\n selectedMultiTitles: [\n { label: translations.rateParams.termsInMonth, text: this.toMonths(credit.result.termsInMonth) },\n { label: allTranslations.common.monthlyPayment, text: monthlyPayment },\n ],\n details: [\n {\n title: allTranslations.common.effectiveInterest,\n value: this.toPercent(credit.parameters.effectiveInterest),\n },\n {\n title: allTranslations.common.annuallyProcent,\n value: this.toPercent(credit.result.annuallyProcent),\n },\n {\n title: allTranslations.common.totalCost,\n value: this.toPrice(credit.result.totalCost),\n },\n {\n title: allTranslations.common.totalLoanAmount,\n value: this.toPrice(credit.result.totalLoanAmount),\n },\n ],\n value: String(`${credit.result.totalLoanAmount}|${credit.parameters.loanDurationInMonths}${credit.result.paymentFreeDuration}`),\n raw: credit,\n };\n }\n\n protected getRates(): Observable> {\n return this.widgetsApiService.getRates(\n this.channelSet,\n this.payment,\n this.productId,\n this.amount,\n this.widgetType,\n );\n }\n\n protected objectKeysToSnakeCase(data: {[key: string]: any}): object {\n const result: {[key: string]: any} = {};\n Object.entries(data).forEach(([key, value]) => {\n const snakeCaseKey = key.replace(/[A-Z]/g, match => `_${match.toLowerCase()}`).replace(/^_/, '');\n result[snakeCaseKey] = value;\n });\n\n return result;\n }\n\n private translateRate(credit: CreditInterface) {\n const {\n monthly_payment_with_currency,\n terms_in_month_with_months,\n payment_free_duration,\n terms_in_month,\n } = this.getCreditFormatted(credit);\n\n return {\n bnpl: {\n rateTitle: $localize `:@@santander-dk-finexp-widget.bnpl.rate_title:\\\n ${payment_free_duration}:payment_free_duration:\\\n ${monthly_payment_with_currency}:monthly_payment_with_currency::\\\n ${terms_in_month}:terms_in_month:`,\n rateParams: {\n termsInMonth: $localize `:@@santander-dk-finexp-widget.bnpl.rate_param.terms_in_month:`,\n },\n },\n regular: {\n rateTitle: $localize `:@@santander-dk-finexp-widget.regular.rate_title:\\\n ${monthly_payment_with_currency}:monthly_payment_with_currency:\\\n ${terms_in_month_with_months}:terms_in_month_with_months:`,\n rateParams: {\n termsInMonth: $localize `:@@santander-dk-finexp-widget.regular.rate_param.terms_in_month:`,\n },\n },\n common: {\n monthlyPayment: $localize `:@@santander-dk-finexp-widget.common.rate_param.monthly_payment:`,\n effectiveInterest: $localize `:@@santander-dk-finexp-widget.common.rate_param.effective_interest:`,\n annuallyProcent: $localize `:@@santander-dk-finexp-widget.common.rate_param.annually_procent:`,\n totalCost: $localize `:@@santander-dk-finexp-widget.common.rate_param.total_cost:`,\n totalLoanAmount: $localize `:@@santander-dk-finexp-widget.common.rate_param.total_loan_amount:`,\n },\n };\n }\n}\n","\n \n {{ translations.headerText }}\n \n \n \n

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

\n \n\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { WidgetTypeEnum } from '@pe/checkout/types';\n\nimport { BaseWidgetComponent } from '../base-widget.component';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n selector: 'widget-santander-dk-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n})\nexport class ButtonComponent extends BaseWidgetComponent {\n readonly widgetType = WidgetTypeEnum.Button;\n}\n","\n \n {{ translations.headerText }}\n \n \n {{ translations.headerText }}\n \n \n \n

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

\n \n \n {{ translations.moreInfoTitle }}\n \n \n {{ translations.showWrapperTitle }}\n \n\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { WidgetTypeEnum } from '@pe/checkout/types';\n\nimport { BaseWidgetComponent } from '../base-widget.component';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n selector: 'widget-santander-dk-dropdown-calculator',\n templateUrl: './dropdown-calculator.component.html',\n styleUrls: ['./dropdown-calculator.component.scss'],\n})\nexport class DropdownCalculatorComponent extends BaseWidgetComponent {\n readonly widgetType = WidgetTypeEnum.DropdownCalculator;\n\n public get translations(): any {\n return {\n ...super.translations,\n headerText: this.isBNPL\n ? $localize `:@@santander-dk-finexp-widget.bnpl.calculator.header_text:`\n : $localize `:@@santander-dk-finexp-widget.regular.calculator.header_text:`,\n };\n }\n}\n","\n \n {{ translations.headerText }}\n \n \n \n

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

\n \n \n {{ translations.moreInfoTitle }}\n \n \n {{ translations.showWrapperTitle }}\n \n\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { WidgetTypeEnum } from '@pe/checkout/types';\n\nimport { BaseWidgetComponent } from '../base-widget.component';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n selector: 'widget-santander-dk-text',\n templateUrl: './text.component.html',\n styleUrls: ['./text.component.scss'],\n})\nexport class TextComponent extends BaseWidgetComponent {\n readonly widgetType = WidgetTypeEnum.Text;\n}\n","\n \n {{ translations.headerText }}\n \n \n {{ translations.headerText }}\n \n \n \n

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

\n \n \n {{ translations.moreInfoTitle }}\n \n \n {{ translations.showWrapperTitle }}\n \n\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { WidgetTypeEnum } from '@pe/checkout/types';\n\nimport { BaseWidgetComponent } from '../base-widget.component';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n selector: 'widget-santander-dk-two-fields-calculator',\n templateUrl: './two-fields-calculator.component.html',\n styleUrls: ['./two-fields-calculator.component.scss'],\n})\nexport class TwoFieldsCalculatorComponent extends BaseWidgetComponent {\n readonly isTwoFieldsCalculator: boolean = true;\n readonly widgetType = WidgetTypeEnum.TwoFieldsCalculator;\n\n public get translations(): any {\n return {\n ...super.translations,\n headerText: this.isBNPL\n ? $localize `:@@santander-dk-finexp-widget.bnpl.calculator.header_text:`\n : $localize `:@@santander-dk-finexp-widget.regular.calculator.header_text:`,\n };\n }\n}\n","\n \n \n \n \n \n \n \n \n \n \n \n \n\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { BaseWidgetCustomElementComponent } from '@pe/checkout/payment-widgets';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.Default,\n selector: 'widget-santander-dk-custom-element',\n templateUrl: './custom-element.component.html',\n styleUrls: ['./custom-element.component.scss'],\n})\nexport class SantanderDkCustomElementComponent extends BaseWidgetCustomElementComponent {}\n","import { CommonModule } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { NgModule, ComponentFactory } from '@angular/core';\r\n\r\nimport { AbstractBaseWidgetModule, PaymentWidgetsSdkModule } from '@pe/checkout/payment-widgets';\r\n\r\nimport {\r\n ButtonComponent,\r\n SantanderDkCustomElementComponent,\r\n DropdownCalculatorComponent,\r\n TextComponent,\r\n TwoFieldsCalculatorComponent,\r\n} from './components';\r\nimport { WidgetsApiService } from './services';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ButtonComponent,\r\n DropdownCalculatorComponent,\r\n TextComponent,\r\n TwoFieldsCalculatorComponent,\r\n SantanderDkCustomElementComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n HttpClientModule,\r\n PaymentWidgetsSdkModule,\r\n ],\r\n exports: [\r\n SantanderDkCustomElementComponent,\r\n ],\r\n providers: [\r\n WidgetsApiService,\r\n ],\r\n})\r\nexport class SantanderDkWidgetModule extends AbstractBaseWidgetModule {\r\n resolveComponent(): ComponentFactory {\r\n return this.componentFactoryResolver.resolveComponentFactory(SantanderDkCustomElementComponent);\r\n }\r\n}\r\n"],"names":["WidgetsApiService","constructor","httpClient","checkoutApiService","env","this","getRates","channelSet","payment","productId","amount","widgetType","combineLatest","getDefaultConnections","getCheckoutSettings","pipe","mergeMap","data","params","String","paymentOption","connectionId","_id","post","backend","webWidgets","businessUuid","map","resp","currency","rates","credit","static","t","i0","i1","i2","PE_ENV","core","Yz7","factory","ɵfac","BaseWidgetComponent","BaseBaseWidgetComponent","isExtendedView","PaymentMethodEnum","SANTANDER_INSTALLMENT_DK","isTwoFieldsCalculator","widgetsApiService","injector","get","translations","payment_duration","payment_free_duration","payment_free_duration_with_months","getCreditFormatted","allTranslations","showWrapperTitle","$localize","moreInfoTitle","headerText","headerExtendedText","introductionText","creditDetailsText","isBNPL","forceDefaultStyles","hasAOP","currentRate","raw","result","annuallyProcent","isMoreInfoButtonVisible","hasShortToExtendedViewSwitcher","isShowSelectedRateDetails","ngOnChanges","changes","super","toMonths","count","amount_with_currency","toPrice","objectKeysToSnakeCase","parameters","paymentFreeDuration","termsInMonth","payment_duration_with_months","terms_in_month_with_months","monthly_payment_with_currency","monthlyPayment","effective_interest_with_persent","toPercent","effectiveInterest","annually_procent_with_persent","total_cost_with_currency","totalCost","total_loan_amount_with_currency","totalLoanAmount","onClicked","transformRate","translateRate","bnpl","regular","line","rateTitle","listTitle","selectedTitle","selectedMultiTitles","label","rateParams","text","common","details","title","value","loanDurationInMonths","Object","entries","forEach","key","snakeCaseKey","replace","match","toLowerCase","terms_in_month","lG2","features","ctx_r0","config","ctx_r1","ctx_r2","_r7","ctx_r6","ctx_r3","isLoadingRates","error","$event","_r9","ctx_r8","onRateSelected","ctx_r4","ctx_r10","ButtonComponent_finexp_ui_regular_text_6_p_1_Template","ctx_r5","ButtonComponent","WidgetTypeEnum","Button","Xpm","selectors","decls","vars","consts","template","rf","ctx","ButtonComponent_finexp_ui_header_santander_1_Template","ButtonComponent_finexp_ui_powered_by_payever_2_Template","ButtonComponent_finexp_ui_top_big_text_3_Template","ButtonComponent_finexp_ui_rate_button_4_Template","ButtonComponent_finexp_ui_rate_dropdown_5_Template","ButtonComponent_finexp_ui_regular_text_6_Template","ctx_r7","DropdownCalculatorComponent_finexp_ui_regular_text_6_p_1_Template","_r11","DropdownCalculatorComponent","DropdownCalculator","DropdownCalculatorComponent_finexp_ui_header_santander_1_Template","DropdownCalculatorComponent_finexp_ui_short_header_santander_2_Template","DropdownCalculatorComponent_finexp_ui_powered_by_payever_3_Template","DropdownCalculatorComponent_finexp_ui_top_big_text_4_Template","DropdownCalculatorComponent_finexp_ui_regular_text_6_Template","DropdownCalculatorComponent_finexp_ui_show_checkout_wrapper_button_7_Template","DropdownCalculatorComponent_finexp_ui_show_checkout_wrapper_button_8_Template","isShowWrapperButtonVisible","TextComponent_finexp_ui_regular_text_6_p_1_Template","_r12","ctx_r11","_r14","ctx_r13","TextComponent","Text","TextComponent_finexp_ui_header_santander_1_Template","TextComponent_finexp_ui_powered_by_payever_2_Template","TextComponent_finexp_ui_top_big_text_3_Template","TextComponent_finexp_ui_rate_text_4_Template","TextComponent_finexp_ui_rate_dropdown_5_Template","TextComponent_finexp_ui_regular_text_6_Template","TextComponent_finexp_ui_show_checkout_wrapper_button_7_Template","TextComponent_finexp_ui_show_checkout_wrapper_button_8_Template","TwoFieldsCalculatorComponent_finexp_ui_regular_text_6_p_1_Template","TwoFieldsCalculatorComponent","TwoFieldsCalculator","TwoFieldsCalculatorComponent_finexp_ui_header_santander_1_Template","TwoFieldsCalculatorComponent_finexp_ui_short_header_santander_2_Template","TwoFieldsCalculatorComponent_finexp_ui_powered_by_payever_3_Template","TwoFieldsCalculatorComponent_finexp_ui_top_big_text_4_Template","TwoFieldsCalculatorComponent_finexp_ui_regular_text_6_Template","TwoFieldsCalculatorComponent_finexp_ui_show_checkout_wrapper_button_7_Template","TwoFieldsCalculatorComponent_finexp_ui_show_checkout_wrapper_button_8_Template","_r6","onFailed","_r15","ctx_r14","ctx_r16","SantanderDkCustomElementComponent_ng_container_0_ng_container_1_Template","SantanderDkCustomElementComponent_ng_container_0_ng_container_2_Template","SantanderDkCustomElementComponent_ng_container_0_ng_container_3_Template","SantanderDkCustomElementComponent_ng_container_0_ng_container_4_Template","type","SantanderDkCustomElementComponent","BaseWidgetCustomElementComponent","SantanderDkCustomElementComponent_ng_container_0_Template","isReady$","SantanderDkWidgetModule","AbstractBaseWidgetModule","resolveComponent","componentFactoryResolver","resolveComponentFactory","oAB","cJS","imports","CommonModule","HttpClientModule","PaymentWidgetsSdkModule"],"sourceRoot":"webpack:///"}