import{a as O}from"./chunk-QYZO4RSP.js";import{Db as r,Ea as g,Eb as x,Fb as L,Gc as k,Ha as c,Ic as T,Kc as P,Pb as _,Sa as C,Ya as a,db as p,eb as o,jb as h,ob as f,oc as y,pb as d,qb as b,ta as i,tc as u,ud as N}from"./chunk-GKQGDBUU.js";import{i as m}from"./chunk-QVFSZZWQ.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:42345378061bf3c93df67acfa161b751a7b03cc91f3ede7c1f1cdf2bba62fe26*/
//# sourceMappingURL=chunk-GCHKGY6V.js.map
