import{a as v}from"./chunk-6OQTGYWE.js";import{Dc as k,Ea as g,Eb as r,Fb as x,Fc as T,Gb as L,Ha as c,Kc as N,Qb as _,Sa as C,Za as a,fb as p,gb as o,lb as h,lc as y,pb as f,pc as u,pd as P,qb as d,rb as b,ta as i}from"./chunk-ZXQQIUTT.js";import{i as m}from"./chunk-RE7RSUSQ.js";var O=["*"];function S(e,n){if(e&1&&b(0,"my-global-icon",4),e&2){let t=r(2);o("iconName",t.icon())}}function I(e,n){if(e&1&&(a(0,S,1,1,"my-global-icon",3),L(1)),e&2){let t=r();o("ngIf",t.icon())}}function M(e,n){}function E(e,n){e&1&&a(0,M,0,0,"ng-template")}function R(e,n){if(e&1&&(f(0,"a",1),a(1,E,1,0,null,5),d()),e&2){let t=r(),l=_(1);o("href",t.href(),g)("target",t.target())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),p("title",t.title()),c(),o("ngTemplateOutlet",l)}}function j(e,n){}function w(e,n){e&1&&a(0,j,0,0,"ng-template")}function U(e,n){if(e&1&&(f(0,"a",2),a(1,w,1,0,null,5),d()),e&2){let t=r(),l=_(1);o("routerLink",t.internalLink())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),p("title",t.title()),c(),o("ngTemplateOutlet",l)}}var q=(()=>{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:u});inheritParentDimension=i(!1,{transform:u});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")}};m(n,"\u0275fac",function(s){return new(s||n)}),m(n,"\u0275cmp",C({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:O,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(s,D){s&1&&(x(),a(0,I,2,1,"ng-template",null,0,y)(2,R,2,7,"a",1)(3,U,2,6,"a",2)),s&2&&(c(2),h(D.href()?2:3))},dependencies:[T,P,k,N,v],styles:[`.inherit-parent-style[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}.inherit-parent-dimension[_ngcontent-%COMP%]{position:inherit;width:inherit;height:inherit}
/*# sourceMappingURL=link.component-PWJNE5RW.css.map */`]}));let e=n;return e})();export{q as a};
/**i18n:4ea3d52b0fe89d1d8e6fff59c182aeadbd7786f17ffe9a1efa1c7ed627997eaf*/
//# sourceMappingURL=chunk-3ALSMRUX.js.map
