1import{a as q}from"./chunk-R33T6HBM.js";import{b as w}from"./chunk-RBIGXTDE.js";import{a as z}from"./chunk-KBOUIYXC.js";import"./chunk-HT6FCPBK.js";import{a as e}from"./chunk-LYZXHOEV.js";import"./chunk-2236OO75.js";import"./chunk-SPZV377N.js";import{c as h,e as x,f as U}from"./chunk-VG747TC2.js";import{a as G,j as d}from"./chunk-IMGON475.js";import{f as W,g as F}from"./chunk-SW27BSM2.js";import{a as c}from"./chunk-UCLMWNX4.js";import{a as K}from"./chunk-UMIH5LS3.js";import"./chunk-LJSYQ6VW.js";import{l as $,m as M,r as b}from"./chunk-UPDZMESH.js";import{a as j}from"./chunk-Y5PPCIEE.js";import{$b as N,Bc as y,Fa as R,Hc as L,Ic as A,Kb as T,Pc as P,Qb as m,Qc as I,Wa as S,X as g,Zb as p,_b as s,ac as f,bc as O,kc as k,pc as C,sb as l,tb as u,v as _,zc as v}from"./chunk-REFE22HE.js";var D=[{id:"connected",label:"Vernetzte Berater",link:`/${e.PORTAL}/${e.NETWORK}/${e.NETWORK_CONNECTED}`,userType:c.CONSULTANT,companyType:d.CONSULTING,icon:"share-network",count:_(0)},{id:"invitations",label:"Einladungen",link:`/${e.PORTAL}/${e.NETWORK}/${e.NETWORK_INVITATIONS}`,userType:c.CONSULTANT,companyType:d.CONSULTING,icon:"chat-centered-text",count:_(0)},{id:"sent-request",label:"Anfragen",link:`/${e.PORTAL}/${e.NETWORK}/${e.NETWORK_SENT_REQUESTS}`,userType:c.CONSULTANT,companyType:d.CONSULTING,icon:"paper-plane-tilt",count:_(0)},{id:"rejected-requests",label:"Abgelehnte Vernetzung Anfragen",link:`/${e.PORTAL}/${e.NETWORK}/${e.NETWORK_REJECTED_REQUESTS}`,userType:c.CONSULTANT,companyType:d.CONSULTING,icon:"paper-plane-tilt",count:_(0)}];function X(t,o){if(t&1&&(f(0),N(1,"br-badge",18),P(2,"async"),O()),t&2){let r=C(2).$implicit;l(),m("text",I(2,1,r.count));}}function B(t,o){if(t&1&&(p(0,"div",14)(1,"a",15),N(2,"br-svg-icon",16),v(3),s(),T(4,X,3,3,"ng-container",17),s()),t&2){let r=C().$implicit;m("routerLink",r.link),l(2),m("icon",r.icon||""),l(),y(" ",r.label," "),l(),m("ngIf",r.count);}}function H(t,o){if(t&1&&(f(0),T(1,B,5,4,"div",13),O()),t&2){let r=o.$implicit,i=C();l(),m("ngIf",i.typeOfUser===r.userType||r.userType===null);}}var Ne=(()=>{let o=class o{constructor(i,n,a){this.networkService=i,this.store=n,this.destroyRef=a,this.typeOfUser=c.CONSULTANT,this.EUserType=c,this.ERoutes=e;}ngOnInit(){this.store.pipe(F(G),g(),K(this.destroyRef)).subscribe(i=>{this.menuItems=i?.isCompany?D:q,this.menuItems.forEach((n,a)=>{n.count=this.networkService.getNetworkMenuCounts()[a];});});}};o.ɵfac=function(n){return new(n||o)(u(w),u(W),u(S));},o.ɵcmp=R({type:o,selectors:[["app-consultant-network"]],standalone:!0,features:[L([w]),A],decls:17,vars:1,consts:()=>{let i;i="Wie es funktioniert?";let n;n="Erfahren Sie mehr \xFCber das Netzwerk";let a;return a=" Funktion in unserer Wissensdatenbank ",[i,n,a,[1,"consultant-network","container"],[1,"consultant-network-content"],[1,"consultant-network-side-menu"],[1,"mb-3"],["id","v-pills-tab","role","tablist","aria-orientation","vertical",1,"nav","flex-column","nav-pills"],[4,"ngFor","ngForOf"],[1,"consultant-network-how"],[1,"consultant-network-how-header"],[1,"subtitle"],[1,"consultant-network-how-content"],["routerLinkActive","active","class","nav-link d-flex justify-content-between",3,"routerLink",4,"ngIf"],["routerLinkActive","active",1,"nav-link","d-flex","justify-content-between",3,"routerLink"],[1,"subtitle","pointer-event","d-flex","gap-2"],[3,"icon"],[4,"ngIf"],[3,"text"]];},template:function(n,a){n&1&&(p(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),T(5,H,2,1,"ng-container",8),s()(),p(6,"div",9)(7,"div",10)(8,"span",11),k(9,0),s()(),p(10,"div",12)(11,"span"),k(12,1),s(),f(13),k(14,2),O(),s()()(),p(15,"div",4),N(16,"router-outlet"),s()()()),n&2&&(l(5),m("ngForOf",a.menuItems));},dependencies:[$,M,x,h,U,j,z,b],styles:[".consultant-network-content[_ngcontent-%COMP%]{display:flex;gap:1rem;flex:5}@media (max-width: 767.98px){.consultant-network-content[_ngcontent-%COMP%]{flex-direction:column}}.consultant-network-side-menu[_ngcontent-%COMP%]{flex:2}@media (max-width: 767.98px){.consultant-network-side-menu[_ngcontent-%COMP%]{display:none}}.consultant-network-how-header[_ngcontent-%COMP%]{padding:1rem;border:1px solid #F0F0F2;border-top-left-radius:.75rem;border-top-right-radius:.75rem;background-color:#fff}.consultant-network-how-content[_ngcontent-%COMP%]{padding:1rem;border:1px solid #F0F0F2;border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem;background-color:#fff}"]});let t=o;return t;})();export{Ne as ConsultantNetworkComponent};/**i18n:6ff56e1237b5ca15ba2d806f4d3091c6d8ad6faa4340cb54c69cbdda31c6edcb*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.