1(self.webpackChunkadittech_app=self.webpackChunkadittech_app||[]).push([[6490],{64109:(H,b,_)=>{_.r(b),_.d(b,{BaseTreeControl:()=>D,CDK_TREE_NODE_OUTLET_NODE:()=>C,CdkNestedTreeNode:()=>N,CdkTree:()=>g,CdkTreeModule:()=>V,CdkTreeNode:()=>p,CdkTreeNodeDef:()=>M,CdkTreeNodeOutlet:()=>y,CdkTreeNodeOutletContext:()=>T,CdkTreeNodePadding:()=>A,CdkTreeNodeToggle:()=>I,FlatTreeControl:()=>K,NestedTreeControl:()=>O,getMultipleTreeControlsError:()=>P,getTreeControlMissingError:()=>k,getTreeMissingMatchingNodeDefError:()=>L,getTreeMultipleDefaultNodeDefsError:()=>B,getTreeNoValidDataSourceError:()=>R});var x=_(71313),l=_(8392),d=_(37344),i=_(21777),w=_(99119),m=_(45363),E=_(37643);class D{constructor(){this.expansionModel=new x.SelectionModel(!0)}toggle(o){this.expansionModel.toggle(this._trackByValue(o))}expand(o){this.expansionModel.select(this._trackByValue(o))}collapse(o){this.expansionModel.deselect(this._trackByValue(o))}isExpanded(o){return this.expansionModel.isSelected(this._trackByValue(o))}toggleDescendants(o){this.expansionModel.isSelected(this._trackByValue(o))?this.collapseDescendants(o):this.expandDescendants(o)}collapseAll(){this.expansionModel.clear()}expandDescendants(o){let e=[o];e.push(...this.getDescendants(o)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(o){let e=[o];e.push(...this.getDescendants(o)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(o){return this.trackBy?this.trackBy(o):o}}class K extends D{constructor(o,e,t){super(),this.getLevel=o,this.isExpandable=e,this.options=t,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(o){const t=[];for(let s=this.dataNodes.indexOf(o)+1;s<this.dataNodes.length&&this.getLevel(o)<this.getLevel(this.dataNodes[s]);s++)t.push(this.dataNodes[s]);return t}expandAll(){this.expansionModel.select(...this.dataNodes.map(o=>this._trackByValue(o)))}}class O extends D{constructor(o,e){super(),this.getChildren=o,this.options=e,this.options&&(this.trackBy=this.options.trackBy),this.options?.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();const o=this.dataNodes.reduce((e,t)=>[...e,...this.getDescendants(t),t],[]);this.expansionModel.select(...o.map(e=>this._trackByValue(e)))}getDescendants(o){const e=[];return this._getDescendants(e,o),e.splice(1)}_getDescendants(o,e){o.push(e);const t=this.getChildren(e);Array.isArray(t)?t.forEach(s=>
1this._getDescendants(o,s)):(0,l.isObservable)(t)&&t.pipe((0,d.take)(1),(0,d.filter)(Boolean)).subscribe(s=>{for(const n of s)this._getDescendants(o,n)})}}const C=new i.InjectionToken("CDK_TREE_NODE_OUTLET_NODE");let y=(()=>{class r{constructor(e,t){this.viewContainer=e,this._node=t}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(C,8))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return r})();class T{constructor(o){this.$implicit=o}}let M=(()=>{class r{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(i.TemplateRef))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return r})();function R(){return Error("A valid data source must be provided.")}function B(){return Error("There can only be one default row without a when predicate function.")}function L(){return Error("Could not find a matching node definition for the provided node data.")}function k(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}function P(){return Error("More than one of tree control, levelAccessor, or childrenAccessor were provided.")}let g=(()=>{class r{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,t){this._differs=e,this._changeDetectorRef=t,this._elementRef=(0,i.inject)(i.ElementRef),this._dir=(0,i.inject)(m.Directionality),this._onDestroy=new l.Subject,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new l.BehaviorSubject({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new l.BehaviorSubject([]),this._nodeType=new l.BehaviorSubject(null),this._nodes=new l.BehaviorSubject(new Map),this._keyManagerNodes=new l.BehaviorSubject([]),this._keyManagerFactory=(0,i.inject)(w.TREE_KEY_MANAGER),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){const e=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){null===this._nodeType.value&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new x.SelectionModel(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;(0,x.isDataSource)(this._dataSource)?e=this._dataSource.connect(this):(0,l.isObservable)(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=(0,l.of)(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe((0,d.takeUntil)(this._onDestroy)).subscribe(t=>{this._renderDataChanges(t)}))}_getRenderData(e){const t=this._getExpansionModel();return(0,l.combineLatest)([e,this._nodeType,t.changed.pipe((0,d.startWith)(null),(0,d.tap)(s=>{this._emitExpansionChanges(s)}))]).pipe((0,d.switchMap)(([s,n])=>null===n?(0,l.of)({renderNodes:s,flattenedNodes:null,nodeType:n}):this._computeRenderingData(s,n).pipe((0,d.map)(a=>({...a,nodeType:n})))))}_renderDataChanges(e){null!==e.nodeType?(this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)):this.renderNodeChanges(e.renderNodes)}_emitExpansionChanges(e){if(!e)return;const t=this._nodes.value;for(const s of e.added)t.get(s)?._emitExpansionState(!0);for(const s of e.removed)t.get(s)?._emitExpansionState(!1)}_initializeKeyManager(){const e=(0,l.combineLatest)([this._keyManagerNodes,this._nodes]).pipe((0,d.map)(([s,n])=>s.reduce((a,h)=>{const c=n.get(this._getExpansionKey(h));return c&&a.push(c),a},[])));this._keyManager=this._keyManagerFactory(e,{trackBy:s=>this._getExpansionKey(s.data),skipPredicate:s=>!!s.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value})}_initializeDataDiffer(){const e=this.trackBy??((t,s)=>this._getExpansionKey(s));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,t=this._dataDiffer,s=this._nodeOutlet.viewContainer,n){const a=t.diff(e);!a&&!this._viewInit||(a?.forEachOperation((h,c,u)=>{if(null==h.previousIndex)this.insertNode(e[u],u,s,n);else if(null==u)s.remove(c);else{const f=s.get(c);s.move(f,u)}}),a?.forEachIdentityChange(h=>{const c=h.item;null!=h.currentIndex&&(s.get(h.currentIndex).context.$implicit=c)}),n?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,t){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(n=>n.when&&n.when(t,e))||this._defaultNodeDef}insertNode(e,t,s,n){const a=this._getLevelAccessor(),h=this._getNodeDef(e,t),c=this._getExpansionKey(e),u=new T(e);n??=this._parents.get(c)??void 0,u.level=a?a(e):void 0!==n&&this._levels.has(this._getExpansionKey(n))?this._levels.get(this._getExpansionKey(n))+1:0,this._levels.set(c,u.level),(s||this._nodeOutlet.viewContainer).createEmbeddedView(h.template,u,t),p.mostRecentTreeNode&&(p.mostRecentTreeNode.data=e)}isExpanded(e){return!(!this.treeControl?.isExpanded(e)&&!this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){const t=this._expansionModel;t.select(this._getExpansionKey(e)),this._getDescendants(e).pipe((0,d.take)(1),(0,d.takeUntil)(this._onDestroy)).subscribe(s=>{t.select(...s.map(n=>this._getExpansionKey(n)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){const t=this._expansionModel;t.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe((0,d.take)(1),(0,d.takeUntil)(this._onDestroy)).subscribe(s=>{t.deselect(...s.map(n=>this._getExpansionKey(n)))})}}
1expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(t=>this._getExpansionKey(t)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(t=>this._getExpansionKey(t)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){const t=this._getLevelAccessor(),s=this._expansionModel??this.treeControl?.expansionModel;if(!s)return(0,l.of)([]);const n=this._getExpansionKey(e),a=s.changed.pipe((0,d.switchMap)(c=>c.added.includes(n)?(0,l.of)(!0):c.removed.includes(n)?(0,l.of)(!1):l.EMPTY),(0,d.startWith)(this.isExpanded(e)));if(t)return(0,l.combineLatest)([a,this._flattenedNodes]).pipe((0,d.map)(([c,u])=>c?this._findChildrenByLevel(t,u,e,1):[]));const h=this._getChildrenAccessor();if(h)return(0,E.coerceObservable)(h(e)??[]);throw k()}_findChildrenByLevel(e,t,s,n){const a=this._getExpansionKey(s),h=t.findIndex(v=>this._getExpansionKey(v)===a),c=e(s),u=c+n,f=[];for(let v=h+1;v<t.length;v++){const S=e(t[v]);if(S<=c)break;S<=u&&f.push(t[v])}return f}_registerNode(e){this._nodes.value.set(this._getExpansionKey(e.data),e),this._nodes.next(this._nodes.value)}_unregisterNode(e){this._nodes.value.delete(this._getExpansionKey(e.data)),this._nodes.next(this._nodes.value)}_getLevel(e){return this._levels.get(this._getExpansionKey(e))}_getSetSize(e){return this._getAriaSet(e).length}_getPositionInSet(e){const t=this._getAriaSet(e),s=this._getExpansionKey(e);return t.findIndex(n=>this._getExpansionKey(n)===s)+1}_getNodeParent(e){const t=this._parents.get(this._getExpansionKey(e.data));return t&&this._nodes.value.get(this._getExpansionKey(t))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe((0,d.map)(t=>t.reduce((s,n)=>{const a=this._nodes.value.get(this._getExpansionKey(n));return a&&s.push(a),s},[])))}_sendKeydownToKeyManager(e){if(e.target===this._elementRef.nativeElement)this._keyManager.onKeydown(e);else{const t=this._nodes.getValue();for(const[,s]of t)if(e.target===s._elementRef.nativeElement){this._keyManager.onKeydown(e);break}}}_getDescendants(e){if(this.treeControl)return(0,l.of)(this.treeControl.getDescendants(e));if(this.levelAccessor){const t=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return(0,l.of)(t)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe((0,d.reduce)((t,s)=>(t.push(...s),t),[]));throw k()}_getAllChildrenRecursively(e){return this.childrenAccessor?(0,E.coerceObservable)(this.childrenAccessor(e)).pipe((0,d.take)(1),(0,d.switchMap)(t=>{for(const s of t)this._parents.set(this._getExpansionKey(s),e);return(0,l.of)(...t).pipe((0,d.concatMap)(s=>(0,l.concat)((0,l.of)([s]),this._getAllChildrenRecursively(s))))})):(0,l.of)([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){const t=this._getExpansionKey(e),s=this._parents.get(t),n=s?this._getExpansionKey(s):null;return this._ariaSets.get(n)??[e]}_findParentForNode(e,t,s){if(!s.length)return null;const n=this._levels.get(this._getExpansionKey(e))??0;for(let a=t-1;a>=0;a--){const h=s[a];if((this._levels.get(this._getExpansionKey(h))??0)<n)return h}return null}_flattenNestedNodesWithExpansion(e,t=0){const s=this._getChildrenAccessor();return s?(0,l.of)(...e).pipe((0,d.concatMap)(n=>{const a=this._getExpansionKey(n);this._parents.has(a)||this._parents.set(a,null),this._levels.set(a,t);const h=(0,E.coerceObservable)(s(n));return(0,l.concat)((0,l.of)([n]),h.pipe((0,d.take)(1),(0,d.tap)(c=>{this._ariaSets.set(a,[...c??[]]);for(const u of c??[]){const f=this._getExpansionKey(u);this._parents.set(f,n),this._levels.set(f,t+1)}}),(0,d.switchMap)(c=>c?this._flattenNestedNodesWithExpansion(c,t+1).pipe((0,d.map)(u=>this.isExpanded(n)?u:[])):(0,l.of)([]))))}),(0,d.reduce)((n,a)=>(n.push(...a),n),[])):(0,l.of)([...e])}_computeRenderingData(e,t){if(this.childrenAccessor&&"flat"===t)return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe((0,d.map)(s=>({renderNodes:s,flattenedNodes:s})));if(this.levelAccessor&&"nested"===t){const s=this.levelAccessor;
1return(0,l.of)(e.filter(n=>0===s(n))).pipe((0,d.map)(n=>({renderNodes:n,flattenedNodes:e})),(0,d.tap)(({flattenedNodes:n})=>{this._calculateParents(n)}))}return"flat"===t?(0,l.of)({renderNodes:e,flattenedNodes:e}).pipe((0,d.tap)(({flattenedNodes:s})=>{this._calculateParents(s)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe((0,d.map)(s=>({renderNodes:e,flattenedNodes:s}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){const t=this._getLevelAccessor();if(t){this._parents.clear(),this._ariaSets.clear();for(let s=0;s<e.length;s++){const n=e[s],a=this._getExpansionKey(n);this._levels.set(a,t(n));const h=this._findParentForNode(n,s,e);this._parents.set(a,h);const c=h?this._getExpansionKey(h):null,u=this._ariaSets.get(c)??[];u.splice(s,0,n),this._ariaSets.set(c,u)}}}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:r,selectors:[["cdk-tree"]],contentQueries:function(t,s,n){if(1&t&&i.\u0275\u0275contentQuery(n,M,5),2&t){let a;i.\u0275\u0275queryRefresh(a=i.\u0275\u0275loadQuery())&&(s._nodeDefs=a)}},viewQuery:function(t,s){if(1&t&&i.\u0275\u0275viewQuery(y,7),2&t){let n;i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(s._nodeOutlet=n.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(t,s){1&t&&i.\u0275\u0275listener("keydown",function(a){return s._sendKeydownToKeyManager(a)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],standalone:!0,features:[i.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,s){1&t&&i.\u0275\u0275elementContainer(0,0)},dependencies:[y],encapsulation:2})}}return r})(),p=(()=>{class r{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,(!this.data||this._isExpandable)&&this._inputIsExpandable&&(this._inputIsExpanded?this.expand():!1===this._inputIsExpanded&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return void 0!==this._tree.treeControl?.isExpandable&&!this._tree.treeControl.isExpandable(this._data)||void 0===this._tree.treeControl?.isExpandable&&0===this._tree.treeControl?.getDescendants(this._data).length}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,t){this._elementRef=e,this._tree=t,this._tabindex=-1,this.activation=new i.EventEmitter,this.expandedChange=new i.EventEmitter,this._destroyed=new l.Subject,this._dataChanges=new l.Subject,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=(0,i.inject)(i.ChangeDetectorRef),r.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=function j(r){let o=r.parentElement;for(;o&&!F(o);)o=o.parentElement;return o?o.classList.contains("cdk-nested-tree-node")?(0,i.numberAttribute)(o.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe((0,d.map)(()=>this.isExpanded),(0,d.distinctUntilChanged)()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){r.mostRecentTreeNode===this&&(r.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(g))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(t,s){1&t&&i.\u0275\u0275listener("click",function(){return s._setA
1ctiveItem()})("focus",function(){return s._focusItem()}),2&t&&(i.\u0275\u0275hostProperty("tabindex",s._tabindex),i.\u0275\u0275attribute("aria-expanded",s._getAriaExpanded())("aria-level",s.level+1)("aria-posinset",s._getPositionInSet())("aria-setsize",s._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",i.booleanAttribute],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",i.booleanAttribute],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[i.\u0275\u0275InputTransformsFeature]})}}return r})();function F(r){const o=r.classList;return!(!o?.contains("cdk-nested-tree-node")&&!o?.contains("cdk-tree"))}let N=(()=>{class r extends p{constructor(e,t,s){super(e,t),this._differs=s}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe((0,d.takeUntil)(this._destroyed)).subscribe(e=>this.updateChildrenNodes(e)),this.nodeOutlet.changes.pipe((0,d.takeUntil)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){this._tree._setNodeTypeIfUnset("nested"),super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(e){const t=this._getNodeOutlet();e&&(this._children=e),t&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,t.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const e=this.nodeOutlet;return e&&e.find(t=>!t._node||t._node===this)}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(g),i.\u0275\u0275directiveInject(i.IterableDiffers))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,s,n){if(1&t&&i.\u0275\u0275contentQuery(n,y,5),2&t){let a;i.\u0275\u0275queryRefresh(a=i.\u0275\u0275loadQuery())&&(s.nodeOutlet=a)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[i.\u0275\u0275ProvidersFeature([{provide:p,useExisting:r},{provide:C,useExisting:r}]),i.\u0275\u0275InheritDefinitionFeature]})}}return r})();const U=/([A-Za-z%]+)$/;let A=(()=>{class r{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,t,s,n){this._treeNode=e,this._tree=t,this._element=s,this._dir=n,this._destroyed=new l.Subject,this.indentUnits="px",this._indent=40,this._setPadding(),n&&n.change.pipe((0,d.takeUntil)(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,t=null==this._level?e:this._level;return"number"==typeof t?`${t*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){const t=this._paddingIndent();if(t!==this._currentPadding||e){const s=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",a="paddingLeft"===n?"paddingRight":"paddingLeft";s.style[n]=t||"",s.style[a]="",this._currentPadding=t}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let t=e,s="px";if("string"==typeof e){const n=e.split(U);t=n[0],s=n[1]||s}this.indentUnits=s,this._indent=(0,i.numberAttribute)(t),this._setPadding()}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(p),i.\u0275\u0275directiveInject(g),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(m.Directionality,8))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",i.numberAttribute],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[i.\u0275\u0275InputTransformsFeature]})}}return r})(),I=(()=>
1{class r{constructor(e,t){this._tree=e,this._treeNode=t,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(t){return new(t||r)(i.\u0275\u0275directiveInject(g),i.\u0275\u0275directiveInject(p))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:r,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(t,s){1&t&&i.\u0275\u0275listener("click",function(a){return s._toggle(),a.stopPropagation()})("keydown.Enter",function(a){return s._toggle(),a.preventDefault()})("keydown.Space",function(a){return s._toggle(),a.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",i.booleanAttribute]},standalone:!0,features:[i.\u0275\u0275InputTransformsFeature]})}}return r})(),V=(()=>{class r{static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275mod=i.\u0275\u0275defineNgModule({type:r})}static{this.\u0275inj=i.\u0275\u0275defineInjector({})}}return r})()}}]);
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.