import{a as M}from"./chunk-KLWYGBZ6.js";import{$a as f,Aa as m,Bb as l,Cb as L,Cd as v,Db as y,Fc as _,Ka as h,Lb as b,Oc as k,Qa as a,Sc as D,Ya as d,_a as p,eb as o,fb as u,gb as g,hb as x,qc as N,xa as C,yc as i}from"./chunk-W6R7I2TH.js";import{i as c}from"./chunk-PTJGHD3V.js";var T=["*"];function O(e,n){if(e&1&&x(0,"my-global-icon",3),e&2){let t=l(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=l();f(t.icon()?0:-1)}}function R(e,n){}function A(e,n){e&1&&a(0,R,0,0,"ng-template")}function E(e,n){if(e&1&&(u(0,"a",1),a(1,A,1,0,null,4),g()),e&2){let t=l(),r=b(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",r)}}function I(e,n){}function j(e,n){e&1&&a(0,I,0,0,"ng-template")}function w(e,n){if(e&1&&(u(0,"a",2),a(1,j,1,0,null,4),g()),e&2){let t=l(),r=b(1);o("routerLink",t.internalLink())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),d("title",t.title()),m(),o("ngTemplateOutlet",r)}}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:_});inheritParentDimension=i(!1,{transform:_});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,E,2,7,"a",1)(3,w,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:90f1dd82a779b57eddc91ef20913c88eecaa9632bba8ac04ad50f47ae2b82df7*/
//# sourceMappingURL=chunk-HEURBKHC.js.map
