PageSourceSearch

https://app.zhylar.com/chunk-HUAVUJVT.js

js zhylar.com collected 2026-10-10 02:44:12 UTC 60,550 bytes, 212 lines download raw bytes

1import{a as nn,b as on,c as rn,d as an}from"./chunk-A5HUCTQR.js";import{b as tn}from"./chunk-WHNRBXLP.js";import{a as Zt,b as Gt}from"./chunk-ES3TGOWI.js";import{b as vt}from"./chunk-T6SPA3V3.js";import{b as Mt}from"./chunk-XGGQTYMM.js";import{h as Yt,t as en}from"./chunk-6TXWZ6S7.js";import"./chunk-MIHVENI6.js";import"./chunk-2QW4ZVQL.js";import"./chunk-2GJXJQPF.js";import"./chunk-X3NROXFL.js";import{a as $t,b as Kt}from"./chunk-JGR73JIL.js";import{a as Jt,b as Xt}from"./chunk-COJ56B7O.js";import"./chunk-75QUKU5G.js";import"./chunk-EIMBYD4M.js";import"./chunk-FAHMJKJJ.js";import{a as St,b as It}from"./chunk-LVWNRFYQ.js";import{a as dt}from"./chunk-IMXVFBW3.js";import{a as xt,b as wt}from"./chunk-6B2TUTDP.js";import"./chunk-QWJDRFXN.js";import"./chunk-MLHRJEXS.js";import{a as ft}from"./chunk-4RWQGJR7.js";import{a as Ot,b as Pt}from"./chunk-LHKJW2WN.js";import{a as Qt}from"./chunk-DUB47MH6.js";import{a as qt}from"./chunk-AQWOKZXX.js";import{a as Ut,b as Wt}from"./chunk-AZIPPPQW.js";import{a as Et}from"./chunk-QEYPHCZM.js";import{a as bt}from"./chunk-YPCGYMAZ.js";import{c as Tt}from"./chunk-NBYPAOFH.js";import"./chunk-I6TS23IK.js";import"./chunk-BVGVY2EB.js";import"./chunk-H3PUKYIG.js";import"./chunk-HHRO473T.js";import{j as jt,k as At}from"./chunk-7FYHPZ6K.js";import{a as gt}from"./chunk-TTJ4DY45.js";import"./chunk-D7X7PLKK.js";import"./chunk-LQKQZTQL.js";import{a as Lt,b as Ft}from"./chunk-GDYS5ELC.js";import"./chunk-5GUU3I72.js";import"./chunk-7GHSVRSP.js";import"./chunk-HJD2EO4X.js";import"./chunk-4LIB73GV.js";import{b as Ct,c as yt}from"./chunk-BBVWCYB6.js";import{b as zt,e as Bt,f as Nt,h as Vt,j as kt,t as Ht,v as Dt,y as Rt}from"./chunk-B24LDPWT.js";import{c as Be}from"./chunk-U7ZYD2FW.js";import{a as _t,b as _e,c as be}from"./chunk-VGGE5I45.js";import{a as ut,b as ht}from"./chunk-DLCRMGT5.js";import"./chunk-UYHYJ4W5.js";import"./chunk-CICHBRQ4.js";import"./chunk-HXQTWS4W.js";import{d as mt}from"./chunk-VIZKKRXC.js";import{H as Oe,N as Pe,R as at,T as ct,c as ot,ca as fe,ea as Y,fa as ee,ga as S,ha as ze,m as rt,r as ge,x as Se,y as Ie}from"./chunk-JHGMH4JG.js";import"./chunk-FHYT7PC4.js";import{g as Ye,h as et,k as tt,l as nt,n as it}from"./chunk-PQZ4L2G4.js";import{o as Xe}from"./chunk-LVJLJXKN.js";import{D as st,E as pt,H as Z,I as H,J as Ee,z as lt}from"./chunk-3MMOQILQ.js";import{$ as ne,$b as x,Ad as q,C as He,Cb as O,Db as P,Ec as ve,Fc as Me,Gb as Ae,Hb as Ue,Ib as r,Ic as W,Jb as l,Kb as a,Lb as f,Lc as Ge,Mc as pe,Pb as D,Qb as R,Qc as de,Rb as K,Rc as Te,Sb as y,Ub as C,Va as Fe,Wa as c,Wb as s,Wc as J,Z as De,Zb as ce,Zc as k,_ as te,_b as We,_c as $e,ac as w,ba as ie,cc as qe,d as ke,da as z,db as je,dc as Qe,eb as b,ec as Q,hc as le,ia as h,ic as _,ja as g,jb as F,jc as d,ka as xe,kb as re,kc as V,lc as se,ld as Ke,mc as Ze,md as Je,na as Re,nb as ae,nd as X,ob as $,oc as v,pb as u,pc as M,qa as B,qc as T,qd as me,rd as ue,ua as we,uc as A,ud as he,va as Le,vc as U,wc as E,xa as oe,za as N,zb as j}from"./chunk-CV6NZU66.js";import{a as G,b as Ve}from"./chunk-GAL4ENT6.js";var cn=`
2    .p-organizationchart-table {
3        border-spacing: 0;
4        border-collapse: separate;
5        margin: 0 auto;
6    }
7
8    .p-organizationchart-table > tbody > tr > td {
9        text-align: center;
10        vertical-align: top;
11        padding: 0 dt('organizationchart.gutter');
12    }
13
14    .p-organizationchart-node {
15        display: inline-block;
16        position: relative;
17        border: 1px solid dt('organizationchart.node.border.color');
18        background: dt('organizationchart.node.background');
19        color: dt('organizationchart.node.color');
20        padding: dt('organizationchart.node.padding');
21        border-radius: dt('organizationchart.node.border.radius');
22        transition:
23            background dt('organizationchart.transition.duration'),
24            border-color dt('organizationchart.transition.duration'),
25            color dt('organizationchart.transition.duration'),
26            box-shadow dt('organizationchart.transition.duration');
27    }
28
29    .p-organizationchart-node:has(.p-organizationchart-node-toggle-button) {
30        padding: dt('organizationchart.node.toggleable.padding');
31    }
32
33    .p-organizationchart-node.p-organizationchart-node-selectable:not(.p-organizationchart-node-selected):hover {
34        background: dt('organizationchart.node.hover.background');
35        color: dt('organizationchart.node.hover.color');
36    }
37
38    .p-organizationchart-node-selected {
39        background: dt('organizationchart.node.selected.background');
40        color: dt('organizationchart.node.selected.color');
41    }
42
43    .p-organizationchart-node-toggle-button {
44        position: absolute;
45        inset-block-end: calc(-1 * calc(dt('organizationchart.node.toggle.button.size') / 2));
46        margin-inline-start: calc(-1 * calc(dt('organizationchart.node.toggle.button.size') / 2));
47        z-index: 2;
48        inset-inline-start: 50%;
49        user-select: none;
50        cursor: pointer;
51        width: dt('organizationchart.node.toggle.button.size');
52        height: dt('organizationchart.node.toggle.button.size');
53        text-decoration: none;
54        background: dt('organizationchart.node.toggle.button.background');
55        color: dt('organizationchart.node.toggle.button.color');
56        border-radius: dt('organizationchart.node.toggle.button.border.radiu
56s');
57        border: 1px solid dt('organizationchart.node.toggle.button.border.color');
58        display: inline-flex;
59        justify-content: center;
60        align-items: center;
61        outline-color: transparent;
62        transition:
63            background dt('organizationchart.transition.duration'),
64            color dt('organizationchart.transition.duration'),
65            border-color dt('organizationchart.transition.duration'),
66            outline-color dt('organizationchart.transition.duration'),
67            box-shadow dt('organizationchart.transition.duration');
68    }
69
70    .p-organizationchart-node-toggle-button:hover {
71        background: dt('organizationchart.node.toggle.button.hover.background');
72        color: dt('organizationchart.node.toggle.button.hover.color');
73    }
74
75    .p-organizationchart-node-toggle-button:focus-visible {
76        box-shadow: dt('organizationchart.node.toggle.button.focus.ring.shadow');
77        outline: dt('organizationchart.node.toggle.button.focus.ring.width') dt('organizationchart.node.toggle.button.focus.ring.style') dt('organizationchart.node.toggle.button.focus.ring.color');
78        outline-offset: dt('organizationchart.node.toggle.button.focus.ring.offset');
79    }
80
81    .p-organizationchart-node-toggle-button-icon {
82        position: relative;
83        inset-block-start: 1px;
84    }
85
86    .p-organizationchart-connector-down {
87        margin: 0 auto;
88        height: dt('organizationchart.connector.height');
89        width: 1px;
90        background: dt('organizationchart.connector.color');
91    }
92
93    .p-organizationchart-connector-right {
94        border-radius: 0;
95    }
96
97    .p-organizationchart-connector-left {
98        border-radius: 0;
99        border-inline-end: 1px solid dt('organizationchart.connector.color');
100    }
101
102    .p-organizationchart-connector-top {
103        border-block-start: 1px solid dt('organizationchart.connector.color');
104    }
105
106    .p-organizationchart-node-selectable {
107        cursor: pointer;
108    }
109
110    .p-organizationchart-connectors :nth-child(1 of .p-organizationchart-connector-left) {
111        border-inline-end: 0 none;
112    }
113
114    .p-organizationchart-connectors :nth-last-child(1 of .p-organizationchart-connector-left) {
115        border-start-end-radius: dt('organizationchart.connector.border.radius');
116    }
117
118    .p-organizationchart-connectors :nth-child(1 of .p-organizationchart-connector-right) {
119        border-inline-start: 1px solid dt('organizationchart.connector.color');
120        border-start-start-radius: dt('organizationchart.connector.border.radius');
121    }
122`;var yn=["pOrganizationChartNode",""],dn=t=>({$implicit:t}),xn=t=>({first:t}),wn=t=>({last:t});function vn(t,p){if(t&1&&(l(0,"div"),d(1),a()),t&2){let e=s(2);c(),V(e.node.label)}}function Mn(t,p){t&1&&K(0)}function Tn(t,p){if(t&1&&(l(0,"div"),u(1,Mn,1,0,"ng-container",6),a()),t&2){let e=s(2);c(),r("ngTemplateOutlet",e.chart.getTemplateForNode(e.node))("ngTemplateOutletContext",E(2,dn,e.node))}}function Sn(t,p){if(t&1&&(xe(),f(0,"svg",12)),t&2){let e=s(5);_(e.cx("nodeToggleButtonIcon")),r("pBind",e.getPTOptions("nodeToggleButtonIcon"))}}function In(t,p){if(t&1&&(xe(),f(0,"svg",13)),t&2){let e=s(5);_(e.cx("nodeToggleButtonIcon")),r("pBind",e.getPTOptions("nodeToggleButtonIcon"))}}function On(t,p){if(t&1&&(D(0),u(1,Sn,1,3,"svg",10)(2,In,1,3,"svg",11),R()),t&2){let e=s(4);c(),r("ngIf",e.node.expanded),c(),r("ngIf",!e.node.expanded)}}function Pn(t,p){}function En(t,p){t&1&&u(0,Pn,0,0,"ng-template")}function zn(t,p){if(t&1&&(l(0,"span",1),u(1,En,1,0,null,6),a()),t&2){let e=s(4);_(e.cx("nodeToggleButtonIcon")),r("pBind",e.getPTOptions("nodeToggleButtonIcon")),c(),r("ngTemplateOutlet",e.chart.togglerIconTemplate||e.chart._togglerIconTemplate)("ngTemplateOutletContext",E(5,dn,e.node.expanded))}}function Bn(t,p){if(t&1){let e=y();l(0,"a",8),C("click",function(i){h(e);let o=s(3);return g(o.toggleNode(i,o.node))})("keydown.enter",function(i){h(e);let o=s(3);return g(o.toggleNode(i,o.node))})("keydown.space",function(i){h(e);let o=s(3);return g(o.toggleNode(i,o.node))}),u(1,On,3,2,"ng-container",3)(2,zn,2,7,"span",9),a()}if(t&2){let e=s(3);_(e.cx("nodeToggleButton")),r("pBind",e.getPTOptions("nodeToggleButton")),c(),r("ngIf",!e.chart.togglerIconTemplate&&!e.chart._togglerIconTemplate),c(),r("ngIf",e.chart.togglerIconTemplate||e.chart._togglerIconTemplate)}}function Nn(t,p){if(t&1&&(D(0),u(1,Bn,3,5,"a",7),R()),t&2){let e=s(2);c(),r("ngIf",!e.leaf)}}function Vn(t,p){if(t&1&&(D(0),l(1,"td",1),f(2,"div",1),a(),R()),t&2){let e=s(2);c(),r("pBind",e.ptm("lineCell")),j("colspan",e.colspan),c(),_(e.cx("connectorDown")),r("pBind",e.ptm("connectorDown"))}}function kn(t,p){if(t&1&&(l(0,"td",1),d(1,"\xA0"),a(),l(2,"td",1),d(3,"\xA0"),a()),t&2){let e=p.first,n=p.last,i=p.index,o=s(3);_(o.cx("connectorLeft",E(6,xn,e))),r("pBind",o.getNodeOptions(i!==0,"connectorLeft")),c(2),_(o.cx("connectorRight",E(8,wn,n))),r("pBind",o.getNodeOptions(i!==o.node.children.length-1,"connectorRight"))}}function Hn(t,p){if(t&1&&(D(0),u(1,kn,4,10,"ng-template",14),R()),t&2){let e=s(2);c(),r("ngForOf",e.node.children)}}function Dn(t,p){if(t&1&&(l(0,"td",15),f(1,"table",16),a()),t&2){let e=p.$implicit,n=s(2);r("pBind",n.ptm("nodeCell")),c(),_(n.cx("table")),r("unstyled",n.unstyled())("pt",n.pt)("node",e)("collapsible",n.node.children&&n.node.children.length>0&&n.collapsible)}}function Rn(t,p){if(t&1){let e=y();l(0,"tbody",1)(1,"tr",1)(2,"td",1)(3,"div",2),C("click",function(i){h(e);let o=s();return g(o.onNodeClick(i,o.node))}),u(4,vn,2,1,"div",3)(5,Tn,2,4,"div",3)(6,Nn,2,1,"ng-container",3),a()()(),l(7,"tr",4)(8,"td",1),f(9,"div",1),a()(),l(10,"tr",4),u(11,Vn,3,5,"ng-container",3)(12,Hn,2,1,"ng-container",3),a(),l(13,"tr",4),u(14,Dn,2,7,"td",5),a()()}if(t&2){let e=s();r("pBind",e.ptm("body")),c(),r("pBind",e.ptm("row")),c(),r("pBind",e.ptm("cell")),j("colspan",e.colspan),c(),_(e.cn(e.cx("node"),e.node.styleClass)),r("pBind",e.getPTOptions("node")),c(),r("ngIf",!e.chart.getTemplateForNode(e.node)),c(),r("ngIf",e.chart.getTemplateForNode(e.node)),c(),r("ngIf",e.collapsible),c(),_(e.cx("connectors")),r("ngStyle",e.getChildStyle(e.node))("pBind",e.ptm("connectors")),c(),r("pBind",e.ptm("lineCell")),j("colspan",e.colspan),c(),_(e.cx("connectorDown")),r("pBind",e.ptm("connectorDown")),c(),_(e.cx("connectors")),r("ngStyle",e.getChildStyle(e.node))("pBind",e.ptm("connectors")),c(),r("ngIf",e.node.children&&e.node.children.length===1),c(),r("ngIf",e.node.children&&e.node.children.length>1),c(),_(e.cx("nodeChildren")),r("ngStyle",e.getChildStyle(e.node))("pBind",e.ptm("nodeChildren")),c(),r("ngForOf",e.node.children)}}var Ln=["togglericon"];function Fn(t,p){if(t&1&&f(0,"table",1),t&2){let e=s();_(e.cx("table")),r("collapsible",e.collapsible)("pt",e.pt)("unstyled",e.unstyled())("node",e.root)("pBind",e.ptm("table"))}}var jn={root:({instance:t})=>["p-organizationchart p-component",{"p-organizationchart-preservespace":t.preserveSpace}],table:"p-organizationchart-table",node:({instance:t})=>["p-organizationchart-node",{"p-organizationchart-node":!0,"p-organizationchart-node-selectable":t.chart.selectionMode&&t.node.selectable!==!1,"p-organizationchart-node-selected":t.isSelected()}],nodeToggleButton:"p-organizationchart-node-toggle-button",nodeToggleButtonIcon:"p-organizationchart-node-toggle-button-icon",connectors:"p-organizationchart-connectors",connectorDown:"p-organizationchart-connector-down",connectorLeft:({first:t})=>["p-organizationchart-connector-left",{"p-organizationchart-connector-top":!t}],connectorRight:({last:t})=>["p-organizationchart-connector-right",{"p-organizationchart-connector-top":!t}],nodeChildren:"p-organizationchart-node-children"},Ce=(()=>{class t extends fe{name="organizationchart";style=cn;classes=jn;static \u0275fac=(()=>{let e;return function(i){return(e||(e=oe(t)))(i||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();var ln=new ie("ORGANIZATIONCHART_INSTANCE"),mn=(()=>{class t extends ee{cd;node;root;first;last;collapsible;chart;subscription;_componentStyle=z(Ce);constructor(e,n){super(),this.cd=n,this.chart=e,this.subscription=this.chart.selectionSource$.subscribe(()=>{this.cd.markForCheck()})}get leaf(){if(this.node)return this.node.leaf==!1?!1:!(this.node.children&&this.node.children.length)}get colspan(){if(this.node)return this.node.children&&this.node.children.length?this.node.children.length*2:null}getChildStyle(e){return{visibility:!this.leaf&&e.expanded?"inherit":"hidden"}}getPTOptions(e){return this.ptm(e,{context:{expanded:this.node?.expanded,selectable:this.node?.selectable!==!1&&this.chart.selectionMode,selected:this.isSelected(),toggleable:this.collapsible&&!this.leaf,active:this.isSelected()}})}getNodeOptions(e,n){return this.ptm(n,{context:{lineTop:e}})}onNodeClick(e,n){this.chart.onNodeClick(e,n)}toggleNode(e,n){n.expanded=!n.expanded,n.expanded?this.chart.onNodeExpand.emit({originalEvent:e,node:this.node}):this.chart.onNodeCollapse.emit({originalEvent:e,node:this.node}),e.preventDefault()}isSelected(){return this.chart.isSelected(this.node)}onDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)(b(De(()=>ye)),b(J))};static \u0275cmp=F({type:t,selectors:[["","pOrganizationChartNode",""]],inputs:{node:"node",root:[2,"root","root",k],first:[2,"first","first",k],last:[2,"last","last",k],collapsible:[2,"collapsible","collapsible",k]},features:[A([Ce,{provide:Y,useExisting:t}]),$],attrs:yn,decls:1,vars:1,consts:[[3,"pBind",4,"ngIf"],[3,"pBind"],[3,"click","pBind"],[4,"ngIf"],[3,"ngStyle","pBind"],["colspan","2",3,"pBind",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"class","pBind","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0",3,"click","keydown.enter","keydown.space","pBind"],[3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-down",3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-up",3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-down",3,"pBind"],["data-p-icon","chevron-up",3,"pBind"],["ngFor","",3,"ngForOf"],["colspan","2",3,"pBind"],["pOrganizationChartNode","",3,"unstyled","pt","node","collapsible"]],template:function(n,i){n&1&&u(0,Rn,15,30,"tbody",0),n&2&&r("ngIf",i.node)},dependencies:[t,q,Je,X,ue,me,gt,ft,H,ze,S],encapsulation:2})}return t})(),ye=(()=>{class t extends ee{el;cd;componentName="OrganizationChart";value;styleClass;selectionMode;collapsible;preserveSpace=!0;get selection(){return this._selection}set selection(e){this._selection=e,this.initialized&&this.selectionSource.next(null)}selectionChange=new B;onNodeSelect=new B;onNodeUnselect=new B;onNodeExpand=new B;onNodeCollapse=new B;templates;togglerIconTemplate;templateMap;_togglerIconTemplate;selectionSource=new ke;_selection;initialized;selectionSource$=this.selectionSource.asObservable();_componentStyle=z(Ce);bindDirectiveInstance=z(S,{self:!0});$pcOrganizationChart=z(ln,{optional:!0,skipSelf:!0})??void 0;constructor(e,n){super(),this.el=e,this.cd=n}ngAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}get root(){return this.value&&this.value.length?this.value[0]:null}onAfterContentInit(){this.templates.length&&(this.templateMap={}
122),this.templates.forEach(e=>{e.getType()==="togglericon"?this._togglerIconTemplate=e.template:this.templateMap[e.getType()]=e.template}),this.initialized=!0}getTemplateForNode(e){return this.templateMap?e.type?this.templateMap[e.type]:this.templateMap.default:null}onNodeClick(e,n){let i=e.target;if(!(Pe(i,"data-pc-section","nodetogglebutton")||Pe(i,"data-pc-section","nodetogglebuttonicon"))&&this.selectionMode){if(n.selectable===!1)return;let o=this.findIndexInSelection(n),m=o>=0;this.selectionMode==="single"?m?(this.selection=null,this.onNodeUnselect.emit({originalEvent:e,node:n})):(this.selection=n,this.onNodeSelect.emit({originalEvent:e,node:n})):this.selectionMode==="multiple"&&(m?(this.selection=this.selection.filter((I,L)=>L!=o),this.onNodeUnselect.emit({originalEvent:e,node:n})):(this.selection=[...this.selection||[],n],this.onNodeSelect.emit({originalEvent:e,node:n}))),this.selectionChange.emit(this.selection),this.selectionSource.next(null)}}findIndexInSelection(e){let n=-1;if(this.selectionMode&&this.selection){if(this.selectionMode==="single")n=this.selection==e?0:-1;else if(this.selectionMode==="multiple"){for(let i=0;i<this.selection.length;i++)if(this.selection[i]==e){n=i;break}}}return n}isSelected(e){return this.findIndexInSelection(e)!=-1}static \u0275fac=function(n){return new(n||t)(b(N),b(J))};static \u0275cmp=F({type:t,selectors:[["p-organizationChart"],["p-organization-chart"],["p-organizationchart"]],contentQueries:function(n,i,o){if(n&1&&ce(o,Ln,4)(o,Z,4),n&2){let m;x(m=w())&&(i.togglerIconTemplate=m.first),x(m=w())&&(i.templates=m)}},hostVars:2,hostBindings:function(n,i){n&2&&_(i.cn(i.cx("root"),i.styleClass))},inputs:{value:"value",styleClass:"styleClass",selectionMode:"selectionMode",collapsible:[2,"collapsible","collapsible",k],preserveSpace:[2,"preserveSpace","preserveSpace",k],selection:"selection"},outputs:{selectionChange:"selectionChange",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse"},features:[A([Ce,{provide:ln,useExisting:t},{provide:Y,useExisting:t}]),ae([S]),$],decls:1,vars:1,consts:[["pOrganizationChartNode","",3,"class","collapsible","pt","unstyled","node","pBind",4,"ngIf"],["pOrganizationChartNode","",3,"collapsible","pt","unstyled","node","pBind"]],template:function(n,i){n&1&&u(0,Fn,1,7,"table",0),n&2&&r("ngIf",i.root)},dependencies:[q,X,mn,H,ze,S],encapsulation:2})}return t})(),un=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=re({type:t});static \u0275inj=ne({imports:[ye,mn,H,H]})}return t})();var hn=`
123    .p-confirmpopup {
124        position: absolute;
125        margin-top: dt('confirmpopup.gutter');
126        top: 0;
127        left: 0;
128        background: dt('confirmpopup.background');
129        color: dt('confirmpopup.color');
130        border: 1px solid dt('confirmpopup.border.color');
131        border-radius: dt('confirmpopup.border.radius');
132        box-shadow: dt('confirmpopup.shadow');
133        will-change: transform;
134    }
135
136    .p-confirmpopup-content {
137        display: flex;
138        align-items: center;
139        padding: dt('confirmpopup.content.padding');
140        gap: dt('confirmpopup.content.gap');
141    }
142
143    .p-confirmpopup-icon {
144        font-size: dt('confirmpopup.icon.size');
145        width: dt('confirmpopup.icon.size');
146        height: dt('confirmpopup.icon.size');
147        color: dt('confirmpopup.icon.color');
148    }
149
150    .p-confirmpopup-footer {
151        display: flex;
152        justify-content: flex-end;
153        gap: dt('confirmpopup.footer.gap');
154        padding: dt('confirmpopup.footer.padding');
155    }
156
157    .p-confirmpopup-footer button {
158        width: auto;
159    }
160
161    .p-confirmpopup-footer button:last-child {
162        margin: 0;
163    }
164
165    .p-confirmpopup-flipped {
166        margin-block-start: calc(dt('confirmpopup.gutter') * -1);
167        margin-block-end: dt('confirmpopup.gutter');
168    }
169
170    .p-confirmpopup:after,
171    .p-confirmpopup:before {
172        bottom: 100%;
173        left: calc(dt('confirmpopup.arrow.offset') + dt('confirmpopup.arrow.left'));
174        content: ' ';
175        height: 0;
176        width: 0;
177        position: absolute;
178        pointer-events: none;
179    }
180
181    .p-confirmpopup:after {
182        border-width: calc(dt('confirmpopup.gutter') - 2px);
183        margin-left: calc(-1 * (dt('confirmpopup.gutter') - 2px));
184        border-style: solid;
185        border-color: transparent;
186        border-bottom-color: dt('confirmpopup.background');
187    }
188
189    .p-confirmpopup:before {
190        border-width: dt('confirmpopup.gutter');
191        margin-left: calc(-1 * dt('confirmpopup.gutter'));
192        border-style: solid;
193        border-color: transparent;
194        border-bottom-color: dt('confirmpopup.border.color');
195    }
196
197    .p-confirmpopup-flipped:after,
198    .p-confirmpopup-flipped:before {
199        bottom: auto;
200        top: 100%;
201    }
202
203    .p-confirmpopup-flipped:after {
204        border-bottom-color: transparent;
205        border-top-color: dt('confirmpopup.background');
206    }
207
208    .p-confirmpopup-flipped:before {
209        border-bottom-color: transparent;
210        border-top-color: dt('confirmpopup.border.color');
211    }
212`;var qn=["content"],Qn=["accepticon"],Zn=["rejecticon"],Gn=["headless"],$n=["acceptButton"],Kn=["rejectButton"],_n=t=>({$implicit:t});function Jn(t,p){t&1&&K(0)}function Xn(t,p){if(t&1&&(D(0),u(1,Jn,1,0,"ng-container",9),R()),t&2){let e=s(2);c(),r("ngTemplateOutlet",e.headlessTemplate||e._headlessTemplate)("ngTemplateOutletContext",E(2,_n,e.confirmation))}}function Yn(t,p){t&1&&K(0)}function ei(t,p){if(t&1&&(D(0),u(1,Yn,1,0,"ng-container",9),R()),t&2){let e=s(3);c(),r("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",E(2,_n,e.confirmation))}}function ti(t,p){if(t&1&&f(0,"i",10),t&2){let e=s(4);_(e.cx("icon")),r("pBind",e.ptm("icon"))}}function ni(t,p){if(t&1&&(u(0,ti,1,3,"i",13),l(1,"span",10),d(2),a()),t&2){let e=s(3);r("ngIf",e.confirmation==null?null:e.confirmation.icon),c(),_(e.cx("message")),r("pBind",e.ptm("message")),c(),V(e.confirmation==null?null:e.confirmation.message)}}function ii(t,p){if(t&1&&f(0,"i"),t&2){let e=s(5);_(e.confirmation==null?null:e.confirmation.rejectIcon)}}function oi(t,p){}function ri(t,p){t&1&&u(0,oi,0,0,"ng-template",null,4,W)}function ai(t,p){if(t&1&&u(0,ii,1,2,"i",15)(1,ri,2,0,null,16),t&2){let e=s(4);r("ngIf",e.confirmation==null?null:e.confirmation.rejectIcon)("ngIfElse",e.rejecticon),c(),r("ngTemplateOutlet",e.rejectIconTemplate||e._rejectIconTemplate)}}function ci(t,p){if(t&1){let e=y();l(0,"p-button",14),C("onClick",function(){h(e);let i=s(3);return g(i.onReject())}),u(1,ai,2,3,"ng-template",null,3,W),a()}if(t&2){let e=s(3);_(e.cx("pcRejectButton")),r("label",e.rejectButtonLabel)("pt",e.ptm("pcRejectButton"))("styleClass",e.confirmation==null?null:e.confirmation.rejectButtonStyleClass)("size",(e.confirmation==null||e.confirmation.rejectButtonProps==null?null:e.confirmation.rejectButtonProps.size)||"small")("text",(e.confirmation==null||e.confirmation.rejectButtonProps==null?null:e.confirmation.rejectButtonProps.text)||!1)("buttonProps",e.getRejectButtonProps())("autofocus",e.autoFocus
212Reject)("unstyled",e.unstyled()),j("aria-label",e.rejectButtonLabel)}}function li(t,p){if(t&1&&f(0,"i"),t&2){let e=s(5);_(e.confirmation==null?null:e.confirmation.acceptIcon)}}function si(t,p){}function pi(t,p){t&1&&u(0,si,0,0,"ng-template",null,5,W)}function di(t,p){if(t&1&&u(0,li,1,2,"i",15)(1,pi,2,0,null,16),t&2){let e=s(4);r("ngIf",e.confirmation==null?null:e.confirmation.acceptIcon)("ngIfElse",e.accepticontemplate),c(),r("ngTemplateOutlet",e.acceptIconTemplate||e._acceptIconTemplate)}}function mi(t,p){if(t&1){let e=y();l(0,"p-button",17),C("onClick",function(){h(e);let i=s(3);return g(i.onAccept())}),u(1,di,2,3,"ng-template",null,3,W),a()}if(t&2){let e=s(3);_(e.cx("pcAcceptButton")),r("label",e.acceptButtonLabel)("pt",e.ptm("pcAcceptButton"))("styleClass",e.confirmation==null?null:e.confirmation.acceptButtonStyleClass)("size",(e.confirmation==null||e.confirmation.acceptButtonProps==null?null:e.confirmation.acceptButtonProps.size)||"small")("buttonProps",e.getAcceptButtonProps())("autofocus",e.autoFocusAccept)("unstyled",e.unstyled()),j("aria-label",e.acceptButtonLabel)}}function ui(t,p){if(t&1&&(l(0,"div",10,1),u(2,ei,2,4,"ng-container",8)(3,ni,3,5,"ng-template",null,2,W),a(),l(5,"div",10),u(6,ci,3,11,"p-button",11)(7,mi,3,10,"p-button",12),a()),t&2){let e=Q(4),n=s(2);_(n.cx("content")),r("pBind",n.ptm("content")),c(2),r("ngIf",n.contentTemplate||n._contentTemplate)("ngIfElse",e),c(3),_(n.cx("footer")),r("pBind",n.ptm("footer")),c(),r("ngIf",(n.confirmation==null?null:n.confirmation.rejectVisible)!==!1),c(),r("ngIf",(n.confirmation==null?null:n.confirmation.acceptVisible)!==!1)}}function hi(t,p){if(t&1){let e=y();l(0,"div",7),C("pMotionOnBeforeEnter",function(i){h(e);let o=s();return g(o.onBeforeEnter(i))})("pMotionOnAfterLeave",function(){h(e);let i=s();return g(i.onAfterLeave())})("click",function(i){h(e);let o=s();return g(o.onOverlayClick(i))}),u(1,Xn,2,4,"ng-container",8)(2,ui,8,10,"ng-template",null,0,W),a()}if(t&2){let e=Q(3),n=s();_(n.cn(n.cx("root"),n.styleClass)),r("pMotion",n.computedVisible())("pMotionAppear",!0)("pMotionName","p-anchored-overlay")("pMotionOptions",n.computedMotionOptions())("pBind",n.ptm("root"))("ngStyle",n.style),c(),r("ngIf",n.headlessTemplate||n._headlessTemplate)("ngIfElse",e)}}var gi={root:()=>["p-confirmpopup p-component"],content:"p-confirmpopup-content",icon:({instance:t})=>["p-confirmpopup-icon",t.confirmation?.icon],message:"p-confirmpopup-message",footer:"p-confirmpopup-footer",pcRejectButton:"p-confirmpopup-reject-button",pcAcceptButton:"p-confirmpopup-accept-button"},gn=(()=>{class t extends fe{name="confirmpopup";style=hn;classes=gi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=oe(t)))(i||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();var fn=new ie("CONFIRMPOPUP_INSTANCE"),fi=(()=>{class t extends ee{el;confirmationService;renderer;cd;overlayService;document;componentName="ConfirmPopup";$pcConfirmPopup=z(fn,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=z(S,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}key;defaultFocus="accept";showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";autoZIndex=!0;baseZIndex=0;style;styleClass;visible=de();_visible=we(!1);computedVisible=pe(()=>this.visible()??this._visible());render=we(!1);motionOptions=de(void 0);computedMotionOptions=pe(()=>G(G({},this.ptm("motion")),this.motionOptions()));appendTo=de("body");$appendTo=pe(()=>this.appendTo()||this.config.overlayAppendTo());container;subscription;confirmation;autoFocusAccept=!1;autoFocusReject=!1;contentTemplate;acceptIconTemplate;rejectIconTemplate;headlessTemplate;acceptButtonViewChild=Te("acceptButton",{read:N});rejectButtonViewChild=Te("rejectButton",{read:N});_contentTemplate;_acceptIconTemplate;_rejectIconTemplate;_headlessTemplate;documentClickListener;documentResizeListener;scrollHandler;window;_componentStyle=z(gn);constructor(e,n,i,o,m,I){super(),this.el=e,this.confirmationService=n,this.renderer=i,this.cd=o,this.overlayService=m,this.document=I,this.window=this.document.defaultView,this.subscription=this.confirmationService.requireConfirmation$.subscribe(L=>{if(!L){this.hide();return}this.computedVisible()&&requestAnimationFrame(()=>{this.alignOverlay(),this.cd.markForCheck()}
212),L.key===this.key&&(this.confirmation=L,Object.keys(L).forEach(Ne=>{this[Ne]=L[Ne]}),this.confirmation.accept&&(this.confirmation.acceptEvent=new B,this.confirmation.acceptEvent.subscribe(this.confirmation.accept)),this.confirmation.reject&&(this.confirmation.rejectEvent=new B,this.confirmation.rejectEvent.subscribe(this.confirmation.reject)),this._visible.set(!0))}),Le(()=>{this.computedVisible()&&Ge(()=>{this.render()||this.render.set(!0)})})}templates;onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"rejecticon":this._rejectIconTemplate=e.template;break;case"accepticon":this._acceptIconTemplate=e.template;break;case"headless":this._headlessTemplate=e.template;break}})}option(e,n){let i=this;if(i.hasOwnProperty(e))return n?i[n]:i[e]}onEscapeKeydown(e){this.confirmation&&this.confirmation.closeOnEscape!==!1&&this.onReject()}onBeforeEnter(e){if(this.confirmation){let n=this.confirmation.defaultFocus??this.defaultFocus;this.autoFocusAccept=n==="accept",this.autoFocusReject=n==="reject"}this.container=e.element,this.appendOverlay(),this.alignOverlay(),this.alignArrow(),this.setZIndex(),this.handleFocus(),this.bindListeners()}handleFocus(){this.defaultFocus&&(this.acceptButtonViewChild()||this.rejectButtonViewChild())&&(this.defaultFocus==="accept"?Se(this.acceptButtonViewChild()?.nativeElement,'[data-pc-section="root"]'):Se(this.rejectButtonViewChild()?.nativeElement,'[data-pc-section="root"]')).focus()}onAfterLeave(){this.autoFocusAccept=!1,this.autoFocusReject=!1,this.restoreAppend(),this.onContainerDestroy()}getAcceptButtonProps(){return this.option("acceptButtonProps")}getRejectButtonProps(){return this.option("rejectButtonProps")}alignOverlay(){!this.confirmation||!this.confirmation.target||rt(this.container,this.confirmation?.target,!1)}setZIndex(){this.autoZIndex&&Be.set("overlay",this.container,this.config.zIndex.overlay)}alignArrow(){let e=Oe(this.container),n=Oe(this.confirmation?.target),i=0;e&&n&&e.left<n.left&&(i=n.left-e.left),this.container&&this.container.style.setProperty("--p-confirmpopup-arrow-left",`${i}px`),e&&n&&e.top<n.top&&(this.container.setAttribute("data-p-confirmpopup-flipped","true"),!this.$unstyled()&&ot(this.container,"p-confirm-popup-flipped"))}appendOverlay(){this.$appendTo()&&this.$appendTo()!=="self"&&(this.$appendTo()==="body"?ge(this.document.body,this.container):ge(this.$appendTo(),this.container))}restoreAppend(){this.container&&this.$appendTo()!=="self"&&ge(this.el.nativeElement,this.container),this.onContainerDestroy()}hide(){this._visible.set(!1)}onAccept(){this.confirmation?.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(),Ie(this.confirmation?.target)}onReject(){this.confirmation?.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),Ie(this.confirmation?.target)}onOverlayClick(e){this.overlayService.add({originalEvent:e,target:this.el.nativeElement})}bindListeners(){setTimeout(()=>{this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener()})}unbindListeners(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener()}bindDocumentClickListener(){if(!this.documentClickListener){let e=at()?"touchstart":"click",n=this.el?this.el.nativeElement.ownerDocument:this.document;this.documentClickListener=this.renderer.listen(n,e,i=>{if(this.confirmation&&this.confirmation.dismissableMask!==!1){let o=this.confirmation.target;this.container!==i.target&&!this.container?.contains(i.target)&&o!==i.target&&!o.contains(i.target)&&this.hide()}})}}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}onWindowResize(){this.computedVisible()&&!ct()&&this.hide()}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new mt(this.confirmation?.target,()=>{this.computedVisible()&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unsubscribeConfirmationSubscriptions(){this.confirmation&&(this.confirmation.acceptEvent&&this.confirmation.acceptEvent.unsubscribe(),this.confirmation.rejectEvent&&this.confirmation.rejectEvent.unsubscribe())}onContainerDestroy(){this.unbindListeners(),this.unsubscribeConfirmationSubscriptions(),this.autoZIndex&&Be.clear(this.container),this.confirmation=null,this.render.set(!1),this.container=null}get acceptButtonLabel(){return this.confirmation?.acceptLabel||this.config.getTranslation(Ee.ACCEPT)}get rejectButtonLabel(){return this.confirmation?.rejectLabel||this.config.getTranslation(Ee.REJECT)}onDestroy(){this.restoreAppend(),this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)(b(N),b(lt),b(je),b(J),b(pt),b(Re))};static \u0275cmp=F({type:t,selectors:[["p-confirmpopup"]],contentQueries:function(n,i,o){if(n&1&&ce(o,qn,4)(o,Qn,4)(o,Zn,4)(o,Gn,4)(o,Z,4),n&2){let m;x(m=w())&&(i.contentTemplate=m.first),x(m=w())&&(i.acceptIconTemplate=m.first),x(m=w())&&(i.rejectIconTemplate=m.first),x(m=w())&&(i.headlessTemplate=m.first),x(m=w())&&(i.templates=m)}},viewQuery:function(n,i){n&1&&qe(i.acceptButtonViewChild,$n,5,N)(i.rejectButtonViewChild,Kn,5,N),n&2&&Qe(2)},hostBindings:function(n,i){n&1&&C("keydown.Escape",function(m){return i.onEscapeKey
212down(m)},Fe)},inputs:{key:"key",defaultFocus:"defaultFocus",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",autoZIndex:[2,"autoZIndex","autoZIndex",k],baseZIndex:[2,"baseZIndex","baseZIndex",$e],style:"style",styleClass:"styleClass",visible:[1,"visible"],motionOptions:[1,"motionOptions"],appendTo:[1,"appendTo"]},features:[A([gn,{provide:fn,useExisting:t},{provide:Y,useExisting:t}]),ae([S]),$],decls:1,vars:1,consts:[["notHeadless",""],["content",""],["withoutContentTemplate",""],["icon",""],["rejecticon",""],["accepticontemplate",""],["pFocusTrap","","role","alertdialog",3,"pMotion","pMotionAppear","pMotionName","pMotionOptions","pBind","class","ngStyle"],["pFocusTrap","","role","alertdialog",3,"pMotionOnBeforeEnter","pMotionOnAfterLeave","click","pMotion","pMotionAppear","pMotionName","pMotionOptions","pBind","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],["type","button",3,"label","pt","class","styleClass","size","text","buttonProps","autofocus","unstyled","onClick",4,"ngIf"],["type","button",3,"label","pt","class","styleClass","size","buttonProps","autofocus","unstyled","onClick",4,"ngIf"],[3,"pBind","class",4,"ngIf"],["type","button",3,"onClick","label","pt","styleClass","size","text","buttonProps","autofocus","unstyled"],[3,"class",4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["type","button",3,"onClick","label","pt","styleClass","size","buttonProps","autofocus","unstyled"]],template:function(n,i){n&1&&O(0,hi,4,10,"div",6),n&2&&P(i.render()?0:-1)},dependencies:[q,X,ue,me,H,be,_e,bt,S,yt,Ct],encapsulation:2,changeDetection:0})}return t})(),bn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=re({type:t});static \u0275inj=ne({imports:[fi,H,H]})}return t})();var _i=["menu"],bi=()=>({width:"50vw"}),Ci=()=>({"960px":"75vw","1200px":"60vw","2000px":"50vw"}),yi=()=>({"min-width":"100%"}),xi=()=>({"background-color":"#8B59DA9a",color:"#fff"}),wi=()=>({class:"!w-full md:!w-80 lg:!w-[40rem]"}),vi=t=>({root:t}),Mi=()=>({width:"450px"}),Ti=(t,p)=>p.routerLink;function Si(t,p){if(t&1&&f(0,"i",19),t&2){let e=s().$implicit;r("ngClass",e.icon)}}function Ii(t,p){if(t&1&&(l(0,"p-tab",8)(1,"span",18),O(2,Si,1,1,"i",19),d(3),a()()),t&2){let e=p.$implicit;r("value",e.routerLink)("hidden",e.visible),c(2),P(e.icon?2:-1),c(),se(" ",e.label," ")}}function Oi(t,p){if(t&1){let e=y();l(0,"p-button",20),C("onClick",function(){h(e);let i=s();return i.selectedNode={},g(i.addRoleHierarchy())}),a()}}function Pi(t,p){if(t&1){let e=y();l(0,"p-button",22),C("onClick",function(i){let o=h(e).$implicit,m=s(2);return g(m.menuToggle(o,i))}),a(),l(1,"div",23),f(2,"p-avatar",24),l(3,"p",25),d(4),a()()}if(t&2){let e=p.$implicit,n=s(2);r("outlined",!0),c(2),r("label",n.makeInitialsLogo(e.label)),c(2),V(e.label)}}function Ei(t,p){if(t&1&&(l(0,"p-organizationChart",10),u(1,Pi,5,3,"ng-template",21),a()),t&2){let e=s();r("value",e.hierarchies)}}function zi(t,p){t&1&&(l(0,"p",11),d(1,"No Role Found"),a())}function Bi(t,p){if(t&1&&(l(0,"div",26)(1,"span",27),d(2),ve(3,"titlecase"),a()()),t&2){let e=s();c(2),se("Users In ",Me(3,1,e.selectedNode.name)," Role")}}function Ni(t,p){t&1&&(l(0,"tr")(1,"th",42),d(2,"Name"),a(),l(3,"th",43),d(4,"Email"),a(),l(5,"th",43),d(6,"Role"),a()())}function Vi(t,p){if(t&1&&(l(0,"tr")(1,"td",44),f(2,"p-avatar",45),a(),l(3,"td"),d(4),a(),l(5,"td"),d(6),a(),l(7,"td"),d(8),ve(9,"titlecase"),a()()),t&2){let e=p.$implicit,n=s(3);c(2),le(U(9,xi)),r("label",n.commonService.makeInitialsLogo(e.User.firstName+""+e.User.lastName)),c(2),Ze("",e.User.firstName," ",e.User.lastName),c(2),V(e.User.email),c(2),V(Me(9,7,e.Role.name))}}function ki(t,p){if(t&1&&(l(0,"p-table",41),u(1,Ni,7,0,"ng-template",13)(2,Vi,10,10,"ng-template",14),a()),t&2){let e=s(2);r("value",e.selectedNode.Users)("scrollable",!0)("tableStyle",U(3,yi))}}function Hi(t,p){t&1&&(l(0,"p",11),d(1,"No Users in this role"),a())}function Di(t,p){if(t&1&&(l(0,"div",28)(1,"div",29)(2,"div",30)(3,"div",31)(4,"label",32),d(5,"Description"),a(),l(6,"pre"),d(7),a()()(),l(8,"div",33)(9,"div",31)(10,"label",34),d(11,"No. of Users"),a(),f(12,"p-badge",35),a()(),l(13,"div",33)(14,"div",31)(15,"label",36),d(16," Data Visibility for Cross Roles "),f(17,"i",37),a(),f(18,"p-chip",38),a()(),l(19,"div",33)(20,"div",31)(21,"label",39),d(22," Data Sharing for Peers "),f(23,"i",40),a(),f(24,"p-chip",38),a()()(),O(25,ki,3,4,"p-table",41)(26,Hi,2,0,"p",11),a()),t&2){let e=s();c(7),V(e.selectedNode.description??"-"),c(5),r("value",e.selectedNode.Users.length??0),c(6),r("label",e.selectedNode.peerVisibility?"Enabled":"Disabled"),c(6),r("label",e.selectedNode.sameHierarchySharing?"Enabled":"Disabled"),c(),P((e.selectedNode==null?null:e.selectedNode.Users.length)>
2120?25:26)}}function Ri(t,p){if(t&1&&d(0),t&2){let e=s(2);se("",e.isUpdate?"Update":"Add"," Role")}}function Li(t,p){if(t&1){let e=y();l(0,"form",49),C("submit",function(){h(e);let i=s(2);return g(i.saveHierarchy())}),l(1,"div",50)(2,"label",51),d(3,"Role Name"),a(),l(4,"input",52,1),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.hierarchy.name,i)||(o.hierarchy.name=i),g(i)}),a(),f(6,"app-error-messages",53),a(),l(7,"div",50)(8,"label",54),d(9,"Reports to"),a(),l(10,"p-select",55),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.hierarchy.parentId,i)||(o.hierarchy.parentId=i),g(i)}),a(),l(11,"input",56),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.hierarchy.parentId,i)||(o.hierarchy.parentId=i),g(i)}),a()(),l(12,"div",50)(13,"label",57),d(14," Data Visibility for Cross Roles "),f(15,"i",37),a(),l(16,"div",58)(17,"span"),d(18,"Disable"),a(),l(19,"p-toggleswitch",59),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.hierarchy.peerVisibility,i)||(o.hierarchy.peerVisibility=i),g(i)}),a(),l(20,"span"),d(21,"Enable"),a()()(),l(22,"div",50)(23,"label",57),d(24," Data Sharing for Peers "),f(25,"i",40),a(),l(26,"div",58)(27,"span"),d(28,"Disable"),a(),l(29,"p-toggleswitch",60),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.hierarchy.sameHierarchySharing,i)||(o.hierarchy.sameHierarchySharing=i),g(i)}),a(),l(30,"span"),d(31,"Enable"),a()()(),l(32,"div",50)(33,"label",32),d(34,"Description"),a(),l(35,"textarea",61),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.hierarchy.description,i)||(o.hierarchy.description=i),g(i)}),a()()()}if(t&2){let e=Q(5),n=s(2);c(4),v("ngModel",n.hierarchy.name),c(2),r("control",e.control),c(4),r("autoOptionFocus",!1)("options",n.reportToHierarchyList),v("ngModel",n.hierarchy.parentId),r("required",!0),c(),v("ngModel",n.hierarchy.parentId),c(8),v("ngModel",n.hierarchy.peerVisibility),c(10),v("ngModel",n.hierarchy.sameHierarchySharing),c(6),v("ngModel",n.hierarchy.description)}}function Fi(t,p){if(t&1){let e=y();l(0,"p-button",62),C("onClick",function(){h(e);let i=s(2);return g(i.requestFormSubmitById("hierarchyForm"))}),a(),l(1,"p-button",63),C("onClick",function(){h(e);let i=s(2);return g(i.closeSheet())}),a()}if(t&2){let e=s(2);r("loading",e.loader)("disabled",e.loader)}}function ji(t,p){if(t&1){let e=y();l(0,"p-drawer",46),T("visibleChange",function(i){h(e);let o=s();return M(o.isSideBarVisible,i)||(o.isSideBarVisible=i),g(i)}),u(1,Ri,1,1,"ng-template",13)(2,Li,36,10,"ng-template",47)(3,Fi,2,2,"ng-template",48),a()}if(t&2){let e=s();v("visible",e.isSideBarVisible),r("dismissible",!1)("pt",E(4,vi,U(3,wi)))}}function Ai(t,p){t&1&&(l(0,"div",26)(1,"span",27),d(2,"Delete Role"),a()())}function Ui(t,p){if(t&1){let e=y();l(0,"form",65,2),C("submit",function(){h(e);let i=Q(1);return s(2).onDeleteSubmit(),g(i.resetForm())}),l(2,"div",66)(3,"p"),d(4,"Before you delete this role, you need to transfer the associated users & roles to another role"),a(),l(5,"div",50)(6,"label",67),d(7,"Transfer To"),a(),l(8,"p-select",68),T("ngModelChange",function(i){h(e);let o=s(2);return M(o.transferTo,i)||(o.transferTo=i),g(i)}),a()()()()}if(t&2){let e=s(2);c(8),r("autoOptionFocus",!1)("options",e.transferedHierarchy),v("ngModel",e.transferTo)}}function Wi(t,p){if(t&1){let e=y();l(0,"div",11)(1,"p-button",69),C("onClick",function(){h(e);let i=s(2);return g(i.requestFormSubmitById("hierarchyDeleteForm"))}),a()()}}function qi(t,p){if(t&1){let e=y();l(0,"p-dialog",64),T("visibleChange",function(i){h(e);let o=s();return M(o.isDeleteModalVisible,i)||(o.isDeleteModalVisible=i),g(i)}),u(1,Ai,3,0,"ng-template",13)(2,Ui,9,3,"ng-template",14)(3,Wi,2,0,"ng-template",48),a()}if(t&2){let e=s();le(U(5,Mi)),r("draggable",!1),v("visible",e.isDeleteModalVisible),r("modal",!0)}}function Qi(t,p){t&1&&f(0,"app-loader")}var Vr=(()=>{class t{constructor(e,n,i,o,m,I){this.messageService=e,this.authSync=n,this.hierarchyAPI=i,this.commonService=o,this.activatedRoute=m,this.router=I,this.requestFormSubmitById=Qt,this.isUpdate=!1,this.isDeleteModalVisible=!1,this.loader=!1,this.breadcrumItems=[{label:"Configuration",routerLink:"/org/configuration"},{label:"Roles & Data Sharing"}],this.tabItems=[{id:"cx-hierarchy",label:"Role",icon:"ph ph-tree-view",routerLink:"/org/configuration/hierarchy-sharing/roles-hierarchy",visible:!1},{id:"cx-data-sharing",label:"Data Sharing",icon:"ph ph-polygon",routerLink:"/org/configuration/hierarchy-sharing/data-sharing",visible:!1}],this.activeTabValue="/org/configuration/hierarchy-sharing/roles-hierarchy",this.menuItems=[{id:"1",label:"View",icon:"ph ph-folder-open",command:()=>{this.isModalVisible=!0}},{id:"2",label:"Add",icon:"ph ph-plus",command:()=>{this.addRoleHierarchy(),this.isSideBarVisible=!0}},{id:"3",label:"Update",icon:"ph ph-pencil-simple",command:()=>{this.isUpdate=!0,this.isSideBarVisible=!0,this.updateRoleHierarchy()}},{id:"4",label:"Delete",icon:"ph ph-trash",command:()=>{this.isDeleteModalVisible=!0}}],this.selectedNode={},this.loggedInUser={},this.permissions={},this.users=[],this.isModalVisible=!1,this.hierarchies=[],this.listHierarchies=[],this.hierarchy={},this.isSideBarVisible=!1,this.pipeline={},this.reportToHierarchyList=[],this.storeOriginalHierarchyList=[],this.transferedHierarchy=[],this.accessConfig=null}ngOnInit(){this.loggedInUser=this.authSync.user,this.permissions=this.loggedInUser.UserOrganizations[0]?.Role?.permissions,this.accessConfig=this.loggedInUser.UserOrganizations[0]?.Org?.OrganizationEntitlementActive?.config??null,this.tabItems[1].visible=!this.accessConfig?.dataSharing,this.syncActiveTabFromRoute(),this.router.events.pipe(He(e=>e instanceof Ye)).subscribe(()=>this.syncActiveTabFromRoute()),this.listHeirarchy()}syncActiveTabFromRoute(){let e=this.router.url.split("?")[0],n=this.tabItems.find(i=>
212e===i.routerLink||typeof i.routerLink=="string"&&e.endsWith(i.routerLink));n?.routerLink&&(this.activeTabValue=n.routerLink)}onTabValueChange(e){if(e===void 0)return;let n=String(e),i=this.tabItems.find(o=>String(o.routerLink)===n);!i?.routerLink||typeof i.routerLink!="string"||(this.activeTabValue=n,this.router.navigateByUrl(i.routerLink))}addRoleHierarchy(){this.isUpdate=!1,this.hierarchy={},this.hierarchy.parentId=this.selectedNode.id,this.isSideBarVisible=!0,this.reportToHierarchyList=structuredClone(this.reportToHierarchyList)}updateRoleHierarchy(){this.isUpdate=!0;let e={};e.id=this.selectedNode.id,e.name=this.selectedNode.name,e.parentId=this.selectedNode.parentId,e.description=this.selectedNode.description,e.orgId=this.selectedNode.orgId,e.peerVisibility=this.selectedNode.peerVisibility,e.sameHierarchySharing=this.selectedNode.sameHierarchySharing,this.hierarchy=structuredClone(e),this.isSideBarVisible=!0}saveHierarchy(){if(!this.hierarchy.name?.trim()){this.messageService.add({severity:"error",summary:"Error",detail:"Role name is required"});return}if(this.hierarchy.parentId==null||this.hierarchy.parentId===void 0){this.messageService.add({severity:"error",summary:"Error",detail:"Reports to is required"});return}this.loader=!0,this.isUpdate?this.hierarchyAPI.updateHierarchy(this.hierarchy).subscribe(e=>{this.loader=!1,this.listHeirarchy(),this.isSideBarVisible=!1,this.messageService.add({severity:"success",summary:"Success",detail:"Role Updated Successfully"})},e=>{this.loader=!1,console.log(e),this.messageService.add({severity:"error",summary:"Error",detail:e.error.message})}):this.hierarchyAPI.addHierarchy(this.hierarchy).subscribe(()=>{this.loader=!1,this.listHeirarchy(),this.isSideBarVisible=!1,this.messageService.add({severity:"success",summary:"Success",detail:"Role Saved Successfully"})},e=>{this.loader=!1,this.messageService.add({severity:"error",summary:"Error",detail:e.error.message})})}listHeirarchy(){this.loader=!0,this.hierarchyAPI.listHierarchies().subscribe(e=>{this.listHierarchies=e.modifiedHierarchies,this.reportToHierarchyList=e.reportToHierarchyList,this.storeOriginalHierarchyList=e.reportToHierarchyList,this.hierarchies=this.convertToHierarchy(e.modifiedHierarchies),this.loader=!1})}closeSheet(){this.isSideBarVisible=!1}onDeleteSubmit(){if(this.loader=!0,this.transferTo==null){this.loader=!1,this.messageService.add({severity:"error",summary:"Error",detail:"Select Transfer To"});return}this.hierarchyAPI.deleteHierarchy(this.selectedNode.id,this.transferTo).subscribe(e=>{this.listHeirarchy(),this.loader=!1,this.isSideBarVisible=!1,this.isDeleteModalVisible=!1,this.messageService.add({severity:"success",summary:"Success",detail:"Role deleted successfully"})},e=>{console.log(e),this.loader=!1,this.isSideBarVisible=!1,this.isDeleteModalVisible=!1,this.messageService.add({severity:"error",summary:"Error",detail:e.error.message})})}menuToggle(e,n){this.selectedNode=structuredClone(e),this.menuItems.forEach(o=>{o.id==="2"&&(o.visible=this.permissions.manageConfig?.hierarchy&&this.selectedNode.isEditable),o.id==="3"&&(o.visible=this.permissions.manageConfig?.hierarchy&&this.selectedNode.parentId!=null&&this.selectedNode.isEditable&&this.selectedNode.id!==this.loggedInUser.UserOrganizations[0].hierarchyId),o.id==="4"&&(o.visible=this.permissions.manageConfig?.hierarchy&&this.selectedNode.parentId!=null&&this.selectedNode.isEditable&&this.selectedNode.id!==this.loggedInUser.UserOrganizations[0].hierarchyId)}),this.reportToHierarchyList=this.storeOriginalHierarchyList;let i=this.collectDescendantIds(this.selectedNode.id);this.transferedHierarchy=structuredClone(this.reportToHierarchyList.filter(o=>!i.has(o.id))),this.menu.toggle(n)}collectDescendantIds(e){let n=new Set([e]),i=!0;for(;i;){i=!1;for(let o of this.listHierarchies)o.id!=null&&o.parentId!=null&&n.has(o.parentId)&&!n.has(o.id)&&(n.add(o.id),i=!0)}return n}makeInitialsLogo(e){let n=e.split(" ");if(n.length>1){let i=n[0][0]+n[1][0];return i?i.toUpperCase():""}else return n[0][0]?.toUpperCase()}convertToHierarchy(e,n=null){let i=[];return e.forEach(o=>
212{if(o.label=o.name,o.expanded=!0,o.parentId===n){let m=Ve(G({},o),{children:this.convertToHierarchy(e,o.id)});m.children.length===0&&delete m.children,i.push(m)}}),i}static{this.\u0275fac=function(n){return new(n||t)(b(st),b(dt),b(Xe),b(Tt),b(et),b(tt))}}static{this.\u0275cmp=F({type:t,selectors:[["app-hierarchy"]],viewQuery:function(n,i){if(n&1&&We(_i,5),n&2){let o;x(o=w())&&(i.menu=o.first)}},hostBindings:function(n,i){n&1&&C("ItemClickCustomEvent",function(m){return i.menu(m)})},features:[A([he])],decls:19,vars:19,consts:[["menu",""],["roleName","ngModel"],["deleteForm","ngForm"],[1,"breadcrum-nav","flex","justify-between","items-center","!mb-0"],[1,"max-w-full",3,"model"],["pButton","","variant","text","id","cx-closeButton","icon","ph-bold ph-x","pTooltip","Cancel","tooltipPosition","bottom","size","small","routerLink","/org/configuration",1,"btn-close"],[1,"flex","!-mx-4","!px-4","justify-between","!border-b","!border-slate-200","dark:!border-slate-600","!mb-4","items-center","!pt-2","!bg-white"],[1,"tabsMenu","square-tabs","!mb-0",3,"valueChange","value","scrollable"],[3,"value","hidden"],["styleClass","btn-black","size","small","icon","ph-bold ph-plus","label","New Role"],[3,"value"],[1,"!text-center"],["header","Header",3,"visibleChange","visible","modal","breakpoints","draggable","resizable"],["pTemplate","header"],["pTemplate","body"],["position","right",3,"visible","dismissible","pt"],["appendTo","body","styleClass","tableMenu",3,"model","popup"],["header","Delete Role",3,"draggable","visible","modal","style"],[1,"flex","items-center","justify-center","gap-2"],[3,"ngClass"],["styleClass","btn-black","size","small","icon","ph-bold ph-plus","label","New Role",3,"onClick"],["pTemplate","default"],["icon","ph-bold ph-dots-three-vertical","styleClass","action-btn","size","small","severity","secondary",3,"onClick","outlined"],[1,"flex","flex-col","items-center","tree-node"],["size","large","shape","circle",3,"label"],[1,"!m-0","!p-0","!mt-2"],[1,"inline-flex","items-center","justify-center","gap-2"],[1,"font-bold","whitespace-nowrap"],[1,"!p-4"],[1,"grid","grid-cols-12","gap-4"],[1,"col-span-6"],[1,"pData"],["for","description"],[1,"col-span-3"],["for","user"],[1,"!text-white/90",3,"value"],["for","elevated"],["pTooltip","The data will be visible(Read Only) to your Peers at the same Role level",1,"ph","ph-info"],[3,"label"],["for","peer-sharing"],["pTooltip","When enabled, Peers at the same Role can view each other's data.",1,"ph","ph-info"],["scrollHeight","400px",1,"p-datatable-sm","p-datatable-gridlines","!mt-8",3,"value","scrollable","tableStyle"],["scope","col","colspan","2",1,"!text-left"],["scope","col",1,"!text-left"],[1,"!pr-0"],["shape","circle",3,"label"],["position","right",3,"visibleChange","visible","dismissible","pt"],["pTemplate","content"],["pTemplate","footer"],["id","hierarchyForm","ngNativeValidate","",3,"submit"],[1,"form-group"],["for","roleName",1,"required"],["pInputText","","type","text","name","roleName","maxlength","35","id","cx-pipelineName","required","",3,"ngModelChange","ngModel"],["id","cx-roleName","fieldName","Role Name",3,"control"],["for","ParentId",1,"required"],["optionLabel","name","optionValue","id","placeholder","Select","name","ParentId",3,"ngModelChange","autoOptionFocus","options","ngModel","required"],["type","text","name","ParentId","id","cx-ParentId-inp","required","",1,"dropdown-req",3,"ngModelChange","ngModel"],["for","peerDataVisibility",1,"required"],[1,"flex","items-center","gap-1"],["name","sameHierarchySharing","id","cx-sameHierarchySharing",3,"ngModelChange","ngModel"],["name","peerDataVisibility","id","cx-peerDataVisibility",3,"ngModelChange","ngModel"],["pInputText","","type","text","name","description","rows","5","cols","20","id","cx-pipelineName","maxlength","250",3,"ngModelChange","ngModel"],["type","button","id","cx-savePipeline-btn","label","Save",3,"onClick","loading","disabled"],["type","button","id","cx-cancelSheet-btn","label","Cancel","styleClass","btn-black-o !ml-2",3,"onClick"],["header","Delete Role",3,"visibleChange","draggable","visible","modal"],["id","hierarchyDeleteForm","ngNativeValidate","",3,"submit"],[1,"!py-4"],["for","stageName",1,"required"],["optionValue","id","optionLabel","name","name","transferTo","appendTo","body",3,"ngModelChange","autoOptionFocus","options","ngModel"],["type","button","id","cx-actitvity-btn","label","Save",3,"onClick"]],template:function(n,i){if
212(n&1){let o=y();l(0,"div",3),f(1,"p-breadcrumb",4)(2,"a",5),a(),l(3,"div",6)(4,"p-tabs",7),C("valueChange",function(I){return i.onTabValueChange(I)}),l(5,"p-tablist"),Ae(6,Ii,4,4,"p-tab",8,Ti),a()(),O(8,Oi,1,0,"p-button",9),a(),O(9,Ei,2,1,"p-organizationChart",10)(10,zi,2,0,"p",11),l(11,"p-dialog",12),T("visibleChange",function(I){return h(o),M(i.isModalVisible,I)||(i.isModalVisible=I),g(I)}),u(12,Bi,4,3,"ng-template",13)(13,Di,27,5,"ng-template",14),a(),O(14,ji,4,6,"p-drawer",15),f(15,"p-menu",16,0),O(17,qi,4,6,"p-dialog",17),O(18,Qi,1,0,"app-loader")}n&2&&(c(),r("model",i.breadcrumItems),c(3),r("value",i.activeTabValue)("scrollable",!0),c(2),Ue(i.tabItems),c(2),P(i.permissions.manageConfig!=null&&i.permissions.manageConfig.hierarchy?8:-1),c(),P(i.hierarchies.length?9:10),c(2),le(U(17,bi)),v("visible",i.isModalVisible),r("modal",!0)("breakpoints",U(18,Ci))("draggable",!1)("resizable",!1),c(3),P(i.isSideBarVisible?14:-1),c(),r("model",i.menuItems)("popup",!0),c(2),P(i.isDeleteModalVisible?17:-1),c(),P(i.loader?18:-1))},dependencies:[be,_t,_e,Z,wt,xt,q,Ke,en,Yt,ht,ut,Wt,Ut,Rt,zt,Bt,Nt,Ht,Dt,kt,Vt,Ft,Lt,At,jt,un,ye,Kt,$t,bn,Mt,tn,It,St,vt,Gt,Zt,Et,Xt,Jt,it,nt,Pt,Ot,an,nn,on,rn,qt,he],styles:['.min-w-1rem[_ngcontent-%COMP%]{min-width:1rem!important}.min-w-2rem[_ngcontent-%COMP%]{min-width:2rem!important}.min-w-3rem[_ngcontent-%COMP%]{min-width:3rem!important}.min-w-4rem[_ngcontent-%COMP%]{min-width:4rem!important}.min-w-5rem[_ngcontent-%COMP%]{min-width:5rem!important}.min-w-6rem[_ngcontent-%COMP%]{min-width:6rem!important}.min-w-7rem[_ngcontent-%COMP%]{min-width:7rem!important}.min-w-8rem[_ngcontent-%COMP%]{min-width:8rem!important}.min-w-9rem[_ngcontent-%COMP%]{min-width:9rem!important}.min-w-10rem[_ngcontent-%COMP%]{min-width:10rem!important}.min-w-11rem[_ngcontent-%COMP%]{min-width:11rem!important}.min-w-12rem[_ngcontent-%COMP%]{min-width:12rem!important}.min-w-13rem[_ngcontent-%COMP%]{min-width:13rem!important}.min-w-14rem[_ngcontent-%COMP%]{min-width:14rem!important}.min-w-15rem[_ngcontent-%COMP%]{min-width:15rem!important}.min-w-16rem[_ngcontent-%COMP%]{min-width:16rem!important}.min-w-17rem[_ngcontent-%COMP%]{min-width:17rem!important}.min-w-18rem[_ngcontent-%COMP%]{min-width:18rem!important}.min-w-19rem[_ngcontent-%COMP%]{min-width:19rem!important}.min-w-20rem[_ngcontent-%COMP%]{min-width:20rem!important}.min-w-21rem[_ngcontent-%COMP%]{min-width:21rem!important}.min-w-22rem[_ngcontent-%COMP%]{min-width:22rem!important}.min-w-23rem[_ngcontent-%COMP%]{min-width:23rem!important}.min-w-24rem[_ngcontent-%COMP%]{min-width:24rem!important}.min-w-25rem[_ngcontent-%COMP%]{min-width:25rem!important}.min-w-26rem[_ngcontent-%COMP%]{min-width:26rem!important}.min-w-27rem[_ngcontent-%COMP%]{min-width:27rem!important}.min-w-28rem[_ngcontent-%COMP%]{min-width:28rem!important}.min-w-29rem[_ngcontent-%COMP%]{min-width:29rem!important}.min-w-30rem[_ngcontent-%COMP%]{min-width:30rem!important}.min-w-31rem[_ngcontent-%COMP%]{min-width:31rem!important}.min-w-32rem[_ngcontent-%COMP%]{min-width:32rem!important}.min-w-33rem[_ngcontent-%COMP%]{min-width:33rem!important}.min-w-34rem[_ngcontent-%COMP%]{min-width:34rem!important}.min-w-35rem[_ngcontent-%COMP%]{min-width:35rem!important}.min-w-36rem[_ngcontent-%COMP%]{min-width:36rem!important}.min-w-37rem[_ngcontent-%COMP%]{min-width:37rem!important}.min-w-38rem[_ngcontent-%COMP%]{min-width:38rem!important}.min-w-39rem[_ngcontent-%COMP%]{min-width:39rem!important}.min-w-40rem[_ngcontent-%COMP%]{min-width:40rem!important}.max-w-1rem[_ngcontent-%COMP%]{max-width:1rem!important}.max-w-2rem[_ngcontent-%COMP%]{max-width:2rem!important}.max-w-3rem[_ngcontent-%COMP%]{max-width:3rem!important}.max-w-4rem[_ngcontent-%COMP%]{max-width:4rem!important}.max-w-5rem[_ngcontent-%COMP%]{max-width:5rem!important}.max-w-6rem[_ngcontent-%COMP%]{max-width:6rem!important}.max-w-7rem[_ngcontent-%COMP%]{max-width:7rem!important}.max-w-8rem[_ngcontent-%COMP%]{max-width:8rem!important}.max-w-9rem[_ngcontent-%COMP%]{max-width:9rem!important}.max-w-10rem[_ngcontent-%COMP%]{max-width:10rem!important}.max-w-11rem[_ngcontent-%COMP%]{max-width:11rem!important}.max-w-12rem[_ngcontent-%COMP%]{max-width:12rem!important}.max-w-13rem[_ngcontent-%COMP%]{max-width:13rem!important}.max-w-14rem[_ngcontent-%COMP%]{max-width:14rem!important}.max-w-15rem[_ngcontent-%COMP%]{max-width:15rem!important}.max-w-16rem[_ngcontent-%COMP%]{max-width:16rem!important}.max-w-17rem[_ngcontent-%COMP%]{max-width:17rem!important}.max-w-18rem[_ngcontent-%COMP%]{max-width:18rem!important}.max-w-19rem[_ngcontent-%COMP%]{max-width:19rem!important}.max-w-20rem[_ngcontent-%COMP%]{max-width:20rem!important}.max-w-21rem[_ngcontent-%COMP%]{max-width:21rem!important}.max-w-22rem[_ngcontent-%COMP%]{max-width:22rem!important}.max-w-23rem[_ngcontent-%COMP%]{max-width:23rem!important}.max-w-24rem[_ngcontent-%COMP%]{max-width:24rem!important}.max-w-25rem[_ngcontent-%COMP%]{max-width:25rem!important}.max-w-26rem[_ngcontent-%COMP%]{max-width:26rem!important}.max-w-27rem[_ngcontent-%COMP%]{max-width:27rem!important}.max-w-28rem[_ngcontent-%COMP%]{max-width:28rem!important}.max-w-29rem[_ngcontent-%COMP%]{max-width:29rem!important}.max-w-30rem[_ngcontent-%COMP%]{max-width:30rem!important}.max-w-31rem[_ngcontent-%COMP%]{max-width:31rem!important}.max-w-32rem[_ngcontent-%COMP%]{max-width:32rem!important}.max-w-33rem[_ngcontent-%COMP%]{max-width:33rem!important}.max-w-34rem[_ngcontent-%COMP%]{max-width:34rem!important}.max-w-35rem[_ngcontent-%COMP%]{max-width:35rem!important}.max-w-36rem[_ngcontent-%COMP%]{max-width:36rem!important}.max-w-37rem[_ngcontent-%COMP%]{max-width:37rem!important}.max-w-38rem[_ngcontent-%COMP%]{max-width:38rem!important}.max-w-39rem[_ngcontent-%COMP%]{max-width:39rem!important}.max-w-40rem[_ngcontent-%COMP%]{max-width:40rem!important}[_ngcontent-%COMP%]:root{--font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--primary-color: #8b59da;--primaryDark: rgb(121.5142857143, 63.9773399015, 212.4226600985);--primaryDarker: rgb(105.3428571429, 44.8009852217, 200.9990147783);--surface-a: #ffffff;--surface-b: #f8f9fa;--surface-c: #e9ecef;--surface-d: #dee2e6;--surface-e: #ffffff;--surface-f: #ffffff;--text-color: $textColor;--text-color-secondary: #6c757d;--primary-color-text: #ffffff;--surface-0: #ffffff;--surface-50: #fafafa;--surface-100: #f5f5f5;--surface-200: #eeeeee;--surface-300: #e0e0e0;--surface-400: #bdbdbd;--surface-500: #9e9e9e;--surface-600: #757575;--surface-700: #616161;--surface-800: #424242;--surface-900: #212121;--content-padding: 1rem;
212--inline-spacing: .5rem;--border-radius: 3px;--surface-ground: #f8f9fa;--surface-section: #ffffff;--surface-card: #ffffff;--surface-overlay: #ffffff;--surface-border: #dee2e6;--surface-hover: #e9ecef;--maskbg: rgba(0, 0, 0, .4);--highlight-bg: #8b59da;--highlight-text-color: #ffffff;--focus-ring: 0 0 0 .2rem #bfd1f6;color-scheme:light}.tree-node[_ngcontent-%COMP%]{position:relative;width:140px;height:80px}[_nghost-%COMP%]     .p-organizationchart{overflow-y:auto}[_nghost-%COMP%]     .p-organizationchart .p-organizationchart-node{border:1px solid #ced4da;border-radius:.4em;position:relative;padding:1rem .5rem 1.2rem}[_nghost-%COMP%]     .p-organizationchart .p-organizationchart-node .action-btn{position:absolute;right:.3em;top:.3em;width:24px;height:24px;z-index:100}[_nghost-%COMP%]     .p-organizationchart .p-organizationchart-node .p-node-toggler{border:1px solid #ced4da}[_nghost-%COMP%]     .p-inputswitch{display:block}[_nghost-%COMP%]     .p-avatar{background-color:#eff5fb}.p-menu[_ngcontent-%COMP%]{margin:1rem 0 0}.card[_ngcontent-%COMP%]{border:1px solid #ced4da;padding:1em}']})}}return t})();export{Vr as HierarchyComponent};

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.