1import{a as L}from"./chunk-QCFHHBN2.js";import{b as E}from"./chunk-KWKBYLGL.js";import{a as N}from"./chunk-LYZXHOEV.js";import{a as k}from"./chunk-2236OO75.js";import"./chunk-SPZV377N.js";import{c as U,e as M,f as T}from"./chunk-VG747TC2.js";import{a as w}from"./chunk-IMGON475.js";import{f as F,g as P}from"./chunk-SW27BSM2.js";import{a as c}from"./chunk-UCLMWNX4.js";import{a as h}from"./chunk-UMIH5LS3.js";import"./chunk-LJSYQ6VW.js";import{l as I,m as b}from"./chunk-UPDZMESH.js";import{a as R}from"./chunk-Y5PPCIEE.js";import{$b as u,Bc as _,Fa as y,Hc as O,Ic as S,Kb as d,Qb as s,Wa as x,Zb as m,_b as l,ac as f,bc as g,pc as v,sb as o,tb as a,zc as C}from"./chunk-REFE22HE.js";function A(t,n){if(t&1&&(f(0),m(1,"a",8),u(2,"br-svg-icon",9),C(3),l(),g()),t&2){let i,e=v().$implicit;o(),s("routerLink",e.link),o(),s("icon",(i=e.icon)!==null&&i!==void 0?i:""),o(),_(" ",e.label," ")}}function j(t,n){if(t&1&&(f(0),d(1,A,4,3,"ng-container",7),g()),t&2){let i=n.$implicit,e=v();o(),s("ngIf",(e.typeOfUser===i.userType||i.userType===null)&&(!i.rights||(e.currentUser==null?null:e.currentUser.rights[i.rights])))}}var X=(()=>{let n=class n{constructor(e,r,p){this.authService=e,this.store=r,this.destroyRef=p,this.typeOfUser=c.CONSULTANT,this.EUserType=c,this.ERoutes=N,this.menuItems=L}ngOnInit(){this.authService.currentUser$.pipe(h(this.destroyRef)).subscribe(e=>{this.typeOfUser=e?.item?.isCompany?c.COMPANY:c.CONSULTANT}),this.store.pipe(P(w),h(this.destroyRef)).subscribe(e=>{this.currentUser=e})}};n.\u0275fac=function(r){return new(r||n)(a(k),a(F),a(x))},n.\u0275cmp=y({type:n,selectors:[["app-consultant-settings"]],standalone:!0,features:[O([E]),S],decls:8,vars:1,consts:[[1,"settings"],[1,"settings-content"],[1,"settings-side-menu"],[1,"mb-3"],["id","v-pills-tab","role","tablist","aria-orientation","vertical",1,"nav","flex-column","nav-pills"],[4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","w-100"],[4,"ngIf"],["routerLinkActive","active",1,"subtitle","nav-link","d-flex","gap-2",3,"routerLink"],[3,"icon"]],template:function(r,p){r&1&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),d(5,j,2,1,"ng-container",5),l()()(),m(6,"div",6),u(7,"router-outlet"),l()()()),r&2&&(o(5),s("ngForOf",p.menuItems))},dependencies:[b,I,M,U,T,R],styles:["[_nghost-%COMP%]{width:100%}.settings[_ngcontent-%COMP%]{display:flex;justify-content:center}.settings-content[_ngcontent-%COMP%]{display:flex;gap:1.5rem;width:100%}@media (max-width: 1199.98px){.settings-content[_ngcontent-%COMP%]{flex-direction:column}}@media (max-width: 767.98px){.settings-side-menu[_ngcontent-%COMP%]{display:none}}.settings-how[_ngcontent-%COMP%]{padding:1rem;border:1px solid #F0F0F2;border-radius:.75rem;background-color:#fff}@media (max-width: 767.98px){.settings-how[_ngcontent-%COMP%]{display:flex;flex-direction:column}}"]});let t=n;return t})();export{X as SettingsComponent}; 2/**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.