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,eAAAoB,oBAQA7H,MAAA,GAAAA,MAAA,OAAA0F,EAAA0E,OAAA1E,EAAAe,eAAAiC,MAQA1I,MAAA,GAAAA,MAAA,OAAA0F,EAAA0E,OAAA1E,EAAAe,eAAA0C,oBAAA,ECfV,IAAMkB,GAAkC,MAAzC,MAAOA,UAA0CC,KAAgCxK,SAAA/B,KAAA,iEAA1EsM,KAAiCtK,GAAjCsK,EAAiC,EAAyC,GAAzCvK,SAAA/B,KAAA,UAAAqC,EAAAuG,IAAA,MAAjC0D,EAAiCzD,UAAA,yCAAAnB,SAAA,CAAAzF,OAAA6G,MAAA,EAAAC,KAAA,EAAAC,OAAA,mEAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,IDV9CjH,MAAA,EAAAuK,GAAA,6CAAevK,MAAA,OAAAA,MAAA,IAAAkH,EAAAsD,iJCUFH,CAAkC,KC2BlCI,GAAwB,MAA/B,MAAOA,UAAgCC,KAC3CC,mBACE,OAAO5M,KAAK6M,yBAAyBC,wBAAwBR,GAC/D,CAACvK,SAAA/B,KAAA,iEAHU0M,KAAuB1K,GAAvB0K,EAAuB,EAGjC,GAHiC3K,SAAA/B,KAAA,UAAAqC,EAAA0K,IAAA,MAAvBL,IAAuB3K,SAAA/B,KAAA,UAAAqC,EAAA2K,IAAA,WAJvB,CACTrN,GACDsN,QAAA,CATCC,KACAC,KACAC,eASSV,CAAwB","sources":["./libs/widgets/santander-se/src/lib/services/widgets-api.service.ts","./libs/widgets/santander-se/src/lib/components/base-widget.component.ts","./libs/widgets/santander-se/src/lib/components/button/button.component.html","./libs/widgets/santander-se/src/lib/components/button/button.component.ts","./libs/widgets/santander-se/src/lib/components/dropdown-calculator/dropdown-calculator.component.html","./libs/widgets/santander-se/src/lib/components/dropdown-calculator/dropdown-calculator.component.ts","./libs/widgets/santander-se/src/lib/components/text/text.component.html","./libs/widgets/santander-se/src/lib/components/text/text.component.ts","./libs/widgets/santander-se/src/lib/components/two-fields-calculator/two-fields-calculator.component.html","./libs/widgets/santander-se/src/lib/components/two-fields-calculator/two-fields-calculator.component.ts","./libs/widgets/santander-se/src/lib/components/custom-element/custom-element.component.html","./libs/widgets/santander-se/src/lib/components/custom-element/custom-element.component.ts","./libs/widgets/santander-se/src/lib/santander-se-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 isBNPL: boolean,\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 const params: {[param: string]: string} = {\n widgetType,\n amount: String(amount),\n paymentOption: payment,\n connectionId: data[0]._id,\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 let credits: CreditInterface[] = resp.credit.filter(a => !a.payLaterType);\n if (isBNPL) {\n credits = resp.credit.filter(a => a.payLaterType);\n }\n\n return {\n currency: data[1].currency,\n rates: credits,\n };\n }),\n );\n }));\n }\n}\n","import { Directive, OnChanges, SimpleChanges } from '@angular/core';\nimport dayjs from 'dayjs';\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_SE;\n readonly isTwoFieldsCalculator: boolean = false;\n\n protected abstract widgetType: WidgetTypeEnum;\n\n private widgetsApiService = this.injector.get(WidgetsApiService);\n\n public get translations() {\n return this.translateRate();\n }\n\n get forceDefaultStyles(): boolean {\n return this.isExtendedView; // In overlay (modal) we don't show custom styles\n }\n\n get isMoreInfoButtonVisible(): boolean {\n return this.hasShortToExtendedViewSwitcher && !this.isExtendedView;\n }\n\n get isShowSelectedRateDetails(): boolean {\n // return !this.hasShortToExtendedViewSwitcher || this.isExtendedView;\n return true;\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-se-finexp-widget.common.month.one:${count}:count:`\n : $localize `:@@santander-se-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 month_name: this.getMonthNameBNPL(raw.months), // Only for BNPL\n amount: this.amount,\n amount_with_currency: this.toPrice(this.amount),\n ...raw,\n months_with_months: this.toMonths(raw.months),\n monthly_cost_with_currency: this.toPrice(raw.monthlyCost),\n effective_interest_with_persent: this.toPercent(raw.effectiveInterest),\n total_cost_with_currency: this.toPrice(raw.totalCost),\n startup_fee_with_currency: this.toPrice(raw.startupFee),\n annual_fee_with_currency: this.toPrice(raw.annualFee),\n billing_fee_with_currency: this.toPrice(raw.billingFee),\n } : {};\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 line = allTranslations.rateTitle;\n const monthName = this.getMonthNameBNPL(credit.months);\n const months = this.toMonths(credit.months);\n const startupFee = this.toPrice(credit.startupFee);\n const monthlyCost = this.toPrice(credit.monthlyCost);\n\n return {\n listTitle: this.isTwoFieldsCalculator ? (this.isBNPL ? monthName : months) : line,\n selectedTitle: line,\n selectedMultiTitles:\n this.isBNPL\n ? [\n { label: this.translations.rateParams.startupFee, text: startupFee },\n { label: this.translations.rateParams.monthName, text: monthName },\n ]\n : [\n { label: this.translations.rateParams.monthlyCost, text: monthlyCost },\n { label: this.translations.rateParams.months, text: months },\n ],\n details: [\n {\n title: this.translations.rateParams.effectiveInterest,\n value: this.toPercent(credit.effectiveInterest),\n },\n {\n title: this.translations.rateParams.totalCost,\n value: this.toPrice(credit.totalCost),\n },\n {\n title: this.translations.rateParams.startupFee,\n value: this.toPrice(credit.startupFee),\n },\n {\n title: this.translations.rateParams.baseInterestRate,\n value: this.toPercent(credit.baseInterestRate),\n },\n {\n title: this.translations.rateParams.billingFee,\n value: this.toPrice(credit.billingFee),\n },\n ],\n value: String(credit.code),\n raw: credit,\n };\n }\n\n protected getRates(): Observable> {\n return this.widgetsApiService.getRates(\n this.channelSet,\n this.payment,\n this.isBNPL,\n this.amount,\n this.widgetType,\n );\n }\n\n protected getMonthNameBNPL(months: number): string {\n const moment = dayjs().add(months, 'months');\n\n return moment.locale(this.localeConstantsService.getLang()).format('MMMM');\n }\n\n private translateRate(credit?: CreditInterface) {\n const {\n total_cost_with_currency,\n month_name,\n monthly_cost_with_currency,\n months_with_months,\n effective_rate_with_persent,\n amount_with_currency,\n duration,\n credit_price_with_currency,\n credit_purchase_with_currency,\n } = this.getCreditFormatted(credit);\n\n const allTranslations = {\n bnpl: {\n rateTitle: $localize `:@@santander-se-finexp-widget.bnpl.rate_title:\\\n ${total_cost_with_currency}:total_cost_with_currency:\\\n ${month_name}:month_name:`,\n showWrapperTitle: $localize `:@@santander-se-finexp-widget.bnpl.show_checkout_wrapper:`,\n moreInfoTitle: $localize `:@@santander-se-finexp-widget.bnpl.show_more_info:`,\n headerText: $localize `:@@santander-se-finexp-widget.bnpl.finance-express.header_text:`,\n headerExtendedText: $localize `:@@santander-se-finexp-widget.bnpl.header_text_extended:`,\n introductionText: $localize `:@@santander-se-finexp-widget.bnpl.introduction_text:`,\n creditDetailsText: $localize `:@@santander-se-finexp-widget.bnpl.credit_details_text:\\\n ${effective_rate_with_persent}:effective_rate_with_persent:\\\n ${amount_with_currency}:amount_with_currency:\\\n ${duration}:duration:\\\n ${credit_price_with_currency}:credit_price_with_currency:\\\n ${credit_purchase_with_currency}:credit_purchase_with_currency:`,\n rateParams: {\n billingFee: $localize `:@@santander-se-finexp-widget.bnpl.rate_param.billing_fee:`,\n },\n },\n regular: {\n rateTitle: $localize `:@@santander-se-finexp-widget.regular.rate_title:\\\n ${monthly_cost_with_currency}:monthly_cost_with_currency:\\\n ${months_with_months}:months_with_months:`,\n showWrapperTitle: $localize `:@@santander-se-finexp-widget.regular.show_checkout_wrapper:`,\n moreInfoTitle: $localize `:@@santander-se-finexp-widget.regular.show_more_info:`,\n headerText: $localize `:@@santander-se-finexp-widget.regular.finance-express.header_text:`,\n headerExtendedText: $localize `:@@santander-se-finexp-widget.regular.header_text_extended:`,\n introductionText: $localize `:@@santander-se-finexp-widget.regular.introduction_text:`,\n creditDetailsText: $localize `:@@santander-se-finexp-widget.regular.credit_details_text:`,\n rateParams: {\n billingFee: $localize `:@@santander-se-finexp-widget.regular.rate_param.billing_fee:`,\n },\n },\n common: {\n months: $localize `:@@santander-se-finexp-widget.common.rate_param.months:`,\n monthlyCost: $localize `:@@santander-se-finexp-widget.common.rate_param.monthly_cost:`,\n monthName: $localize `:@@santander-se-finexp-widget.common.rate_param.month_name:`,\n effectiveInterest: $localize `:@@santander-se-finexp-widget.common.rate_param.effective_interest:`,\n totalCost: $localize `:@@santander-se-finexp-widget.common.rate_param.total_cost:`,\n startupFee: $localize `:@@santander-se-finexp-widget.common.rate_param.startup_fee:`,\n annualFee: $localize `:@@santander-se-finexp-widget.common.rate_param.annual_fee:`,\n baseInterestRate: $localize `:@@santander-se-finexp-widget.common.rate_param.interest_rate:`,\n },\n };\n\n const translation = this.isBNPL ? allTranslations.bnpl : allTranslations.regular;\n\n return {\n ...translation,\n rateParams: {\n ...translation.rateParams,\n ...allTranslations.common,\n },\n };\n }\n}\n","\n \n {{ translations.headerText }}\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-se-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.headerExtendedText }}\n \n \n {{ translations.headerExtendedText }}\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-se-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-se-finexp-widget.bnpl.calculator.header_text:`\n : $localize `:@@santander-se-finexp-widget.regular.calculator.header_text:`,\n headerExtendedText: this.isBNPL\n ? $localize `:@@santander-se-finexp-widget.bnpl.calculator.header_text_extended:`\n : $localize `:@@santander-se-finexp-widget.regular.calculator.header_text_extended:`,\n };\n }\n}\n","\n \n {{ translations.headerText }}\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-se-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.headerExtendedText }}\n \n \n {{ translations.headerExtendedText }}\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-se-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-se-finexp-widget.bnpl.calculator.header_text:`\n : $localize `:@@santander-se-finexp-widget.regular.calculator.header_text:`,\n headerExtendedText: this.isBNPL\n ? $localize `:@@santander-se-finexp-widget.bnpl.calculator.header_text_extended:`\n : $localize `:@@santander-se-finexp-widget.regular.calculator.header_text_extended:`,\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-se-custom-element',\n templateUrl: './custom-element.component.html',\n styleUrls: ['./custom-element.component.scss'],\n})\nexport class SantanderSeCustomElementComponent 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\n\r\nimport {\r\n ButtonComponent,\r\n SantanderSeCustomElementComponent,\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 SantanderSeCustomElementComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n HttpClientModule,\r\n PaymentWidgetsSdkModule,\r\n ],\r\n exports: [\r\n SantanderSeCustomElementComponent,\r\n ],\r\n providers: [\r\n WidgetsApiService,\r\n ],\r\n})\r\nexport class SantanderSeWidgetModule extends AbstractBaseWidgetModule {\r\n resolveComponent(): ComponentFactory {\r\n return this.componentFactoryResolver.resolveComponentFactory(SantanderSeCustomElementComponent);\r\n }\r\n}\r\n"],"names":["WidgetsApiService","constructor","httpClient","checkoutApiService","env","this","getRates","channelSet","payment","isBNPL","amount","widgetType","combineLatest","getDefaultConnections","getCheckoutSettings","pipe","mergeMap","data","params","String","paymentOption","connectionId","_id","post","backend","webWidgets","businessUuid","map","resp","credits","credit","filter","a","payLaterType","currency","rates","static","t","i0","i1","i2","PE_ENV","core","Yz7","factory","ɵfac","BaseWidgetComponent","BaseBaseWidgetComponent","isExtendedView","PaymentMethodEnum","SANTANDER_INSTALLMENT_SE","isTwoFieldsCalculator","widgetsApiService","injector","get","translations","translateRate","forceDefaultStyles","isMoreInfoButtonVisible","hasShortToExtendedViewSwitcher","isShowSelectedRateDetails","ngOnChanges","changes","super","toMonths","count","$localize","getCreditFormatted","raw","currentRate","month_name","getMonthNameBNPL","months","amount_with_currency","toPrice","months_with_months","monthly_cost_with_currency","monthlyCost","effective_interest_with_persent","toPercent","effectiveInterest","total_cost_with_currency","totalCost","startup_fee_with_currency","startupFee","annual_fee_with_currency","annualFee","billing_fee_with_currency","billingFee","onClicked","transformRate","line","rateTitle","monthName","listTitle","selectedTitle","selectedMultiTitles","label","rateParams","text","details","title","value","baseInterestRate","code","dayjs","add","locale","localeConstantsService","getLang","format","effective_rate_with_persent","duration","credit_price_with_currency","credit_purchase_with_currency","allTranslations","bnpl","showWrapperTitle","moreInfoTitle","headerText","headerExtendedText","introductionText","creditDetailsText","regular","common","translation","lG2","features","ctx_r0","config","ctx_r1","ctx_r2","_r6","ctx_r5","ctx_r3","isLoadingRates","error","$event","_r8","ctx_r7","onRateSelected","ctx_r4","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","_r7","ctx_r6","_r9","ctx_r8","DropdownCalculatorComponent","DropdownCalculator","DropdownCalculatorComponent_finexp_ui_short_header_santander_1_Template","DropdownCalculatorComponent_finexp_ui_header_santander_2_Template","DropdownCalculatorComponent_finexp_ui_powered_by_payever_3_Template","DropdownCalculatorComponent_finexp_ui_top_big_text_4_Template","DropdownCalculatorComponent_finexp_ui_show_checkout_wrapper_button_6_Template","DropdownCalculatorComponent_finexp_ui_show_checkout_wrapper_button_7_Template","isShowWrapperButtonVisible","_r10","ctx_r9","_r12","ctx_r11","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_show_checkout_wrapper_button_6_Template","TextComponent_finexp_ui_show_checkout_wrapper_button_7_Template","TwoFieldsCalculatorComponent","TwoFieldsCalculator","TwoFieldsCalculatorComponent_finexp_ui_short_header_santander_1_Template","TwoFieldsCalculatorComponent_finexp_ui_header_santander_2_Template","TwoFieldsCalculatorComponent_finexp_ui_powered_by_payever_3_Template","TwoFieldsCalculatorComponent_finexp_ui_top_big_text_4_Template","TwoFieldsCalculatorComponent_finexp_ui_show_checkout_wrapper_button_6_Template","TwoFieldsCalculatorComponent_finexp_ui_show_checkout_wrapper_button_7_Template","onFailed","ctx_r10","ctx_r13","_r15","ctx_r14","ctx_r16","SantanderSeCustomElementComponent_ng_container_0_ng_container_1_Template","SantanderSeCustomElementComponent_ng_container_0_ng_container_2_Template","SantanderSeCustomElementComponent_ng_container_0_ng_container_3_Template","SantanderSeCustomElementComponent_ng_container_0_ng_container_4_Template","type","SantanderSeCustomElementComponent","BaseWidgetCustomElementComponent","SantanderSeCustomElementComponent_ng_container_0_Template","isReady$","SantanderSeWidgetModule","AbstractBaseWidgetModule","resolveComponent","componentFactoryResolver","resolveComponentFactory","oAB","cJS","imports","CommonModule","HttpClientModule","PaymentWidgetsSdkModule"],"sourceRoot":"webpack:///"}