-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path5114.0b62576713534485.js
1 lines (1 loc) · 43.3 KB
/
5114.0b62576713534485.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[5114],{4109:(J,P,u)=>{u.d(P,{Dc:()=>Q,Hy:()=>W,NL:()=>B,Sz:()=>D,XO:()=>_,XW:()=>C,a$:()=>f,aI:()=>j,kZ:()=>x,s3:()=>G,xn:()=>F});var d=u(5024),e=u(8982),E=u(5286),R=u(9928),A=u(4421),X=u(9493),M=u(8728),y=u(7605),l=u(4438),S=u(8203);class b{constructor(){this.expansionModel=new d.CB(!0)}toggle(m){this.expansionModel.toggle(this._trackByValue(m))}expand(m){this.expansionModel.select(this._trackByValue(m))}collapse(m){this.expansionModel.deselect(this._trackByValue(m))}isExpanded(m){return this.expansionModel.isSelected(this._trackByValue(m))}toggleDescendants(m){this.expansionModel.isSelected(this._trackByValue(m))?this.collapseDescendants(m):this.expandDescendants(m)}collapseAll(){this.expansionModel.clear()}expandDescendants(m){let a=[m];a.push(...this.getDescendants(m)),this.expansionModel.select(...a.map(i=>this._trackByValue(i)))}collapseDescendants(m){let a=[m];a.push(...this.getDescendants(m)),this.expansionModel.deselect(...a.map(i=>this._trackByValue(i)))}_trackByValue(m){return this.trackBy?this.trackBy(m):m}}class C extends b{constructor(m,a,i){super(),this.getLevel=m,this.isExpandable=a,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(m){const i=[];for(let h=this.dataNodes.indexOf(m)+1;h<this.dataNodes.length&&this.getLevel(m)<this.getLevel(this.dataNodes[h]);h++)i.push(this.dataNodes[h]);return i}expandAll(){this.expansionModel.select(...this.dataNodes.map(m=>this._trackByValue(m)))}}class _ extends b{constructor(m,a){super(),this.getChildren=m,this.options=a,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const m=this.dataNodes.reduce((a,i)=>[...a,...this.getDescendants(i),i],[]);this.expansionModel.select(...m.map(a=>this._trackByValue(a)))}getDescendants(m){const a=[];return this._getDescendants(a,m),a.splice(1)}_getDescendants(m,a){m.push(a);const i=this.getChildren(a);Array.isArray(i)?i.forEach(h=>this._getDescendants(m,h)):(0,e.A)(i)&&i.pipe((0,X.s)(1),(0,M.p)(Boolean)).subscribe(h=>{for(const p of h)this._getDescendants(m,p)})}}const x=new l.nKC("CDK_TREE_NODE_OUTLET_NODE");let f=(()=>{class c{constructor(a,i){this.viewContainer=a,this._node=i}static#e=this.\u0275fac=function(i){return new(i||c)(l.rXU(l.c1b),l.rXU(x,8))};static#t=this.\u0275dir=l.FsC({type:c,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}return c})();class O{constructor(m){this.$implicit=m}}let D=(()=>{class c{constructor(a){this.template=a}static#e=this.\u0275fac=function(i){return new(i||c)(l.rXU(l.C4Q))};static#t=this.\u0275dir=l.FsC({type:c,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}return c})(),B=(()=>{class c{get dataSource(){return this._dataSource}set dataSource(a){this._dataSource!==a&&this._switchDataSource(a)}constructor(a,i){this._differs=a,this._changeDetectorRef=i,this._onDestroy=new E.B7,this._levels=new Map,this.viewChange=new R.t({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}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)}ngAfterContentChecked(){const a=this._nodeDefs.filter(i=>!i.when);this._defaultNodeDef=a[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(a){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),a||this._nodeOutlet.viewContainer.clear(),this._dataSource=a,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let a;(0,d.y4)(this._dataSource)?a=this._dataSource.connect(this):(0,e.A)(this._dataSource)?a=this._dataSource:Array.isArray(this._dataSource)&&(a=(0,A.of)(this._dataSource)),a&&(this._dataSubscription=a.pipe((0,y.Q)(this._onDestroy)).subscribe(i=>this.renderNodeChanges(i)))}renderNodeChanges(a,i=this._dataDiffer,h=this._nodeOutlet.viewContainer,p){const T=i.diff(a);T&&(T.forEachOperation((k,U,I)=>{if(null==k.previousIndex)this.insertNode(a[I],I,h,p);else if(null==I)h.remove(U),this._levels.delete(k.item);else{const Y=h.get(U);h.move(Y,I)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(a,i){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(p=>p.when&&p.when(i,a))||this._defaultNodeDef}insertNode(a,i,h,p){const T=this._getNodeDef(a,i),k=new O(a);k.level=this.treeControl.getLevel?this.treeControl.getLevel(a):typeof p<"u"&&this._levels.has(p)?this._levels.get(p)+1:0,this._levels.set(a,k.level),(h||this._nodeOutlet.viewContainer).createEmbeddedView(T.template,k,i),F.mostRecentTreeNode&&(F.mostRecentTreeNode.data=a)}static#e=this.\u0275fac=function(i){return new(i||c)(l.rXU(l._q3),l.rXU(l.gRc))};static#t=this.\u0275cmp=l.VBU({type:c,selectors:[["cdk-tree"]],contentQueries:function(i,h,p){if(1&i&&l.wni(p,D,5),2&i){let T;l.mGM(T=l.lsd())&&(h._nodeDefs=T)}},viewQuery:function(i,h){if(1&i&&l.GBs(f,7),2&i){let p;l.mGM(p=l.lsd())&&(h._nodeOutlet=p.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(i,h){1&i&&l.eu8(0,0)},dependencies:[f],encapsulation:2})}return c})(),F=(()=>{class c{get role(){return"treeitem"}set role(a){this._elementRef.nativeElement.setAttribute("role",a)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(a){a!==this._data&&(this._data=a,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(a,i){this._elementRef=a,this._tree=i,this._destroyed=new E.B7,this._dataChanges=new E.B7,c.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function z(c){let m=c.parentElement;for(;m&&!H(m);)m=m.parentElement;return m?m.classList.contains("cdk-nested-tree-node")?(0,l.Udg)(m.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){c.mostRecentTreeNode===this&&(c.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(i){return new(i||c)(l.rXU(l.aKT),l.rXU(B))};static#r=this.\u0275dir=l.FsC({type:c,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(i,h){2&i&&l.BMQ("aria-expanded",h.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0})}return c})();function H(c){const m=c.classList;return!(!m?.contains("cdk-nested-tree-node")&&!m?.contains("cdk-tree"))}let G=(()=>{class c extends F{constructor(a,i,h){super(a,i),this._differs=h}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const a=this._tree.treeControl.getChildren(this.data);Array.isArray(a)?this.updateChildrenNodes(a):(0,e.A)(a)&&a.pipe((0,y.Q)(this._destroyed)).subscribe(i=>this.updateChildrenNodes(i)),this.nodeOutlet.changes.pipe((0,y.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(a){const i=this._getNodeOutlet();a&&(this._children=a),i&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,i.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const a=this._getNodeOutlet();a&&(a.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const a=this.nodeOutlet;return a&&a.find(i=>!i._node||i._node===this)}static#e=this.\u0275fac=function(i){return new(i||c)(l.rXU(l.aKT),l.rXU(B),l.rXU(l._q3))};static#t=this.\u0275dir=l.FsC({type:c,selectors:[["cdk-nested-tree-node"]],contentQueries:function(i,h,p){if(1&i&&l.wni(p,f,5),2&i){let T;l.mGM(T=l.lsd())&&(h.nodeOutlet=T)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[l.Jv_([{provide:F,useExisting:c},{provide:x,useExisting:c}]),l.Vt3]})}return c})();const K=/([A-Za-z%]+)$/;let j=(()=>{class c{get level(){return this._level}set level(a){this._setLevelInput(a)}get indent(){return this._indent}set indent(a){this._setIndentInput(a)}constructor(a,i,h,p){this._treeNode=a,this._tree=i,this._element=h,this._dir=p,this._destroyed=new E.B7,this.indentUnits="px",this._indent=40,this._setPadding(),p&&p.change.pipe((0,y.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),a._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const a=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,i=null==this._level?a:this._level;return"number"==typeof i?`${i*this._indent}${this.indentUnits}`:null}_setPadding(a=!1){const i=this._paddingIndent();if(i!==this._currentPadding||a){const h=this._element.nativeElement,p=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",T="paddingLeft"===p?"paddingRight":"paddingLeft";h.style[p]=i||"",h.style[T]="",this._currentPadding=i}}_setLevelInput(a){this._level=isNaN(a)?null:a,this._setPadding()}_setIndentInput(a){let i=a,h="px";if("string"==typeof a){const p=a.split(K);i=p[0],h=p[1]||h}this.indentUnits=h,this._indent=(0,l.Udg)(i),this._setPadding()}static#e=this.\u0275fac=function(i){return new(i||c)(l.rXU(F),l.rXU(B),l.rXU(l.aKT),l.rXU(S.dS,8))};static#t=this.\u0275dir=l.FsC({type:c,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",l.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[l.GFd]})}return c})(),W=(()=>{class c{constructor(a,i){this._tree=a,this._treeNode=i,this.recursive=!1}_toggle(a){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),a.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||c)(l.rXU(B),l.rXU(F))};static#t=this.\u0275dir=l.FsC({type:c,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(i,h){1&i&&l.bIt("click",function(T){return h._toggle(T)})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",l.L39]},standalone:!0,features:[l.GFd]})}return c})(),Q=(()=>{class c{static#e=this.\u0275fac=function(i){return new(i||c)};static#t=this.\u0275mod=l.$C({type:c});static#r=this.\u0275inj=l.G2t({})}return c})()},5114:(J,P,u)=>{u.r(P),u.d(P,{TreeDynamicExample:()=>T,TreeFlatOverviewExample:()=>U,TreeHarnessExample:()=>Y,TreeLoadmoreExample:()=>ae,TreeNestedOverviewExample:()=>se});var d=u(4109),e=u(4438),E=u(9928),R=u(4670),A=u(5006),X=u(7575),M=u(9213),y=u(8834),l=u(6600),S=u(5024),b=u(9493);let C=(()=>{class r extends d.xn{constructor(t,n,s){super(t,n),this.disabled=!1,this.tabIndex=Number(s)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(n){return new(n||r)(e.rXU(e.aKT),e.rXU(d.NL),e.kS0("tabindex"))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:(0,e.Udg)(t)]},exportAs:["matTreeNode"],standalone:!0,features:[e.Jv_([{provide:d.xn,useExisting:r}]),e.GFd,e.Vt3]})}return r})(),_=(()=>{class r extends d.Sz{static#e=this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(r)))(s||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[e.Jv_([{provide:d.Sz,useExisting:r}]),e.Vt3]})}return r})(),x=(()=>{class r extends d.s3{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t??0}constructor(t,n,s,g){super(t,n,s),this.disabled=!1,this.tabIndex=Number(g)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(n){return new(n||r)(e.rXU(e.aKT),e.rXU(d.NL),e.rXU(e._q3),e.kS0("tabindex"))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",e.L39],tabIndex:"tabIndex"},exportAs:["matNestedTreeNode"],standalone:!0,features:[e.Jv_([{provide:d.s3,useExisting:r},{provide:d.xn,useExisting:r},{provide:d.kZ,useExisting:r}]),e.GFd,e.Vt3]})}return r})(),f=(()=>{class r extends d.aI{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}static#e=this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(r)))(s||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",e.Udg],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[e.Jv_([{provide:d.aI,useExisting:r}]),e.GFd,e.Vt3]})}return r})(),O=(()=>{class r{constructor(t,n){this.viewContainer=t,this._node=n}static#e=this.\u0275fac=function(n){return new(n||r)(e.rXU(e.c1b),e.rXU(d.kZ,8))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[e.Jv_([{provide:d.a$,useExisting:r}])]})}return r})(),D=(()=>{class r extends d.NL{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(r)))(s||r)}})();static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["mat-tree"]],viewQuery:function(n,s){if(1&n&&e.GBs(O,7),2&n){let g;e.mGM(g=e.lsd())&&(s._nodeOutlet=g.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[e.Jv_([{provide:d.NL,useExisting:r}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(n,s){1&n&&e.eu8(0,0)},dependencies:[O],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}return r})(),w=(()=>{class r extends d.Hy{static#e=this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(r)))(s||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[e.Jv_([{provide:d.Hy,useExisting:r}]),e.Vt3]})}return r})(),L=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=e.$C({type:r});static#r=this.\u0275inj=e.G2t({imports:[d.Dc,l.yE,l.yE]})}return r})();class ${constructor(o,t,n,s){this.transformFunction=o,this.getLevel=t,this.isExpandable=n,this.getChildren=s}_flattenNode(o,t,n,s){const g=this.transformFunction(o,t);if(n.push(g),this.isExpandable(g)){const v=this.getChildren(o);v&&(Array.isArray(v)?this._flattenChildren(v,t,n,s):v.pipe((0,b.s)(1)).subscribe(N=>{this._flattenChildren(N,t,n,s)}))}return n}_flattenChildren(o,t,n,s){o.forEach((g,v)=>{let N=s.slice();N.push(v!=o.length-1),this._flattenNode(g,t+1,n,N)})}flattenNodes(o){let t=[];return o.forEach(n=>this._flattenNode(n,0,t,[])),t}expandFlattenedNodes(o,t){let n=[],s=[];return s[0]=!0,o.forEach(g=>{let v=!0;for(let N=0;N<=this.getLevel(g);N++)v=v&&s[N];v&&n.push(g),this.isExpandable(g)&&(s[this.getLevel(g)+1]=t.isExpanded(g))}),n}}class V extends S.qS{get data(){return this._data.value}set data(o){this._data.next(o),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(o,t,n){super(),this._treeControl=o,this._treeFlattener=t,this._flattenedData=new E.t([]),this._expandedData=new E.t([]),this._data=new E.t([]),n&&(this.data=n)}connect(o){return(0,R.h)(o.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,A.T)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class B extends S.qS{constructor(){super(...arguments),this._data=new E.t([])}get data(){return this._data.value}set data(o){this._data.next(o)}connect(o){return(0,R.h)(o.viewChange,this._data).pipe((0,A.T)(()=>this.data))}disconnect(){}}function F(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3),e.nrm(1,"button",4),e.EFF(2),e.k0s()),2&r){const t=o.$implicit;e.R7$(2),e.SpI(" ",t.item," ")}}function z(r,o){1&r&&e.nrm(0,"mat-progress-bar",7)}function H(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3)(1,"button",5)(2,"mat-icon",6),e.EFF(3),e.k0s()(),e.EFF(4),e.DNE(5,z,1,0,"mat-progress-bar",7),e.k0s()),2&r){const t=o.$implicit,n=e.XpG();e.R7$(),e.BMQ("aria-label","Toggle "+t.item),e.R7$(2),e.SpI(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.R7$(),e.SpI(" ",t.item," "),e.R7$(),e.vxM(t.isLoading?5:-1)}}function G(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3),e.nrm(1,"button",4),e.EFF(2),e.k0s()),2&r){const t=o.$implicit;e.R7$(2),e.SpI(" ",t.name," ")}}function K(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3)(1,"button",5)(2,"mat-icon",6),e.EFF(3),e.k0s()(),e.EFF(4),e.k0s()),2&r){const t=o.$implicit,n=e.XpG();e.R7$(),e.BMQ("aria-label","Toggle "+t.name),e.R7$(2),e.SpI(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.R7$(),e.SpI(" ",t.name," ")}}function j(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3),e.nrm(1,"button",4),e.EFF(2),e.k0s()),2&r){const t=o.$implicit;e.R7$(2),e.SpI(" ",t.name," ")}}function W(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3)(1,"button",5)(2,"mat-icon",6),e.EFF(3),e.k0s()(),e.EFF(4),e.k0s()),2&r){const t=o.$implicit,n=e.XpG();e.R7$(),e.BMQ("aria-label","Toggle "+t.name),e.R7$(2),e.SpI(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.R7$(),e.SpI(" ",t.name," ")}}function Z(r,o){if(1&r&&(e.j41(0,"mat-tree-node",4),e.nrm(1,"button",5),e.EFF(2),e.k0s()),2&r){const t=o.$implicit;e.R7$(2),e.SpI(" ",t.item," ")}}function Q(r,o){if(1&r){const t=e.RV6();e.j41(0,"mat-tree-node",4)(1,"button",6),e.bIt("click",function(){const s=e.eBV(t).$implicit,g=e.XpG();return e.Njj(g.loadChildren(s))}),e.j41(2,"mat-icon",7),e.EFF(3),e.k0s()(),e.EFF(4),e.k0s()}if(2&r){const t=o.$implicit,n=e.XpG();e.R7$(),e.BMQ("aria-label","Toggle "+t.item),e.R7$(2),e.SpI(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.R7$(),e.SpI(" ",t.item," ")}}function c(r,o){if(1&r){const t=e.RV6();e.j41(0,"mat-tree-node")(1,"button",8),e.bIt("click",function(){const s=e.eBV(t).$implicit,g=e.XpG();return e.Njj(g.loadMore(s.loadMoreParentItem))}),e.EFF(2," Load more... "),e.k0s()()}}function m(r,o){if(1&r&&(e.j41(0,"mat-tree-node",3),e.EFF(1),e.k0s()),2&r){const t=o.$implicit;e.R7$(),e.SpI(" ",t.name," ")}}function a(r,o){if(1&r&&(e.j41(0,"mat-nested-tree-node")(1,"div",4)(2,"button",5)(3,"mat-icon",6),e.EFF(4),e.k0s()(),e.EFF(5),e.k0s(),e.j41(6,"div",7),e.eu8(7,8),e.k0s()()),2&r){const t=o.$implicit,n=e.XpG();e.R7$(2),e.BMQ("aria-label","Toggle "+t.name),e.R7$(2),e.SpI(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.R7$(),e.SpI(" ",t.name," "),e.R7$(),e.AVh("example-tree-invisible",!n.treeControl.isExpanded(t))}}class i{constructor(o,t=1,n=!1,s=!1){this.item=o,this.level=t,this.expandable=n,this.isLoading=s}}let h=(()=>{class r{constructor(){this.dataMap=new Map([["Fruits",["Apple","Orange","Banana"]],["Vegetables",["Tomato","Potato","Onion"]],["Apple",["Fuji","Macintosh"]],["Onion",["Yellow","White","Purple"]]]),this.rootLevelNodes=["Fruits","Vegetables"]}initialData(){return this.rootLevelNodes.map(t=>new i(t,0,!0))}getChildren(t){return this.dataMap.get(t)}isExpandable(t){return this.dataMap.has(t)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class p{get data(){return this.dataChange.value}set data(o){this._treeControl.dataNodes=o,this.dataChange.next(o)}constructor(o,t){this._treeControl=o,this._database=t,this.dataChange=new E.t([])}connect(o){return this._treeControl.expansionModel.changed.subscribe(t=>{(t.added||t.removed)&&this.handleTreeControl(t)}),(0,R.h)(o.viewChange,this.dataChange).pipe((0,A.T)(()=>this.data))}disconnect(o){}handleTreeControl(o){o.added&&o.added.forEach(t=>this.toggleNode(t,!0)),o.removed&&o.removed.slice().reverse().forEach(t=>this.toggleNode(t,!1))}toggleNode(o,t){const n=this._database.getChildren(o.item),s=this.data.indexOf(o);!n||s<0||(o.isLoading=!0,setTimeout(()=>{if(t){const g=n.map(v=>new i(v,o.level+1,this._database.isExpandable(v)));this.data.splice(s+1,0,...g)}else{let g=0;for(let v=s+1;v<this.data.length&&this.data[v].level>o.level;v++,g++);this.data.splice(s+1,g)}this.dataChange.next(this.data),o.isLoading=!1},1e3))}}let T=(()=>{class r{constructor(t){this.getLevel=n=>n.level,this.isExpandable=n=>n.expandable,this.hasChild=(n,s)=>s.expandable,this.treeControl=new d.XW(this.getLevel,this.isExpandable),this.dataSource=new p(this.treeControl,t),this.dataSource.data=t.initialData()}static#e=this.\u0275fac=function(n){return new(n||r)(e.rXU(h))};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["tree-dynamic-example"]],standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["mode","indeterminate",1,"example-tree-progress-bar"]],template:function(n,s){1&n&&(e.j41(0,"mat-tree",0),e.DNE(1,F,3,1,"mat-tree-node",1)(2,H,6,4,"mat-tree-node",2),e.k0s()),2&n&&(e.Y8G("dataSource",s.dataSource)("treeControl",s.treeControl),e.R7$(2),e.Y8G("matTreeNodeDefWhen",s.hasChild))},dependencies:[L,_,f,w,D,C,y.Hl,y.iY,M.m_,M.An,X.PO,X.HM],styles:[".example-tree-progress-bar[_ngcontent-%COMP%] {\n margin-left: 30px;\n}"]})}return r})();const k=[{name:"Fruit",children:[{name:"Apple"},{name:"Banana"},{name:"Fruit loops"}]},{name:"Vegetables",children:[{name:"Green",children:[{name:"Broccoli"},{name:"Brussels sprouts"}]},{name:"Orange",children:[{name:"Pumpkins"},{name:"Carrots"}]}]}];let U=(()=>{class r{constructor(){this._transformer=(t,n)=>({expandable:!!t.children&&t.children.length>0,name:t.name,level:n}),this.treeControl=new d.XW(t=>t.level,t=>t.expandable),this.treeFlattener=new $(this._transformer,t=>t.level,t=>t.expandable,t=>t.children),this.dataSource=new V(this.treeControl,this.treeFlattener),this.hasChild=(t,n)=>n.expandable,this.dataSource.data=k}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["tree-flat-overview-example"]],standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"]],template:function(n,s){1&n&&(e.j41(0,"mat-tree",0),e.DNE(1,G,3,1,"mat-tree-node",1)(2,K,5,3,"mat-tree-node",2),e.k0s()),2&n&&(e.Y8G("dataSource",s.dataSource)("treeControl",s.treeControl),e.R7$(2),e.Y8G("matTreeNodeDefWhen",s.hasChild))},dependencies:[L,_,f,w,D,C,y.Hl,y.iY,M.m_,M.An],encapsulation:2})}return r})();const I=[{name:"Flat Group 1",children:[{name:"Flat Leaf 1.1"},{name:"Flat Leaf 1.2"},{name:"Flat Leaf 1.3"}]},{name:"Flat Group 2",children:[{name:"Flat Group 2.1",children:[{name:"Flat Leaf 2.1.1"},{name:"Flat Leaf 2.1.2"},{name:"Flat Leaf 2.1.3"}]}]}];let Y=(()=>{class r{constructor(){this._transformer=(t,n)=>({expandable:!!t.children&&t.children.length>0,name:t.name,level:n}),this.treeControl=new d.XW(t=>t.level,t=>t.expandable),this.treeFlattener=new $(this._transformer,t=>t.level,t=>t.expandable,t=>t.children),this.dataSource=new V(this.treeControl,this.treeFlattener),this.hasChild=(t,n)=>n.expandable,this.dataSource.data=I}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["tree-harness-example"]],standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"]],template:function(n,s){1&n&&(e.j41(0,"mat-tree",0),e.DNE(1,j,3,1,"mat-tree-node",1)(2,W,5,3,"mat-tree-node",2),e.k0s()),2&n&&(e.Y8G("dataSource",s.dataSource)("treeControl",s.treeControl),e.R7$(2),e.Y8G("matTreeNodeDefWhen",s.hasChild))},dependencies:[L,_,f,w,D,C,y.Hl,y.iY,M.m_,M.An],encapsulation:2})}return r})();const q="LOAD_MORE";class ee{get children(){return this.childrenChange.value}constructor(o,t=!1,n=null){this.item=o,this.hasChildren=t,this.loadMoreParentItem=n,this.childrenChange=new E.t([])}}class ne{constructor(o,t=1,n=!1,s=null){this.item=o,this.level=t,this.expandable=n,this.loadMoreParentItem=s}}let te=(()=>{class r{constructor(){this.batchNumber=5,this.dataChange=new E.t([]),this.nodeMap=new Map,this.rootLevelNodes=["Vegetables","Fruits"],this.dataMap=new Map([["Fruits",["Apple","Orange","Banana"]],["Vegetables",["Tomato","Potato","Onion"]],["Apple",["Fuji","Macintosh"]],["Onion",["Yellow","White","Purple","Green","Shallot","Sweet","Red","Leek"]]])}initialize(){const t=this.rootLevelNodes.map(n=>this._generateNode(n));this.dataChange.next(t)}loadMore(t,n=!1){if(!this.nodeMap.has(t)||!this.dataMap.has(t))return;const s=this.nodeMap.get(t),g=this.dataMap.get(t);if(n&&s.children.length>0)return;const v=s.children.length+this.batchNumber,N=g.slice(0,v).map(oe=>this._generateNode(oe));v<g.length&&N.push(new ee(q,!1,t)),s.childrenChange.next(N),this.dataChange.next(this.dataChange.value)}_generateNode(t){if(this.nodeMap.has(t))return this.nodeMap.get(t);const n=new ee(t,this.dataMap.has(t));return this.nodeMap.set(t,n),n}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac})}return r})(),ae=(()=>{class r{constructor(t){this._database=t,this.nodeMap=new Map,this.getChildren=n=>n.childrenChange,this.transformer=(n,s)=>{const g=this.nodeMap.get(n.item);if(g)return g;const v=new ne(n.item,s,n.hasChildren,n.loadMoreParentItem);return this.nodeMap.set(n.item,v),v},this.getLevel=n=>n.level,this.isExpandable=n=>n.expandable,this.hasChild=(n,s)=>s.expandable,this.isLoadMore=(n,s)=>s.item===q,this.treeFlattener=new $(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new d.XW(this.getLevel,this.isExpandable),this.dataSource=new V(this.treeControl,this.treeFlattener),t.dataChange.subscribe(n=>{this.dataSource.data=n}),t.initialize()}loadMore(t){this._database.loadMore(t)}loadChildren(t){this._database.loadMore(t.item,!0)}static#e=this.\u0275fac=function(n){return new(n||r)(e.rXU(te))};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["tree-loadmore-example"]],standalone:!0,features:[e.Jv_([te]),e.aNF],decls:4,vars:4,consts:[[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],["mat-icon-button","","matTreeNodeToggle","",3,"click"],[1,"mat-icon-rtl-mirror"],["mat-button","",3,"click"]],template:function(n,s){1&n&&(e.j41(0,"mat-tree",0),e.DNE(1,Z,3,1,"mat-tree-node",1)(2,Q,5,3,"mat-tree-node",2)(3,c,3,0,"mat-tree-node",3),e.k0s()),2&n&&(e.Y8G("dataSource",s.dataSource)("treeControl",s.treeControl),e.R7$(2),e.Y8G("matTreeNodeDefWhen",s.hasChild),e.R7$(),e.Y8G("matTreeNodeDefWhen",s.isLoadMore))},dependencies:[L,_,f,w,D,C,y.Hl,y.$z,y.iY,M.m_,M.An],encapsulation:2})}return r})();const ie=[{name:"Fruit",children:[{name:"Apple"},{name:"Banana"},{name:"Fruit loops"}]},{name:"Vegetables",children:[{name:"Green",children:[{name:"Broccoli"},{name:"Brussels sprouts"}]},{name:"Orange",children:[{name:"Pumpkins"},{name:"Carrots"}]}]}];let se=(()=>{class r{constructor(){this.treeControl=new d.XO(t=>t.children),this.dataSource=new B,this.hasChild=(t,n)=>!!n.children&&n.children.length>0,this.dataSource.data=ie}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["tree-nested-overview-example"]],standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[1,"example-tree",3,"dataSource","treeControl"],["matTreeNodeToggle","",4,"matTreeNodeDef"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle",""],[1,"mat-tree-node"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["role","group"],["matTreeNodeOutlet",""]],template:function(n,s){1&n&&(e.j41(0,"mat-tree",0),e.DNE(1,m,2,1,"mat-tree-node",1)(2,a,8,5,"mat-nested-tree-node",2),e.k0s()),2&n&&(e.Y8G("dataSource",s.dataSource)("treeControl",s.treeControl),e.R7$(2),e.Y8G("matTreeNodeDefWhen",s.hasChild))},dependencies:[L,x,_,w,D,C,O,y.Hl,y.iY,M.m_,M.An],styles:[".example-tree-invisible[_ngcontent-%COMP%] {\n display: none;\n}\n\n.example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], \n.example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin-top: 0;\n margin-bottom: 0;\n list-style-type: none;\n}\n\n\n\n\n\n.example-tree[_ngcontent-%COMP%] .mat-nested-tree-node[_ngcontent-%COMP%] div[role=group][_ngcontent-%COMP%] {\n padding-left: 40px;\n}\n\n\n\n\n\n\n\n.example-tree[_ngcontent-%COMP%] div[role=group][_ngcontent-%COMP%] > .mat-tree-node[_ngcontent-%COMP%] {\n padding-left: 40px;\n}"]})}return r})()},7575:(J,P,u)=>{u.d(P,{HM:()=>y,PO:()=>S});var d=u(4438),E=(u(177),u(6600));function R(b,C){1&b&&d.nrm(0,"div",2)}const A=new d.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let y=(()=>{class b{constructor(_,x,f,O,D){this._elementRef=_,this._ngZone=x,this._changeDetectorRef=f,this._animationMode=O,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new d.bkB,this._mode="determinate",this._transitionendHandler=w=>{0===this.animationEnd.observers.length||!w.target||!w.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===O,D&&(D.color&&(this.color=this._defaultColor=D.color),this.mode=D.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(_){this._color=_}get value(){return this._value}set value(_){this._value=l(_||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(_){this._bufferValue=l(_||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(_){this._mode=_,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(x){return new(x||b)(d.rXU(d.aKT),d.rXU(d.SKi),d.rXU(d.gRc),d.rXU(d.bc$,8),d.rXU(A,8))};static#t=this.\u0275cmp=d.VBU({type:b,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(x,f){2&x&&(d.BMQ("aria-valuenow",f._isIndeterminate()?null:f.value)("mode",f.mode),d.HbH("mat-"+f.color),d.AVh("_mat-animation-noopable",f._isNoopAnimation)("mdc-linear-progress--animation-ready",!f._isNoopAnimation)("mdc-linear-progress--indeterminate",f._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",d.Udg],bufferValue:[2,"bufferValue","bufferValue",d.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[d.GFd,d.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(x,f){1&x&&(d.j41(0,"div",0),d.nrm(1,"div",1),d.DNE(2,R,1,0,"div",2),d.k0s(),d.j41(3,"div",3),d.nrm(4,"span",4),d.k0s(),d.j41(5,"div",5),d.nrm(6,"span",4),d.k0s()),2&x&&(d.R7$(),d.xc7("flex-basis",f._getBufferBarFlexBasis()),d.R7$(),d.vxM("buffer"===f.mode?2:-1),d.R7$(),d.xc7("transform",f._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return b})();function l(b,C=0,_=100){return Math.max(C,Math.min(_,b))}let S=(()=>{class b{static#e=this.\u0275fac=function(x){return new(x||b)};static#t=this.\u0275mod=d.$C({type:b});static#r=this.\u0275inj=d.G2t({imports:[E.yE]})}return b})()}}]);