import{a as O}from"./chunk-IM5O2N5E.js";import{Cb as r,Db as x,Ea as g,Eb as L,Fc as k,Ha as c,Hc as T,Mc as P,Ob as _,Sa as C,Ya as a,db as p,eb as o,jb as h,nb as f,nc as y,ob as d,pb as b,sc as u,ta as i,wd as N}from"./chunk-EWB56PWF.js";import{i as m}from"./chunk-2T7OYDCL.js";var D=["*"];function S(t,n){if(t&1&&b(0,"my-global-icon",4),t&2){let e=r(2);o("iconName",e.icon())}}function I(t,n){if(t&1&&(a(0,S,1,1,"my-global-icon",3),L(1)),t&2){let e=r();o("ngIf",e.icon())}}function M(t,n){}function R(t,n){t&1&&a(0,M,0,0,"ng-template")}function E(t,n){if(t&1&&(f(0,"a",1),a(1,R,1,0,null,5),d()),t&2){let e=r(),l=_(1);o("href",e.href(),g)("target",e.target())("ariaLabel",e.ariaLabel())("tabindex",e.tabindex())("ngClass",e.builtClasses),p("title",e.title()),c(),o("ngTemplateOutlet",l)}}function j(t,n){}function w(t,n){t&1&&a(0,j,0,0,"ng-template")}function G(t,n){if(t&1&&(f(0,"a",2),a(1,w,1,0,null,5),d()),t&2){let e=r(),l=_(1);o("routerLink",e.internalLink())("ariaLabel",e.ariaLabel())("tabindex",e.tabindex())("ngClass",e.builtClasses),p("title",e.title()),c(),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: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:D,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,v){s&1&&(x(),a(0,I,2,1,"ng-template",null,0,y)(2,E,2,7,"a",1)(3,G,2,6,"a",2)),s&2&&(c(2),h(v.href()?2:3))},dependencies:[T,N,k,P,O],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 t=n;return t})();export{B as a};
/**i18n:85d030b7fdd36d163c6d41dcef9178681a6baa573eb199e8b12fe27dbb057a98*/
//# sourceMappingURL=chunk-KMKZU2OO.js.map
