import{a as N}from"./chunk-BUPI2ADN.js";import{Ab as f,Ca as s,Kb as h,Na as a,Ua as p,Va as o,Yb as L,_a as g,ba as C,cb as m,db as _,dd as S,eb as d,rb as r,rc as k,sb as x,tb as b,tc as y,yc as T,za as u}from"./chunk-X3RCWQ3R.js";import{i}from"./chunk-SR6RTMQI.js";var I=["*"];function O(t,n){if(t&1&&d(0,"my-global-icon",4),t&2){let e=r(2);o("iconName",e.icon)}}function P(t,n){if(t&1&&(a(0,O,1,1,"my-global-icon",3),b(1)),t&2){let e=r();o("ngIf",e.icon)}}function D(t,n){}function M(t,n){t&1&&a(0,D,0,0,"ng-template")}function R(t,n){if(t&1&&(m(0,"a",1),a(1,M,1,0,null,5),_()),t&2){let e=r(),l=f(1);o("href",e.href,u)("target",e.target)("ariaLabel",e.ariaLabel)("tabindex",e.tabindex)("ngClass",e.builtClasses),p("title",e.title),s(),o("ngTemplateOutlet",l)}}function E(t,n){}function F(t,n){t&1&&a(0,E,0,0,"ng-template")}function j(t,n){if(t&1&&(m(0,"a",2),a(1,F,1,0,null,5),_()),t&2){let e=r(),l=f(1);o("routerLink",e.internalLink)("ariaLabel",e.ariaLabel)("tabindex",e.tabindex)("ngClass",e.builtClasses),p("title",e.title),s(),o("ngTemplateOutlet",l)}}var W=(()=>{let n=class n{constructor(){i(this,"internalLink");i(this,"href");i(this,"target","_self");i(this,"title");i(this,"className");i(this,"inheritParentCSS",!1);i(this,"tabindex");i(this,"ariaLabel");i(this,"icon");i(this,"builtClasses")}ngOnInit(){this.builtClasses=this.className||"",(!this.builtClasses||this.inheritParentCSS)&&(this.builtClasses+=" inherit-parent")}};i(n,"\u0275fac",function(c){return new(c||n)}),i(n,"\u0275cmp",C({type:n,selectors:[["my-link"]],inputs:{internalLink:"internalLink",href:"href",target:"target",title:"title",className:"className",inheritParentCSS:"inheritParentCSS",tabindex:"tabindex",ariaLabel:"ariaLabel",icon:"icon"},standalone:!0,features:[h],ngContentSelectors:I,decls:4,vars:1,consts:[["content",""],[3,"href","target","ariaLabel","tabindex","ngClass"],[3,"routerLink","ariaLabel","tabindex","ngClass"],[3,"iconName",4,"ngIf"],[3,"iconName"],[4,"ngTemplateOutlet"]],template:function(c,v){c&1&&(x(),a(0,P,2,1,"ng-template",null,0,L)(2,R,2,7,"a",1)(3,j,2,6,"a",2)),c&2&&(s(2),g(v.href?2:3))},dependencies:[y,S,k,T,N],styles:[`.inherit-parent[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit;position:inherit;width:inherit;height:inherit}
/*# sourceMappingURL=link.component-D3FWZ4R5.css.map */`]}));let t=n;return t})();export{W as a};
/**i18n:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*/
//# sourceMappingURL=chunk-WIJHDNK2.js.map
