PageSourceSearch

https://www.milar.es/tiendas/chunk-5QGK5N7K.js

js milar.es collected 2026-09-30 21:49:19 UTC 2,706 bytes, 1 lines download raw bytes

1import{a as B}from"./chunk-OHSLIVYW.js";import{a as A}from"./chunk-UXDM7B4F.js";import"./chunk-2V2FR5Y3.js";import{a as y}from"./chunk-VM6G72KH.js";import"./chunk-D6XJLSYL.js";import"./chunk-QGJ5OZ3T.js";import"./chunk-RJBGFLXZ.js";import{$ as x,L as h,X as O,t as c}from"./chunk-IJ4IU5NN.js";import{Db as P,Hb as m,Mb as l,Mc as v,Nb as a,Ob as f,Yb as g,bc as p,fb as i,hc as D,ia as _,ic as I,jc as T,q as u,qb as M,qc as b,rc as S,sc as s,ta as R,ub as N,wb as C}from"./chunk-XUZOFYHQ.js";var d=class{poiDetailMenuService=_(y);poisService=_(x);banners=c(this.poisService.getCurrentContens(O.BANNERS));promotions=c(this.poisService.getCurrentContens(O.PROMOTIONS));cmsComponentData=_(h,{optional:!0});data=c(this.cmsComponentData?.data$??u());constructor(){v(()=>this.init());}init(){(this.banners()?.length||this.promotions()?.length)&&Promise.resolve().then(()=>{this.poiDetailMenuService.addMenuItem("promotions",this.promotionsElRef,"Promociones",this.data()?.position);});}};var F=["promotionsEl"];function V(e,n){if(e&1&&(l(0,"div",5),f(1,"milar-poi-detail-banners",7),a()),e&2){p(2);let o=s(0);i(),P("banners",o);}}function $(e,n){if(e&1&&(l(0,"div",6),f(1,"milar-poi-detail-promotions",8),a()),e&2){p(2);let o=s(1);i(),P("promotions",o);}}function J(e,n){if(e&1&&(l(0,"div",2,0)(2,"div",3)(3,"h2",4),g(4,1),a(),C(5,V,2,1,"div",5)(6,$,2,1,"div",6),a()()),e&2){p();let o=s(0),t=s(1);i(5),m(o&&o.length>0?5:-1),i(),m(t&&t.length>0?6:-1);}}var L=class e extends d{promotionsElRef;static ɵfac=(()=>{let n;return function(t){return(n||(n=R(e)))(t||e);};})();static ɵcmp=M({type:e,selectors:[["milar-poi-detail-promotions-banners"]],viewQuery:function(o,t){if(o&1&&D(F,5),o&2){let r;I(r=T())&&(t.promotionsElRef=r.first);}},features:[N],decls:3,vars:3,consts:()=>{let n;return n="Nuestras promociones",[["promotionsEl",""],n,["id","promotions",1,"promotions-banners"],[1,"promotions-banners__container","container"],[1,"promotions-banners__title"],[1,"promotions-banners__banner"],[1,"promotions-banners__promotions"],[3,"banners"],[3,"promotions"]];},template:function(o,t){if(o&1&&(b(0)(1),C(2,J,7,2,"div",2)),o&2){let r=S(t.banners());i();let E=S(t.promotions());i(),m(r&&r.length>0||E&&E.length>0?2:-1);}},dependencies:[A,B],styles:[".promotions-banners[_ngcontent-%COMP%]{padding-block:3rem;background:var(--brand-detail-background)}.promotions-banners__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:3rem}.promotions-banners__title[_ngcontent-%COMP%]{font-size:28px;font-weight:700;line-height:36px;letter-spacing:.25px}"],changeDetection:0});};export{L as MilarPoiDetailPromotionsBannersComponent};/**i18n:9e36b4cde14bd6fbef6269be0cec0080484f292ca5cf7ff07439f7e065d4c805*/

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.