import{a as M}from"./chunk-KMAYBES5.js";import{Cb as f,Da as a,Ea as s,Eb as _,Lb as d,Na as c,Pf as S,Wa as p,ba as l,bf as N,db as m,eb as g,ec as u,ng as L}from"./chunk-QXV2GR6R.js";import{i as e}from"./chunk-JJ4RDTEF.js";var T=(()=>{let n=class n{constructor(i){e(this,"server");e(this,"label","\u062A\u0633\u062C\u0644 \u0627\u0644\u062F\u062E\u0648\u0644");e(this,"icon",!1);e(this,"className");this.server=i;}getExternalLoginHref(){return S.getDefaultLoginHref(N.apiUrl,this.server.getHTMLConfig());}};e(n,"\u0275fac",function(t){return new(t||n)(s(L));}),e(n,"\u0275cmp",l({type:n,selectors:[["my-login-link"]],inputs:{label:"label",icon:[2,"icon","icon",u],className:"className"},standalone:!0,features:[c,d],decls:2,vars:4,consts:()=>{let i;return i="Go to the login page",[["title",i,"internalLink","/login",1,"d-flex",3,"href","className","icon"]];},template:function(t,o){t&1&&(m(0,"my-link",0),f(1),g()),t&2&&(p("href",o.getExternalLoginHref())("className",o.className)("icon",o.icon?"sign-in":void 0),a(),_(" ",o.label,`
`));},dependencies:[M],styles:[`my-global-icon[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;line-height:24px}
/*# sourceMappingURL=login-link.component-QM3GVLLA.css.map */`]}));let r=n;return r;})();export{T as a};/**i18n:224bcada6943fe8b17ea60808c2d370cec9507c3bd670ebe71692d099a3befa1*///# sourceMappingURL=chunk-N3S5SDRB.js.map