1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1891],{21891:(Mt,_,a)=>{a.r(_),a.d(_,{RegistrationRequestPaymentInfoModule:()=>ht});var g=a(72200),O=a(49189),b=a(37),l=a(38132),y=a(10467),f=a(4066),I=a(30002),R=a(65248),F=a(30720),x=a(69915),S=a(94375),$=a(25615),G=a(30054),T=a(13961),P=a(54843),t=a(73664),D=a(18175),j=a(13443),X=a(12898),v=a(36471),E=a(91438),k=a(82966),Y=a(68018);const h=()=>({cuotes:"",price:"",symbol:""});function w(e,s){1&e&&(t.j41(0,"div",3),t.nrm(1,"app-skeleton-block"),t.k0s())}function N(e,s){1&e&&(t.j41(0,"div",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.JRh(t.bMT(2,1,"module.registrations.no_purchase")))}function q(e,s){if(1&e&&(t.j41(0,"div",16)(1,"div",12),t.EFF(2),t.k0s()()),2&e){const n=t.XpG().$implicit;t.R7$(2),t.JRh(n.subProduct.name)}}function V(e,s){if(1&e&&(t.j41(0,"div",17)(1,"div",12),t.EFF(2),t.k0s()()),2&e){const n=t.XpG().$implicit;t.R7$(2),t.JRh(n.subProduct.subPrice.name)}}function J(e,s){if(1&e&&(t.j41(0,"div",28)(1,"mat-chip-set",29)(2,"mat-chip",30),t.nrm(3,"i",31),t.j41(4,"span",32),t.EFF(5),t.k0s(),t.j41(6,"span",33),t.EFF(7),t.k0s()()()()),2&e){const n=s.$implicit;t.R7$(5),t.JRh(n.discount.code),t.R7$(2),t.SpI("(-",n.discount.value,"%)")}}function U(e,s){if(1&e&&(t.j41(0,"div",23)(1,"div",24)(2,"span",25),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"div",26),t.DNE(6,J,8,2,"div",27),t.k0s()()),2&e){const n=t.XpG(2).$implicit,i=t.XpG(3);t.R7$(3),t.JRh(t.bMT(4,2,"module.registrations.payment.coupons_applied")),t.R7$(3),t.Y8G("ngForOf",i.getCouponsForSubProduct(n.subProduct.id))}}function z(e,s){if(1&e&&(t.j41(0,"span",47),t.EFF(1),t.k0s()),2&e){const n=t.XpG().$implicit;t.R7$(),t.SpI("",n.name," - ")}}function W(e,s){if(1&e&&(t.j41(0,"span",51),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2).$implicit;t.R7$(),t.JRh(n.totalText)}}function A(e,s){if(1&e&&(t.j41(0,"span",52),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2).$implicit,i=t.XpG(2).$implicit,o=t.XpG(3);t.R7$(),t.SpI(" ",o.getPriceWithDiscount(n.total,i.subProduct.id)," - ")}}function L(e,s){if(1&e&&(t.j41(0,"span",48),t.DNE(1,W,2,1,"span",49)(2,A,2,1,"span",50),t.k0s()),2&e){const n=t.XpG().$implicit;t.R7$(),t.Y8G("ngIf",1===n.dues),t.R7$(),t.Y8G("ngIf",1===n.dues)}}function B(e,s){if(1&e&&(t.j41(0,"span",53)(1,"span",51),t.EFF(2),t.k0s(),t.j41(3,"span",52),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&e){const n=t.XpG().$implicit,i=t.XpG(2).$implicit,o=t.XpG(3);t.R7$(2),t.JRh(n.totalText),t.R7$(2),t.E5c(" ",n.dues," ",t.i5U(5,4,"module.registrations.payment.recursive_payment",t.lJ4(7,h))," ",o.getPriceWithDiscount(n.amount,i.subProduct.id)," - ")}}function K(e,s){if(1&e&&(t.j41(0,"span",54),t.EFF(1),t.k0s()),2&e){const n=t.XpG().$implicit;t.R7$(),t.SpI("",n.totalText," - ")}}function Z(e,s){if(1&e&&(t.j41(0,"span",55),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e){const n=t.XpG().$implicit;t.R7$(),t.E5c("",n.dues," ",t.i5U(2,3,"module.registrations.payment.recursive_payment",t.lJ4(6,h))," ",n.amountText," - ")}}function H(e,s){1&e&&t.nrm(0,"i",56)}function Q(e,s){1&e&&t.nrm(0,"i",57)}function tt(e,s){1&e&&t.nrm(0,"i",58)}function nt(e,s){1&e&&t.nrm(0,"i",59)}function et(e,s){1&e&&t.nrm(0,"i",59)}function it(e,s){1&e&&t.nrm(0,"div",57)}function ot(e,s){if(1&e&&(t.j41(0,"span",48)(1,"span",52),t.EFF(2),t.k0s()()),2&e){const n=t.XpG(2).$implicit,i=t.XpG(2).$implicit,o=t.XpG(3);t.R7$(2),t.SpI(" ",o.getCommissionTextWithDiscount(n,i.subProduct.id))}}function st(e,s){if(1&e&&(t.j41(0,"span",54),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2).$implicit;t.R7$(),t.JRh(n.textCommission)}}function ct(e,s){if(1&e&&(t.j41(0,"div",35)(1,"span",47),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.DNE(4,ot,3,1,"span",37)(5,st,2,1,"span",39),t.k0s()),2&e){const n=t.XpG(3).$implicit,i=t.XpG(3);t.R7$(2),t.SpI("",t.bMT(3,3,"module.accounting.commissions")," - "),t.R7$(2),t.Y8G("ngIf",i.getCouponsForSubProduct(n.subProduct.id).length>0),t.R7$(),t.Y8G("ngIf",0===i.getCouponsForSubProduct(n.subProduct.id).length)}}function at(e,s){if(1&e&&(t.j41(0,"span",62),t.EFF(1),t.k0s()),2&e){const n=t.XpG(4).$implicit,i=t.XpG(3);t.R7$(),t.JRh(i.getTotalOfPrice(n.subProduct.subPrice,n.subProduct.id))}}function rt(e,s){if(1&e&&(t.j41(0,"div",60),t.DNE(1,at,2,1,"span",61),t.nrm(2,"span",9),t.k0s()),2&e){const n=t.XpG().$implicit,i=t.XpG(2).$implicit;t.R7$(),t.Y8G("ngIf",1===i.subProduct.subPrice.breakdowns.length&&n.dues>1)}}function dt(e,s){if(1&e&&(t.j41(0,"div",34)(1,"div",35),t.DNE(2,z,2,1,"span",36)(3,L,3,2,"span",37)(4,B,6,8,"span",38)(5,K,2,1,"span",39)(6,Z,3,7,"span",40),t.j41(7,"span",41),t.DNE(8,H,1,0,"i",42)(9,Q,1,0,"i",43)(10,tt,1,0,"i",44)(11,nt,1,0,"i",45)(12,et,1,0,"i",45)(13,it,1,0,"div",43),t.k0s()(),t.DNE(14,ct,6,5,"div",46)(15,rt,3,1,"div",22),t.k0s()),2&e){const n=s.$implicit,i=t.XpG(2).$implicit,o=t.XpG(3);t.R7$(2),t.Y8G("ngIf",null!=n.name),t.R7$(),t.Y8G("ngIf",o.getCouponsForSubProduct(i.subProduct.id).length>0),t.R7$(),t.Y8G("ngIf",o.getCouponsForSubProduct(i.subProduct.id).length>0&&n.dues>1),t.R7$(),t.Y8G("ngIf",0===o.getCouponsForSubProduct(i.subProduct.id).length&&1===n.dues),t.R7$(),t.Y8G("ngIf",0===o.getCouponsForSubProduct(i.subProduct.id).length&&n.dues>1),t.R7$(),t.Y8G("matTooltip",n.paymentMethodName),t.R7$(),t.Y8G("ngIf","CAS"===n.paymentMethod),t.R7$(),t.Y8G("ngIf","TRA"===n.paymentMethod),t.R7$(),t.Y8G("ngIf","DOM"===n.paymentMethod),t.R7$(),t.Y8G("ngIf","STR"===n.paymentMethod),t.R7$(),t.Y8G("ngIf","RDS"===n.paymentMethod),t.R7$(),t.Y8G("ngIf","GBT"===n.paymentMethod),t.R7$(),t.Y8G("ngIf","STR"===n.paymentMethod&&null!=n.commission&&n.commission>0),t.R7$(),t.Y8G("ngIf",1===i.subProduct.subPrice.breakdowns.length&&n.dues>1&&o.purchase.groups.length>1)}}function pt(e,s){if(1&e&&(t.j41(0,"span",62),t.EFF(1),t.k0s()),2&e){const n=t.XpG(3).$implicit,i=t.XpG(3);t.R7$(),t.JRh(i.getTotalOfPrice(n.subProduct.subPrice,n.subProduct.id))}}function ut(e,s){if(1&e&&(t.j41(0,"div",60),t.DNE(1,pt,2,1,"span",61),t.nrm(2,"span",9),t.k0s()),2&e){const n=t.XpG(2).$implicit;t.R7$(),t.Y8G("ngIf",n.subProduct.subPrice.breakdowns.length>1)}}function gt(e,s){if(1&e&&(t.j41(0,"div",18),t.DNE(1,U,7,4,"div",19),t.j41(2,"div",20),t.DNE(3,dt,16,14,"div",21)(4,ut,3,1,"div",22),t.k0s()()),2&e){const n=t.XpG().$implicit,i=t.XpG(3);t.R7$(),t.Y8G("ngIf",i.getCouponsForSubProduct(n.subProduct.id).length>0),t.R7$(2),t.Y8G("ngForOf",n.subProduct.subPrice.breakdowns),t.R7$(),t.Y8G("ngIf",n.subProduct.subPrice.breakdowns.length>1&&i.purchase.groups.length>1)}}function mt(e,s){if(1&e&&(t.j41(0,"div",10)(1,"div",11)(2,"div",12),t.EFF(3),t.k0s()(),t.DNE(4,q,3,1,"div",13)(5,V,3,1,"div",14)(6,gt,5,3,"div",15),t.k0s()),2&e){const n=s.$implicit;t.R7$(3),t.JRh(n.name),t.R7$(),t.Y8G("ngIf",null!=n.subProduct.name),t.R7$(),t.Y8G("ngIf",null!=n.subProduct.subPrice.name),t.R7$(),t.Y8G("ngIf",n.subProduct.subPrice.breakdowns.length>0)}}function _t(e,s){if(1&e&&(t.j41(0,"div"),t.DNE(1,mt,7,4,"div",6),t.j41(2,"div",7)(3,"span"),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"span",8),t.EFF(7),t.k0s(),t.nrm(8,"span",9),t.k0s()()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",n.purchase.groups),t.R7$(3),t.SpI("",t.bMT(5,3,"module.registrations.payment.total")," "),t.R7$(3),t.JRh(n.getTotal())}}function lt(e,s){if(1&e&&(t.j41(0,"div"),t.nrm(1,"app-registration-payment-data",63),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("inscriptionIds",n.inscriptionId)("isSameUser",!1)("referenceComponent",n)("ownerId",n.ownerId)("editing",!0)}}function ft(e,s){if(1&e&&(t.j41(0,"div"),t.DNE(1,N,3,3,"div",4)(2,_t,9,5,"div",2)(3,lt,2,5,"div",2),t.k0s()),2&e){const n=t.XpG();t.R7$(),t.Y8G("ngIf",!n.hasPurchase),t.R7$(),t.Y8G("ngIf",n.hasPurchase&&!n.editing),t.R7$(),t.Y8G("ngIf",n.editing)}}let Pt=(()=>{class e{apiStoreService;apiInscriptionsService;registrationRequestService;apiAccountingService;apiPaymentService;globalVars;menuService;userService;appService;isLoaded=!1;purchase;hasPurchase;adminPage;paymentMethods;stripeConfig;taxes;newProduct;editing=!1;inscriptionId;inscriptions;ownerId;status;discounts;subscription=new T.yU;constructor(n,i,o,r,c,d,p,u,m){this.apiStoreService=n,this.apiInscriptionsService=i,this.registrationRequestService=o,this.apiAccountingService=r,this.apiPaymentService=c,this.globalVars=d,this.menuService=p,this.userService=u,this.appService=m,this.subscription.add(this.appService.subscribe("cancelPurchaseEdition",()=>{this.editing=!1}))}ngOnInit(){var n=this;return(0,y.A)(function*(){n.isLoaded=!1,n.adminPage=n.appService.getIsAdmin();let r,i=n.registrationRequestService.getData(),o=null;if(o=null!=n.userService.getData()?yield(0,P._)(n.apiInscriptionsService.getInscriptionDataByUser([i.id],n.userService.getData().id)):yield(0,P._)(n.apiInscriptionsService.getInscriptionData([i.id])),i=yield o,n.discounts=i.appliedDiscounts,n.inscriptions=i.inscriptions,n.inscriptionId=i.inscriptions.map(c=>c.id),n.ownerId=i.ownerId,n.status=i.status,n.taxes=yield n.apiAccountingService.getAllTaxes().toPromise(),n.paymentMethods=yield n.apiPaymentService.getPaymentConfig().toPromise(),n.stripeConfig=n.paymentMethods.find(c=>"STR"==c.code),null!=i.purchase[0]){if(n.hasPurchase=!0,null!=i.productIds[0])try{r=yield n.apiStoreService.getOneProduct(i.productIds[0],!0).toPromise()}catch{n.hasPurchase=!1}else try{r=yield n.apiStoreService.getProductOfInscription(n.inscriptionId[0]).toPromise()}catch{n.hasPurchase=!1}try{n.newProduct=yield n.apiStoreService.getProductOfInscription(n.inscriptionId[0]).toPromise()}catch{n.hasPurchase=!1}try{n.generatePurchase(r,i.purchase[0])}catch{n.hasPurchase=!1}}else n.hasPurchase=!1;n.isLoaded=!0})()}ngOnDestroy(){this.subscription.unsubscribe()}generatePurchase(n,i){try{this.purchase={groups:[]};for(let o of i.productPrices){let r,c,d=n.productGroup.find(u=>(c=u.productGroupSub.find(m=>(r=m.productGroupSubPrice.find(Ct=>Ct.id===o.priceId),null!=r)),null!=c)),p=0;r.breakdowns=[];for(let u of r.data)r.breakdowns.push(this.generateBreakdown(u,o.paymentMethod[p],o.taxValue[p],o.taxName[p])),p++;c.subPrice=this.generateSubPrice(r),d.subProduct=this.generateSubProduct(c),d=this.generateGroup(d),this.purchase.groups.push(d)}}catch(o){console.error(o),this.hasPurchase=!1}}generateBreakdown(n,i,o,r){let c=1;n.recurrent&&(c=G.RRule.fromString(n.recurrence.rrule).all().length);let d={price:n.value,priceText:this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(n.value)),amount:n.value*((100+parseFloat(o))/100),amountText:this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(n.value*((100+parseFloat(o))/100))),total:n.value*((100+parseFloat(o))/100)*c,totalText:this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(n.value*((100+parseFloat(o))/100)*c)),recurrent:n.recurrent,taxName:r,taxValue:o,paymentMethod:i,paymentMethodName:this.paymentMethods.find(p=>p.code===i).name,dues:c,name:n.name};if("STR"==i&&null!=this.stripeConfig.accountConfig&&this.stripeConfig.accountConfig.userPayCommission){const p=Math.floor(d.total*(this.stripeConfig.accountConfig.generalCommission/100)+parseInt(this.stripeConfig.accountConfig.generalFixCommission));d.commission=p,d.textCommission=this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(p))}return d}generateSubPrice(n){return{breakdowns:n.breakdowns,name:n.name,description:n.description}}
1generateSubProduct(n){return{subPrice:n.subPrice,name:null!=n.name&&"{}"!==n.name?n.name.title:null,description:n.description,id:n.id}}generateGroup(n){return{subProduct:n.subProduct,name:n.name,description:n.description}}getTotalOfPrice(n,i){let o=0;const r=this.getTotalDiscountForSubProduct(i);return n.breakdowns.forEach(c=>{if(o+=r>0?c.total*(1-r/100):c.total,null!=c.commission&&c.commission>0){const p=this.getCommissionWithDiscount(c,i);o+=p}}),this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(o))}getTotal(){let n=0;return this.purchase.groups.forEach(i=>{const o=i.subProduct.id,r=this.getTotalDiscountForSubProduct(o);i.subProduct.subPrice.breakdowns.forEach(c=>{if(n+=r>0?c.total*(1-r/100):c.total,null!=c.commission&&c.commission>0){const p=this.getCommissionWithDiscount(c,o);n+=p}})}),this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(n))}submitPaymentData(n,i){this.isLoaded=!1,this.apiInscriptionsService.editPurchase(this.registrationRequestService.getData().purchaseId,n).subscribe(o=>{this.appService.broadcast("reloadNav",{}),this.appService.broadcast("read-notifications",1),this.appService.broadcast("reload-notification-number"),this.menuService.broadcast("updateBubbles"),this.isLoaded=!0,this.editing=!1,this.ngOnInit()})}getCurrentInscriptions(){return this.inscriptions}getCouponsForSubProduct(n){return this.discounts&&0!==this.discounts.length?this.discounts.filter(i=>i.productGroupSubId===n):[]}getTotalDiscountForSubProduct(n){const i=this.getCouponsForSubProduct(n);if(0===i.length)return 0;const o=i.reduce((r,c)=>r+parseFloat(c.discount.value),0);return Math.min(o,100)}getPriceWithDiscount(n,i){const o=this.getTotalDiscountForSubProduct(i);return this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(0===o?n:n*(1-o/100)))}getCommissionWithDiscount(n,i){if("STR"!==n.paymentMethod||!n.commission)return n.commission||0;const o=this.getTotalDiscountForSubProduct(i);return 0===o?n.commission:Math.floor(n.total*(1-o/100)*(this.stripeConfig.accountConfig.generalCommission/100)+parseInt(this.stripeConfig.accountConfig.generalFixCommission))}getCommissionTextWithDiscount(n,i){const o=this.getCommissionWithDiscount(n,i);return this.globalVars.moneyToFormattedString(this.globalVars.getFormattedNumberMoney(o))}hasDiscounts(){return this.discounts&&this.discounts.length>0}static \u0275fac=function(i){return new(i||e)(t.rXU(F.d),t.rXU(I.$),t.rXU(D.o),t.rXU(f.D),t.rXU(R.m),t.rXU($.Y),t.rXU(S.$),t.rXU(j.D),t.rXU(x.d))};static \u0275cmp=t.VBU({type:e,selectors:[["app-registration-request-id-payment-info"]],standalone:!1,features:[t.Jv_([f.D])],decls:3,vars:2,consts:[[1,"dashboard-inside-table"],["class","dashboard-flex-center",4,"ngIf"],[4,"ngIf"],[1,"dashboard-flex-center"],["class","alert-default",4,"ngIf"],[1,"alert-default"],["class","product-group",4,"ngFor","ngForOf"],[1,"total-final"],[1,"total-final-number"],[1,"payment-method-icon"],[1,"product-group"],[1,"subsection-header"],[1,"title"],["class","subProduct",4,"ngIf"],["class","subPrice",4,"ngIf"],["class","price-container",4,"ngIf"],[1,"subProduct"],[1,"subPrice"],[1,"price-container"],["class","coupons-applied-section",4,"ngIf"],[1,"breakdown-container"],["class","breakdown",4,"ngFor","ngForOf"],["class","total",4,"ngIf"],[1,"coupons-applied-section"],[1,"coupons-header"],[1,"coupons-title"],[1,"coupons-list"],["class","coupon-item",4,"ngFor","ngForOf"],[1,"coupon-item"],["aria-label","Cupones aplicados"],[1,"coupon-chip"],[1,"fa-light","fa-tag"],[1,"coupon-code"],[1,"coupon-value"],[1,"breakdown"],[1,"real-price"],["class","price-name",4,"ngIf"],["class","price-with-discount",4,"ngIf"],["class","price-with-discount breakdown-dues1",4,"ngIf"],["class","simple-price",4,"ngIf"],["class","complex-price",4,"ngIf"],[1,"payment-method-icon",3,"matTooltip"],["class","fa-light fa-coin",4,"ngIf"],["class","fa-light fa-exchange",4,"ngIf"],["class","fa-light fa-money-check-edit-alt",4,"ngIf"],["class","fa-light fa-credit-card",4,"ngIf"],["class","real-price",4,"ngIf"],[1,"price-name"],[1,"price-with-discount"],["class","original-price strikethrough",4,"ngIf"],["class","discounted-price",4,"ngIf"],[1,"original-price","strikethrough"],[1,"discounted-price"],[1,"price-with-discount","breakdown-dues1"],[1,"simple-price"],[1,"complex-price"],[1,"fa-light","fa-coin"],[1,"fa-light","fa-exchange"],[1,"fa-light","fa-money-check-edit-alt"],[1,"fa-light","fa-credit-card"],[1,"total"],["class","price-total",4,"ngIf"],[1,"price-total"],[3,"inscriptionIds","isSameUser","referenceComponent","ownerId","editing"]],template:function(i,o){1&i&&(t.j41(0,"div",0),t.DNE(1,w,2,0,"div",1)(2,ft,4,3,"div",2),t.k0s()),2&i&&(t.R7$(),t.Y8G("ngIf",!o.isLoaded),t.R7$(),t.Y8G("ngIf",o.isLoaded))},dependencies:[g.Sq,g.bT,X.t,v.Jl,v.Jo,E.e,k.K,Y.D9],styles:[".product-group[_ngcontent-%COMP%] .real-price[_ngcontent-%COMP%], .product-group[_ngcontent-%COMP%] .total[_ngcontent-%COMP%], .product-group[_ngcontent-%COMP%] .price[_ngcontent-%COMP%]{text-align:right}.product-group[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{border-top:1px solid #bbb;padding-top:.5em;margin-top:.5em}.product-group[_ngcontent-%COMP%] .sub-products[_ngcontent-%COMP%]{margin:2em 0 2em 2em}.product-group[_ngcontent-%COMP%] .sub-products[_ngcontent-%COMP%] .sub-product[_ngcontent-%COMP%]{margin-bottom:1em}.product-group[_ngcontent-%COMP%] .sub-products[_ngcontent-%COMP%] .sub-product[_ngcontent-%COMP%]:first-child{margin-top:1em}.product-group[_ngcontent-%COMP%] .sub-products[_ngcontent-%COMP%] .sub-product[_ngcontent-%COMP%] .group-price[_ngcontent-%COMP%]{margin-left:28px}.product-group[_ngcontent-%COMP%] .mat-checkbox[_ngcontent-%COMP%]{margin-bottom:.5em;font-size:18px!important}.product-group[_ngcontent-%COMP%] .group-description[_ngcontent-%COMP%], .product-group[_ngcontent-%COMP%] .group-price[_ngcontent-%COMP%]{margin-left:25px}.product-group[_ngcontent-%COMP%] .group-price[_ngcontent-%COMP%]{margin-top:1em}.price-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-bottom:1em}.price-container[_ngcontent-%COMP%] .breakdown-container[_ngcontent-%COMP%]{align-self:flex-end}.price-container[_ngcontent-%COMP%] .real-price[_ngcontent-%COMP%]{margin-top:.5em}.price-container[_ngcontent-%COMP%] .real-price[_ngcontent-%COMP%] .payment-method-icon[_ngcontent-%COMP%]{min-width:16px}.price-container[_ngcontent-%COMP%] .price-total[_ngcontent-%COMP%]{font-weight:600}.total-final[_ngcontent-%COMP%]{width:100%;text-align:right;border-top:1px solid #bbb;padding-top:1em;margin-top:1em}.total-final[_ngcontent-%COMP%] .total-final-number[_ngcontent-%COMP%]{font-weight:600}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%]{margin-bottom:2em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .price-options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{margin-bottom:.5em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .payment-name[_ng
1content-%COMP%]{flex-grow:1;font-weight:700;font-size:1.25em;margin-bottom:.25em;text-transform:uppercase}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .price-name[_ngcontent-%COMP%]{flex-grow:1;font-weight:500;font-size:1.1em;margin-bottom:.75em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .payment-price[_ngcontent-%COMP%]{font-weight:600;font-size:1.25em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .price-value[_ngcontent-%COMP%]{font-size:1.1em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .price-options[_ngcontent-%COMP%]{margin:1em 0}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .selected-option[_ngcontent-%COMP%]{font-size:18px;margin-bottom:1.5em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-card[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-iban[_ngcontent-%COMP%]{display:flex;margin-bottom:2em}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-card[_ngcontent-%COMP%] .saved-card[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-card[_ngcontent-%COMP%] .saved-iban[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-iban[_ngcontent-%COMP%] .saved-card[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-iban[_ngcontent-%COMP%] .saved-iban[_ngcontent-%COMP%]{flex-grow:1}.payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-card[_ngcontent-%COMP%] .change-card[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-card[_ngcontent-%COMP%] .change-iban[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-iban[_ngcontent-%COMP%] .change-card[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .payment-group[_ngcontent-%COMP%] .info-iban[_ngcontent-%COMP%] .change-iban[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer}.payment-info[_ngcontent-%COMP%] .stripe-data[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .iban-complete-data[_ngcontent-%COMP%]{background-color:#00000005!important;padding:2em}.payment-info[_ngcontent-%COMP%] .info-payment[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%] .multiple[_ngcontent-%COMP%] .multiple-options[_ngcontent-%COMP%]{margin-left:2em}.payment-info[_ngcontent-%COMP%] .method-description[_ngcontent-%COMP%]{margin-bottom:1em;font-size:.9em}.payment-info[_ngcontent-%COMP%] .multiple-options[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.payment-info[_ngcontent-%COMP%] .payment-method[_ngcontent-%COMP%]{margin-bottom:2em}#inscription-payment-data[_ngcontent-%COMP%] .actions-right[_ngcontent-%COMP%]{justify-content:flex-end}.coupons-applied-section[_ngcontent-%COMP%]{margin-bottom:1em;padding:1em;background-color:#f5f5f5;border-radius:4px;align-self:flex-end}.coupons-applied-section[_ngcontent-%COMP%] .coupons-header[_ngcontent-%COMP%]{margin-bottom:.75em}.coupons-applied-section[_ngcontent-%COMP%] .coupons-header[_ngcontent-%COMP%] .coupons-title[_ngcontent-%COMP%]{font-weight:600;color:#2e7d32;font-size:.95em}.coupons-applied-section[_ngcontent-%COMP%] .coupons-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5em}.coupons-applied-section[_ngcontent-%COMP%] .coupons-list[_ngcontent-%COMP%] .coupon-item[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-flex}.coupons-applied-section[_ngcontent-%COMP%] .coupons-list[_ngcontent-%COMP%] .coupon-item[_ngcontent-%COMP%] .coupon-chip[_ngcontent-%COMP%]{background-color:#e8f5e9!important;color:#2e7d32!important;border:1px solid #a5d6a7;font-size:.85em;padding:.25em .75em}.coupons-applied-section[_ngcontent-%COMP%] .coupons-list[_ngcontent-%COMP%] .coupon-item[_ngcontent-%COMP%] .coupon-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.4em;font-size:.9em}.coupons-applied-section[_ngcontent-%COMP%] .coupons-list[_ngcontent-%COMP%] .coupon-item[_ngcontent-%COMP%] .coupon-chip[_ngcontent-%COMP%] .coupon-code[_ngcontent-%COMP%]{font-weight:600;margin-right:.4em}.coupons-applied-section[_ngcontent-%COMP%] .coupons-list[_ngcontent-%COMP%] .coupon-item[_ngcontent-%COMP%] .coupon-chip[_ngcontent-%COMP%] .coupon-value[_ngcontent-%COMP%]{color:#1b5e20;font-weight:500}.price-with-discount[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5em}.price-with-discount[_ngcontent-%COMP%] .original-price.strikethrough[_ngcontent-%COMP%]{text-decoration:line-through;color:#999;font-size:.9em}.price-with-discount[_ngcontent-%COMP%] .discounted-price[_ngcontent-%COMP%]{color:#2e7d32;font-weight:600}"]}
1)}return e})();var C=a(2615);const vt=[{path:"",component:Pt}];let M=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=t.$C({type:e});static \u0275inj=C.G2t({imports:[l.iI.forChild(vt),l.iI]})}return e})(),ht=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=t.$C({type:e});static \u0275inj=C.G2t({imports:[g.MD,M,b.u,O.G,M]})}return e})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.