import{a as M}from"./chunk-RJPQLN64.js";import{Aa as C,Da as m,Db as r,Dd as v,Eb as L,Fb as y,Fc as b,La as h,Nb as _,Oc as k,Ra as a,Sc as D,_a as d,ab as p,bb as f,gb as o,hb as g,ib as u,jb as x,sc as N,xc as i}from"./chunk-WSBGJRUM.js";import{i as c}from"./chunk-PMOLICDQ.js";var T=["*"];function O(e,n){if(e&1&&x(0,"my-global-icon",3),e&2){let t=r(2);o("iconName",t.icon())}}function S(e,n){if(e&1&&(p(0,O,1,1,"my-global-icon",3),y(1)),e&2){let t=r();f(t.icon()?0:-1)}}function R(e,n){}function E(e,n){e&1&&a(0,R,0,0,"ng-template")}function I(e,n){if(e&1&&(g(0,"a",1),a(1,E,1,0,null,4),u()),e&2){let t=r(),l=_(1);o("href",t.href(),C)("target",t.target())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),d("title",t.title()),m(),o("ngTemplateOutlet",l)}}function j(e,n){}function w(e,n){e&1&&a(0,j,0,0,"ng-template")}function G(e,n){if(e&1&&(g(0,"a",2),a(1,w,1,0,null,4),u()),e&2){let t=r(),l=_(1);o("routerLink",t.internalLink())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),d("title",t.title()),m(),o("ngTemplateOutlet",l)}}var B=(()=>{let n=class n{internalLink=i(void 0);href=i(void 0);target=i("_self");title=i(void 0);className=i(void 0);inheritParentStyle=i(!1,{transform:b});inheritParentDimension=i(!1,{transform:b});tabindex=i(void 0);ariaLabel=i(void 0);icon=i(void 0);builtClasses;ngOnInit(){this.builtClasses=this.className()||"",this.inheritParentStyle()&&(this.builtClasses+=" inherit-parent-style"),this.inheritParentDimension()&&(this.builtClasses+=" inherit-parent-dimension")}};c(n,"\u0275fac",function(s){return new(s||n)}),c(n,"\u0275cmp",h({type:n,selectors:[["my-link"]],inputs:{internalLink:[1,"internalLink"],href:[1,"href"],target:[1,"target"],title:[1,"title"],className:[1,"className"],inheritParentStyle:[1,"inheritParentStyle"],inheritParentDimension:[1,"inheritParentDimension"],tabindex:[1,"tabindex"],ariaLabel:[1,"ariaLabel"],icon:[1,"icon"]},ngContentSelectors:T,decls:4,vars:1,consts:[["content",""],[3,"href","target","ariaLabel","tabindex","ngClass"],[3,"routerLink","ariaLabel","tabindex","ngClass"],[3,"iconName"],[4,"ngTemplateOutlet"]],template:function(s,P){s&1&&(L(),a(0,S,2,1,"ng-template",null,0,N),p(2,I,2,7,"a",1)(3,G,2,6,"a",2)),s&2&&(m(2),f(P.href()?2:3))},dependencies:[v,k,D,M],styles:[`.inherit-parent-style[_ngcontent-%COMP%]{color:inherit;opacity:inherit;text-decoration:inherit}.inherit-parent-dimension[_ngcontent-%COMP%]{position:inherit;width:inherit;height:inherit}
/*# sourceMappingURL=link.component-PG2OIK6R.css.map */`]}));let e=n;return e})();export{B as a};
/**i18n:3907c1bc44ea3b180445250ac6c616b106e81f719372623351dcd73c005dc65a*/
//# sourceMappingURL=chunk-UTX5PPUY.js.map
