1(self.webpackChunkadittech_app=self.webpackChunkadittech_app||[]).push([[2643],{45024:(A,m,E)=>{E.r(m),E.d(m,{ArrayDataSource:()=>p,DataSource:()=>g,SelectionModel:()=>y,UniqueSelectionDispatcher:()=>w,_DisposeViewRepeaterStrategy:()=>D,_RecycleViewRepeaterStrategy:()=>V,_VIEW_REPEATER_STRATEGY:()=>C,_ViewRepeaterOperation:()=>l,getMultipleValuesInSingleSelectionError:()=>T,isDataSource:()=>S});var u=E(8392),f=E(21777);class g{}function S(i){return i&&"function"==typeof i.connect&&!(i instanceof u.ConnectableObservable)}class p extends g{constructor(e){super(),this._data=e}connect(){return(0,u.isObservable)(this._data)?this._data:(0,u.of)(this._data)}disconnect(){}}var l=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(l||{});const C=new f.InjectionToken("_ViewRepeater");class D{applyChanges(e,t,s,n,h){e.forEachOperation((c,_,a)=>{let o,r;if(null==c.previousIndex){const d=s(c,_,a);o=t.createEmbeddedView(d.templateRef,d.context,d.index),r=l.INSERTED}else null==a?(t.remove(_),r=l.REMOVED):(o=t.get(_),t.move(o,a),r=l.MOVED);h&&h({context:o?.context,operation:r,record:c})})}detach(){}}class V{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,s,n,h){e.forEachOperation((c,_,a)=>{let o,r;null==c.previousIndex?(o=this._insertView(()=>s(c,_,a),a,t,n(c)),r=o?l.INSERTED:l.REPLACED):null==a?(this._detachAndCacheView(_,t),r=l.REMOVED):(o=this._moveView(_,a,t,n(c)),r=l.MOVED),h&&h({context:o?.context,operation:r,record:c})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,s,n){const h=this._insertViewFromCache(t,s);if(h)return void(h.context.$implicit=n);const c=e();return s.createEmbeddedView(c.templateRef,c.context,c.index)}_detachAndCacheView(e,t){const s=t.detach(e);this._maybeCacheView(s,t)}_moveView(e,t,s,n){const h=s.get(e);return s.move(h,t),h.context.$implicit=n,h}_maybeCacheView(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{const s=t.indexOf(e);-1===s?e.destroy():t.remove(s)}}_insertViewFromCache(e,t){const s=this._viewCache.pop();return s&&t.insert(s,e),s||null}}class y{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,t,s=!0,n){this._multiple=e,this._emitChanges=s,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new u.Subject,t&&t.length&&(e?t.forEach(h=>this._markSelected(h)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(s=>this._markSelected(s));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(s=>this._unmarkSelected(s));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);const t=this.selected,s=new Set(e);e.forEach(h=>this._markSelected(h)),t.filter(h=>!s.has(this._getConcreteValue(h,s))).forEach(h=>this._unmarkSelected(h));const n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();const t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}
1_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let s of t)if(this.compareWith(e,s))return s;return e}return e}}function T(){return Error("Cannot pass multiple values into SelectionModel with single-value mode.")}let w=(()=>{class i{constructor(){this._listeners=[]}notify(t,s){for(let n of this._listeners)n(t,s)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(s=>t!==s)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(s){return new(s||i)}}static{this.\u0275prov=f.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})()}}]);
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.