PageSourceSearch

https://www.fepetanca.com/1252.b34f1bbb96d29d72.js

js fepetanca.com collected 2026-09-25 01:48:36 UTC 13,910 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1252],{61252:(Q,m,o)=>{o.r(m),o.d(m,{StorePublicPurchaseSummaryModule:()=>B});var h=o(38132),v=o(10467),f=o(52612),b=o(65248),F=o(30720),R=o(89128),S=o(69915),P=o(60152),I=o(6121),T=o(25615),t=o(73664),u=o(2615),d=o(91029),y=o(72200),k=o(82966),$=o(6688),E=o(68018);const j=(a,c)=>({IBAN:a,reference:c}),C=a=>[a,"static","condiciones-de-venta"];function M(a,c){1&a&&t.nrm(0,"app-skeleton-block")}function x(a,c){1&a&&(t.j41(0,"div",26),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"module.store.summary_blocked_pass")))}function D(a,c){if(1&a&&(t.j41(0,"div",14)(1,"h6",8),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p",15),t.EFF(5),t.k0s()()),2&a){const e=t.XpG(2);t.R7$(2),t.SpI("",t.bMT(3,2,"global.common.nif")," "),t.R7$(3),t.JRh(e.facturationData.nif)}}function N(a,c){if(1&a&&(t.j41(0,"div",10)(1,"h4",11),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",12)(5,"div",13)(6,"div",14)(7,"h6",8),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"p",15),t.EFF(11),t.k0s()(),t.j41(12,"div",14)(13,"h6",8),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.j41(16,"p",15),t.EFF(17),t.k0s()()(),t.j41(18,"div",17)(19,"div",14)(20,"h6",8),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.j41(23,"p",15),t.EFF(24),t.k0s(),t.j41(25,"p",15),t.EFF(26),t.k0s(),t.j41(27,"p",15),t.EFF(28),t.k0s()()()()()),2&a){const e=t.XpG(2);t.R7$(2),t.JRh(t.bMT(3,11,"module.store.ship_data")),t.R7$(6),t.SpI("",t.bMT(9,13,"global.common.person")," "),t.R7$(3),t.JRh(e.shipData.person),t.R7$(3),t.SpI("",t.bMT(15,15,"global.common.phone")," "),t.R7$(3),t.JRh(e.shipData.phone),t.R7$(4),t.SpI("",t.bMT(22,17,"global.common.address")," "),t.R7$(3),t.JRh(e.shipData.direction),t.R7$(2),t.E5c("",e.shipData.postalCode," ",e.shipData.regionName," ",e.shipData.cityName),t.R7$(2),t.JRh(e.shipData.countryName)}}function _(a,c){if(1&a&&(t.j41(0,"div",14)(1,"h6",8),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p",15),t.EFF(5),t.k0s()()),2&a){const e=t.XpG(2);t.R7$(2),t.SpI("",t.bMT(3,2,"module.store.purchase_shipping")," "),t.R7$(3),t.JRh(e.purchase.shippings[0].shipping.title)}}function J(a,c){if(1&a&&(t.j41(0,"div",20)(1,"p"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()),2&a){const e=t.XpG(2);t.R7$(2),t.SpI("",t.bMT(3,2,"module.store.shipping"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.shippingPrice))}}function V(a,c){if(1&a&&(t.j41(0,"div",20)(1,"p"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()),2&a){const e=t.XpG(2);t.R7$(2),t.SpI("",t.bMT(3,2,"module.accounting.commissions"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.commission))}}function G(a,c){if(1&a&&(t.nrm(0,"div",27),t.nI1(1,"translate")),2&a){const e=t.XpG(2);t.Y8G("innerHTML",t.i5U(1,1,"module.store.transfer_info",t.l_i(4,j,e.purchase.transferIBAN,e.purchase.referenceIdentifier)),t.npT)}}function U(a,c){if(1&a&&(t.j41(0,"div",10)(1,"a",28),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&a){const e=t.XpG(2);t.R7$(),t.Y8G("routerLink",t.eq3(4,C,e.currentLanguage)),t.R7$(),t.JRh(t.bMT(3,2,"module.store.sale_conditions_link"))}}function L(a,c){if(1&a){const e=t.RV6();t.j41(0,"div",3)(1,"div",4),t.DNE(2,x,3,3,"div",5),t.j41(3,"div",6),t.nrm(4,"i",7),t.j41(5,"h5",8),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"h5",8),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"h5",8),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.j41(14,"p",9),t.EFF(15),t.nI1(16,"translate"),t.k0s()(),t.j41(17,"div",10)(18,"h4",11),t.EFF(19),t.nI1(20,"translate"),t.k0s(),t.j41(21,"div",12)(22,"div",13)(23,"div",14)(24,"h6",8),t.EFF(25),t.nI1(26,"translate"),t.k0s(),t.j41(27,"p",15),t.EFF(28),t.k0s()(),t.j41(29,"div",14)(30,"h6",8),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.j41(33,"p",15),t.EFF(34),t.k0s()(),t.DNE(35,D,6,4,"div",16),t.k0s(),t.j41(36,"div",17)(37,"div",14)(38,"h6",8),t.EFF(39),t.nI1(40,"translate"),t.k0s(),t.j41(41,"p",15),t.EFF(42),t.k0s(),t.j41(43,"p",15),t.EFF(44),t.k0s(),t.j41(45,"p",15),t.EFF(46),t.k0s()()()()(),t.DNE(47,N,29,19,"div",18),t.j41(48,"div",10)(49,"h4",11),t.EFF(50),t.nI1(51,"translate"),t.k0s(),t.j41(52,"div",12)(53,"div",13)(54,"div",14)(55,"h6",8),t.EFF(56),t.nI1(57,"translate"),t.k0s(),t.j41(58,"p",15),t.EFF(59),t.k0s()(),t.DNE(60,_,6,4,"div",16),t.k0s(),t.j41(61,"div",17)(62,"div",14)(63,"h6",8),t.EFF(64),t.nI1(65,"translate"),t.k0s(),t.j41(66,"p",15),t.EFF(67),t.nI1(68,"translate"),t.k0s()(),t.j41(69,"div",14)(70,"h6",8),t.EFF(71),t.nI1(72,"translate"),t.k0s(),t.j41(73,"p",15),t.EFF(74),t.k0s()()()()(),t.j41(75,"div",10)(76,"h4",11),t.EFF(77),t.nI1(78,"translate"),t.k0s(),t.j41(79,"div",19)(80,"div",20)(81,"p"),t.EFF(82),t.nI1(83,"translate"),t.k0s(),t.j41(84,"p"),t.EFF(85),t.k0s()(),t.DNE(86,J,6,4,"div",21),t.j41(87,"div",20)(88,"p"),t.EFF(89),t.nI1(90,"translate"),t.k0s(),t.j41(91,"p"),t.EFF(92),t.k0s()(),t.j41(93,"div",20)(94,"p"),t.EFF(95),t.nI1(96,"translate"),t.k0s(),t.j41(97,"p"),t.EFF(98),t.k0s()(),t.j41(99,"div",20)(100,"p"),t.EFF(101),t.nI1(102,"translate"),t.k0s(),t.j41(103,"p"),t.EFF(104),t.k0s()(),t.DNE(105,V,6,4,"div",21),t.j41(106,"div",20)(107,"p",22),t.EFF(108),t.nI1(109,"translate"),t.k0s(),t.j41(110,"p",22),t.EFF(111),t.k0s()()()(),t.DNE(112,G,2,7,"div",23)(113,U,4,6,"div",18),t.k0s(),t.j41(114,"div",24)(115,"app-button-main",25),t.bIt("buttonAction",function(){u.eBV(e);const s=t.XpG();return u.Njj(s.goToStore())}),t.k0s()()()}if(2&a){const e=t.XpG();t.R7$(2),t.Y8G("ngIf",e.hasBlockedPasses),t.R7$(4),t.Lme("",t.bMT(7,47,"module.store.thanks")," ",null==e.purchase.user?null:e.purchase.user.firstName),t.R7$(3),t.JRh(t.bMT(10,49,"module.store.purchase_made_successfuly_pt1")),t.R7$(3),t.JRh(t.bMT(13,51,"module.store.purchase_made_successfuly_pt2")),t.R7$(3),t.Lme("",t.bMT(16,53,"module.store.order_number")," ",e.purchase.referenceIdentifier),t.R7$(4),t.JRh(t.bMT(20,55,"module.store.facturaction_data")),t.R7$(6),t.SpI("",t.bMT(26,57,"global.common.person_business")," "),t.R7$(3),t.JRh(e.facturationData.person),t.R7$(3),t.SpI("",t.bMT(32,59,"global.common.phone")," "),t.R7$(3),t.JRh(e.facturationData.phone),t.R7$(),t.Y8G("ngIf",null!=e.facturationData.nif&&""!=e.facturationData.nif),t.R7$(4),t.SpI("",t.bMT(40,61,"global.common.address")," "),t.R7$(3),t.JRh(e.facturationData.direction),t.R7$(2),t.E5c("",e.facturationData.postalCode," ",e.facturationData.regionName," ",e.facturationData.cityName),t.R7$(2),t.JRh(e.facturationData.countryName),t.R7$(),t.Y8G("ngIf",null!=e.purchase.shippings&&e.purchase.shippings.length>0),t.R7$(3),t.JRh(t.bMT(51,63,"module.store.purchase_details")),t.R7$(6),t.SpI("",t.bMT(57,65,"module.store.purchase_date")," "),t.R7$(3),t.JRh(e.purchase.date),t.R7$(),t.Y8G("ngIf",null!=e.purchase.shippings&&e.purchase.shippings.length>0),t.R7$(4),t.SpI("",t.bMT(65,67,"module.store.purchase_payment_method")," "),t.R7$(3),t.JRh(t.bMT(68,69,"module.accounting."+e.purchase.paymentMethod)),t.R7$(4),t.SpI("",t.bMT(72,71,"module.store.reference_number")," "),t.R7$(3),t.JRh(e.purchase.referenceIdentifier),t.R7$(3),t.JRh(t.bMT(78,73,"module.store.purchase_summary")),t.R7$(5),t.Lme("",e.totalUnits," ",t.bMT(83,75,"module.store.purchase_units"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.priceNoTax)),t.R7$(),t.Y8G("ngIf",null!=e.purchase.shippings&&e.purchase.shippings.length>0),t.R7$(3),t.SpI("",t.bMT(90,77,"module.store.before_tax"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.finalPriceNoTax)),t.R7$(3),t.SpI("",t.bMT(96,79,"module.store.taxes"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.taxPrice)),t.R7$(3),t.SpI("",t.bMT(102,81,"module.store.discounts"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.finalPrice-(e.finalPriceNoTax+e.taxPrice))),t.R7$(),t.Y8G("ngIf",null!=e.commission&&e.commission>0),t.R7$(3),t.SpI("",t.bMT(109,83,"module.store.total_amount"),":"),t.R7$(3),t.JRh(e.globalVars.getFormattedStringMoney(e.finalPrice+e.commission)),t.R7$(),t.Y8G("ngIf",null!=e.purchase.transferIBAN),t.R7$(),t.Y8G("ngIf",e.saleConditionsActive),t.R7$(2),t.Y8G("isMain",!0)("value","module.store.go_back_to_store")("size","small")}}const X=[{path:"",component:(()=>{class a{appService;shoppingCartService;activatedRoute;apiStoreService;apiDateService;apiClubsService;clubsService;router;apiPaymentService;globalVars;loaded=!1;purchase=null;user=null;shipData=null;commission=0;shippings=[];products=[];discounts=[];finalPrice=0;priceNoTax=0;taxPrice=0;finalPriceNoTax=0;shippingPrice=0;totalUnits=0;facturationData=null;hasBlockedPasses=!1;saleConditionsActive=!1;currentLanguage;constructor(e,n,s,i,r,p,l,O,H,z){this.appService=e,this.shoppingCartService=n,this.activatedRoute=s,this.apiStoreService=i,this.apiDateService=r,this.apiClubsService=p,this.clubsService=l,this.router=O,this.apiPaymentService=H,this.globalVars=z}ngOnDestroy(){this.appService.broadcast("showCheckoutNavbar",!1)}ngOnInit(){this.currentLanguage=this.clubsService.getLanguageInUseCode(),this.apiClubsService.getLegalConfig(!0).subscribe(n=>{this.saleConditionsActive=!!n?.legalConfig?.sale_conditions});let e=this.activatedRoute.snapshot.queryParamMap;e.has("purchase")||this.router.navigate(["/"]),this.hasBlockedPasses="true"===e.get("blockedPass"),this.apiStoreService.getPurchaseByToken(e.get("purchase")).subscribe(n=>{this.shoppingCartService.removeAllDataFromCart(),this.purchase=n,this.purchase.date=this.apiDateService.getLocalDate(this.purchase.createdAt,"string","L"),this.facturationData=this.purchase.facturationData,this.user=this.purchase.user,this.shipData=this.purchase.shipData,this.products=this.purchase.productSummary,this.shippings=this.purchase.shippings,this.discounts=this.purchase.discounts.map(s=>s.discount),this.calculateFinalPrice(),this.calculateTotalUnits(),setTimeout(()=>{this.globalVars.navbarTop.title="module.store.finish_purchase",this.globalVars.navbarTop.bgClass="bg-primary",this.globalVars.navbarTop.backLink=!0,this.globalVars.navbarTop.customBackLink="",this.globalVars.navbarTop.image=null,this.globalVars.navbarTop.rightIcon=null,this.globalVars.navbarTop.rightLink=null,this.globalVars.navbarBottom.status=!0,this.globalVars.navbarBottom.activeItem=null}),this.loaded=!0},n=>{if("NOT_FOUND"==n.code)this.router.navigate(["/"]);else if("NOT_VALIDATED"==n.code){let s=this.globalVars.navbarTop.historyURL.length-1;this.globalVars.navbarTop.saveUrl=!1,this.router.navigate([this.globalVars.navbarTop.historyURL[s]]),this.globalVars.navbarTop.historyURL.splice(s,1)}})}calculateFinalPrice(){var e=this;return(0,v.A)(function*(){e.finalPrice=0,e.priceNoTax=0,e.finalPriceNoTax=0;let n=0;if(e.shippings.length>0){e.shippingPrice=0;let s=[];for(let i of e.shippings)s.includes(i.shippingId)||(e.shippingPrice+=i.price,n+=i.taxPrice,s.push(i.shippingId))}else e.shippingPrice=0;for(let s of e.products){let i=s.units,r=s.product;r.onSale?(e.finalPrice+=r.taxSalePrice*i,e.priceNoTax+=r.salePrice*i):(e.finalPrice+=r.taxPrice*i,e.priceNoTax+=r.value*i)}if(e.discounts.length>0)for(let s of e.discounts){s.valueDiscounted=0;let i=s.value/100;if(s.applyToDiscounts)s.valueDiscounted=e.finalPrice*i;else for(let r of e.products){let p=r.units,l=r.product;r.product.onSale||(s.valueDiscounted+=null!=l.productGroupSubPrice?l.productGroupSubPrice[0].data[0].taxPr
1ice*p*i:l.taxPrice*p*i)}}e.taxPrice=e.finalPrice-e.priceNoTax+(n-e.shippingPrice),e.finalPriceNoTax=e.priceNoTax+e.shippingPrice,e.finalPrice+=n;for(let s of e.discounts)e.finalPrice-=s.valueDiscounted;if(e.finalPrice=Math.max(0,e.finalPrice),"STR"==e.purchase.paymentMethod){const i=(yield e.apiPaymentService.getPaymentConfigAsMap().toPromise()).get(e.purchase.paymentMethod);i&&null!=i.accountConfig&&i.accountConfig.userPayShopCommission&&(e.commission=e.finalPrice*((i.accountConfig.shopCommission||i.accountConfig.generalCommission)/100)+parseInt(i.accountConfig.shopFixCommission||i.accountConfig.generalFixCommission))}})()}calculateTotalUnits(){this.totalUnits=0;for(let e of this.products)this.totalUnits+=e.units}ngAfterViewInit(){this.appService.broadcast("showCheckoutNavbar",!0)}goToStore(){this.router.navigate([`/${this.clubsService.getLanguageInUseCode()}/store/home`]).then(()=>{setTimeout(()=>{this.appService.broadcast("recalculateAnimations",{})},1e3)})}static \u0275fac=function(n){return new(n||a)(t.rXU(S.d),t.rXU(I.Q),t.rXU(d.nX),t.rXU(F.d),t.rXU(f.C),t.rXU(R.P),t.rXU(P.X),t.rXU(d.Ix),t.rXU(b.m),t.rXU(T.Y))};static \u0275cmp=t.VBU({type:a,selectors:[["app-store-public-purchase-summary"]],standalone:!1,decls:3,vars:2,consts:[[1,"dashboard-full-height","dashboard-wide","summary-dashboard"],[4,"ngIf"],["class","container summary",4,"ngIf"],[1,"container","summary"],[1,"fix"],["class","alert-warning",4,"ngIf"],[1,"summary-header"],[1,"fa-light","fa-check-circle"],[1,"title"],[1,"purchase"],[1,"summary-item"],[1,"item-title"],[1,"item-content"],[1,"left"],[1,"each-info"],[1,"description"],["class","each-info",4,"ngIf"],[1,"right"],["class","summary-item",4,"ngIf"],[1,"desglose"],[1,"each"],["class","each",4,"ngIf"],[1,"bold"],["class","summary-item",3,"innerHTML",4,"ngIf"],[1,"actions-right"],[3,"buttonAction","isMain","value","size"],[1,"alert-warning"],[1,"summary-item",3,"innerHTML"],["target","new",1,"link",3,"routerLink"]],template:function(n,s){1&n&&(t.j41(0,"div",0),t.DNE(1,M,1,0,"app-skeleton-block",1)(2,L,116,85,"div",2),t.k0s()),2&n&&(t.R7$(),t.Y8G("ngIf",!s.loaded),t.R7$(),t.Y8G("ngIf",s.loaded))},dependencies:[y.bT,h.Wk,k.K,$.H,E.D9],styles:["h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{text-align:left}"]})}return a})()}];let g=(()=>{class a{static \u0275fac=function(n){return new(n||a)};static \u0275mod=t.$C({type:a});static \u0275inj=u.G2t({imports:[h.iI.forChild(X),h.iI]})}return a})();var A=o(28292),Y=o(35745);let B=(()=>{class a{static \u0275fac=function(n){return new(n||a)};static \u0275mod=t.$C({type:a});static \u0275inj=u.G2t({imports:[A.B,Y.C,g,g]})}return a})()}}]);

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.