import{C as O}from"./chunk-XYUXA3LT.js";import{a as k}from"./chunk-BUPI2ADN.js";import{Ab as v,Bb as x,Ca as g,Cb as I,Kb as h,Na as a,Va as l,Yb as F,ba as f,cb as c,db as s,eb as _,rb as m,sc as w,tc as P,xb as y,yb as b,za as u,zb as C}from"./chunk-X3RCWQ3R.js";import{i as r}from"./chunk-SR6RTMQI.js";var M=["popover"];function T(e,t){if(e&1&&(c(0,"a",6),x(1),s()),e&2){let i=t.$implicit;l("href",i.url,u),g(),I(i.label);}}function N(e,t){if(e&1&&a(0,T,2,2,"a",5),e&2){let i=m(2);l("ngForOf",i.syndicationItems);}}function Q(e,t){if(e&1&&(c(0,"button",3,0),_(2,"my-global-icon",4),a(3,N,1,1,"ng-template",null,1,F),s()),e&2){let i=v(4),n=m();l("ngbPopover",i)("autoClose",!0)("title",n.getTitle());}}var S=(()=>{let t=class t{constructor(){r(this,"popover");r(this,"syndicationItems");}getTitle(){var n;return(n=this.popover)!=null&&n.isOpen()?"Pechar despregable da sindicaci\xF3n":"Abrir despregable de sindicaci\xF3n";}};r(t,"\u0275fac",function(o){return new(o||t)();}),r(t,"\u0275cmp",f({type:t,selectors:[["my-feed"]],viewQuery:function(o,p){if(o&1&&y(M,5),o&2){let d;b(d=C())&&(p.popover=d.first);}},inputs:{syndicationItems:"syndicationItems"},standalone:!0,features:[h],decls:1,vars:1,consts:[["popover","ngbPopover"],["feedsList",""],["placement","bottom left auto","class","feed border-0 p-0",3,"ngbPopover","autoClose","title",4,"ngIf"],["placement","bottom left auto",1,"feed","border-0","p-0",3,"ngbPopover","autoClose","title"],["iconName","syndication"],["class","feed-link","target","_blank","rel","noopener noreferrer",3,"href",4,"ngFor","ngForOf"],["target","_blank","rel","noopener noreferrer",1,"feed-link",3,"href"]],template:function(o,p){o&1&&a(0,Q,5,3,"button",2),o&2&&l("ngIf",p.syndicationItems&&p.syndicationItems.length!==0);},dependencies:[P,O,k,w],styles:[`.feed[_ngcontent-%COMP%]{width:100%;color:inherit}.feed-link[_ngcontent-%COMP%]{color:var(--fg);display:block;min-width:100px}.feed-link[_ngcontent-%COMP%]:hover{text-decoration:underline}my-global-icon[_ngcontent-%COMP%]{width:100%}
/*# sourceMappingURL=feed.component-CCIQNA7E.css.map */`]}));let e=t;return e;})();export{S as a};/**i18n:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*///# sourceMappingURL=chunk-VTTM5CLX.js.map