1import{a as N}from"./chunk-2IS5ILBG.js";import{$ as T,$b as H,G as D,H as g,Hc as $,J as s,Ka as a,L as f,La as l,Ma as R,Mc as k,N as h,O as v,Wa as w,X as m,Y as p,aa as E,ba as d,ca as n,da as o,ea as c,ia as x,lb as j,pb as z,rb as S,sa as r,t as C,ta as F,tc as y,ua as _,ub as b}from"./chunk-6ORJ5S3Y.js";function J(e,i){if(e&1&&(n(0,"h5",1),r(1),o(),n(2,"div",2),c(3,"img",3),a(4,"mediaFileHost"),o(),c(5,"p",4),a(6,"sanitize")),e&2){let t=x();s(),_(" ",t.title," "),s(2),d("src",l(4,4,t.image.url),g)("alt",t.image.alternativeText),s(2),d("innerHTML",R(6,6,t.description,"html"),D)}}function K(e,i){e&1&&(n(0,"p",0),r(1,"Noticia removida o no existe."),o())}function Q(e,i){e&1&&m(0,J,7,9)(1,K,2,0,"p",0),e&2&&p(i?0:1)}var M=class e{constructor(i,t){this.coreContentService=i;this.route=t}item$;ngOnInit(){let i=this.route.snapshot.paramMap.get("id");this.item$=this.coreContentService.fetchNewsById(i)}static \u0275fac=function(t){return new(t||e)(f(y),f(j))};static \u0275cmp=h({type:e,selectors:[["ng-component"]],standalone:!1,decls:3,vars:3,consts:[[1,"text-center"],[1,"text-center","mt-4"],[1,"text-center","my-4"],["width","560","height","300","loading","lazy",1,"img-fluid",3,"src","alt"],[3,"innerHTML"]],template:function(t,O){if(t&1&&(n(0,"app-white-card"),m(1,Q,2,1),a(2,"async"),o()),t&2){let u;s(),p((u=l(2,1,O.item$))?1:-1,u)}},dependencies:[N,w,H,b],styles:["@media(max-width:768px){img[_ngcontent-%COMP%]{width:100%;height:auto}}"]})};var X=(e,i)=>i.id??e;function Y(e,i){if(e&1&&(n(0,"div",3)(1,"div",4)(2,"div",5),c(3,"img",6),a(4,"mediaFileHost"),o(),n(5,"div",7)(6,"div",8)(7,"h5"),r(8),o()(),n(9,"div",9),r(10),o(),n(11,"button",10),r(12,"VER M\xC1S"),o()()()()),e&2){let t=i.$implicit;s(3),d("src",l(4,5,t.image.url),g)("alt",t.image.alternativeText),s(5),F(t.title),s(2),_(" ",t.shortDescription," "),s(),d("routerLink",t.id)}}function Z(e,i){if(e&1&&(n(0,"div",1),T(1,Y,13,7,"div",3,X),o()),e&2){let t=x();s(),E(t)}}function ee(e,i){e&1&&(n(0,"p",2),r(1,"En estos momentos no hay noticias."),o())}function te(e,i){if(e&1&&m(0,Z,3,0,"div",1)(1,ee,2,0,"p",2),e&2){let t=i;p(t&&t.length>0?0:1)}}var I=class e{constructor(i){this.coreContentService=i}news$;ngOnInit(){this.news$=this.coreContentService.fetchNews("business")}static \u0275fac=function(t){return new(t||e)(f(y))};static \u0275cmp=h({type:e,selectors:[["ng-component"]],standalone:!1,decls:4,vars:3,consts:[["title","Noticias"],[1,"row","g-3"],[1,"text-center"],[1,"col-lg-6"],[1,"card"],[1,"card-header"],["width","560","height","193","loading","lazy",1,"card-img-top",3,"src","alt"],[1,"card-body"],[1,"item-title"],[1,"short-description"],[1,"btn","btn-outline-primary",3,"routerLink"]],template:function(t,O){if(t&1&&(n(0,"app-white-card"),c(1,"app-title",0),m(2,te,2,1),a(3,"async"),o()),t&2){let u;s(2),p((u=l(3,1,O.news$))?2:-1,u)}},dependencies:[N,$,z,w,b],styles:[".row[_ngcontent-%COMP%]{padding-left:72.5px;padding-right:72.5px}@media(max-width:768px){.row[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.card[_ngcontent-%COMP%]{border-radius:6px}.card-header[_ngcontent-%COMP%]{padding:0;border-top-left-radius:6px;border-top-right-radius:6px;height:193px}.card-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:193px;border-top-left-radius:6px;border-top-right-radius:6px;object-fit:cover}@media(max-width:768px){.card-header[_ngcontent-%COMP%], .card-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto}}.card-body[_ngcontent-%COMP%]{margin-top:-20px;z-index:1000;background-color:#fff;border-top-left-radius:6px;border-top-right-radius:6px;height:233px}@media(max-width:768px){.card-body[_ngcontent-%COMP%]{height:auto}}.item-title[_ngcontent-%COMP%]{height:48px;overflow:hidden}.short-description[_ngcontent-%COMP%]{height:72px;overflow:hidden;color:#02143a;margin-top:14px;margin-bottom:26px}"]})};var ie=[{path:"",component:I,title:"Noticias - Negocios"},{path:":id",component:M,title:"Noticias - Negocios"}],B=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=v({type:e});static \u0275inj=C({imports:[S.forChild(ie),S]})};var A=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=v({type:e});static \u0275inj=C({imports:[k,B]})};export{A as BusinessNewsModule};
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.